Lines Matching refs:madera

117 	struct madera *madera = priv->madera;  in cs47l85_adsp_power_ev()  local
121 ret = regmap_read(madera->regmap, MADERA_DSP_CLOCK_1, &freq); in cs47l85_adsp_power_ev()
123 dev_err(madera->dev, in cs47l85_adsp_power_ev()
2448 struct madera *madera = priv->madera; in cs47l85_open() local
2456 dev_err(madera->dev, in cs47l85_open()
2469 struct madera *madera = priv->madera; in cs47l85_adsp2_irq() local
2480 blocking_notifier_call_chain(&madera->notifier, in cs47l85_adsp2_irq()
2487 dev_err(madera->dev, "Spurious compressed data IRQ\n"); in cs47l85_adsp2_irq()
2497 struct madera *madera = cs47l85->core.madera; in cs47l85_component_probe() local
2500 snd_soc_component_init_regmap(component, madera->regmap); in cs47l85_component_probe()
2502 mutex_lock(&madera->dapm_ptr_lock); in cs47l85_component_probe()
2503 madera->dapm = snd_soc_component_get_dapm(component); in cs47l85_component_probe()
2504 mutex_unlock(&madera->dapm_ptr_lock); in cs47l85_component_probe()
2532 struct madera *madera = cs47l85->core.madera; in cs47l85_component_remove() local
2535 mutex_lock(&madera->dapm_ptr_lock); in cs47l85_component_remove()
2536 madera->dapm = NULL; in cs47l85_component_remove()
2537 mutex_unlock(&madera->dapm_ptr_lock); in cs47l85_component_remove()
2589 struct madera *madera = dev_get_drvdata(pdev->dev.parent); in cs47l85_probe() local
2596 if (!madera->irq_dev) { in cs47l85_probe()
2608 cs47l85->core.madera = madera; in cs47l85_probe()
2620 ret = madera_request_irq(madera, MADERA_IRQ_DSP_IRQ1, in cs47l85_probe()
2628 ret = madera_set_irq_wake(madera, MADERA_IRQ_DSP_IRQ1, 1); in cs47l85_probe()
2637 cs47l85->core.adsp[i].cs_dsp.dev = madera->dev; in cs47l85_probe()
2638 cs47l85->core.adsp[i].cs_dsp.regmap = madera->regmap_32bit; in cs47l85_probe()
2653 madera_init_fll(madera, 1, MADERA_FLL1_CONTROL_1 - 1, in cs47l85_probe()
2655 madera_init_fll(madera, 2, MADERA_FLL2_CONTROL_1 - 1, in cs47l85_probe()
2657 madera_init_fll(madera, 3, MADERA_FLL3_CONTROL_1 - 1, in cs47l85_probe()
2665 regmap_update_bits(madera->regmap, cs47l85_digital_vu[i], in cs47l85_probe()
2688 madera_set_irq_wake(madera, MADERA_IRQ_DSP_IRQ1, 0); in cs47l85_probe()
2689 madera_free_irq(madera, MADERA_IRQ_DSP_IRQ1, cs47l85); in cs47l85_probe()
2708 madera_set_irq_wake(cs47l85->core.madera, MADERA_IRQ_DSP_IRQ1, 0); in cs47l85_remove()
2709 madera_free_irq(cs47l85->core.madera, MADERA_IRQ_DSP_IRQ1, cs47l85); in cs47l85_remove()