Lines Matching full:madera
23 #include <linux/irqchip/irq-madera.h>
24 #include <linux/mfd/madera/core.h>
25 #include <linux/mfd/madera/registers.h>
27 #include "madera.h"
117 struct madera *madera = priv->madera; in cs47l90_adsp_power_ev() local
121 ret = regmap_read(madera->regmap, MADERA_DSP_CLOCK_2, &freq); in cs47l90_adsp_power_ev()
123 dev_err(madera->dev, in cs47l90_adsp_power_ev()
2371 struct madera *madera = priv->madera; in cs47l90_open() local
2379 dev_err(madera->dev, in cs47l90_open()
2392 struct madera *madera = priv->madera; in cs47l90_adsp2_irq() local
2403 blocking_notifier_call_chain(&madera->notifier, in cs47l90_adsp2_irq()
2410 dev_err(madera->dev, "Spurious compressed data IRQ\n"); in cs47l90_adsp2_irq()
2420 struct madera *madera = cs47l90->core.madera; in cs47l90_component_probe() local
2423 snd_soc_component_init_regmap(component, madera->regmap); in cs47l90_component_probe()
2425 mutex_lock(&madera->dapm_ptr_lock); in cs47l90_component_probe()
2426 madera->dapm = snd_soc_component_get_dapm(component); in cs47l90_component_probe()
2427 mutex_unlock(&madera->dapm_ptr_lock); in cs47l90_component_probe()
2455 struct madera *madera = cs47l90->core.madera; in cs47l90_component_remove() local
2458 mutex_lock(&madera->dapm_ptr_lock); in cs47l90_component_remove()
2459 madera->dapm = NULL; in cs47l90_component_remove()
2460 mutex_unlock(&madera->dapm_ptr_lock); in cs47l90_component_remove()
2508 struct madera *madera = dev_get_drvdata(pdev->dev.parent); in cs47l90_probe() local
2514 /* quick exit if Madera irqchip driver hasn't completed probe */ in cs47l90_probe()
2515 if (!madera->irq_dev) { in cs47l90_probe()
2527 cs47l90->core.madera = madera; in cs47l90_probe()
2535 ret = madera_request_irq(madera, MADERA_IRQ_DSP_IRQ1, in cs47l90_probe()
2543 ret = madera_set_irq_wake(madera, MADERA_IRQ_DSP_IRQ1, 1); in cs47l90_probe()
2552 cs47l90->core.adsp[i].cs_dsp.dev = madera->dev; in cs47l90_probe()
2553 cs47l90->core.adsp[i].cs_dsp.regmap = madera->regmap_32bit; in cs47l90_probe()
2580 madera_init_fll(madera, 1, MADERA_FLL1_CONTROL_1 - 1, in cs47l90_probe()
2582 madera_init_fll(madera, 2, MADERA_FLL2_CONTROL_1 - 1, in cs47l90_probe()
2584 madera_init_fll(madera, 4, MADERA_FLLAO_CONTROL_1 - 1, in cs47l90_probe()
2592 regmap_update_bits(madera->regmap, cs47l90_digital_vu[i], in cs47l90_probe()
2617 madera_set_irq_wake(madera, MADERA_IRQ_DSP_IRQ1, 0); in cs47l90_probe()
2618 madera_free_irq(madera, MADERA_IRQ_DSP_IRQ1, cs47l90); in cs47l90_probe()
2637 madera_set_irq_wake(cs47l90->core.madera, MADERA_IRQ_DSP_IRQ1, 0); in cs47l90_remove()
2638 madera_free_irq(cs47l90->core.madera, MADERA_IRQ_DSP_IRQ1, cs47l90); in cs47l90_remove()
2652 MODULE_SOFTDEP("pre: madera irq-madera arizona-micsupp");