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 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()
2452 struct madera *madera = priv->madera; in cs47l85_open() local
2460 dev_err(madera->dev, in cs47l85_open()
2473 struct madera *madera = priv->madera; in cs47l85_adsp2_irq() local
2484 blocking_notifier_call_chain(&madera->notifier, in cs47l85_adsp2_irq()
2491 dev_err(madera->dev, "Spurious compressed data IRQ\n"); in cs47l85_adsp2_irq()
2501 struct madera *madera = cs47l85->core.madera; in cs47l85_component_probe() local
2504 snd_soc_component_init_regmap(component, madera->regmap); in cs47l85_component_probe()
2506 mutex_lock(&madera->dapm_ptr_lock); in cs47l85_component_probe()
2507 madera->dapm = snd_soc_component_get_dapm(component); in cs47l85_component_probe()
2508 mutex_unlock(&madera->dapm_ptr_lock); in cs47l85_component_probe()
2536 struct madera *madera = cs47l85->core.madera; in cs47l85_component_remove() local
2539 mutex_lock(&madera->dapm_ptr_lock); in cs47l85_component_remove()
2540 madera->dapm = NULL; in cs47l85_component_remove()
2541 mutex_unlock(&madera->dapm_ptr_lock); in cs47l85_component_remove()
2593 struct madera *madera = dev_get_drvdata(pdev->dev.parent); in cs47l85_probe() local
2599 /* quick exit if Madera irqchip driver hasn't completed probe */ in cs47l85_probe()
2600 if (!madera->irq_dev) { in cs47l85_probe()
2612 cs47l85->core.madera = madera; in cs47l85_probe()
2624 ret = madera_request_irq(madera, MADERA_IRQ_DSP_IRQ1, in cs47l85_probe()
2632 ret = madera_set_irq_wake(madera, MADERA_IRQ_DSP_IRQ1, 1); in cs47l85_probe()
2641 cs47l85->core.adsp[i].cs_dsp.dev = madera->dev; in cs47l85_probe()
2642 cs47l85->core.adsp[i].cs_dsp.regmap = madera->regmap_32bit; in cs47l85_probe()
2657 madera_init_fll(madera, 1, MADERA_FLL1_CONTROL_1 - 1, in cs47l85_probe()
2659 madera_init_fll(madera, 2, MADERA_FLL2_CONTROL_1 - 1, in cs47l85_probe()
2661 madera_init_fll(madera, 3, MADERA_FLL3_CONTROL_1 - 1, in cs47l85_probe()
2669 regmap_update_bits(madera->regmap, cs47l85_digital_vu[i], in cs47l85_probe()
2692 madera_set_irq_wake(madera, MADERA_IRQ_DSP_IRQ1, 0); in cs47l85_probe()
2693 madera_free_irq(madera, MADERA_IRQ_DSP_IRQ1, cs47l85); in cs47l85_probe()
2712 madera_set_irq_wake(cs47l85->core.madera, MADERA_IRQ_DSP_IRQ1, 0); in cs47l85_remove()
2713 madera_free_irq(cs47l85->core.madera, MADERA_IRQ_DSP_IRQ1, cs47l85); in cs47l85_remove()
2728 MODULE_SOFTDEP("pre: madera irq-madera arizona-micsupp");