Lines Matching full:arizona
26 #include <linux/mfd/arizona/core.h>
27 #include <linux/mfd/arizona/registers.h>
29 #include "arizona.h"
63 struct arizona *arizona = dev_get_drvdata(component->dev->parent); in cs47l24_adsp_power_ev() local
67 ret = regmap_read(arizona->regmap, ARIZONA_SYSTEM_CLOCK_1, &v); in cs47l24_adsp_power_ev()
1076 struct arizona *arizona = priv->core.arizona; in cs47l24_open() local
1084 dev_err(arizona->dev, in cs47l24_open()
1096 struct arizona *arizona = priv->core.arizona; in cs47l24_adsp2_irq() local
1107 arizona_call_notifiers(arizona, in cs47l24_adsp2_irq()
1114 dev_err(arizona->dev, "Spurious compressed data IRQ\n"); in cs47l24_adsp2_irq()
1125 struct arizona *arizona = priv->core.arizona; in cs47l24_component_probe() local
1128 arizona->dapm = dapm; in cs47l24_component_probe()
1129 snd_soc_component_init_regmap(component, arizona->regmap); in cs47l24_component_probe()
1170 priv->core.arizona->dapm = NULL; in cs47l24_component_remove()
1211 struct arizona *arizona = dev_get_drvdata(pdev->dev.parent); in cs47l24_probe() local
1223 if (!dev_get_platdata(arizona->dev)) { in cs47l24_probe()
1224 ret = arizona_of_get_audio_pdata(arizona); in cs47l24_probe()
1232 cs47l24->core.arizona = arizona; in cs47l24_probe()
1239 cs47l24->core.adsp[i].dev = arizona->dev; in cs47l24_probe()
1240 cs47l24->core.adsp[i].regmap = arizona->regmap; in cs47l24_probe()
1256 arizona_init_fll(arizona, 1, ARIZONA_FLL1_CONTROL_1 - 1, in cs47l24_probe()
1259 arizona_init_fll(arizona, 2, ARIZONA_FLL2_CONTROL_1 - 1, in cs47l24_probe()
1264 regmap_update_bits(arizona->regmap, ARIZONA_SAMPLE_RATE_2, in cs47l24_probe()
1266 regmap_update_bits(arizona->regmap, ARIZONA_SAMPLE_RATE_3, in cs47l24_probe()
1274 regmap_update_bits(arizona->regmap, cs47l24_digital_vu[i], in cs47l24_probe()
1280 ret = arizona_request_irq(arizona, ARIZONA_IRQ_DSP_IRQ1, in cs47l24_probe()
1288 ret = arizona_set_irq_wake(arizona, ARIZONA_IRQ_DSP_IRQ1, 1); in cs47l24_probe()
1294 arizona_init_common(arizona); in cs47l24_probe()
1296 ret = arizona_init_vol_limit(arizona); in cs47l24_probe()
1299 ret = arizona_init_spk_irqs(arizona); in cs47l24_probe()
1315 arizona_free_spk_irqs(arizona); in cs47l24_probe()
1317 arizona_set_irq_wake(arizona, ARIZONA_IRQ_DSP_IRQ1, 0); in cs47l24_probe()
1318 arizona_free_irq(arizona, ARIZONA_IRQ_DSP_IRQ1, cs47l24); in cs47l24_probe()
1326 struct arizona *arizona = cs47l24->core.arizona; in cs47l24_remove() local
1333 arizona_free_spk_irqs(arizona); in cs47l24_remove()
1335 arizona_set_irq_wake(arizona, ARIZONA_IRQ_DSP_IRQ1, 0); in cs47l24_remove()
1336 arizona_free_irq(arizona, ARIZONA_IRQ_DSP_IRQ1, cs47l24); in cs47l24_remove()