Lines Matching refs:hinfo
5120 static void call_pcm_playback_hook(struct hda_pcm_stream *hinfo, in call_pcm_playback_hook() argument
5127 spec->pcm_playback_hook(hinfo, codec, substream, action); in call_pcm_playback_hook()
5130 static void call_pcm_capture_hook(struct hda_pcm_stream *hinfo, in call_pcm_capture_hook() argument
5137 spec->pcm_capture_hook(hinfo, codec, substream, action); in call_pcm_capture_hook()
5143 static int playback_pcm_open(struct hda_pcm_stream *hinfo, in playback_pcm_open() argument
5153 hinfo); in playback_pcm_open()
5156 call_pcm_playback_hook(hinfo, codec, substream, in playback_pcm_open()
5163 static int playback_pcm_prepare(struct hda_pcm_stream *hinfo, in playback_pcm_prepare() argument
5175 call_pcm_playback_hook(hinfo, codec, substream, in playback_pcm_prepare()
5180 static int playback_pcm_cleanup(struct hda_pcm_stream *hinfo, in playback_pcm_cleanup() argument
5189 call_pcm_playback_hook(hinfo, codec, substream, in playback_pcm_cleanup()
5194 static int playback_pcm_close(struct hda_pcm_stream *hinfo, in playback_pcm_close() argument
5201 call_pcm_playback_hook(hinfo, codec, substream, in playback_pcm_close()
5207 static int capture_pcm_open(struct hda_pcm_stream *hinfo, in capture_pcm_open() argument
5211 call_pcm_capture_hook(hinfo, codec, substream, HDA_GEN_PCM_ACT_OPEN); in capture_pcm_open()
5215 static int capture_pcm_prepare(struct hda_pcm_stream *hinfo, in capture_pcm_prepare() argument
5221 snd_hda_codec_setup_stream(codec, hinfo->nid, stream_tag, 0, format); in capture_pcm_prepare()
5222 call_pcm_capture_hook(hinfo, codec, substream, in capture_pcm_prepare()
5227 static int capture_pcm_cleanup(struct hda_pcm_stream *hinfo, in capture_pcm_cleanup() argument
5231 snd_hda_codec_cleanup_stream(codec, hinfo->nid); in capture_pcm_cleanup()
5232 call_pcm_capture_hook(hinfo, codec, substream, in capture_pcm_cleanup()
5237 static int capture_pcm_close(struct hda_pcm_stream *hinfo, in capture_pcm_close() argument
5241 call_pcm_capture_hook(hinfo, codec, substream, HDA_GEN_PCM_ACT_CLOSE); in capture_pcm_close()
5245 static int alt_playback_pcm_open(struct hda_pcm_stream *hinfo, in alt_playback_pcm_open() argument
5257 call_pcm_playback_hook(hinfo, codec, substream, in alt_playback_pcm_open()
5263 static int alt_playback_pcm_close(struct hda_pcm_stream *hinfo, in alt_playback_pcm_close() argument
5270 call_pcm_playback_hook(hinfo, codec, substream, in alt_playback_pcm_close()
5276 static int alt_playback_pcm_prepare(struct hda_pcm_stream *hinfo, in alt_playback_pcm_prepare() argument
5282 snd_hda_codec_setup_stream(codec, hinfo->nid, stream_tag, 0, format); in alt_playback_pcm_prepare()
5283 call_pcm_playback_hook(hinfo, codec, substream, in alt_playback_pcm_prepare()
5288 static int alt_playback_pcm_cleanup(struct hda_pcm_stream *hinfo, in alt_playback_pcm_cleanup() argument
5292 snd_hda_codec_cleanup_stream(codec, hinfo->nid); in alt_playback_pcm_cleanup()
5293 call_pcm_playback_hook(hinfo, codec, substream, in alt_playback_pcm_cleanup()
5301 static int dig_playback_pcm_open(struct hda_pcm_stream *hinfo, in dig_playback_pcm_open() argument
5309 static int dig_playback_pcm_prepare(struct hda_pcm_stream *hinfo, in dig_playback_pcm_prepare() argument
5320 static int dig_playback_pcm_cleanup(struct hda_pcm_stream *hinfo, in dig_playback_pcm_cleanup() argument
5328 static int dig_playback_pcm_close(struct hda_pcm_stream *hinfo, in dig_playback_pcm_close() argument
5342 static int alt_capture_pcm_prepare(struct hda_pcm_stream *hinfo, in alt_capture_pcm_prepare() argument
5352 call_pcm_capture_hook(hinfo, codec, substream, in alt_capture_pcm_prepare()
5357 static int alt_capture_pcm_cleanup(struct hda_pcm_stream *hinfo, in alt_capture_pcm_cleanup() argument
5365 call_pcm_capture_hook(hinfo, codec, substream, in alt_capture_pcm_cleanup()
5472 static int dyn_adc_capture_pcm_prepare(struct hda_pcm_stream *hinfo, in dyn_adc_capture_pcm_prepare() argument
5483 call_pcm_capture_hook(hinfo, codec, substream, HDA_GEN_PCM_ACT_PREPARE); in dyn_adc_capture_pcm_prepare()
5487 static int dyn_adc_capture_pcm_cleanup(struct hda_pcm_stream *hinfo, in dyn_adc_capture_pcm_cleanup() argument
5494 call_pcm_capture_hook(hinfo, codec, substream, HDA_GEN_PCM_ACT_CLEANUP); in dyn_adc_capture_pcm_cleanup()