Home
last modified time | relevance | path

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

/sound/soc/codecs/
Dhdac_hda.c152 unsigned int format_val; in hdac_hda_dai_hw_params() local
161 format_val = snd_hdac_calc_stream_format(params_rate(params), in hdac_hda_dai_hw_params()
166 if (!format_val) { in hdac_hda_dai_hw_params()
175 hda_pvt->pcm[dai->id].format_val[substream->stream] = format_val; in hdac_hda_dai_hw_params()
205 unsigned int format_val; in hdac_hda_dai_prepare() local
219 format_val = hda_pvt->pcm[dai->id].format_val[substream->stream]; in hdac_hda_dai_prepare()
222 stream, format_val, substream); in hdac_hda_dai_prepare()
Dhdac_hda.h11 unsigned int format_val[2]; member
/sound/hda/
Dhdac_stream.c240 snd_hdac_stream_writew(azx_dev, SD_FORMAT, azx_dev->format_val); in snd_hdac_stream_setup()
294 azx_dev->format_val = 0; in snd_hdac_stream_cleanup()
512 unsigned int format_val) in snd_hdac_stream_set_params() argument
528 format_val != azx_dev->format_val || in snd_hdac_stream_set_params()
532 azx_dev->format_val = format_val; in snd_hdac_stream_set_params()
719 azx_dev->format_val = format; in snd_hdac_dsp_prepare()
783 azx_dev->format_val = 0; in snd_hdac_dsp_cleanup()
/sound/soc/sof/intel/
Dhda-dai.c127 unsigned int format_val; in hda_link_dma_params() local
132 format_val = snd_hdac_calc_stream_format(params->s_freq, params->ch, in hda_link_dma_params()
137 format_val, params->s_freq, params->ch, params->format); in hda_link_dma_params()
139 snd_hdac_ext_link_stream_setup(stream, format_val); in hda_link_dma_params()
Dhda-loader.c57 hstream->format_val = format; in cl_stream_prepare()
234 hstream->format_val = 0; in cl_cleanup()
Dhda-pcm.c103 hstream->format_val = rate | bits | (params_channels(params) - 1); in hda_dsp_pcm_hw_params()
Dhda-stream.c467 0xffff, hstream->format_val); in hda_dsp_stream_hw_params()
/sound/soc/intel/skylake/
Dskl-pcm.c78 hdac_stream(stream)->format_val = 0; in skl_substream_alloc_pages()
136 unsigned int format_val; in skl_pcm_host_dma_prepare() local
149 format_val = snd_hdac_calc_stream_format(params->s_freq, in skl_pcm_host_dma_prepare()
153 format_val, params->s_freq, params->ch, params->format); in skl_pcm_host_dma_prepare()
156 err = snd_hdac_stream_set_params(hdac_stream(stream), format_val); in skl_pcm_host_dma_prepare()
183 unsigned int format_val; in skl_pcm_link_dma_prepare() local
196 format_val = snd_hdac_calc_stream_format(params->s_freq, params->ch, in skl_pcm_link_dma_prepare()
200 format_val, params->s_freq, params->ch, params->format); in skl_pcm_link_dma_prepare()
204 snd_hdac_ext_link_stream_setup(stream, format_val); in skl_pcm_link_dma_prepare()
/sound/pci/hda/
Dhda_controller.c121 azx_dev->core.format_val = 0; in azx_pcm_hw_params()
157 unsigned int format_val, stream_tag; in azx_pcm_prepare() local
171 format_val = snd_hdac_calc_stream_format(runtime->rate, in azx_pcm_prepare()
176 if (!format_val) { in azx_pcm_prepare()
184 err = snd_hdac_stream_set_params(azx_stream(azx_dev), format_val); in azx_pcm_prepare()
196 azx_dev->core.format_val, substream); in azx_pcm_prepare()
Dpatch_ca0132.c2618 unsigned int format_val; in dma_convert_to_hda_format() local
2620 format_val = snd_hdac_calc_stream_format(sample_rate, in dma_convert_to_hda_format()
2624 *hda_format = (unsigned short)format_val; in dma_convert_to_hda_format()