| /linux/sound/soc/sof/intel/ |
| H A D | hda-dai-ops.c | 233 unsigned int format_val) in generic_calc_stream_format() 235 snd_hdac_ext_stream_setup(hext_stream, format_val); in generic_calc_stream_format() 261 unsigned int format_val; in dmic_calc_stream_format() 271 format_val = snd_hdac_stream_format(params_channels(params), bits, params_rate(params)); 273 dev_dbg(sdev->dev, "format_val=%#x, rate=%d, ch=%d, format=%d\n", format_val, in ssp_get_hlink() 276 return format_val; in ssp_get_hlink() 293 unsigned int format_val; in sdw_get_hlink() 298 format_val = snd_hdac_stream_format(params_channels(params), bits, params_rate(params)); in hda_ipc4_pre_trigger() 300 dev_dbg(sdev->dev, "format_val in hda_ipc4_pre_trigger() 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 | 706 0xffff, hstream->format_val); in hda_dsp_stream_hw_params() 1297 hstream->format_val = format; 1323 hstream->format_val = 0; 1370 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 | 306 snd_hdac_stream_writew(azx_dev, SD_FORMAT, azx_dev->format_val); in snd_hdac_stream_setup() 368 azx_dev->format_val = 0; in snd_hdac_stream_assign() 615 * @format_val: format value parameter in snd_hdac_stream_set_params() 621 unsigned int format_val) in snd_hdac_stream_set_params() 643 format_val != azx_dev->format_val || in azx_timecounter_init() 647 azx_dev->format_val = format_val; in azx_timecounter_init() 961 azx_dev->format_val = format; 1017 azx_dev->format_val 599 snd_hdac_stream_set_params(struct hdac_stream * azx_dev,unsigned int format_val) snd_hdac_stream_set_params() argument [all...] |
| /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 | 697 if (map->format.format_val) { in regcache_set_val() 698 map->format.format_val(base + (map->cache_word_size * idx), in regcache_set_val()
|
| /linux/sound/hda/common/ |
| H A D | controller.c | 127 hdas->format_val = 0; in azx_pcm_hw_params() 161 unsigned int format_val, stream_tag, bits; in azx_pcm_prepare() 175 format_val = snd_hdac_spdif_stream_format(runtime->channels, bits, runtime->rate, ctls); in azx_pcm_prepare() 176 if (!format_val) { in azx_pcm_prepare() 178 "invalid format_val, rate=%d, ch=%d, format=%d\n", in azx_pcm_prepare() 183 err = snd_hdac_stream_set_params(azx_stream(azx_dev), format_val); in azx_pcm_prepare() 195 azx_dev->core.format_val, substream); in azx_pcm_prepare() 159 unsigned int format_val, stream_tag, bits; azx_pcm_prepare() local
|
| /linux/include/sound/ |
| H A D | hdaudio.h | 544 unsigned int format_val; /* format value to be set in the member 586 unsigned int format_val);
|
| /linux/sound/hda/codecs/ |
| H A D | ca0132.c | 3030 unsigned int format_val; in dma_reset() 3032 format_val = snd_hdac_stream_format(channels, 32, sample_rate); in dma_reset() 3035 *hda_format = (unsigned short)format_val; in dma_reset() 3010 unsigned int format_val; dma_convert_to_hda_format() local
|