Home
last modified time | relevance | path

Searched refs:arizona (Results 1 – 8 of 8) sorted by relevance

/sound/soc/codecs/
Darizona.c67 dev_err(_fll->arizona->dev, "FLL%d: " fmt, _fll->id, ##__VA_ARGS__)
69 dev_warn(_fll->arizona->dev, "FLL%d: " fmt, _fll->id, ##__VA_ARGS__)
71 dev_dbg(_fll->arizona->dev, "FLL%d: " fmt, _fll->id, ##__VA_ARGS__)
85 struct arizona *arizona = dev_get_drvdata(component->dev->parent); in arizona_spk_ev() local
93 dev_crit(arizona->dev, in arizona_spk_ev()
98 regmap_update_bits_async(arizona->regmap, in arizona_spk_ev()
103 regmap_update_bits_async(arizona->regmap, in arizona_spk_ev()
116 struct arizona *arizona = data; in arizona_thermal_warn() local
120 ret = regmap_read(arizona->regmap, ARIZONA_INTERRUPT_RAW_STATUS_3, in arizona_thermal_warn()
123 dev_err(arizona->dev, "Failed to read thermal status: %d\n", in arizona_thermal_warn()
[all …]
Darizona.h78 struct arizona *arizona; member
282 struct arizona *arizona; member
303 int arizona_init_fll(struct arizona *arizona, int id, int base,
314 int arizona_init_common(struct arizona *arizona);
315 int arizona_init_vol_limit(struct arizona *arizona);
317 int arizona_init_spk_irqs(struct arizona *arizona);
318 int arizona_free_spk_irqs(struct arizona *arizona);
336 struct arizona *arizona = priv->arizona; in arizona_register_notifier() local
340 return blocking_notifier_chain_register(&arizona->notifier, nb); in arizona_register_notifier()
347 struct arizona *arizona = priv->arizona; in arizona_unregister_notifier() local
[all …]
Dwm5102.c584 struct arizona *arizona = dev_get_drvdata(component->dev->parent); in wm5102_sysclk_ev() local
585 struct regmap *regmap = arizona->regmap; in wm5102_sysclk_ev()
589 switch (arizona->rev) { in wm5102_sysclk_ev()
623 struct arizona *arizona = dev_get_drvdata(component->dev->parent); in wm5102_adsp_power_ev() local
629 ret = regmap_read(arizona->regmap, ARIZONA_SYSTEM_CLOCK_1, &v); in wm5102_adsp_power_ev()
668 struct arizona *arizona = dev_get_drvdata(component->dev->parent); in wm5102_out_comp_coeff_get() local
670 mutex_lock(&arizona->dac_comp_lock); in wm5102_out_comp_coeff_get()
671 put_unaligned_be16(arizona->dac_comp_coeff, in wm5102_out_comp_coeff_get()
673 mutex_unlock(&arizona->dac_comp_lock); in wm5102_out_comp_coeff_get()
682 struct arizona *arizona = dev_get_drvdata(component->dev->parent); in wm5102_out_comp_coeff_put() local
[all …]
Dwm5110.c162 struct arizona *arizona = dev_get_drvdata(component->dev->parent); in wm5110_sysclk_ev() local
163 struct regmap *regmap = arizona->regmap; in wm5110_sysclk_ev()
167 switch (arizona->rev) { in wm5110_sysclk_ev()
199 struct arizona *arizona = dev_get_drvdata(component->dev->parent); in wm5110_adsp_power_ev() local
203 ret = regmap_read(arizona->regmap, ARIZONA_SYSTEM_CLOCK_1, &v); in wm5110_adsp_power_ev()
292 struct arizona *arizona = priv->arizona; in wm5110_hp_pre_enable() local
322 return regmap_multi_reg_write(arizona->regmap, wseq, nregs); in wm5110_hp_pre_enable()
369 switch (priv->arizona->rev) { in wm5110_hp_ev()
389 static int wm5110_clear_pga_volume(struct arizona *arizona, int output) in wm5110_clear_pga_volume() argument
394 ret = regmap_write(arizona->regmap, reg, 0x80); in wm5110_clear_pga_volume()
[all …]
Dcs47l24.c63 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()
[all …]
Dwm8997.c85 struct arizona *arizona = dev_get_drvdata(component->dev->parent); in wm8997_sysclk_ev() local
86 struct regmap *regmap = arizona->regmap; in wm8997_sysclk_ev()
90 switch (arizona->rev) { in wm8997_sysclk_ev()
1060 struct arizona *arizona = priv->core.arizona; in wm8997_component_probe() local
1063 snd_soc_component_init_regmap(component, arizona->regmap); in wm8997_component_probe()
1071 priv->core.arizona->dapm = dapm; in wm8997_component_probe()
1080 priv->core.arizona->dapm = NULL; in wm8997_component_remove()
1112 struct arizona *arizona = dev_get_drvdata(pdev->dev.parent); in wm8997_probe() local
1123 if (!dev_get_platdata(arizona->dev)) { in wm8997_probe()
1124 ret = arizona_of_get_audio_pdata(arizona); in wm8997_probe()
[all …]
Dwm8998.c107 struct arizona *arizona = wm8998->core.arizona; in wm8998_inmux_put() local
127 inmode = arizona->pdata.inmode[mode_index]; in wm8998_inmux_put()
1276 struct arizona *arizona = priv->core.arizona; in wm8998_component_probe() local
1279 arizona->dapm = dapm; in wm8998_component_probe()
1280 snd_soc_component_init_regmap(component, arizona->regmap); in wm8998_component_probe()
1297 priv->core.arizona->dapm = NULL; in wm8998_component_remove()
1332 struct arizona *arizona = dev_get_drvdata(pdev->dev.parent); in wm8998_probe() local
1343 if (!dev_get_platdata(arizona->dev)) { in wm8998_probe()
1344 ret = arizona_of_get_audio_pdata(arizona); in wm8998_probe()
1350 wm8998->core.arizona = arizona; in wm8998_probe()
[all …]
DMakefile40 snd-soc-arizona-objs := arizona.o
324 obj-$(CONFIG_SND_SOC_ARIZONA) += snd-soc-arizona.o