Home
last modified time | relevance | path

Searched refs:sample_bits (Results 1 – 23 of 23) sorted by relevance

/linux/sound/soc/dwc/
A Ddwc-pcm.c24 #define dw_pcm_tx_fn(sample_bits) \ argument
25 static unsigned int dw_pcm_tx_##sample_bits(struct dw_i2s_dev *dev, \
29 const u##sample_bits (*p)[2] = (void *)runtime->dma_area; \
44 #define dw_pcm_rx_fn(sample_bits) \ argument
45 static unsigned int dw_pcm_rx_##sample_bits(struct dw_i2s_dev *dev, \
49 u##sample_bits (*p)[2] = (void *)runtime->dma_area; \
/linux/sound/pci/hda/
A Dhda_eld.c160 a->sample_bits = 0; in hdmi_update_short_audio_desc()
173 a->sample_bits |= cea_sample_sizes[i + 1]; in hdmi_update_short_audio_desc()
383 snd_print_pcm_bits(a->sample_bits, buf2 + 8, sizeof(buf2) - 8); in hdmi_show_short_audio_desc()
429 snd_print_pcm_bits(a->sample_bits, buf, sizeof(buf)); in hdmi_print_sad_info()
431 i, a->sample_bits, buf); in hdmi_print_sad_info()
542 e->sad[n].sample_bits = val; in snd_hdmi_write_eld_info()
578 if (a->sample_bits & AC_SUPPCM_BITS_20) { in snd_hdmi_eld_update_pcm_info()
583 if (a->sample_bits & AC_SUPPCM_BITS_24) { in snd_hdmi_eld_update_pcm_info()
A Dhda_local.h659 int sample_bits; /* for LPCM */ member
/linux/sound/soc/sof/intel/
A Dhda-pcm.c69 u32 hda_dsp_get_bits(struct snd_sof_dev *sdev, int sample_bits) in hda_dsp_get_bits() argument
71 switch (sample_bits) { in hda_dsp_get_bits()
84 sample_bits); in hda_dsp_get_bits()
A Dhda.h521 u32 hda_dsp_get_bits(struct snd_sof_dev *sdev, int sample_bits);
/linux/sound/soc/fsl/
A Dfsl_dma.c517 unsigned int sample_bits = in fsl_dma_hw_params() local
521 unsigned int sample_bytes = sample_bits / 8; in fsl_dma_hw_params()
561 switch (sample_bits) { in fsl_dma_hw_params()
575 dev_err(dev, "unsupported sample size %u\n", sample_bits); in fsl_dma_hw_params()
/linux/sound/soc/xtensa/
A Dxtfpga-i2s.c129 #define xtfpga_pcm_tx_fn(channels, sample_bits) \ argument
130 static unsigned xtfpga_pcm_tx_##channels##x##sample_bits( \
134 const u##sample_bits (*p)[channels] = \
/linux/sound/soc/codecs/
A Duda134x.c147 master_runtime->sample_bits, in uda134x_startup()
156 master_runtime->sample_bits); in uda134x_startup()
A Dtwl4030.c49 unsigned int sample_bits; member
1608 twl4030->sample_bits); in twl4030_constraints()
1794 twl4030->sample_bits = hw_param_interval(params, in twl4030_hw_params()
A Dtlv320aic3x.c1199 width = substream->runtime->sample_bits; in aic3x_prepare()
/linux/sound/soc/sh/
A Drz-ssi.c825 unsigned int sample_bits = hw_param_interval(params, in rz_ssi_dai_hw_params() local
829 if (sample_bits != 16) { in rz_ssi_dai_hw_params()
831 sample_bits); in rz_ssi_dai_hw_params()
/linux/include/sound/
A Dpcm.h370 unsigned int sample_bits; member
673 return size * 8 / runtime->sample_bits; in bytes_to_samples()
693 return size * runtime->sample_bits / 8; in samples_to_bytes()
A Dsoc-dai.h446 unsigned int sample_bits; member
/linux/sound/soc/mediatek/mt8195/
A Dmt8195-dai-pcm.c127 unsigned int bit_width = dai->sample_bits; in mtk_dai_pcm_configure()
/linux/sound/soc/
A Dsoc-pcm.c337 dai->sample_bits = snd_pcm_format_physical_width(params_format(params)); in soc_pcm_set_dai_params()
341 dai->sample_bits = 0; in soc_pcm_set_dai_params()
373 __soc_pcm_apply_symmetry(sample_bits, SAMPLE_BITS); in soc_pcm_apply_symmetry()
407 __soc_pcm_params_symmetry(sample_bits); in soc_pcm_params_symmetry()
/linux/sound/hda/
A Dhdac_stream.c27 bits_per_sample = runtime->sample_bits, in snd_hdac_get_stream_stripe_ctl()
/linux/sound/soc/intel/atom/
A Dsst-mfld-platform-pcm.c146 param->uc.pcm_params.pcm_wd_sz = substream->runtime->sample_bits; in sst_fill_pcm_params()
/linux/sound/usb/caiaq/
A Daudio.c253 runtime->sample_bits, bpp); in snd_usb_caiaq_pcm_prepare()
/linux/sound/pci/lx6464es/
A Dlx_core.c682 if (runtime->sample_bits == 16) in lx_stream_set_format()
/linux/sound/pci/
A Dintel8x0.c963 if (runtime->sample_bits > 16) in snd_intel8x0_setup_pcm_out()
984 ichdev->pos_shift = (runtime->sample_bits > 16) ? 2 : 1; in snd_intel8x0_pcm_prepare()
/linux/sound/usb/
A Dpcm.c1192 if (bytes % (runtime->sample_bits >> 3) != 0) { in retire_capture_urb()
/linux/sound/core/
A Dpcm_native.c748 runtime->sample_bits = bits; in snd_pcm_hw_params()
/linux/Documentation/sound/kernel-api/
A Dwriting-an-alsa-driver.rst1570 unsigned int sample_bits;

Completed in 84 milliseconds