Lines Matching refs:madera

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()
1506 struct madera *madera = priv->madera; in cs47l35_open() local
1514 dev_err(madera->dev, in cs47l35_open()
1527 struct madera *madera = priv->madera; in cs47l35_adsp2_irq() local
1538 blocking_notifier_call_chain(&madera->notifier, in cs47l35_adsp2_irq()
1545 dev_err(madera->dev, "Spurious compressed data IRQ\n"); in cs47l35_adsp2_irq()
1559 struct madera *madera = cs47l35->core.madera; in cs47l35_component_probe() local
1562 snd_soc_component_init_regmap(component, madera->regmap); in cs47l35_component_probe()
1564 mutex_lock(&madera->dapm_ptr_lock); in cs47l35_component_probe()
1565 madera->dapm = snd_soc_component_get_dapm(component); in cs47l35_component_probe()
1566 mutex_unlock(&madera->dapm_ptr_lock); in cs47l35_component_probe()
1595 struct madera *madera = cs47l35->core.madera; in cs47l35_component_remove() local
1598 mutex_lock(&madera->dapm_ptr_lock); in cs47l35_component_remove()
1599 madera->dapm = NULL; in cs47l35_component_remove()
1600 mutex_unlock(&madera->dapm_ptr_lock); in cs47l35_component_remove()
1645 struct madera *madera = dev_get_drvdata(pdev->dev.parent); in cs47l35_probe() local
1652 if (!madera->irq_dev) { in cs47l35_probe()
1662 cs47l35->core.madera = madera; in cs47l35_probe()
1674 ret = madera_request_irq(madera, MADERA_IRQ_DSP_IRQ1, in cs47l35_probe()
1682 ret = madera_set_irq_wake(madera, MADERA_IRQ_DSP_IRQ1, 1); in cs47l35_probe()
1691 cs47l35->core.adsp[i].cs_dsp.dev = madera->dev; in cs47l35_probe()
1692 cs47l35->core.adsp[i].cs_dsp.regmap = madera->regmap_32bit; in cs47l35_probe()
1707 madera_init_fll(madera, 1, MADERA_FLL1_CONTROL_1 - 1, &cs47l35->fll); in cs47l35_probe()
1714 regmap_update_bits(madera->regmap, cs47l35_digital_vu[i], in cs47l35_probe()
1737 madera_set_irq_wake(madera, MADERA_IRQ_DSP_IRQ1, 0); in cs47l35_probe()
1738 madera_free_irq(madera, MADERA_IRQ_DSP_IRQ1, cs47l35); in cs47l35_probe()
1757 madera_set_irq_wake(cs47l35->core.madera, MADERA_IRQ_DSP_IRQ1, 0); in cs47l35_remove()
1758 madera_free_irq(cs47l35->core.madera, MADERA_IRQ_DSP_IRQ1, cs47l35); in cs47l35_remove()