Home
last modified time | relevance | path

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

/Linux-v4.19/sound/hda/
Dhdac_stream.c164 snd_hdac_stream_writew(azx_dev, SD_FORMAT, azx_dev->format_val); in snd_hdac_stream_setup()
222 azx_dev->format_val = 0; in snd_hdac_stream_cleanup()
438 unsigned int format_val) in snd_hdac_stream_set_params() argument
454 format_val != azx_dev->format_val || in snd_hdac_stream_set_params()
458 azx_dev->format_val = format_val; in snd_hdac_stream_set_params()
645 azx_dev->format_val = format; in snd_hdac_dsp_prepare()
709 azx_dev->format_val = 0; in snd_hdac_dsp_cleanup()
/Linux-v4.19/drivers/base/regmap/
Dregmap.c932 map->format.format_val = regmap_format_8; in __regmap_init()
939 map->format.format_val = regmap_format_16_be; in __regmap_init()
944 map->format.format_val = regmap_format_16_le; in __regmap_init()
949 map->format.format_val = regmap_format_16_native; in __regmap_init()
959 map->format.format_val = regmap_format_24; in __regmap_init()
965 map->format.format_val = regmap_format_32_be; in __regmap_init()
970 map->format.format_val = regmap_format_32_le; in __regmap_init()
975 map->format.format_val = regmap_format_32_native; in __regmap_init()
986 map->format.format_val = regmap_format_64_be; in __regmap_init()
991 map->format.format_val = regmap_format_64_le; in __regmap_init()
[all …]
Dinternal.h41 void (*format_val)(void *buf, unsigned int val, unsigned int shift); member
Dregcache.c559 if (map->format.format_val) { in regcache_set_val()
560 map->format.format_val(base + (map->cache_word_size * idx), in regcache_set_val()
/Linux-v4.19/sound/soc/intel/skylake/
Dskl-pcm.c86 hdac_stream(stream)->format_val = 0; in skl_substream_alloc_pages()
143 unsigned int format_val; in skl_pcm_host_dma_prepare() local
156 format_val = snd_hdac_calc_stream_format(params->s_freq, in skl_pcm_host_dma_prepare()
160 format_val, params->s_freq, params->ch, params->format); in skl_pcm_host_dma_prepare()
163 err = snd_hdac_stream_set_params(hdac_stream(stream), format_val); in skl_pcm_host_dma_prepare()
179 unsigned int format_val; in skl_pcm_link_dma_prepare() local
191 format_val = snd_hdac_calc_stream_format(params->s_freq, params->ch, in skl_pcm_link_dma_prepare()
195 format_val, params->s_freq, params->ch, params->format); in skl_pcm_link_dma_prepare()
199 snd_hdac_ext_link_stream_setup(stream, format_val); in skl_pcm_link_dma_prepare()
/Linux-v4.19/sound/pci/hda/
Dhda_controller.c132 azx_dev->core.format_val = 0; in azx_pcm_hw_params()
168 unsigned int format_val, stream_tag; in azx_pcm_prepare() local
182 format_val = snd_hdac_calc_stream_format(runtime->rate, in azx_pcm_prepare()
187 if (!format_val) { in azx_pcm_prepare()
195 err = snd_hdac_stream_set_params(azx_stream(azx_dev), format_val); in azx_pcm_prepare()
207 azx_dev->core.format_val, substream); in azx_pcm_prepare()
Dpatch_ca0132.c2483 unsigned int format_val; in dma_convert_to_hda_format() local
2485 format_val = snd_hdac_calc_stream_format(sample_rate, in dma_convert_to_hda_format()
2489 *hda_format = (unsigned short)format_val; in dma_convert_to_hda_format()
/Linux-v4.19/include/sound/
Dhdaudio.h488 unsigned int format_val; /* format value to be set in the member
527 unsigned int format_val);