/sound/soc/samsung/ |
D | snow.c | 35 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()
|
D | tm2_wm5110.c | 214 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()
|
/sound/soc/qcom/ |
D | storm.c | 27 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()
|
D | lpass-hdmi.c | 27 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()
|
D | lpass-cpu.c | 57 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 …]
|
D | lpass-platform.c | 430 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()
|
D | lpass.h | 71 struct regmap_field *bitwidth; member 228 struct reg_field bitwidth; member
|
D | lpass-ipq806x.c | 134 .bitwidth = REG_FIELD_ID(0x0010, 0, 1, 5, 0x4),
|
D | lpass-apq8016.c | 253 .bitwidth = REG_FIELD_ID(0x1000, 0, 1, 4, 0x1000),
|
D | lpass-sc7180.c | 193 .bitwidth = REG_FIELD_ID(0x1000, 0, 1, 3, 0x1000),
|
D | lpass-sc7280.c | 283 .bitwidth = REG_FIELD_ID(0x1000, 0, 1, 3, 0x1000),
|
/sound/soc/mediatek/mt8186/ |
D | mt8186-mt6366-rt1019-rt5682s.c | 119 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()
|
/sound/soc/mediatek/mt8192/ |
D | mt8192-mt6359-rt1015-rt5682.c | 103 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()
|
/sound/soc/mediatek/mt8195/ |
D | mt8195-mt6359.c | 526 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()
|
D | mt8195-dai-etdm.c | 230 static int get_etdm_wlen(unsigned int bitwidth) in get_etdm_wlen() argument 232 return bitwidth <= 16 ? 16 : 32; in get_etdm_wlen()
|
/sound/soc/codecs/ |
D | tas2780.c | 151 static int tas2780_set_bitwidth(struct tas2780_priv *tas2780, int bitwidth) in tas2780_set_bitwidth() argument 159 switch (bitwidth) { in tas2780_set_bitwidth()
|
D | tas2770.c | 194 static int tas2770_set_bitwidth(struct tas2770_priv *tas2770, int bitwidth) in tas2770_set_bitwidth() argument 199 switch (bitwidth) { in tas2770_set_bitwidth()
|
D | tas2764.c | 251 static int tas2764_set_bitwidth(struct tas2764_priv *tas2764, int bitwidth) in tas2764_set_bitwidth() argument 258 switch (bitwidth) { in tas2764_set_bitwidth()
|
D | tas2562.c | 227 static int tas2562_set_bitwidth(struct tas2562_data *tas2562, int bitwidth) in tas2562_set_bitwidth() argument 233 switch (bitwidth) { in tas2562_set_bitwidth()
|
D | cs43130.h | 470 unsigned int bitwidth; member
|
D | cs43130.c | 472 unsigned int bitwidth) in cs43130_get_bitwidth_table() argument 477 if (cs43130_bitwidth_table[i].bitwidth == bitwidth) in cs43130_get_bitwidth_table()
|
/sound/soc/qcom/qdsp6/ |
D | q6afe.c | 536 u16 bitwidth; member 1285 port->scfg->bitwidth = cfg->bit_width; in q6afe_tdm_port_prepare()
|