Home
last modified time | relevance | path

Searched refs:bitwidth (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.1.9/sound/soc/samsung/
Dsnow.c35 int bfs, psr, rfs, bitwidth; in snow_card_hw_params() local
40 bitwidth = snd_pcm_format_width(params_format(params)); in snow_card_hw_params()
41 if (bitwidth < 0) { in snow_card_hw_params()
42 dev_err(rtd->card->dev, "Invalid bit-width: %d\n", bitwidth); in snow_card_hw_params()
43 return bitwidth; in snow_card_hw_params()
46 if (bitwidth != 16 && bitwidth != 24) { in snow_card_hw_params()
47 dev_err(rtd->card->dev, "Unsupported bit-width: %d\n", bitwidth); in snow_card_hw_params()
51 bfs = 2 * bitwidth; in snow_card_hw_params()
Dtm2_wm5110.c214 int bitwidth, ret; in tm2_hdmi_hw_params() local
216 bitwidth = snd_pcm_format_width(params_format(params)); in tm2_hdmi_hw_params()
217 if (bitwidth < 0) { in tm2_hdmi_hw_params()
218 dev_err(rtd->card->dev, "Invalid bit-width: %d\n", bitwidth); in tm2_hdmi_hw_params()
219 return bitwidth; in tm2_hdmi_hw_params()
222 switch (bitwidth) { in tm2_hdmi_hw_params()
230 dev_err(rtd->card->dev, "Unsupported bit-width: %d\n", bitwidth); in tm2_hdmi_hw_params()
/linux-6.1.9/sound/soc/qcom/
Dstorm.c27 int bitwidth, ret; in storm_ops_hw_params() local
29 bitwidth = snd_pcm_format_width(format); in storm_ops_hw_params()
30 if (bitwidth < 0) { in storm_ops_hw_params()
31 dev_err(card->dev, "invalid bit width given: %d\n", bitwidth); in storm_ops_hw_params()
32 return bitwidth; in storm_ops_hw_params()
40 sysclk_freq = rate * bitwidth * 2 * STORM_SYSCLK_MULT; in storm_ops_hw_params()
Dlpass-hdmi.c27 int bitwidth; in lpass_hdmi_daiops_hw_params() local
37 bitwidth = snd_pcm_format_width(format); in lpass_hdmi_daiops_hw_params()
38 if (bitwidth < 0) { in lpass_hdmi_daiops_hw_params()
40 __func__, bitwidth); in lpass_hdmi_daiops_hw_params()
41 return bitwidth; in lpass_hdmi_daiops_hw_params()
44 switch (bitwidth) { in lpass_hdmi_daiops_hw_params()
53 __func__, bitwidth); in lpass_hdmi_daiops_hw_params()
69 __func__, bitwidth); in lpass_hdmi_daiops_hw_params()
Dlpass-cpu.c57 i2sctl->bitwidth = devm_regmap_field_alloc(dev, map, v->bitwidth); in lpass_cpu_init_i2sctl_bitfields()
63 IS_ERR(i2sctl->bitwidth)) in lpass_cpu_init_i2sctl_bitfields()
145 int bitwidth, ret; in lpass_cpu_daiops_hw_params() local
147 bitwidth = snd_pcm_format_width(format); in lpass_cpu_daiops_hw_params()
148 if (bitwidth < 0) { in lpass_cpu_daiops_hw_params()
149 dev_err(dai->dev, "invalid bit width given: %d\n", bitwidth); in lpass_cpu_daiops_hw_params()
150 return bitwidth; in lpass_cpu_daiops_hw_params()
167 switch (bitwidth) { in lpass_cpu_daiops_hw_params()
178 dev_err(dai->dev, "invalid bitwidth given: %d\n", bitwidth); in lpass_cpu_daiops_hw_params()
182 ret = regmap_fields_write(i2sctl->bitwidth, id, regval); in lpass_cpu_daiops_hw_params()
[all …]
Dlpass-platform.c430 int bitwidth; in lpass_platform_pcmops_hw_params() local
437 bitwidth = snd_pcm_format_width(format); in lpass_platform_pcmops_hw_params()
438 if (bitwidth < 0) { in lpass_platform_pcmops_hw_params()
440 bitwidth); in lpass_platform_pcmops_hw_params()
441 return bitwidth; in lpass_platform_pcmops_hw_params()
499 switch (bitwidth) { in lpass_platform_pcmops_hw_params()
517 bitwidth, channels); in lpass_platform_pcmops_hw_params()
549 bitwidth, channels); in lpass_platform_pcmops_hw_params()
555 bitwidth, channels); in lpass_platform_pcmops_hw_params()
Dlpass.h71 struct regmap_field *bitwidth; member
228 struct reg_field bitwidth; member
Dlpass-ipq806x.c134 .bitwidth = REG_FIELD_ID(0x0010, 0, 1, 5, 0x4),
Dlpass-apq8016.c253 .bitwidth = REG_FIELD_ID(0x1000, 0, 1, 4, 0x1000),
Dlpass-sc7180.c193 .bitwidth = REG_FIELD_ID(0x1000, 0, 1, 3, 0x1000),
Dlpass-sc7280.c283 .bitwidth = REG_FIELD_ID(0x1000, 0, 1, 3, 0x1000),
/linux-6.1.9/drivers/media/platform/samsung/exynos4-is/
Dfimc-is-param.c700 isp->otf_input.bitwidth = 10; in fimc_is_set_initial_params()
710 isp->dma1_input.bitwidth = 0; in fimc_is_set_initial_params()
722 isp->dma2_input.bitwidth = 0; in fimc_is_set_initial_params()
776 isp->otf_output.bitwidth = 12; in fimc_is_set_initial_params()
785 isp->dma1_output.bitwidth = 0; in fimc_is_set_initial_params()
801 isp->dma2_output.bitwidth = 0; in fimc_is_set_initial_params()
829 drc->otf_input.bitwidth = 12; in fimc_is_set_initial_params()
837 drc->dma_input.bitwidth = 0; in fimc_is_set_initial_params()
852 drc->otf_output.bitwidth = 8; in fimc_is_set_initial_params()
868 fd->otf_input.bitwidth = 8; in fimc_is_set_initial_params()
[all …]
Dfimc-is-param.h464 u32 bitwidth; member
481 u32 bitwidth; member
495 u32 bitwidth; member
506 u32 bitwidth; member
/linux-6.1.9/sound/soc/mediatek/mt8186/
Dmt8186-mt6366-rt1019-rt5682s.c119 int bitwidth; in mt8186_rt5682s_i2s_hw_params() local
122 bitwidth = snd_pcm_format_width(params_format(params)); in mt8186_rt5682s_i2s_hw_params()
123 if (bitwidth < 0) { in mt8186_rt5682s_i2s_hw_params()
124 dev_err(card->dev, "invalid bit width: %d\n", bitwidth); in mt8186_rt5682s_i2s_hw_params()
125 return bitwidth; in mt8186_rt5682s_i2s_hw_params()
128 ret = snd_soc_dai_set_tdm_slot(codec_dai, 0x00, 0x0, 0x2, bitwidth); in mt8186_rt5682s_i2s_hw_params()
/linux-6.1.9/sound/soc/mediatek/mt8192/
Dmt8192-mt6359-rt1015-rt5682.c103 int bitwidth; in mt8192_rt5682x_i2s_hw_params() local
106 bitwidth = snd_pcm_format_width(params_format(params)); in mt8192_rt5682x_i2s_hw_params()
107 if (bitwidth < 0) { in mt8192_rt5682x_i2s_hw_params()
108 dev_err(card->dev, "invalid bit width: %d\n", bitwidth); in mt8192_rt5682x_i2s_hw_params()
109 return bitwidth; in mt8192_rt5682x_i2s_hw_params()
112 ret = snd_soc_dai_set_tdm_slot(codec_dai, 0x00, 0x0, 0x2, bitwidth); in mt8192_rt5682x_i2s_hw_params()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_dpipe.c25 .bitwidth = 32,
31 .bitwidth = 1,
36 .bitwidth = 1,
41 .bitwidth = 32,
46 .bitwidth = 32,
51 .bitwidth = 32,
/linux-6.1.9/sound/soc/mediatek/mt8195/
Dmt8195-mt6359.c526 int bitwidth; in mt8195_rt5682_etdm_hw_params() local
529 bitwidth = snd_pcm_format_width(params_format(params)); in mt8195_rt5682_etdm_hw_params()
530 if (bitwidth < 0) { in mt8195_rt5682_etdm_hw_params()
531 dev_err(card->dev, "invalid bit width: %d\n", bitwidth); in mt8195_rt5682_etdm_hw_params()
532 return bitwidth; in mt8195_rt5682_etdm_hw_params()
535 ret = snd_soc_dai_set_tdm_slot(codec_dai, 0x00, 0x0, 0x2, bitwidth); in mt8195_rt5682_etdm_hw_params()
/linux-6.1.9/sound/soc/codecs/
Dtas2780.c151 static int tas2780_set_bitwidth(struct tas2780_priv *tas2780, int bitwidth) in tas2780_set_bitwidth() argument
159 switch (bitwidth) { in tas2780_set_bitwidth()
Dtas2770.c194 static int tas2770_set_bitwidth(struct tas2770_priv *tas2770, int bitwidth) in tas2770_set_bitwidth() argument
199 switch (bitwidth) { in tas2770_set_bitwidth()
Dtas2764.c251 static int tas2764_set_bitwidth(struct tas2764_priv *tas2764, int bitwidth) in tas2764_set_bitwidth() argument
258 switch (bitwidth) { in tas2764_set_bitwidth()
Dtas2562.c227 static int tas2562_set_bitwidth(struct tas2562_data *tas2562, int bitwidth) in tas2562_set_bitwidth() argument
233 switch (bitwidth) { in tas2562_set_bitwidth()
Dcs43130.h470 unsigned int bitwidth; member
Dcs43130.c472 unsigned int bitwidth) in cs43130_get_bitwidth_table() argument
477 if (cs43130_bitwidth_table[i].bitwidth == bitwidth) in cs43130_get_bitwidth_table()
/linux-6.1.9/drivers/phy/microchip/
Dsparx5_serdes.c59 u8 bitwidth; member
387 .bitwidth = 40,
413 .bitwidth = 64,
439 .bitwidth = 64,
462 .bitwidth = 10,
485 .bitwidth = 10,
715 u8 iw = sd25g28_get_iw_setting(macro->priv->dev, mode->bitwidth); in sparx5_sd25g28_get_params()
/linux-6.1.9/sound/soc/qcom/qdsp6/
Dq6afe.c536 u16 bitwidth; member
1285 port->scfg->bitwidth = cfg->bit_width; in q6afe_tdm_port_prepare()

12