Home
last modified time | relevance | path

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

12

/linux/sound/soc/samsung/
A 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()
A 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/sound/soc/qcom/
A 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()
A 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()
A Dlpass-cpu.c55 i2sctl->bitwidth = devm_regmap_field_alloc(dev, map, v->bitwidth); in lpass_cpu_init_i2sctl_bitfields()
61 IS_ERR(i2sctl->bitwidth)) in lpass_cpu_init_i2sctl_bitfields()
143 int bitwidth, ret; in lpass_cpu_daiops_hw_params() local
145 bitwidth = snd_pcm_format_width(format); in lpass_cpu_daiops_hw_params()
146 if (bitwidth < 0) { in lpass_cpu_daiops_hw_params()
148 return bitwidth; in lpass_cpu_daiops_hw_params()
165 switch (bitwidth) { in lpass_cpu_daiops_hw_params()
176 dev_err(dai->dev, "invalid bitwidth given: %d\n", bitwidth); in lpass_cpu_daiops_hw_params()
180 ret = regmap_fields_write(i2sctl->bitwidth, id, regval); in lpass_cpu_daiops_hw_params()
287 rate * bitwidth * 2); in lpass_cpu_daiops_hw_params()
[all …]
A Dlpass-platform.c200 int bitwidth; in lpass_platform_pcmops_hw_params() local
216 bitwidth = snd_pcm_format_width(format); in lpass_platform_pcmops_hw_params()
217 if (bitwidth < 0) { in lpass_platform_pcmops_hw_params()
219 bitwidth); in lpass_platform_pcmops_hw_params()
220 return bitwidth; in lpass_platform_pcmops_hw_params()
274 switch (bitwidth) { in lpass_platform_pcmops_hw_params()
292 bitwidth, channels); in lpass_platform_pcmops_hw_params()
324 bitwidth, channels); in lpass_platform_pcmops_hw_params()
330 bitwidth, channels); in lpass_platform_pcmops_hw_params()
A Dlpass.h39 struct regmap_field *bitwidth; member
146 struct reg_field bitwidth; member
A Dlpass-ipq806x.c134 .bitwidth = REG_FIELD_ID(0x0010, 0, 1, 5, 0x4),
A Dlpass-apq8016.c253 .bitwidth = REG_FIELD_ID(0x1000, 0, 1, 4, 0x1000),
A Dlpass-sc7180.c190 .bitwidth = REG_FIELD_ID(0x1000, 0, 1, 3, 0x1000),
/linux/drivers/media/platform/exynos4-is/
A 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 …]
A Dfimc-is-param.h464 u32 bitwidth; member
481 u32 bitwidth; member
495 u32 bitwidth; member
506 u32 bitwidth; member
A Dfimc-isp-video.c433 dma->bitwidth = ifmt->depth[0]; in isp_video_s_fmt_mplane()
/linux/sound/soc/mediatek/mt8195/
A Dmt8195-mt6359-rt1011-rt5682.c72 int bitwidth; in mt8195_rt5682_etdm_hw_params() local
75 bitwidth = snd_pcm_format_width(params_format(params)); in mt8195_rt5682_etdm_hw_params()
76 if (bitwidth < 0) { in mt8195_rt5682_etdm_hw_params()
77 dev_err(card->dev, "invalid bit width: %d\n", bitwidth); in mt8195_rt5682_etdm_hw_params()
78 return bitwidth; in mt8195_rt5682_etdm_hw_params()
81 ret = snd_soc_dai_set_tdm_slot(codec_dai, 0x00, 0x0, 0x2, bitwidth); in mt8195_rt5682_etdm_hw_params()
A Dmt8195-mt6359-rt1019-rt5682.c69 int bitwidth; in mt8195_rt5682_etdm_hw_params() local
72 bitwidth = snd_pcm_format_width(params_format(params)); in mt8195_rt5682_etdm_hw_params()
73 if (bitwidth < 0) { in mt8195_rt5682_etdm_hw_params()
74 dev_err(card->dev, "invalid bit width: %d\n", bitwidth); in mt8195_rt5682_etdm_hw_params()
75 return bitwidth; in mt8195_rt5682_etdm_hw_params()
78 ret = snd_soc_dai_set_tdm_slot(codec_dai, 0x00, 0x0, 0x2, bitwidth); in mt8195_rt5682_etdm_hw_params()
A Dmt8195-dai-etdm.c230 static int get_etdm_wlen(unsigned int bitwidth) in get_etdm_wlen() argument
232 return bitwidth <= 16 ? 16 : 32; in get_etdm_wlen()
/linux/sound/soc/mediatek/mt8192/
A Dmt8192-mt6359-rt1015-rt5682.c84 int bitwidth; in mt8192_rt5682_i2s_hw_params() local
87 bitwidth = snd_pcm_format_width(params_format(params)); in mt8192_rt5682_i2s_hw_params()
88 if (bitwidth < 0) { in mt8192_rt5682_i2s_hw_params()
89 dev_err(card->dev, "invalid bit width: %d\n", bitwidth); in mt8192_rt5682_i2s_hw_params()
90 return bitwidth; in mt8192_rt5682_i2s_hw_params()
93 ret = snd_soc_dai_set_tdm_slot(codec_dai, 0x00, 0x0, 0x2, bitwidth); in mt8192_rt5682_i2s_hw_params()
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_dpipe.c25 .bitwidth = 32,
31 .bitwidth = 1,
36 .bitwidth = 1,
41 .bitwidth = 32,
46 .bitwidth = 32,
51 .bitwidth = 32,
/linux/drivers/phy/microchip/
A 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/sound/soc/codecs/
A Dtas2764.c213 static int tas2764_set_bitwidth(struct tas2764_priv *tas2764, int bitwidth) in tas2764_set_bitwidth() argument
220 switch (bitwidth) { in tas2764_set_bitwidth()
A Dtas2770.c220 static int tas2770_set_bitwidth(struct tas2770_priv *tas2770, int bitwidth) in tas2770_set_bitwidth() argument
225 switch (bitwidth) { in tas2770_set_bitwidth()
A Dtas2562.c258 static int tas2562_set_bitwidth(struct tas2562_data *tas2562, int bitwidth) in tas2562_set_bitwidth() argument
264 switch (bitwidth) { in tas2562_set_bitwidth()
A Dcs43130.h469 unsigned int bitwidth; member
A 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/sound/soc/qcom/qdsp6/
A Dq6afe.c536 u16 bitwidth; member
1285 port->scfg->bitwidth = cfg->bit_width; in q6afe_tdm_port_prepare()

Completed in 73 milliseconds

12