Home
last modified time | relevance | path

Searched refs:hinfo (Results 1 – 13 of 13) sorted by relevance

/sound/pci/hda/
Dhda_controller.c77 struct hda_pcm_stream *hinfo = to_hda_pcm_stream(substream); in azx_adjust_codec_delay() local
80 if (!hinfo->ops.get_delay) in azx_adjust_codec_delay()
83 codec_frames = hinfo->ops.get_delay(hinfo, apcm->codec, substream); in azx_adjust_codec_delay()
100 struct hda_pcm_stream *hinfo = to_hda_pcm_stream(substream); in azx_pcm_close() local
107 if (hinfo->ops.close) in azx_pcm_close()
108 hinfo->ops.close(hinfo, apcm->codec, substream); in azx_pcm_close()
145 struct hda_pcm_stream *hinfo = to_hda_pcm_stream(substream); in azx_pcm_hw_free() local
153 snd_hda_codec_cleanup(apcm->codec, hinfo, substream); in azx_pcm_hw_free()
166 struct hda_pcm_stream *hinfo = to_hda_pcm_stream(substream); in azx_pcm_prepare() local
171 snd_hda_spdif_out_of_nid(apcm->codec, hinfo->nid); in azx_pcm_prepare()
[all …]
Dpatch_hdmi.c267 struct hda_pcm_stream *hinfo) in hinfo_to_pcm_index() argument
273 if (get_pcm_rec(spec, pcm_idx)->stream == hinfo) in hinfo_to_pcm_index()
276 codec_warn(codec, "HDMI: hinfo %p not registered\n", hinfo); in hinfo_to_pcm_index()
281 struct hda_pcm_stream *hinfo) in hinfo_to_pin_index() argument
290 per_pin->pcm->pcm->stream == hinfo) in hinfo_to_pin_index()
294 codec_dbg(codec, "HDMI: hinfo %p not registered\n", hinfo); in hinfo_to_pin_index()
1143 static int hdmi_pcm_open_no_pin(struct hda_pcm_stream *hinfo, in hdmi_pcm_open_no_pin() argument
1153 pcm_idx = hinfo_to_pcm_index(codec, hinfo); in hdmi_pcm_open_no_pin()
1163 hinfo->nid = per_cvt->cvt_nid; in hdmi_pcm_open_no_pin()
1171 hinfo->channels_min = per_cvt->channels_min; in hdmi_pcm_open_no_pin()
[all …]
Dhda_eld.c569 struct hda_pcm_stream *hinfo) in snd_hdmi_eld_update_pcm_info() argument
605 hinfo->rates &= rates; in snd_hdmi_eld_update_pcm_info()
606 hinfo->formats &= formats; in snd_hdmi_eld_update_pcm_info()
607 hinfo->maxbps = min(hinfo->maxbps, maxbps); in snd_hdmi_eld_update_pcm_info()
608 hinfo->channels_max = min(hinfo->channels_max, channels_max); in snd_hdmi_eld_update_pcm_info()
Dpatch_si3054.c149 static int si3054_pcm_prepare(struct hda_pcm_stream *hinfo, in si3054_pcm_prepare() argument
163 snd_hda_codec_setup_stream(codec, hinfo->nid, in si3054_pcm_prepare()
168 static int si3054_pcm_open(struct hda_pcm_stream *hinfo, in si3054_pcm_open() argument
Dhda_generic.c5120 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
[all …]
Dhda_codec.c3006 struct hda_pcm_stream *hinfo = &pcm->stream[str]; in add_std_chmaps() local
3010 if (!pcm->pcm || pcm->own_chmap || !hinfo->substreams) in add_std_chmaps()
3012 elem = hinfo->chmap ? hinfo->chmap : snd_pcm_std_chmaps; in add_std_chmaps()
3014 hinfo->channels_max, in add_std_chmaps()
3065 static int hda_pcm_default_open_close(struct hda_pcm_stream *hinfo, in hda_pcm_default_open_close() argument
3072 static int hda_pcm_default_prepare(struct hda_pcm_stream *hinfo, in hda_pcm_default_prepare() argument
3078 snd_hda_codec_setup_stream(codec, hinfo->nid, stream_tag, 0, format); in hda_pcm_default_prepare()
3082 static int hda_pcm_default_cleanup(struct hda_pcm_stream *hinfo, in hda_pcm_default_cleanup() argument
3086 snd_hda_codec_cleanup_stream(codec, hinfo->nid); in hda_pcm_default_cleanup()
3136 struct hda_pcm_stream *hinfo, in snd_hda_codec_prepare() argument
[all …]
Dhda_generic.h281 void (*pcm_playback_hook)(struct hda_pcm_stream *hinfo,
285 void (*pcm_capture_hook)(struct hda_pcm_stream *hinfo,
Dhda_codec.h436 struct hda_pcm_stream *hinfo,
441 struct hda_pcm_stream *hinfo,
Dpatch_ca0132.c2699 static int ca0132_playback_pcm_prepare(struct hda_pcm_stream *hinfo, in ca0132_playback_pcm_prepare() argument
2712 static int ca0132_playback_pcm_cleanup(struct hda_pcm_stream *hinfo, in ca0132_playback_pcm_cleanup() argument
2759 static int ca0132_dig_playback_pcm_open(struct hda_pcm_stream *hinfo, in ca0132_dig_playback_pcm_open() argument
2767 static int ca0132_dig_playback_pcm_prepare(struct hda_pcm_stream *hinfo, in ca0132_dig_playback_pcm_prepare() argument
2778 static int ca0132_dig_playback_pcm_cleanup(struct hda_pcm_stream *hinfo, in ca0132_dig_playback_pcm_cleanup() argument
2786 static int ca0132_dig_playback_pcm_close(struct hda_pcm_stream *hinfo, in ca0132_dig_playback_pcm_close() argument
2797 static int ca0132_capture_pcm_prepare(struct hda_pcm_stream *hinfo, in ca0132_capture_pcm_prepare() argument
2803 snd_hda_codec_setup_stream(codec, hinfo->nid, in ca0132_capture_pcm_prepare()
2809 static int ca0132_capture_pcm_cleanup(struct hda_pcm_stream *hinfo, in ca0132_capture_pcm_cleanup() argument
2818 snd_hda_codec_cleanup_stream(codec, hinfo->nid); in ca0132_capture_pcm_cleanup()
Dhda_local.h260 struct hda_pcm_stream *hinfo);
708 struct hda_pcm_stream *hinfo);
Dpatch_via.c115 static void via_playback_pcm_hook(struct hda_pcm_stream *hinfo,
430 static void via_playback_pcm_hook(struct hda_pcm_stream *hinfo, in via_playback_pcm_hook() argument
Dpatch_sigmatel.c253 static void stac_playback_pcm_hook(struct hda_pcm_stream *hinfo, in stac_playback_pcm_hook() argument
263 static void stac_capture_pcm_hook(struct hda_pcm_stream *hinfo, in stac_capture_pcm_hook() argument
275 if (spec->gen.all_adcs[i] == hinfo->nid) { in stac_capture_pcm_hook()
284 snd_hda_codec_write(codec, hinfo->nid, 0, in stac_capture_pcm_hook()
289 snd_hda_codec_write(codec, hinfo->nid, 0, in stac_capture_pcm_hook()
Dpatch_conexant.c462 static void olpc_xo_capture_hook(struct hda_pcm_stream *hinfo, in olpc_xo_capture_hook() argument