Lines Matching refs:port
169 struct port *port; in find_origin_port() local
175 port = ARRAY_ELEMENT(&plugin->ports, index); in find_origin_port()
176 type = port->type; in find_origin_port()
177 flow_id = port->flow_id; in find_origin_port()
200 FOR_ARRAY_ELEMENT(&plugin->ports, i, port) { in find_origin_port()
205 if (port->direction == PORT_OUTPUT && port->type == type) in find_origin_port()
212 FOR_ARRAY_ELEMENT(&plugin->ports, i, port) { in find_origin_port()
213 if (port->direction == PORT_INPUT && port->type == type) { in find_origin_port()
281 struct port *port; in topological_sort() local
294 FOR_ARRAY_ELEMENT(&plugin->ports, i, port) { in topological_sort()
295 if (port->flow_id == INVALID_FLOW_ID) in topological_sort()
297 flow_id = port->flow_id; in topological_sort()
316 FOR_ARRAY_ELEMENT(&plugin->ports, i, port) { in topological_sort()
317 int need_connect = (port->flow_id != INVALID_FLOW_ID && in topological_sort()
318 port->direction == PORT_INPUT); in topological_sort()
328 if (port->type == PORT_AUDIO) { in topological_sort()
330 (port->direction == PORT_INPUT) ? in topological_sort()
347 } else if (port->type == PORT_CONTROL) { in topological_sort()
349 (port->direction == PORT_INPUT) ? in topological_sort()
356 control_port->value = port->init_value; in topological_sort()