Home
last modified time | relevance | path

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

/linux-4.4.14/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-4.4.14/sound/soc/intel/skylake/
Dskl-pcm.c79 hdac_stream(stream)->format_val = 0; in skl_substream_alloc_pages()
160 int format_val = 0; in skl_get_format() local
165 format_val = snd_hdac_calc_stream_format(runtime->rate, in skl_get_format()
174 format_val = dma_params->format; in skl_get_format()
177 return format_val; in skl_get_format()
184 unsigned int format_val; in skl_pcm_prepare() local
193 format_val = skl_get_format(substream, dai); in skl_pcm_prepare()
195 hdac_stream(stream)->stream_tag, format_val); in skl_pcm_prepare()
198 err = snd_hdac_stream_set_params(hdac_stream(stream), format_val); in skl_pcm_prepare()
367 unsigned int format_val = 0; in skl_link_pcm_prepare() local
[all …]
/linux-4.4.14/drivers/base/regmap/
Dregmap.c724 map->format.format_val = regmap_format_8; in __regmap_init()
731 map->format.format_val = regmap_format_16_be; in __regmap_init()
736 map->format.format_val = regmap_format_16_le; in __regmap_init()
741 map->format.format_val = regmap_format_16_native; in __regmap_init()
751 map->format.format_val = regmap_format_24; in __regmap_init()
757 map->format.format_val = regmap_format_32_be; in __regmap_init()
762 map->format.format_val = regmap_format_32_le; in __regmap_init()
767 map->format.format_val = regmap_format_32_native; in __regmap_init()
784 !(map->format.format_reg && map->format.format_val)) in __regmap_init()
796 } else if (map->format.format_val) { in __regmap_init()
[all …]
Dinternal.h40 void (*format_val)(void *buf, unsigned int val, unsigned int shift); member
Dregcache.c529 if (map->format.format_val) { in regcache_set_val()
530 map->format.format_val(base + (map->cache_word_size * idx), in regcache_set_val()
/linux-4.4.14/sound/pci/hda/
Dhda_controller.c126 azx_dev->core.format_val = 0; in azx_pcm_hw_params()
162 unsigned int format_val, stream_tag; in azx_pcm_prepare() local
176 format_val = snd_hdac_calc_stream_format(runtime->rate, in azx_pcm_prepare()
181 if (!format_val) { in azx_pcm_prepare()
189 err = snd_hdac_stream_set_params(azx_stream(azx_dev), format_val); in azx_pcm_prepare()
201 azx_dev->core.format_val, substream); in azx_pcm_prepare()
Dpatch_ca0132.c2082 unsigned int format_val; in dma_convert_to_hda_format() local
2084 format_val = snd_hdac_calc_stream_format(sample_rate, in dma_convert_to_hda_format()
2088 *hda_format = (unsigned short)format_val; in dma_convert_to_hda_format()
/linux-4.4.14/include/sound/
Dhdaudio.h408 unsigned int format_val; /* format value to be set in the member
447 unsigned int format_val);