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"
93 struct madera *madera = priv->madera; in cs47l35_adsp_power_ev() local
97 ret = regmap_read(madera->regmap, MADERA_DSP_CLOCK_1, &freq); in cs47l35_adsp_power_ev()
99 dev_err(madera->dev, in cs47l35_adsp_power_ev()
1510 struct madera *madera = priv->madera; in cs47l35_open() local
1518 dev_err(madera->dev, in cs47l35_open()
1531 struct madera *madera = priv->madera; in cs47l35_adsp2_irq() local
1542 blocking_notifier_call_chain(&madera->notifier, in cs47l35_adsp2_irq()
1549 dev_err(madera->dev, "Spurious compressed data IRQ\n"); in cs47l35_adsp2_irq()
1563 struct madera *madera = cs47l35->core.madera; in cs47l35_component_probe() local
1566 snd_soc_component_init_regmap(component, madera->regmap); in cs47l35_component_probe()
1568 mutex_lock(&madera->dapm_ptr_lock); in cs47l35_component_probe()
1569 madera->dapm = snd_soc_component_get_dapm(component); in cs47l35_component_probe()
1570 mutex_unlock(&madera->dapm_ptr_lock); in cs47l35_component_probe()
1599 struct madera *madera = cs47l35->core.madera; in cs47l35_component_remove() local
1602 mutex_lock(&madera->dapm_ptr_lock); in cs47l35_component_remove()
1603 madera->dapm = NULL; in cs47l35_component_remove()
1604 mutex_unlock(&madera->dapm_ptr_lock); in cs47l35_component_remove()
1649 struct madera *madera = dev_get_drvdata(pdev->dev.parent); in cs47l35_probe() local
1655 /* quick exit if Madera irqchip driver hasn't completed probe */ in cs47l35_probe()
1656 if (!madera->irq_dev) { in cs47l35_probe()
1666 cs47l35->core.madera = madera; in cs47l35_probe()
1678 ret = madera_request_irq(madera, MADERA_IRQ_DSP_IRQ1, in cs47l35_probe()
1686 ret = madera_set_irq_wake(madera, MADERA_IRQ_DSP_IRQ1, 1); in cs47l35_probe()
1695 cs47l35->core.adsp[i].cs_dsp.dev = madera->dev; in cs47l35_probe()
1696 cs47l35->core.adsp[i].cs_dsp.regmap = madera->regmap_32bit; in cs47l35_probe()
1711 madera_init_fll(madera, 1, MADERA_FLL1_CONTROL_1 - 1, &cs47l35->fll); in cs47l35_probe()
1718 regmap_update_bits(madera->regmap, cs47l35_digital_vu[i], in cs47l35_probe()
1741 madera_set_irq_wake(madera, MADERA_IRQ_DSP_IRQ1, 0); in cs47l35_probe()
1742 madera_free_irq(madera, MADERA_IRQ_DSP_IRQ1, cs47l35); in cs47l35_probe()
1761 madera_set_irq_wake(cs47l35->core.madera, MADERA_IRQ_DSP_IRQ1, 0); in cs47l35_remove()
1762 madera_free_irq(cs47l35->core.madera, MADERA_IRQ_DSP_IRQ1, cs47l35); in cs47l35_remove()
1777 MODULE_SOFTDEP("pre: madera irq-madera arizona-micsupp");