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()
1080 struct arizona *arizona = priv->core.arizona; in cs47l24_open() local
1088 dev_err(arizona->dev, in cs47l24_open()
1100 struct arizona *arizona = priv->core.arizona; in cs47l24_adsp2_irq() local
1111 arizona_call_notifiers(arizona, in cs47l24_adsp2_irq()
1118 dev_err(arizona->dev, "Spurious compressed data IRQ\n"); in cs47l24_adsp2_irq()
1129 struct arizona *arizona = priv->core.arizona; in cs47l24_component_probe() local
1132 arizona->dapm = dapm; in cs47l24_component_probe()
1133 snd_soc_component_init_regmap(component, arizona->regmap); in cs47l24_component_probe()
1174 priv->core.arizona->dapm = NULL; in cs47l24_component_remove()
1214 struct arizona *arizona = dev_get_drvdata(pdev->dev.parent); in cs47l24_probe() local
1226 if (!dev_get_platdata(arizona->dev)) { in cs47l24_probe()
1227 ret = arizona_of_get_audio_pdata(arizona); in cs47l24_probe()
1235 cs47l24->core.arizona = arizona; in cs47l24_probe()
1242 cs47l24->core.adsp[i].cs_dsp.dev = arizona->dev; in cs47l24_probe()
1243 cs47l24->core.adsp[i].cs_dsp.regmap = arizona->regmap; in cs47l24_probe()
1259 arizona_init_fll(arizona, 1, ARIZONA_FLL1_CONTROL_1 - 1, in cs47l24_probe()
1262 arizona_init_fll(arizona, 2, ARIZONA_FLL2_CONTROL_1 - 1, in cs47l24_probe()
1267 regmap_update_bits(arizona->regmap, ARIZONA_SAMPLE_RATE_2, in cs47l24_probe()
1269 regmap_update_bits(arizona->regmap, ARIZONA_SAMPLE_RATE_3, in cs47l24_probe()
1277 regmap_update_bits(arizona->regmap, cs47l24_digital_vu[i], in cs47l24_probe()
1283 ret = arizona_request_irq(arizona, ARIZONA_IRQ_DSP_IRQ1, in cs47l24_probe()
1291 ret = arizona_set_irq_wake(arizona, ARIZONA_IRQ_DSP_IRQ1, 1); in cs47l24_probe()
1297 arizona_init_common(arizona); in cs47l24_probe()
1299 ret = arizona_init_vol_limit(arizona); in cs47l24_probe()
1302 ret = arizona_init_spk_irqs(arizona); in cs47l24_probe()
1318 arizona_free_spk_irqs(arizona); in cs47l24_probe()
1320 arizona_set_irq_wake(arizona, ARIZONA_IRQ_DSP_IRQ1, 0); in cs47l24_probe()
1321 arizona_free_irq(arizona, ARIZONA_IRQ_DSP_IRQ1, cs47l24); in cs47l24_probe()
1329 struct arizona *arizona = cs47l24->core.arizona; in cs47l24_remove() local
1336 arizona_free_spk_irqs(arizona); in cs47l24_remove()
1338 arizona_set_irq_wake(arizona, ARIZONA_IRQ_DSP_IRQ1, 0); in cs47l24_remove()
1339 arizona_free_irq(arizona, ARIZONA_IRQ_DSP_IRQ1, cs47l24); in cs47l24_remove()