wm5110 508 sound/soc/codecs/wm5110.c struct wm5110_priv *wm5110 = snd_soc_component_get_drvdata(component); wm5110 522 sound/soc/codecs/wm5110.c wm5110->in_value |= 0x3 << ((w->shift ^ 0x1) * 2); wm5110 523 sound/soc/codecs/wm5110.c wm5110->in_pre_pending++; wm5110 524 sound/soc/codecs/wm5110.c wm5110->in_post_pending++; wm5110 527 sound/soc/codecs/wm5110.c wm5110->in_pga_cache[w->shift] = snd_soc_component_read32(component, reg); wm5110 532 sound/soc/codecs/wm5110.c wm5110->in_pre_pending--; wm5110 533 sound/soc/codecs/wm5110.c if (wm5110->in_pre_pending == 0) { wm5110 534 sound/soc/codecs/wm5110.c analog_seq[1].def = wm5110->in_value; wm5110 541 sound/soc/codecs/wm5110.c wm5110->in_value = 0; wm5110 547 sound/soc/codecs/wm5110.c wm5110->in_pga_cache[w->shift]); wm5110 549 sound/soc/codecs/wm5110.c wm5110->in_post_pending--; wm5110 550 sound/soc/codecs/wm5110.c if (wm5110->in_post_pending == 0) wm5110 2049 sound/soc/codecs/wm5110.c struct wm5110_priv *wm5110 = snd_soc_component_get_drvdata(component); wm5110 2053 sound/soc/codecs/wm5110.c return arizona_set_fll(&wm5110->fll[0], source, Fref, Fout); wm5110 2055 sound/soc/codecs/wm5110.c return arizona_set_fll(&wm5110->fll[1], source, Fref, Fout); wm5110 2057 sound/soc/codecs/wm5110.c return arizona_set_fll_refclk(&wm5110->fll[0], source, Fref, wm5110 2060 sound/soc/codecs/wm5110.c return arizona_set_fll_refclk(&wm5110->fll[1], source, Fref, wm5110 2389 sound/soc/codecs/wm5110.c struct wm5110_priv *wm5110; wm5110 2392 sound/soc/codecs/wm5110.c wm5110 = devm_kzalloc(&pdev->dev, sizeof(struct wm5110_priv), wm5110 2394 sound/soc/codecs/wm5110.c if (wm5110 == NULL) wm5110 2396 sound/soc/codecs/wm5110.c platform_set_drvdata(pdev, wm5110); wm5110 2406 sound/soc/codecs/wm5110.c wm5110->core.arizona = arizona; wm5110 2407 sound/soc/codecs/wm5110.c wm5110->core.num_inputs = 8; wm5110 2410 sound/soc/codecs/wm5110.c wm5110->core.adsp[i].part = "wm5110"; wm5110 2411 sound/soc/codecs/wm5110.c wm5110->core.adsp[i].num = i + 1; wm5110 2412 sound/soc/codecs/wm5110.c wm5110->core.adsp[i].type = WMFW_ADSP2; wm5110 2413 sound/soc/codecs/wm5110.c wm5110->core.adsp[i].dev = arizona->dev; wm5110 2414 sound/soc/codecs/wm5110.c wm5110->core.adsp[i].regmap = arizona->regmap; wm5110 2416 sound/soc/codecs/wm5110.c wm5110->core.adsp[i].base = ARIZONA_DSP1_CONTROL_1 wm5110 2418 sound/soc/codecs/wm5110.c wm5110->core.adsp[i].mem = wm5110_dsp_regions[i]; wm5110 2419 sound/soc/codecs/wm5110.c wm5110->core.adsp[i].num_mems wm5110 2422 sound/soc/codecs/wm5110.c ret = wm_adsp2_init(&wm5110->core.adsp[i]); wm5110 2427 sound/soc/codecs/wm5110.c for (i = 0; i < ARRAY_SIZE(wm5110->fll); i++) wm5110 2428 sound/soc/codecs/wm5110.c wm5110->fll[i].vco_mult = 3; wm5110 2432 sound/soc/codecs/wm5110.c &wm5110->fll[0]); wm5110 2435 sound/soc/codecs/wm5110.c &wm5110->fll[1]); wm5110 2444 sound/soc/codecs/wm5110.c arizona_init_dai(&wm5110->core, i); wm5110 2456 sound/soc/codecs/wm5110.c wm5110); wm5110 2492 sound/soc/codecs/wm5110.c arizona_free_irq(arizona, ARIZONA_IRQ_DSP_IRQ1, wm5110); wm5110 2499 sound/soc/codecs/wm5110.c struct wm5110_priv *wm5110 = platform_get_drvdata(pdev); wm5110 2500 sound/soc/codecs/wm5110.c struct arizona *arizona = wm5110->core.arizona; wm5110 2506 sound/soc/codecs/wm5110.c wm_adsp2_remove(&wm5110->core.adsp[i]); wm5110 2511 sound/soc/codecs/wm5110.c arizona_free_irq(arizona, ARIZONA_IRQ_DSP_IRQ1, wm5110);