Home
last modified time | relevance | path

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

/linux/sound/soc/sof/intel/
A Dhda-dai-ops.c170 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 Dhda-probes.c89 hstream->format_val = rate | bits | (params->codec.ch_out - 1); in hda_probes_compr_set_params()
A Dhda-loader.c72 hstream->format_val = format; in hda_cl_prepare()
285 hstream->format_val = 0; in hda_cl_cleanup()
A Dhda-pcm.c117 hstream->format_val = rate | bits | (params_channels(params) - 1); in hda_dsp_pcm_hw_params()
A Dhda-dai.c188 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 Dhda.h1009 unsigned int format_val);
A Dhda-stream.c633 0xffff, hstream->format_val); in hda_dsp_stream_hw_params()
/linux/sound/soc/codecs/
A Dhdac_hda.c219 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 Dhdac_hda.h22 unsigned int format_val[2]; member
/linux/sound/hda/
A Dhdac_stream.c284 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 Dprobes.c132 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 Dpcm.c369 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 Dregmap.c964 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 Dregcache.c623 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 Dinternal.h39 void (*format_val)(void *buf, unsigned int val, unsigned int shift); member
/linux/sound/pci/hda/
A Dhda_controller.c125 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 Dpatch_ca0132.c3023 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 Dhdaudio.h540 unsigned int format_val; /* format value to be set in the member
582 unsigned int format_val);

Completed in 59 milliseconds