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