Home
last modified time | relevance | path

Searched refs:format_val (Results 1 - 25 of 34) sorted by relevance

12

/kernel/linux/linux-6.6/sound/soc/sof/intel/
H A Dhda-dai-ops.c182 unsigned int format_val) in hda_setup_hext_stream()
184 snd_hdac_ext_stream_setup(hext_stream, format_val); in hda_setup_hext_stream()
210 unsigned int format_val; in hda_calc_stream_format() local
217 format_val = snd_hdac_calc_stream_format(params_rate(params), params_channels(params), in hda_calc_stream_format()
220 dev_dbg(sdev->dev, "format_val=%#x, rate=%d, ch=%d, format=%d\n", format_val, in hda_calc_stream_format()
223 return format_val; in hda_calc_stream_format()
240 unsigned int format_val; in generic_calc_stream_format() local
242 format_val = snd_hdac_calc_stream_format(params_rate(params), params_channels(params), in generic_calc_stream_format()
247 dev_dbg(sdev->dev, "format_val in generic_calc_stream_format()
181 hda_setup_hext_stream(struct snd_sof_dev *sdev, struct hdac_ext_stream *hext_stream, unsigned int format_val) hda_setup_hext_stream() argument
257 unsigned int format_val; dmic_calc_stream_format() local
578 hda_dspless_setup_hext_stream(struct snd_sof_dev *sdev, struct hdac_ext_stream *hext_stream, unsigned int format_val) hda_dspless_setup_hext_stream() argument
[all...]
H A Dhda-probes.c89 hstream->format_val = rate | bits | (params->codec.ch_out - 1); in hda_probes_compr_set_params()
H A Dhda-loader.c72 hstream->format_val = format; in hda_cl_stream_prepare()
276 hstream->format_val = 0; in hda_cl_cleanup()
H A Dhda-pcm.c117 hstream->format_val = rate | bits | (params_channels(params) - 1); in hda_dsp_pcm_hw_params()
/kernel/linux/linux-5.10/sound/soc/codecs/
H A 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()
224 "invalid format_val, rate=%d, ch=%d, format=%d, maxbps=%d\n", 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, substrea in hdac_hda_dai_prepare()
[all...]
H A Dhdac_hda.h22 unsigned int format_val[2]; member
/kernel/linux/linux-6.6/sound/soc/codecs/
H A Dhdac_hda.c211 unsigned int format_val; in hdac_hda_dai_hw_params() local
220 format_val = snd_hdac_calc_stream_format(params_rate(params), in hdac_hda_dai_hw_params()
225 if (!format_val) { in hdac_hda_dai_hw_params()
227 "invalid format_val, rate=%d, ch=%d, format=%d, maxbps=%d\n", in hdac_hda_dai_hw_params()
234 hda_pvt->pcm[dai->id].format_val[substream->stream] = format_val; in hdac_hda_dai_hw_params()
264 unsigned int format_val; in hdac_hda_dai_prepare() local
278 format_val = hda_pvt->pcm[dai->id].format_val[substream->stream]; in hdac_hda_dai_prepare()
281 stream, format_val, substrea in hdac_hda_dai_prepare()
[all...]
H A Dhdac_hda.h22 unsigned int format_val[2]; member
/kernel/linux/linux-5.10/sound/hda/
H A Dhdac_stream.c290 snd_hdac_stream_writew(azx_dev, SD_FORMAT, azx_dev->format_val); in snd_hdac_stream_setup()
344 azx_dev->format_val = 0; in snd_hdac_stream_cleanup()
559 * @format_val: format value parameter
565 unsigned int format_val) in snd_hdac_stream_set_params()
581 format_val != azx_dev->format_val || in snd_hdac_stream_set_params()
585 azx_dev->format_val = format_val; in snd_hdac_stream_set_params()
778 azx_dev->format_val = format; in snd_hdac_dsp_prepare()
842 azx_dev->format_val in snd_hdac_dsp_cleanup()
564 snd_hdac_stream_set_params(struct hdac_stream *azx_dev, unsigned int format_val) snd_hdac_stream_set_params() argument
[all...]
/kernel/linux/linux-6.6/sound/hda/
H A Dhdac_stream.c281 snd_hdac_stream_writew(azx_dev, SD_FORMAT, azx_dev->format_val); in snd_hdac_stream_setup()
335 azx_dev->format_val = 0; in snd_hdac_stream_cleanup()
568 * @format_val: format value parameter
574 unsigned int format_val) in snd_hdac_stream_set_params()
596 format_val != azx_dev->format_val || in snd_hdac_stream_set_params()
600 azx_dev->format_val = format_val; in snd_hdac_stream_set_params()
931 azx_dev->format_val = format; in snd_hdac_dsp_prepare()
995 azx_dev->format_val in snd_hdac_dsp_cleanup()
573 snd_hdac_stream_set_params(struct hdac_stream *azx_dev, unsigned int format_val) snd_hdac_stream_set_params() argument
[all...]
/kernel/linux/linux-6.6/sound/soc/intel/avs/
H A Dprobes.c128 unsigned int format_val; in avs_probe_compr_set_params() local
133 hdac_stream(host_stream)->format_val = 0; in avs_probe_compr_set_params()
143 format_val = snd_hdac_calc_stream_format(params->codec.sample_rate, params->codec.ch_out, in avs_probe_compr_set_params()
145 ret = snd_hdac_stream_set_params(hdac_stream(host_stream), format_val); in avs_probe_compr_set_params()
H A Dpcm.c342 unsigned int format_val; in avs_dai_hda_be_prepare() local
350 format_val = snd_hdac_calc_stream_format(runtime->rate, runtime->channels, runtime->format, in avs_dai_hda_be_prepare()
355 snd_hdac_ext_stream_setup(link_stream, format_val); in avs_dai_hda_be_prepare()
535 hdac_stream(host_stream)->format_val = 0; in avs_dai_fe_hw_params()
608 unsigned int format_val; in avs_dai_fe_prepare() local
621 format_val = snd_hdac_calc_stream_format(runtime->rate, runtime->channels, runtime->format, in avs_dai_fe_prepare()
624 ret = snd_hdac_stream_set_params(hdac_stream(host_stream), format_val); in avs_dai_fe_prepare()
/kernel/linux/linux-5.10/drivers/base/regmap/
H A 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 in __regmap_init()
[all...]
H A Dinternal.h38 void (*format_val)(void *buf, unsigned int val, unsigned int shift); member
H A 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/
H A 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()
143 dev_dbg(dev, "format_val=%d, rate=%d, ch=%d, format=%d\n", 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()
190 dev_dbg(dev, "format_val=%d, rate=%d, ch=%d, format=%d\n", in skl_pcm_link_dma_prepare()
191 format_val, param in skl_pcm_link_dma_prepare()
[all...]
/kernel/linux/linux-6.6/sound/soc/intel/skylake/
H A Dskl-pcm.c79 hdac_stream(stream)->format_val = 0; in skl_substream_alloc_pages()
128 unsigned int format_val; in skl_pcm_host_dma_prepare() local
141 format_val = snd_hdac_calc_stream_format(params->s_freq, in skl_pcm_host_dma_prepare()
144 dev_dbg(dev, "format_val=%d, rate=%d, ch=%d, format=%d\n", in skl_pcm_host_dma_prepare()
145 format_val, params->s_freq, params->ch, params->format); in skl_pcm_host_dma_prepare()
148 err = snd_hdac_stream_set_params(hdac_stream(stream), format_val); in skl_pcm_host_dma_prepare()
175 unsigned int format_val; in skl_pcm_link_dma_prepare() local
188 format_val = snd_hdac_calc_stream_format(params->s_freq, params->ch, in skl_pcm_link_dma_prepare()
191 dev_dbg(dev, "format_val=%d, rate=%d, ch=%d, format=%d\n", in skl_pcm_link_dma_prepare()
192 format_val, param in skl_pcm_link_dma_prepare()
[all...]
/kernel/linux/linux-5.10/sound/soc/sof/intel/
H A 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()
137 dev_dbg(bus->dev, "format_val=%d, rate=%d, ch=%d, format=%d\n", 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()
H A Dhda-compress.c78 hstream->format_val = rate | bits | (params->codec.ch_out - 1); in hda_probe_compr_set_params()
H A Dhda-pcm.c105 hstream->format_val = rate | bits | (params_channels(params) - 1); in hda_dsp_pcm_hw_params()
H A Dhda-loader.c54 hstream->format_val = format; in cl_stream_prepare()
238 hstream->format_val = 0; in cl_cleanup()
/kernel/linux/linux-6.6/drivers/base/regmap/
H A Dregmap.c963 map->format.format_val = regmap_format_8; in __regmap_init()
970 map->format.format_val = regmap_format_16_be; in __regmap_init()
975 map->format.format_val = regmap_format_16_le; in __regmap_init()
980 map->format.format_val = regmap_format_16_native; in __regmap_init()
990 map->format.format_val = regmap_format_24_be; in __regmap_init()
1000 map->format.format_val = regmap_format_32_be; in __regmap_init()
1005 map->format.format_val = regmap_format_32_le; in __regmap_init()
1010 map->format.format_val = regmap_format_32_native; in __regmap_init()
1027 !(map->format.format_reg && map->format.format_val)) in __regmap_init()
1039 } else if (map->format.format_val) { in __regmap_init()
[all...]
/kernel/linux/linux-5.10/sound/pci/hda/
H A 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()
175 "invalid format_val, rate=%d, ch=%d, format=%d\n", 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()
/kernel/linux/linux-6.6/sound/pci/hda/
H A 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()
175 "invalid format_val, rate=%d, ch=%d, format=%d\n", 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()
/kernel/linux/linux-5.10/include/sound/
H A Dhdaudio.h520 unsigned int format_val; /* format value to be set in the member
561 unsigned int format_val);

Completed in 36 milliseconds

12