Home
last modified time | relevance | path

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

/sound/pci/hda/
Dhda_eld.c173 a->sample_bits = 0; in hdmi_update_short_audio_desc()
186 a->sample_bits |= cea_sample_sizes[i + 1]; in hdmi_update_short_audio_desc()
396 snd_print_pcm_bits(a->sample_bits, buf2 + 8, sizeof(buf2) - 8); in hdmi_show_short_audio_desc()
442 snd_print_pcm_bits(a->sample_bits, buf, sizeof(buf)); in hdmi_print_sad_info()
444 i, a->sample_bits, buf); in hdmi_print_sad_info()
555 e->sad[n].sample_bits = val; in snd_hdmi_write_eld_info()
591 if (a->sample_bits & AC_SUPPCM_BITS_20) { in snd_hdmi_eld_update_pcm_info()
596 if (a->sample_bits & AC_SUPPCM_BITS_24) { in snd_hdmi_eld_update_pcm_info()
Dhda_local.h721 int sample_bits; /* for LPCM */ member
/sound/soc/dwc/
Ddesignware_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; \
/sound/soc/fsl/
Dfsl_dma.c546 unsigned int sample_bits = in fsl_dma_hw_params() local
550 unsigned int sample_bytes = sample_bits / 8; in fsl_dma_hw_params()
590 switch (sample_bits) { in fsl_dma_hw_params()
604 dev_err(dev, "unsupported sample size %u\n", sample_bits); in fsl_dma_hw_params()
/sound/soc/xtensa/
Dxtfpga-i2s.c132 #define xtfpga_pcm_tx_fn(channels, sample_bits) \ argument
133 static unsigned xtfpga_pcm_tx_##channels##x##sample_bits( \
137 const u##sample_bits (*p)[channels] = \
/sound/soc/
Dsoc-pcm.c234 if (soc_dai->sample_bits && (soc_dai->driver->symmetric_samplebits || in soc_pcm_apply_symmetry()
237 soc_dai->sample_bits); in soc_pcm_apply_symmetry()
241 soc_dai->sample_bits); in soc_pcm_apply_symmetry()
258 unsigned int rate, channels, sample_bits, symmetry, i; in soc_pcm_params_symmetry() local
262 sample_bits = snd_pcm_format_physical_width(params_format(params)); in soc_pcm_params_symmetry()
295 if (symmetry && cpu_dai->sample_bits && cpu_dai->sample_bits != sample_bits) { in soc_pcm_params_symmetry()
297 cpu_dai->sample_bits, sample_bits); in soc_pcm_params_symmetry()
910 codec_dai->sample_bits = snd_pcm_format_physical_width( in soc_pcm_hw_params()
930 cpu_dai->sample_bits = in soc_pcm_hw_params()
977 cpu_dai->sample_bits = 0; in soc_pcm_hw_free()
[all …]
/sound/soc/blackfin/
Dbf5xx-i2s-pcm.c233 unsigned int sample_size = runtime->sample_bits / 8; in bf5xx_pcm_copy()
290 unsigned int sample_size = runtime->sample_bits / 8; in bf5xx_pcm_silence()
/sound/soc/codecs/
Duda134x.c150 master_runtime->sample_bits, in uda134x_startup()
159 master_runtime->sample_bits); in uda134x_startup()
Dtwl4030.c63 unsigned int sample_bits; member
1623 twl4030->sample_bits); in twl4030_constraints()
1809 twl4030->sample_bits = hw_param_interval(params, in twl4030_hw_params()
Dtlv320aic3x.c1194 width = substream->runtime->sample_bits; in aic3x_prepare()
/sound/soc/sh/rcar/
Dssi.c323 switch (runtime->sample_bits) { in rsnd_ssi_config_init()
557 switch (runtime->sample_bits) { in __rsnd_ssi_interrupt()
Dcore.c292 switch (runtime->sample_bits) { in rsnd_get_adinr_bit()
328 switch (runtime->sample_bits) { in rsnd_get_dalign()
/sound/soc/intel/atom/
Dsst-mfld-platform-pcm.c154 param->uc.pcm_params.pcm_wd_sz = substream->runtime->sample_bits; in sst_fill_pcm_params()
/sound/usb/caiaq/
Daudio.c273 runtime->sample_bits, bpp); in snd_usb_caiaq_pcm_prepare()
/sound/pci/lx6464es/
Dlx_core.c701 if (runtime->sample_bits == 16) in lx_stream_set_format()
/sound/pci/
Dintel8x0.c1035 if (runtime->sample_bits > 16) in snd_intel8x0_setup_pcm_out()
1056 ichdev->pos_shift = (runtime->sample_bits > 16) ? 2 : 1; in snd_intel8x0_pcm_prepare()
/sound/usb/
Dpcm.c1310 if (bytes % (runtime->sample_bits >> 3) != 0) { in retire_capture_urb()
/sound/core/oss/
Dpcm_oss.c1736 size1 /= runtime->sample_bits; in snd_pcm_oss_sync()
/sound/core/
Dpcm_native.c570 runtime->sample_bits = bits; in snd_pcm_hw_params()