/kernel/linux/linux-5.10/sound/soc/dwc/ |
D | dwc-pcm.c | 24 #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; \
|
/kernel/linux/linux-5.10/sound/pci/hda/ |
D | hda_eld.c | 160 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()
|
D | hda_local.h | 657 int sample_bits; /* for LPCM */ member
|
/kernel/linux/linux-5.10/sound/soc/sof/intel/ |
D | hda-pcm.c | 64 u32 hda_dsp_get_bits(struct snd_sof_dev *sdev, int sample_bits) in hda_dsp_get_bits() argument 66 switch (sample_bits) { in hda_dsp_get_bits() 79 sample_bits); in hda_dsp_get_bits()
|
D | hda.h | 523 u32 hda_dsp_get_bits(struct snd_sof_dev *sdev, int sample_bits);
|
/kernel/linux/linux-5.10/sound/soc/fsl/ |
D | fsl_dma.c | 544 unsigned int sample_bits = in fsl_dma_hw_params() local 548 unsigned int sample_bytes = sample_bits / 8; in fsl_dma_hw_params() 588 switch (sample_bits) { in fsl_dma_hw_params() 602 dev_err(dev, "unsupported sample size %u\n", sample_bits); in fsl_dma_hw_params()
|
/kernel/linux/linux-5.10/sound/soc/xtensa/ |
D | xtfpga-i2s.c | 129 #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] = \
|
/kernel/linux/linux-5.10/sound/soc/ |
D | soc-pcm.c | 342 if (soc_dai->sample_bits && (soc_dai->driver->symmetric_samplebits || in soc_pcm_apply_symmetry() 345 soc_dai->sample_bits); in soc_pcm_apply_symmetry() 349 soc_dai->sample_bits); in soc_pcm_apply_symmetry() 367 unsigned int rate, channels, sample_bits, symmetry, i; in soc_pcm_params_symmetry() local 371 sample_bits = snd_pcm_format_physical_width(params_format(params)); in soc_pcm_params_symmetry() 412 if (cpu_dai->sample_bits && in soc_pcm_params_symmetry() 413 cpu_dai->sample_bits != sample_bits) { in soc_pcm_params_symmetry() 415 cpu_dai->sample_bits, sample_bits); in soc_pcm_params_symmetry() 923 codec_dai->sample_bits = snd_pcm_format_physical_width( in soc_pcm_hw_params() 944 cpu_dai->sample_bits = in soc_pcm_hw_params() [all …]
|
/kernel/linux/linux-5.10/sound/soc/codecs/ |
D | uda134x.c | 147 master_runtime->sample_bits, in uda134x_startup() 156 master_runtime->sample_bits); in uda134x_startup()
|
D | twl4030.c | 49 unsigned int sample_bits; member 1608 twl4030->sample_bits); in twl4030_constraints() 1794 twl4030->sample_bits = hw_param_interval(params, in twl4030_hw_params()
|
D | tlv320aic3x.c | 1205 width = substream->runtime->sample_bits; in aic3x_prepare()
|
/kernel/linux/linux-5.10/include/sound/ |
D | pcm.h | 370 unsigned int sample_bits; member 675 return size * 8 / runtime->sample_bits; in bytes_to_samples() 695 return size * runtime->sample_bits / 8; in samples_to_bytes()
|
D | soc-dai.h | 380 unsigned int sample_bits; member
|
/kernel/linux/linux-5.10/sound/hda/ |
D | hdac_stream.c | 27 bits_per_sample = runtime->sample_bits, in snd_hdac_get_stream_stripe_ctl()
|
/kernel/linux/linux-5.10/sound/soc/intel/atom/ |
D | sst-mfld-platform-pcm.c | 146 param->uc.pcm_params.pcm_wd_sz = substream->runtime->sample_bits; in sst_fill_pcm_params()
|
/kernel/linux/linux-5.10/sound/usb/caiaq/ |
D | audio.c | 253 runtime->sample_bits, bpp); in snd_usb_caiaq_pcm_prepare()
|
/kernel/linux/linux-5.10/sound/pci/lx6464es/ |
D | lx_core.c | 685 if (runtime->sample_bits == 16) in lx_stream_set_format()
|
/kernel/linux/linux-5.10/sound/pci/ |
D | intel8x0.c | 984 if (runtime->sample_bits > 16) in snd_intel8x0_setup_pcm_out() 1005 ichdev->pos_shift = (runtime->sample_bits > 16) ? 2 : 1; in snd_intel8x0_pcm_prepare()
|
/kernel/linux/linux-5.10/sound/usb/ |
D | pcm.c | 1437 if (bytes % (runtime->sample_bits >> 3) != 0) { in retire_capture_urb()
|
/kernel/linux/linux-5.10/sound/core/ |
D | pcm_native.c | 770 runtime->sample_bits = bits; in snd_pcm_hw_params()
|
/kernel/linux/linux-5.10/Documentation/sound/kernel-api/ |
D | writing-an-alsa-driver.rst | 1570 unsigned int sample_bits;
|