Lines Matching refs:iface
45 struct most_interface *iface; member
60 struct most_interface *iface; member
159 static struct channel *get_channel(struct most_interface *iface, in get_channel() argument
162 struct sound_adapter *adpt = iface->priv; in get_channel()
166 if ((channel->iface == iface) && (channel->id == channel_id)) in get_channel()
237 (mbo = most_get_mbo(channel->iface, channel->id, in playback_thread()
281 ret = most_start_channel(channel->iface, channel->id, &comp); in pcm_open()
309 most_stop_channel(channel->iface, channel->id, &comp); in pcm_close()
511 static int audio_probe_channel(struct most_interface *iface, int channel_id, in audio_probe_channel() argument
536 if (adpt->iface != iface) in audio_probe_channel()
547 adpt->iface = iface; in audio_probe_channel()
549 iface->priv = adpt; in audio_probe_channel()
551 ret = snd_card_new(iface->driver_dev, -1, "INIC", THIS_MODULE, in audio_probe_channel()
560 "%s at %s", adpt->card->shortname, iface->description); in audio_probe_channel()
562 if (get_channel(iface, channel_id)) { in audio_probe_channel()
564 iface->description, channel_id); in audio_probe_channel()
582 channel->iface = iface; in audio_probe_channel()
638 static int audio_disconnect_channel(struct most_interface *iface, in audio_disconnect_channel() argument
642 struct sound_adapter *adpt = iface->priv; in audio_disconnect_channel()
644 channel = get_channel(iface, channel_id); in audio_disconnect_channel()
691 static int audio_tx_completion(struct most_interface *iface, int channel_id) in audio_tx_completion() argument
693 struct channel *channel = get_channel(iface, channel_id); in audio_tx_completion()