Home
last modified time | relevance | path

Searched refs:format_val (Results 1 – 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/sound/soc/codecs/
Dhdac_hda.c208 unsigned int format_val; in hdac_hda_dai_hw_params() local
217 format_val = snd_hdac_calc_stream_format(params_rate(params), in hdac_hda_dai_hw_params()
222 if (!format_val) { in hdac_hda_dai_hw_params()
231 hda_pvt->pcm[dai->id].format_val[substream->stream] = format_val; in hdac_hda_dai_hw_params()
261 unsigned int format_val; in hdac_hda_dai_prepare() local
275 format_val = hda_pvt->pcm[dai->id].format_val[substream->stream]; in hdac_hda_dai_prepare()
278 stream, format_val, substream); in hdac_hda_dai_prepare()
Dhdac_hda.h22 unsigned int format_val[2]; member
/kernel/linux/linux-5.10/sound/hda/
Dhdac_stream.c247 snd_hdac_stream_writew(azx_dev, SD_FORMAT, azx_dev->format_val); in snd_hdac_stream_setup()
301 azx_dev->format_val = 0; in snd_hdac_stream_cleanup()
517 unsigned int format_val) in snd_hdac_stream_set_params() argument
533 format_val != azx_dev->format_val || in snd_hdac_stream_set_params()
537 azx_dev->format_val = format_val; in snd_hdac_stream_set_params()
733 azx_dev->format_val = format; in snd_hdac_dsp_prepare()
797 azx_dev->format_val = 0; in snd_hdac_dsp_cleanup()
/kernel/linux/linux-5.10/sound/soc/sof/intel/
Dhda-dai.c128 unsigned int format_val; in hda_link_dma_params() local
133 format_val = snd_hdac_calc_stream_format(params->s_freq, params->ch, in hda_link_dma_params()
138 format_val, params->s_freq, params->ch, params->format); in hda_link_dma_params()
140 snd_hdac_ext_link_stream_setup(stream, format_val); in hda_link_dma_params()
Dhda-compress.c78 hstream->format_val = rate | bits | (params->codec.ch_out - 1); in hda_probe_compr_set_params()
Dhda-loader.c54 hstream->format_val = format; in cl_stream_prepare()
238 hstream->format_val = 0; in cl_cleanup()
Dhda-pcm.c105 hstream->format_val = rate | bits | (params_channels(params) - 1); in hda_dsp_pcm_hw_params()
Dhda-stream.c553 0xffff, hstream->format_val); in hda_dsp_stream_hw_params()
/kernel/linux/linux-5.10/drivers/base/regmap/
Dregmap.c983 map->format.format_val = regmap_format_8; in __regmap_init()
990 map->format.format_val = regmap_format_16_be; in __regmap_init()
995 map->format.format_val = regmap_format_16_le; in __regmap_init()
1000 map->format.format_val = regmap_format_16_native; in __regmap_init()
1010 map->format.format_val = regmap_format_24; in __regmap_init()
1016 map->format.format_val = regmap_format_32_be; in __regmap_init()
1021 map->format.format_val = regmap_format_32_le; in __regmap_init()
1026 map->format.format_val = regmap_format_32_native; in __regmap_init()
1037 map->format.format_val = regmap_format_64_be; in __regmap_init()
1042 map->format.format_val = regmap_format_64_le; in __regmap_init()
[all …]
Dinternal.h38 void (*format_val)(void *buf, unsigned int val, unsigned int shift); member
Dregcache.c561 if (map->format.format_val) { in regcache_set_val()
562 map->format.format_val(base + (map->cache_word_size * idx), in regcache_set_val()
/kernel/linux/linux-5.10/sound/soc/intel/skylake/
Dskl-pcm.c78 hdac_stream(stream)->format_val = 0; in skl_substream_alloc_pages()
127 unsigned int format_val; in skl_pcm_host_dma_prepare() local
140 format_val = snd_hdac_calc_stream_format(params->s_freq, in skl_pcm_host_dma_prepare()
144 format_val, params->s_freq, params->ch, params->format); in skl_pcm_host_dma_prepare()
147 err = snd_hdac_stream_set_params(hdac_stream(stream), format_val); in skl_pcm_host_dma_prepare()
174 unsigned int format_val; in skl_pcm_link_dma_prepare() local
187 format_val = snd_hdac_calc_stream_format(params->s_freq, params->ch, in skl_pcm_link_dma_prepare()
191 format_val, params->s_freq, params->ch, params->format); in skl_pcm_link_dma_prepare()
195 snd_hdac_ext_link_stream_setup(stream, format_val); in skl_pcm_link_dma_prepare()
/kernel/linux/linux-5.10/sound/pci/hda/
Dhda_controller.c122 azx_dev->core.format_val = 0; in azx_pcm_hw_params()
154 unsigned int format_val, stream_tag; in azx_pcm_prepare() local
168 format_val = snd_hdac_calc_stream_format(runtime->rate, in azx_pcm_prepare()
173 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()
Dpatch_ca0132.c2902 unsigned int format_val; in dma_convert_to_hda_format() local
2904 format_val = snd_hdac_calc_stream_format(sample_rate, in dma_convert_to_hda_format()
2908 *hda_format = (unsigned short)format_val; in dma_convert_to_hda_format()
/kernel/linux/linux-5.10/include/sound/
Dhdaudio.h520 unsigned int format_val; /* format value to be set in the member
561 unsigned int format_val);