Lines Matching refs:pipe0
57 struct pipe pipe0; member
473 if (c->pipe0.comp) { in print_links()
477 c->pipe0.comp->name, in print_links()
559 if (!c->pipe0.comp) in link_channel_to_component()
560 comp_ptr = &c->pipe0.comp; in link_channel_to_component()
703 if (c->pipe0.comp == comp) in most_remove_link()
704 c->pipe0.comp = NULL; in most_remove_link()
852 if (c->pipe0.refs && c->pipe0.comp->tx_completion) in arm_mbo()
853 c->pipe0.comp->tx_completion(c->iface, c->channel_id); in arm_mbo()
963 if (c->pipe0.refs && c->pipe1.refs && in channel_has_mbo()
964 ((comp == c->pipe0.comp && c->pipe0.num_buffers <= 0) || in channel_has_mbo()
996 if (c->pipe0.refs && c->pipe1.refs && in most_get_mbo()
997 ((comp == c->pipe0.comp && c->pipe0.num_buffers <= 0) || in most_get_mbo()
1001 if (comp == c->pipe0.comp) in most_get_mbo()
1002 num_buffers_ptr = &c->pipe0.num_buffers; in most_get_mbo()
1068 if (c->pipe0.refs && c->pipe0.comp->rx_completion && in most_read_completion()
1069 c->pipe0.comp->rx_completion(mbo) == 0) in most_read_completion()
1101 if (c->pipe0.refs + c->pipe1.refs > 0) in most_start_channel()
1135 c->pipe0.num_buffers = c->cfg.num_buffers / 2; in most_start_channel()
1136 c->pipe1.num_buffers = c->cfg.num_buffers - c->pipe0.num_buffers; in most_start_channel()
1140 if (comp == c->pipe0.comp) in most_start_channel()
1141 c->pipe0.refs++; in most_start_channel()
1174 if (c->pipe0.refs + c->pipe1.refs >= 2) in most_stop_channel()
1206 if (comp == c->pipe0.comp) in most_stop_channel()
1207 c->pipe0.refs--; in most_stop_channel()
1238 if (c->pipe0.comp == comp || c->pipe1.comp == comp) in disconnect_channels()
1240 if (c->pipe0.comp == comp) in disconnect_channels()
1241 c->pipe0.comp = NULL; in disconnect_channels()
1388 if (c->pipe0.comp) in most_deregister_interface()
1389 c->pipe0.comp->disconnect_channel(c->iface, in most_deregister_interface()
1394 c->pipe0.comp = NULL; in most_deregister_interface()