/linux/sound/soc/samsung/ |
A 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()
|
A 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()
|
/linux/sound/soc/qcom/ |
A 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()
|
A 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()
|
A D | lpass-cpu.c | 55 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 D | lpass-platform.c | 200 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 D | lpass.h | 39 struct regmap_field *bitwidth; member 146 struct reg_field bitwidth; member
|
A D | lpass-ipq806x.c | 134 .bitwidth = REG_FIELD_ID(0x0010, 0, 1, 5, 0x4),
|
A D | lpass-apq8016.c | 253 .bitwidth = REG_FIELD_ID(0x1000, 0, 1, 4, 0x1000),
|
A D | lpass-sc7180.c | 190 .bitwidth = REG_FIELD_ID(0x1000, 0, 1, 3, 0x1000),
|
/linux/drivers/media/platform/exynos4-is/ |
A D | fimc-is-param.c | 700 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 D | fimc-is-param.h | 464 u32 bitwidth; member 481 u32 bitwidth; member 495 u32 bitwidth; member 506 u32 bitwidth; member
|
A D | fimc-isp-video.c | 433 dma->bitwidth = ifmt->depth[0]; in isp_video_s_fmt_mplane()
|
/linux/sound/soc/mediatek/mt8195/ |
A D | mt8195-mt6359-rt1011-rt5682.c | 72 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 D | mt8195-mt6359-rt1019-rt5682.c | 69 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 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()
|
/linux/sound/soc/mediatek/mt8192/ |
A D | mt8192-mt6359-rt1015-rt5682.c | 84 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 D | spectrum_dpipe.c | 25 .bitwidth = 32, 31 .bitwidth = 1, 36 .bitwidth = 1, 41 .bitwidth = 32, 46 .bitwidth = 32, 51 .bitwidth = 32,
|
/linux/drivers/phy/microchip/ |
A D | sparx5_serdes.c | 59 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 D | tas2764.c | 213 static int tas2764_set_bitwidth(struct tas2764_priv *tas2764, int bitwidth) in tas2764_set_bitwidth() argument 220 switch (bitwidth) { in tas2764_set_bitwidth()
|
A D | tas2770.c | 220 static int tas2770_set_bitwidth(struct tas2770_priv *tas2770, int bitwidth) in tas2770_set_bitwidth() argument 225 switch (bitwidth) { in tas2770_set_bitwidth()
|
A D | tas2562.c | 258 static int tas2562_set_bitwidth(struct tas2562_data *tas2562, int bitwidth) in tas2562_set_bitwidth() argument 264 switch (bitwidth) { in tas2562_set_bitwidth()
|
A D | cs43130.h | 469 unsigned int bitwidth; member
|
A 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()
|
/linux/sound/soc/qcom/qdsp6/ |
A D | q6afe.c | 536 u16 bitwidth; member 1285 port->scfg->bitwidth = cfg->bit_width; in q6afe_tdm_port_prepare()
|