Lines Matching full:iface
36 struct most_interface *iface; member
52 return channel_has_mbo(c->iface, c->channel_id, &comp.cc) > 0; in ch_has_mbo()
58 *mbo = most_get_mbo(c->iface, c->channel_id, &comp.cc); in ch_get_mbo()
65 static struct comp_channel *get_channel(struct most_interface *iface, int id) in get_channel() argument
72 if ((c->iface == iface) && (c->channel_id == id)) { in get_channel()
87 most_stop_channel(c->iface, c->channel_id, &comp.cc); in stop_channel()
143 ret = most_start_channel(c->iface, c->channel_id, &comp.cc); in comp_open()
314 * @iface: pointer to interface instance
320 static int comp_disconnect_channel(struct most_interface *iface, int channel_id) in comp_disconnect_channel() argument
324 c = get_channel(iface, channel_id); in comp_disconnect_channel()
379 * @iface: pointer to interface instance
384 static int comp_tx_completion(struct most_interface *iface, int channel_id) in comp_tx_completion() argument
388 c = get_channel(iface, channel_id); in comp_tx_completion()
392 if ((channel_id < 0) || (channel_id >= iface->num_channels)) { in comp_tx_completion()
403 * @iface: pointer to interface instance
412 static int comp_probe(struct most_interface *iface, int channel_id, in comp_probe() argument
423 c = get_channel(iface, channel_id); in comp_probe()
443 c->iface = iface; in comp_probe()