Lines Matching refs:iface
31 * @iface: interface for which the channel belongs to
47 struct most_interface *iface;
62 struct most_interface *iface;
153 * @iface: interface structure
161 static struct channel *get_channel(struct most_interface *iface,
164 struct sound_adapter *adpt = iface->priv;
168 if ((channel->iface == iface) && (channel->id == channel_id))
239 (mbo = most_get_mbo(channel->iface, channel->id,
283 ret = most_start_channel(channel->iface, channel->id, &comp);
311 most_stop_channel(channel->iface, channel->id, &comp);
503 * @iface: pointer to interface instance
513 static int audio_probe_channel(struct most_interface *iface, int channel_id,
538 if (adpt->iface != iface)
549 adpt->iface = iface;
551 iface->priv = adpt;
553 ret = snd_card_new(iface->driver_dev, -1, "INIC", THIS_MODULE,
562 "%s at %s", adpt->card->shortname, iface->description);
564 if (get_channel(iface, channel_id)) {
566 iface->description, channel_id);
584 channel->iface = iface;
633 * @iface: pointer to interface instance
640 static int audio_disconnect_channel(struct most_interface *iface,
644 struct sound_adapter *adpt = iface->priv;
646 channel = get_channel(iface, channel_id);
684 * @iface: pointer to interface instance
693 static int audio_tx_completion(struct most_interface *iface, int channel_id)
695 struct channel *channel = get_channel(iface, channel_id);