Lines Matching refs:madera
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()
1242 struct madera *madera = priv->madera; in cs47l15_open() local
1248 dev_err(madera->dev, in cs47l15_open()
1261 struct madera *madera = priv->madera; in cs47l15_adsp2_irq() local
1266 dev_err(madera->dev, "Spurious compressed data IRQ\n"); in cs47l15_adsp2_irq()
1280 struct madera *madera = cs47l15->core.madera; in cs47l15_component_probe() local
1283 snd_soc_component_init_regmap(component, madera->regmap); in cs47l15_component_probe()
1285 mutex_lock(&madera->dapm_ptr_lock); in cs47l15_component_probe()
1286 madera->dapm = snd_soc_component_get_dapm(component); in cs47l15_component_probe()
1287 mutex_unlock(&madera->dapm_ptr_lock); in cs47l15_component_probe()
1315 struct madera *madera = cs47l15->core.madera; in cs47l15_component_remove() local
1317 mutex_lock(&madera->dapm_ptr_lock); in cs47l15_component_remove()
1318 madera->dapm = NULL; in cs47l15_component_remove()
1319 mutex_unlock(&madera->dapm_ptr_lock); in cs47l15_component_remove()
1363 struct madera *madera = dev_get_drvdata(pdev->dev.parent); in cs47l15_probe() local
1370 if (!madera->irq_dev) { in cs47l15_probe()
1382 cs47l15->core.madera = madera; in cs47l15_probe()
1394 ret = madera_request_irq(madera, MADERA_IRQ_DSP_IRQ1, in cs47l15_probe()
1402 ret = madera_set_irq_wake(madera, MADERA_IRQ_DSP_IRQ1, 1); in cs47l15_probe()
1410 cs47l15->core.adsp[0].cs_dsp.dev = madera->dev; in cs47l15_probe()
1411 cs47l15->core.adsp[0].cs_dsp.regmap = madera->regmap_32bit; in cs47l15_probe()
1428 madera_init_fll(madera, 1, MADERA_FLL1_CONTROL_1 - 1, in cs47l15_probe()
1430 madera_init_fll(madera, 4, MADERA_FLLAO_CONTROL_1 - 1, in cs47l15_probe()
1438 regmap_update_bits(madera->regmap, cs47l15_digital_vu[i], in cs47l15_probe()
1461 madera_set_irq_wake(madera, MADERA_IRQ_DSP_IRQ1, 0); in cs47l15_probe()
1462 madera_free_irq(madera, MADERA_IRQ_DSP_IRQ1, cs47l15); in cs47l15_probe()
1481 madera_set_irq_wake(cs47l15->core.madera, MADERA_IRQ_DSP_IRQ1, 0); in cs47l15_remove()
1482 madera_free_irq(cs47l15->core.madera, MADERA_IRQ_DSP_IRQ1, cs47l15); in cs47l15_remove()