Lines Matching refs:bitwidth
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()
289 rate * bitwidth * 2); in lpass_cpu_daiops_hw_params()
292 rate * bitwidth * 2, ret); in lpass_cpu_daiops_hw_params()