Searched refs:coeff_div (Results 1 – 9 of 9) sorted by relevance
| /linux/sound/soc/codecs/ |
| H A D | es8389.c | 526 static const struct _coeff_div coeff_div[] = { in es8389_set_dai_fmt() 615 for (i = 0; i < ARRAY_SIZE(coeff_div); i++) { in es8389_set_bias_level() 616 if (coeff_div[i].rate == rate && coeff_div[i].mclk == mclk) { in es8389_set_bias_level() 617 vddd_det = ~(coeff_div[i].dvdd_vol ^ vddd) & 0x01; in es8389_set_bias_level() 618 dmic_det = ~(coeff_div[i].dmic_sel ^ dmic) & 0x01; in es8389_set_bias_level() 619 vddd_det |= ~(coeff_div[i].dvdd_vol % 2) & 0x01; in es8389_set_bias_level() 620 dmic_det |= ~(coeff_div[i].dmic_sel % 2) & 0x01; in es8389_set_bias_level() 761 regmap_write(es8389->regmap, ES8389_CLK_DIV1, coeff_div[coeff].Reg0x04); in es8389_init() 762 regmap_write(es8389->regmap, ES8389_CLK_MUL, coeff_div[coef in es8389_init() 373 static const struct _coeff_div coeff_div[] = { global() variable [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[coef in es8375_hw_params() [all...] |
| H A D | wm8737.c | 281 } coeff_div[] = { variable 333 for (i = 0; i < ARRAY_SIZE(coeff_div); i++) { in wm8737_hw_params() 334 if (coeff_div[i].rate != params_rate(params)) in wm8737_hw_params() 337 if (coeff_div[i].mclk == wm8737->mclk) in wm8737_hw_params() 340 if (coeff_div[i].mclk == wm8737->mclk * 2) { in wm8737_hw_params() 346 if (i == ARRAY_SIZE(coeff_div)) { in wm8737_hw_params() 352 clocking |= coeff_div[i].usb | (coeff_div[i].sr << WM8737_SR_SHIFT); in wm8737_hw_params() 385 for (i = 0; i < ARRAY_SIZE(coeff_div); i++) { in wm8737_set_dai_sysclk() 386 if (freq == coeff_div[i].mclk || in wm8737_set_dai_sysclk() 387 freq == coeff_div[i].mclk * 2) { in wm8737_set_dai_sysclk()
|
| H A D | ml26124.c | 183 static const struct clk_coeff coeff_div[] = { variable 319 for (i = 0; i < ARRAY_SIZE(coeff_div); i++) { in get_coeff() 320 if (coeff_div[i].rate == rate && coeff_div[i].mclk == mclk) in get_coeff() 368 snd_soc_component_update_bits(component, ML26124_PLLNL, 0xff, coeff_div[i].pllnl); in ml26124_hw_params() 369 snd_soc_component_update_bits(component, ML26124_PLLNH, 0x1, coeff_div[i].pllnh); in ml26124_hw_params() 370 snd_soc_component_update_bits(component, ML26124_PLLML, 0xff, coeff_div[i].pllml); in ml26124_hw_params() 371 snd_soc_component_update_bits(component, ML26124_PLLMH, 0x3f, coeff_div[i].pllmh); in ml26124_hw_params() 372 snd_soc_component_update_bits(component, ML26124_PLLDIV, 0x1f, coeff_div[i].plldiv); in ml26124_hw_params()
|
| H A D | wm8711.c | 109 static const struct _coeff_div coeff_div[] = { variable 147 for (i = 0; i < ARRAY_SIZE(coeff_div); i++) { in get_coeff() 148 if (coeff_div[i].rate == rate && coeff_div[i].mclk == mclk) in get_coeff() 162 u16 srate = (coeff_div[i].sr << 2) | in wm8711_hw_params() 163 (coeff_div[i].bosr << 1) | coeff_div[i].usb; in wm8711_hw_params()
|
| H A D | wm8731.c | 237 static const struct _coeff_div coeff_div[] = { 305 for (i = 0; i < ARRAY_SIZE(coeff_div); i++) { in get_coeff() 306 if (coeff_div[i].rate == rate && coeff_div[i].mclk == mclk) in get_coeff() 320 u16 srate = (coeff_div[i].sr << 2) | in wm8731_hw_params() 321 (coeff_div[i].bosr << 1) | coeff_div[i].usb; in wm8731_hw_params() 238 static const struct _coeff_div coeff_div[] = { global() variable
|
| H A D | es8326.c | 487 const struct _coeff_div *coeff_div) in es8326_set_dai_sysclk() 492 if (coeff_div[i].rate == rate && coeff_div[i].mclk == mclk) in es8326_set_dai_sysclk() 556 const struct _coeff_div *coeff_div; in es8326_pcm_hw_params() 562 coeff_div = coeff_div_v0; in es8326_pcm_hw_params() 565 coeff_div = coeff_div_v3; in es8326_pcm_hw_params() 568 coeff = get_coeff(es8326->sysclk, params_rate(params), array, coeff_div); in es8326_pcm_hw_params() 595 coeff_div[coeff].reg4); in es8326_pcm_hw_params() 597 coeff_div[coeff].reg5); in es8326_pcm_hw_params() 599 coeff_div[coef in es8326_pcm_hw_params() 471 get_coeff(int mclk,int rate,int array,const struct _coeff_div * coeff_div) get_coeff() argument 540 const struct _coeff_div *coeff_div; es8326_pcm_hw_params() local [all...] |
| H A D | wm8753.c | 797 static const struct _coeff_div coeff_div[] = { variable 850 for (i = 0; i < ARRAY_SIZE(coeff_div); i++) { in get_coeff() 851 if (coeff_div[i].rate == rate && coeff_div[i].mclk == mclk) in get_coeff() 1166 snd_soc_component_write(component, WM8753_SRATE1, srate | (coeff_div[coeff].sr << 1) | in wm8753_i2s_hw_params() 1167 coeff_div[coeff].usb); in wm8753_i2s_hw_params()
|
| H A D | es8323.c | 345 struct coeff_div { struct 354 static const struct coeff_div es8323_coeff_div[] = { argument
|