Lines Matching refs:hinfo

67 	struct hda_pcm_stream *hinfo = to_hda_pcm_stream(substream);  in azx_adjust_codec_delay()  local
70 if (!hinfo->ops.get_delay) in azx_adjust_codec_delay()
73 codec_frames = hinfo->ops.get_delay(hinfo, apcm->codec, substream); in azx_adjust_codec_delay()
90 struct hda_pcm_stream *hinfo = to_hda_pcm_stream(substream); in azx_pcm_close() local
97 if (hinfo->ops.close) in azx_pcm_close()
98 hinfo->ops.close(hinfo, apcm->codec, substream); in azx_pcm_close()
133 struct hda_pcm_stream *hinfo = to_hda_pcm_stream(substream); in azx_pcm_hw_free() local
140 snd_hda_codec_cleanup(apcm->codec, hinfo, substream); in azx_pcm_hw_free()
152 struct hda_pcm_stream *hinfo = to_hda_pcm_stream(substream); in azx_pcm_prepare() local
157 snd_hda_spdif_out_of_nid(apcm->codec, hinfo->nid); in azx_pcm_prepare()
171 hinfo->maxbps, in azx_pcm_prepare()
192 err = snd_hda_codec_prepare(apcm->codec, hinfo, stream_tag, in azx_pcm_prepare()
308 struct hda_pcm_stream *hinfo = to_hda_pcm_stream(substream); in azx_get_position() local
312 if (hinfo->ops.get_delay) in azx_get_position()
313 delay += hinfo->ops.get_delay(hinfo, apcm->codec, in azx_get_position()
580 struct hda_pcm_stream *hinfo = to_hda_pcm_stream(substream); in azx_pcm_open() local
600 runtime->hw.channels_min = hinfo->channels_min; in azx_pcm_open()
601 runtime->hw.channels_max = hinfo->channels_max; in azx_pcm_open()
602 runtime->hw.formats = hinfo->formats; in azx_pcm_open()
603 runtime->hw.rates = hinfo->rates; in azx_pcm_open()
632 if (hinfo->ops.open) in azx_pcm_open()
633 err = hinfo->ops.open(hinfo, apcm->codec, substream); in azx_pcm_open()
647 if (hinfo->ops.close) in azx_pcm_open()
648 hinfo->ops.close(hinfo, apcm->codec, substream); in azx_pcm_open()