| /linux/sound/soc/sof/intel/ |
| A D | hda-dai-ops.c | 170 unsigned int format_val) in hda_setup_hext_stream() argument 172 snd_hdac_ext_stream_setup(hext_stream, format_val); in hda_setup_hext_stream() 198 unsigned int format_val; in hda_calc_stream_format() local 213 return format_val; in hda_calc_stream_format() 230 unsigned int format_val; in generic_calc_stream_format() local 240 return format_val; in generic_calc_stream_format() 247 unsigned int format_val; in dmic_calc_stream_format() local 264 format_val = snd_hdac_stream_format(channels, bits, params_rate(params)); in dmic_calc_stream_format() 269 return format_val; in dmic_calc_stream_format() 565 unsigned int format_val) in hda_dspless_setup_hext_stream() argument [all …]
|
| A D | hda-probes.c | 89 hstream->format_val = rate | bits | (params->codec.ch_out - 1); in hda_probes_compr_set_params()
|
| A D | hda-loader.c | 72 hstream->format_val = format; in hda_cl_prepare() 285 hstream->format_val = 0; in hda_cl_cleanup()
|
| A D | hda-pcm.c | 117 hstream->format_val = rate | bits | (params_channels(params) - 1); in hda_dsp_pcm_hw_params()
|
| A D | hda-dai.c | 188 unsigned int format_val = ops->calc_stream_format(sdev, substream, params); in hda_link_dma_hw_params() local 190 ops->setup_hext_stream(sdev, hext_stream, format_val); in hda_link_dma_hw_params()
|
| A D | hda.h | 1009 unsigned int format_val);
|
| A D | hda-stream.c | 633 0xffff, hstream->format_val); in hda_dsp_stream_hw_params()
|
| /linux/sound/soc/codecs/ |
| 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() 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, substream); in hdac_hda_dai_prepare()
|
| A D | hdac_hda.h | 22 unsigned int format_val[2]; member
|
| /linux/sound/hda/ |
| A D | hdac_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() 585 unsigned int format_val) in snd_hdac_stream_set_params() argument 607 format_val != azx_dev->format_val || in snd_hdac_stream_set_params() 611 azx_dev->format_val = format_val; in snd_hdac_stream_set_params() 947 azx_dev->format_val = format; in snd_hdac_dsp_prepare() 1011 azx_dev->format_val = 0; in snd_hdac_dsp_cleanup()
|
| /linux/sound/soc/intel/avs/ |
| A D | probes.c | 132 unsigned int format_val; in avs_probe_compr_set_params() local 137 hdac_stream(host_stream)->format_val = 0; in avs_probe_compr_set_params() 147 format_val = snd_hdac_stream_format(params->codec.ch_out, bps, params->codec.sample_rate); in avs_probe_compr_set_params() 148 ret = snd_hdac_stream_set_params(hdac_stream(host_stream), format_val); in avs_probe_compr_set_params()
|
| A D | pcm.c | 369 unsigned int format_val; in avs_dai_hda_be_prepare() local 384 format_val = snd_hdac_stream_format(runtime->channels, bits, runtime->rate); in avs_dai_hda_be_prepare() 388 snd_hdac_ext_stream_setup(link_stream, format_val); in avs_dai_hda_be_prepare() 576 hdac_stream(host_stream)->format_val = 0; in avs_dai_fe_hw_params() 648 unsigned int format_val; in avs_dai_fe_prepare() local 666 format_val = snd_hdac_stream_format(runtime->channels, bits, runtime->rate); in avs_dai_fe_prepare() 668 ret = snd_hdac_stream_set_params(hdac_stream(host_stream), format_val); in avs_dai_fe_prepare()
|
| /linux/drivers/base/regmap/ |
| A D | regmap.c | 964 map->format.format_val = regmap_format_8; in __regmap_init() 971 map->format.format_val = regmap_format_16_be; in __regmap_init() 976 map->format.format_val = regmap_format_16_le; in __regmap_init() 981 map->format.format_val = regmap_format_16_native; in __regmap_init() 991 map->format.format_val = regmap_format_24_be; in __regmap_init() 1001 map->format.format_val = regmap_format_32_be; in __regmap_init() 1006 map->format.format_val = regmap_format_32_le; in __regmap_init() 1011 map->format.format_val = regmap_format_32_native; in __regmap_init() 1040 } else if (map->format.format_val) { in __regmap_init() 1884 WARN_ON(!map->format.format_val); in _regmap_bus_raw_write() [all …]
|
| A D | regcache.c | 623 if (map->format.format_val) { in regcache_set_val() 624 map->format.format_val(base + (map->cache_word_size * idx), in regcache_set_val()
|
| A D | internal.h | 39 void (*format_val)(void *buf, unsigned int val, unsigned int shift); member
|
| /linux/sound/pci/hda/ |
| A D | hda_controller.c | 125 hdas->format_val = 0; in azx_pcm_hw_params() 162 unsigned int format_val, stream_tag, bits; in azx_pcm_prepare() local 178 format_val = snd_hdac_spdif_stream_format(runtime->channels, bits, runtime->rate, ctls); in azx_pcm_prepare() 179 if (!format_val) { in azx_pcm_prepare() 187 err = snd_hdac_stream_set_params(azx_stream(azx_dev), format_val); in azx_pcm_prepare() 199 azx_dev->core.format_val, substream); in azx_pcm_prepare()
|
| A D | patch_ca0132.c | 3023 unsigned int format_val; in dma_convert_to_hda_format() local 3025 format_val = snd_hdac_stream_format(channels, 32, sample_rate); in dma_convert_to_hda_format() 3028 *hda_format = (unsigned short)format_val; in dma_convert_to_hda_format()
|
| /linux/include/sound/ |
| A D | hdaudio.h | 540 unsigned int format_val; /* format value to be set in the member 582 unsigned int format_val);
|