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"
75 struct madera *madera = priv->madera; in cs47l15_adsp_power_ev() local
79 ret = regmap_read(madera->regmap, MADERA_DSP_CLOCK_2, &freq); in cs47l15_adsp_power_ev()
81 dev_err(madera->dev, in cs47l15_adsp_power_ev()
1246 struct madera *madera = priv->madera; in cs47l15_open() local
1252 dev_err(madera->dev, in cs47l15_open()
1265 struct madera *madera = priv->madera; in cs47l15_adsp2_irq() local
1270 dev_err(madera->dev, "Spurious compressed data IRQ\n"); in cs47l15_adsp2_irq()
1284 struct madera *madera = cs47l15->core.madera; in cs47l15_component_probe() local
1287 snd_soc_component_init_regmap(component, madera->regmap); in cs47l15_component_probe()
1289 mutex_lock(&madera->dapm_ptr_lock); in cs47l15_component_probe()
1290 madera->dapm = snd_soc_component_get_dapm(component); in cs47l15_component_probe()
1291 mutex_unlock(&madera->dapm_ptr_lock); in cs47l15_component_probe()
1319 struct madera *madera = cs47l15->core.madera; in cs47l15_component_remove() local
1321 mutex_lock(&madera->dapm_ptr_lock); in cs47l15_component_remove()
1322 madera->dapm = NULL; in cs47l15_component_remove()
1323 mutex_unlock(&madera->dapm_ptr_lock); in cs47l15_component_remove()
1367 struct madera *madera = dev_get_drvdata(pdev->dev.parent); in cs47l15_probe() local
1373 /* quick exit if Madera irqchip driver hasn't completed probe */ in cs47l15_probe()
1374 if (!madera->irq_dev) { in cs47l15_probe()
1386 cs47l15->core.madera = madera; in cs47l15_probe()
1398 ret = madera_request_irq(madera, MADERA_IRQ_DSP_IRQ1, in cs47l15_probe()
1406 ret = madera_set_irq_wake(madera, MADERA_IRQ_DSP_IRQ1, 1); in cs47l15_probe()
1414 cs47l15->core.adsp[0].cs_dsp.dev = madera->dev; in cs47l15_probe()
1415 cs47l15->core.adsp[0].cs_dsp.regmap = madera->regmap_32bit; in cs47l15_probe()
1432 madera_init_fll(madera, 1, MADERA_FLL1_CONTROL_1 - 1, in cs47l15_probe()
1434 madera_init_fll(madera, 4, MADERA_FLLAO_CONTROL_1 - 1, in cs47l15_probe()
1442 regmap_update_bits(madera->regmap, cs47l15_digital_vu[i], in cs47l15_probe()
1465 madera_set_irq_wake(madera, MADERA_IRQ_DSP_IRQ1, 0); in cs47l15_probe()
1466 madera_free_irq(madera, MADERA_IRQ_DSP_IRQ1, cs47l15); in cs47l15_probe()
1485 madera_set_irq_wake(cs47l15->core.madera, MADERA_IRQ_DSP_IRQ1, 0); in cs47l15_remove()
1486 madera_free_irq(cs47l15->core.madera, MADERA_IRQ_DSP_IRQ1, cs47l15); in cs47l15_remove()
1501 MODULE_SOFTDEP("pre: madera irq-madera arizona-micsupp");