Searched refs:coeff_div (Results 1 – 5 of 5) sorted by relevance
| /linux/sound/soc/codecs/ |
| H A D | es8389.c | 373 static const struct _coeff_div coeff_div[] = { variable 455 for (i = 0; i < ARRAY_SIZE(coeff_div); i++) { in get_coeff() 456 if (coeff_div[i].rate == rate && coeff_div[i].mclk == mclk) in get_coeff() 574 regmap_write(es8389->regmap, ES8389_CLK_DIV1, coeff_div[coeff].Reg0x04); in es8389_pcm_hw_params() 575 regmap_write(es8389->regmap, ES8389_CLK_MUL, coeff_div[coeff].Reg0x05); in es8389_pcm_hw_params() 576 regmap_write(es8389->regmap, ES8389_CLK_MUX1, coeff_div[coeff].Reg0x06); in es8389_pcm_hw_params() 577 regmap_write(es8389->regmap, ES8389_CLK_MUX2, coeff_div[coeff].Reg0x07); in es8389_pcm_hw_params() 578 regmap_write(es8389->regmap, ES8389_CLK_CTL1, coeff_div[coeff].Reg0x08); in es8389_pcm_hw_params() 579 regmap_write(es8389->regmap, ES8389_CLK_CTL2, coeff_div[coef in es8389_pcm_hw_params() [all...] |
| H A D | es8375.c | 200 static const struct _coeff_div coeff_div[] = { variable 271 for (i = 0; i < ARRAY_SIZE(coeff_div); i++) { in get_coeff() 272 if (coeff_div[i].rate == rate && coeff_div[i].mclk == mclk) { in get_coeff() 273 vddd_det = ~(coeff_div[i].dvdd_vol ^ vddd) & 0x01; in get_coeff() 274 dmic_det = ~(coeff_div[i].dmic_sel ^ dmic) & 0x01; in get_coeff() 275 vddd_det |= ~(coeff_div[i].dvdd_vol % 2) & 0x01; in get_coeff() 276 dmic_det |= ~(coeff_div[i].dmic_sel % 2) & 0x01; in get_coeff() 325 coeff_div[coeff].Reg0x04); in es8375_hw_params() 327 coeff_div[coeff].Reg0x05); in es8375_hw_params() 329 coeff_div[coeff].Reg0x06); in es8375_hw_params() [all …]
|
| H A D | ml26124.c | 183 static const struct clk_coeff coeff_div[] = { variable 317 for (i = 0; i < ARRAY_SIZE(coeff_div); i++) { in get_coeff() 318 if (coeff_div[i].rate == rate && coeff_div[i].mclk == mclk) in get_coeff() 366 snd_soc_component_update_bits(component, ML26124_PLLNL, 0xff, coeff_div[i].pllnl); in ml26124_hw_params() 367 snd_soc_component_update_bits(component, ML26124_PLLNH, 0x1, coeff_div[i].pllnh); in ml26124_hw_params() 368 snd_soc_component_update_bits(component, ML26124_PLLML, 0xff, coeff_div[i].pllml); in ml26124_hw_params() 369 snd_soc_component_update_bits(component, ML26124_PLLMH, 0x3f, coeff_div[i].pllmh); in ml26124_hw_params() 370 snd_soc_component_update_bits(component, ML26124_PLLDIV, 0x1f, coeff_div[i].plldiv); in ml26124_hw_params()
|
| H A D | wm8731.c | 238 static const struct _coeff_div coeff_div[] = { variable 306 for (i = 0; i < ARRAY_SIZE(coeff_div); i++) { in get_coeff() 307 if (coeff_div[i].rate == rate && coeff_div[i].mclk == mclk) in get_coeff() 321 u16 srate = (coeff_div[i].sr << 2) | in wm8731_hw_params() 322 (coeff_div[i].bosr << 1) | coeff_div[i].usb; in wm8731_hw_params()
|
| H A D | es8326.c | 471 const struct _coeff_div *coeff_div) in get_coeff() argument 476 if (coeff_div[i].rate == rate && coeff_div[i].mclk == mclk) in get_coeff() 540 const struct _coeff_div *coeff_div; in es8326_pcm_hw_params() local 546 coeff_div = coeff_div_v0; in es8326_pcm_hw_params() 549 coeff_div = coeff_div_v3; in es8326_pcm_hw_params() 552 coeff = get_coeff(es8326->sysclk, params_rate(params), array, coeff_div); in es8326_pcm_hw_params() 579 coeff_div[coeff].reg4); in es8326_pcm_hw_params() 581 coeff_div[coeff].reg5); in es8326_pcm_hw_params() 583 coeff_div[coef in es8326_pcm_hw_params() [all...] |