| /linux/sound/soc/sof/intel/ |
| H A D | hda-dai-ops.c | 169 unsigned int format_val) in hda_setup_hext_stream() 171 snd_hdac_ext_stream_setup(hext_stream, format_val); in hda_setup_hext_stream() 197 unsigned int format_val; in hda_calc_stream_format() 207 format_val = snd_hdac_stream_format(params_channels(params), bits, params_rate(params)); in hda_calc_stream_format() 209 dev_dbg(sdev->dev, "format_val=%#x, rate=%d, ch=%d, format=%d\n", format_val, in hda_calc_stream_format() 212 return format_val; in hda_calc_stream_format() 229 unsigned int format_val; in generic_calc_stream_format() 234 format_val = snd_hdac_stream_format(params_channels(params), bits, params_rate(params)); in generic_calc_stream_format() 236 dev_dbg(sdev->dev, "format_val in generic_calc_stream_format() 170 hda_setup_hext_stream(struct snd_sof_dev * sdev,struct hdac_ext_stream * hext_stream,unsigned int format_val) hda_setup_hext_stream() argument 198 unsigned int format_val; hda_calc_stream_format() local 230 unsigned int format_val; generic_calc_stream_format() local 247 unsigned int format_val; dmic_calc_stream_format() local 565 hda_dspless_setup_hext_stream(struct snd_sof_dev * sdev,struct hdac_ext_stream * hext_stream,unsigned int format_val) hda_dspless_setup_hext_stream() argument [all...] |
| H A D | hda-loader.c | |
| 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 | 694 0xffff, hstream->format_val); in hda_dsp_stream_hw_params() 1285 hstream->format_val = format; 1311 hstream->format_val = 0; 1356 hstream->format_val = 0;
|
| /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/drivers/base/regmap/ |
| H A D | regmap.c | 978 map->format.format_val = regmap_format_8; in __regmap_init() 985 map->format.format_val = regmap_format_16_be; in __regmap_init() 990 map->format.format_val = regmap_format_16_le; in __regmap_init() 995 map->format.format_val = regmap_format_16_native; in __regmap_init() 1005 map->format.format_val = regmap_format_24_be; in __regmap_init() 1015 map->format.format_val = regmap_format_32_be; in __regmap_init() 1020 map->format.format_val = regmap_format_32_le; in __regmap_init() 1025 map->format.format_val = regmap_format_32_native; in __regmap_init() 1042 !(map->format.format_reg && map->format.format_val)) in __regmap_init() 1054 } else if (map->format.format_val) { in __regmap_init() [all …]
|
| H A D | regcache.c | 660 if (map->format.format_val) { in regcache_set_val() 661 map->format.format_val(base + (map->cache_word_size * idx), in regcache_set_val()
|
| /linux/sound/hda/common/ |
| H A D | controller.c | 125 hdas->format_val = 0; in azx_pcm_hw_params() 159 unsigned int format_val, stream_tag, bits; in azx_pcm_prepare() local 173 format_val = snd_hdac_spdif_stream_format(runtime->channels, bits, runtime->rate, ctls); in azx_pcm_prepare() 174 if (!format_val) { in azx_pcm_prepare() 181 err = snd_hdac_stream_set_params(azx_stream(azx_dev), format_val); in azx_pcm_prepare() 193 azx_dev->core.format_val, substream); in azx_pcm_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);
|
| /linux/sound/hda/codecs/ |
| H A D | ca0132.c | 3010 unsigned int format_val; in dma_convert_to_hda_format() local 3012 format_val = snd_hdac_stream_format(channels, 32, sample_rate); in dma_convert_to_hda_format() 3015 *hda_format = (unsigned short)format_val; in dma_convert_to_hda_format()
|