/linux-6.3-rc2/sound/soc/dwc/ |
A 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; \
|
/linux-6.3-rc2/sound/pci/hda/ |
A 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() 546 e->sad[n].sample_bits = val; in snd_hdmi_write_eld_info() 582 if (a->sample_bits & AC_SUPPCM_BITS_20) { in snd_hdmi_eld_update_pcm_info() 587 if (a->sample_bits & AC_SUPPCM_BITS_24) { in snd_hdmi_eld_update_pcm_info()
|
A D | hda_local.h | 659 int sample_bits; /* for LPCM */ member
|
/linux-6.3-rc2/sound/soc/sof/intel/ |
A D | hda-pcm.c | 74 u32 hda_dsp_get_bits(struct snd_sof_dev *sdev, int sample_bits) in hda_dsp_get_bits() argument 76 switch (sample_bits) { in hda_dsp_get_bits() 89 sample_bits); in hda_dsp_get_bits()
|
A D | hda.h | 608 u32 hda_dsp_get_bits(struct snd_sof_dev *sdev, int sample_bits);
|
/linux-6.3-rc2/sound/soc/fsl/ |
A D | fsl_dma.c | 517 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-6.3-rc2/sound/soc/generic/ |
A D | simple-card-utils.c | 149 dai->tdm_width_map[i].sample_bits = *p++; in asoc_simple_parse_tdm_width_map() 393 int sample_bits = params_width(params); in asoc_simple_set_tdm() local 404 slot_width = sample_bits; in asoc_simple_set_tdm() 407 if (simple_dai->tdm_width_map[i].sample_bits == sample_bits) { in asoc_simple_set_tdm()
|
/linux-6.3-rc2/sound/soc/xtensa/ |
A 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] = \
|
/linux-6.3-rc2/sound/soc/codecs/ |
A D | hda-dai.c | 85 runtime->sample_bits, 0); in hda_codec_dai_prepare()
|
A D | uda134x.c | 147 master_runtime->sample_bits, in uda134x_startup() 156 master_runtime->sample_bits); in uda134x_startup()
|
A D | twl4030.c | 57 unsigned int sample_bits; member 1616 twl4030->sample_bits); in twl4030_constraints() 1802 twl4030->sample_bits = hw_param_interval(params, in twl4030_hw_params()
|
A D | tlv320aic3x.c | 1200 width = substream->runtime->sample_bits; in aic3x_prepare()
|
/linux-6.3-rc2/sound/soc/sh/ |
A D | rz-ssi.c | 821 unsigned int sample_bits = hw_param_interval(params, in rz_ssi_dai_hw_params() local 825 if (sample_bits != 16) { in rz_ssi_dai_hw_params() 827 sample_bits); in rz_ssi_dai_hw_params()
|
/linux-6.3-rc2/sound/soc/mediatek/mt8188/ |
A D | mt8188-dai-pcm.c | 131 unsigned int bit_width = dai->sample_bits; in mtk_dai_pcm_configure()
|
A D | mt8188-afe-pcm.c | 402 (runtime->channels * runtime->sample_bits - 1)) / in mt8188_afe_fe_trigger() 403 (runtime->channels * runtime->sample_bits) + 1; in mt8188_afe_fe_trigger()
|
/linux-6.3-rc2/sound/soc/mediatek/mt8195/ |
A D | mt8195-dai-pcm.c | 130 unsigned int bit_width = dai->sample_bits; in mtk_dai_pcm_configure()
|
/linux-6.3-rc2/include/sound/ |
A D | pcm.h | 375 unsigned int sample_bits; member 711 return size * 8 / runtime->sample_bits; in bytes_to_samples() 735 return size * runtime->sample_bits / 8; in samples_to_bytes()
|
A D | simple_card_utils.h | 20 u8 sample_bits; member
|
A D | soc-dai.h | 455 unsigned int sample_bits; member
|
/linux-6.3-rc2/sound/soc/ |
A D | soc-pcm.c | 391 dai->sample_bits = snd_pcm_format_physical_width(params_format(params)); in soc_pcm_set_dai_params() 395 dai->sample_bits = 0; in soc_pcm_set_dai_params() 427 __soc_pcm_apply_symmetry(sample_bits, SAMPLE_BITS); in soc_pcm_apply_symmetry() 461 __soc_pcm_params_symmetry(sample_bits); in soc_pcm_params_symmetry()
|
/linux-6.3-rc2/sound/soc/intel/avs/ |
A D | pcm.c | 351 runtime->sample_bits, 0); in avs_dai_hda_be_prepare() 609 runtime->sample_bits, 0); in avs_dai_fe_prepare()
|
/linux-6.3-rc2/sound/hda/ |
A D | hdac_stream.c | 61 bits_per_sample = runtime->sample_bits, in snd_hdac_get_stream_stripe_ctl()
|
/linux-6.3-rc2/sound/soc/intel/atom/ |
A D | sst-mfld-platform-pcm.c | 146 param->uc.pcm_params.pcm_wd_sz = substream->runtime->sample_bits; in sst_fill_pcm_params()
|
/linux-6.3-rc2/sound/usb/caiaq/ |
A D | audio.c | 253 runtime->sample_bits, bpp); in snd_usb_caiaq_pcm_prepare()
|
/linux-6.3-rc2/sound/pci/lx6464es/ |
A D | lx_core.c | 681 if (runtime->sample_bits == 16) in lx_stream_set_format()
|