Searched refs:format_val (Results 1 – 10 of 10) sorted by relevance
| /linux/sound/soc/sof/intel/ |
| H A D | hda-dai-ops.c | 170 unsigned int format_val) in hda_setup_hext_stream() argument 172 snd_hdac_ext_stream_setup(hext_stream, format_val); in hda_setup_hext_stream() 198 unsigned int format_val; in hda_calc_stream_format() local 208 format_val = snd_hdac_stream_format(params_channels(params), bits, params_rate(params)); in hda_calc_stream_format() 210 dev_dbg(sdev->dev, "format_val=%#x, rate=%d, ch=%d, format=%d\n", format_val, in hda_calc_stream_format() 213 return format_val; in hda_calc_stream_format() 230 unsigned int format_val; in generic_calc_stream_format() local 235 format_val = snd_hdac_stream_format(params_channels(params), bits, params_rate(params)); in generic_calc_stream_format() 237 dev_dbg(sdev->dev, "format_val=%#x, rate=%d, ch=%d, format=%d\n", format_val, in generic_calc_stream_format() 240 return format_val; in generic_calc_stream_format() [all …]
|
| H A D | hda-loader.c | 86 hstream->format_val = format; in hda_cl_prepare() 111 hstream->format_val = 0; in hda_cl_prepare() 306 hstream->format_val = 0; in hda_cl_cleanup()
|
| H A D | hda-pcm.c | 124 hstream->format_val = rate | bits | (params_channels(params) - 1); in hda_dsp_pcm_hw_params()
|
| H A D | hda-stream.c | 659 0xffff, hstream->format_val); in hda_dsp_stream_hw_params()
|
| /linux/sound/soc/codecs/ |
| H A D | hdac_hda.c | 219 unsigned int format_val; in hdac_hda_dai_hw_params() local 230 format_val = snd_hdac_stream_format(params_channels(params), bits, params_rate(params)); in hdac_hda_dai_hw_params() 231 if (!format_val) { in hdac_hda_dai_hw_params() 233 "%s: invalid format_val, rate=%d, ch=%d, format=%d, maxbps=%d\n", in hdac_hda_dai_hw_params() 241 hda_pvt->pcm[dai->id].format_val[substream->stream] = format_val; in hdac_hda_dai_hw_params() 270 unsigned int format_val; in hdac_hda_dai_prepare() local 283 format_val = hda_pvt->pcm[dai->id].format_val[substream->stream]; in hdac_hda_dai_prepare() 286 stream, format_val, substrea in hdac_hda_dai_prepare() [all...] |
| H A D | hdac_hda.h | 22 unsigned int format_val[2]; member
|
| /linux/sound/hda/core/ |
| H A D | stream.c | 284 snd_hdac_stream_writew(azx_dev, SD_FORMAT, azx_dev->format_val); in snd_hdac_stream_setup() 346 azx_dev->format_val = 0; in snd_hdac_stream_cleanup() 599 unsigned int format_val) in snd_hdac_stream_set_params() argument 621 format_val != azx_dev->format_val || in snd_hdac_stream_set_params() 625 azx_dev->format_val = format_val; in snd_hdac_stream_set_params() 939 azx_dev->format_val = format; in snd_hdac_dsp_prepare() 995 azx_dev->format_val = 0; in snd_hdac_dsp_cleanup()
|
| /linux/sound/soc/intel/avs/ |
| H A D | probes.c | 135 unsigned int format_val; in avs_probe_compr_set_params() local 140 hdac_stream(host_stream)->format_val = 0; in avs_probe_compr_set_params() 150 format_val = snd_hdac_stream_format(params->codec.ch_out, bps, params->codec.sample_rate); in avs_probe_compr_set_params() 151 ret = snd_hdac_stream_set_params(hdac_stream(host_stream), format_val); in avs_probe_compr_set_params()
|
| H A D | pcm.c | 455 unsigned int format_val; in avs_dai_hda_be_prepare() local 469 format_val = snd_hdac_stream_format(params_channels(p), bits, params_rate(p)); in avs_dai_hda_be_prepare() 473 snd_hdac_ext_stream_setup(link_stream, format_val); in avs_dai_hda_be_prepare() 677 hdac_stream(host_stream)->format_val = 0; in avs_dai_fe_hw_params() 750 unsigned int format_val; in avs_dai_fe_prepare() local 770 format_val = snd_hdac_stream_format(runtime->channels, bits, runtime->rate); in avs_dai_fe_prepare() 772 ret = snd_hdac_stream_set_params(hdac_stream(host_stream), format_val); in avs_dai_fe_prepare()
|
| /linux/include/sound/ |
| H A D | hdaudio.h | 543 unsigned int format_val; /* format value to be set in the member 585 unsigned int format_val);
|