Lines Matching refs:iface

47 	struct most_interface *iface;  member
62 struct most_interface *iface; member
161 static struct channel *get_channel(struct most_interface *iface, in get_channel() argument
164 struct sound_adapter *adpt = iface->priv; in get_channel()
168 if ((channel->iface == iface) && (channel->id == channel_id)) in get_channel()
239 (mbo = most_get_mbo(channel->iface, channel->id, in playback_thread()
283 ret = most_start_channel(channel->iface, channel->id, &comp); in pcm_open()
311 most_stop_channel(channel->iface, channel->id, &comp); in pcm_close()
513 static int audio_probe_channel(struct most_interface *iface, int channel_id, in audio_probe_channel() argument
538 if (adpt->iface != iface) in audio_probe_channel()
549 adpt->iface = iface; in audio_probe_channel()
551 iface->priv = adpt; in audio_probe_channel()
553 ret = snd_card_new(iface->driver_dev, -1, "INIC", THIS_MODULE, in audio_probe_channel()
562 "%s at %s", adpt->card->shortname, iface->description); in audio_probe_channel()
564 if (get_channel(iface, channel_id)) { in audio_probe_channel()
566 iface->description, channel_id); in audio_probe_channel()
584 channel->iface = iface; in audio_probe_channel()
640 static int audio_disconnect_channel(struct most_interface *iface, in audio_disconnect_channel() argument
644 struct sound_adapter *adpt = iface->priv; in audio_disconnect_channel()
646 channel = get_channel(iface, channel_id); in audio_disconnect_channel()
693 static int audio_tx_completion(struct most_interface *iface, int channel_id) in audio_tx_completion() argument
695 struct channel *channel = get_channel(iface, channel_id); in audio_tx_completion()