Home
last modified time | relevance | path

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

12

/linux/drivers/mfd/
A Darizona-core.c37 int arizona_clk32k_enable(struct arizona *arizona) in arizona_clk32k_enable() argument
79 int arizona_clk32k_disable(struct arizona *arizona) in arizona_clk32k_disable() argument
110 struct arizona *arizona = data; in arizona_clkgen_err() local
119 struct arizona *arizona = data; in arizona_underclocked() local
159 struct arizona *arizona = data; in arizona_overclocked() local
530 struct arizona *arizona = dev_get_drvdata(dev); in arizona_runtime_resume() local
656 struct arizona *arizona = dev_get_drvdata(dev); in arizona_runtime_suspend() local
750 struct arizona *arizona = dev_get_drvdata(dev); in arizona_suspend() local
940 int arizona_dev_init(struct arizona *arizona) in arizona_dev_init() argument
950 dev_set_drvdata(arizona->dev, arizona); in arizona_dev_init()
[all …]
A Darizona-irq.c29 static int arizona_map_irq(struct arizona *arizona, int irq) in arizona_map_irq() argument
76 struct arizona *arizona = data; in arizona_boot_done() local
85 struct arizona *arizona = data; in arizona_ctrlif_err() local
98 struct arizona *arizona = data; in arizona_irq_thread() local
171 struct arizona *arizona = irq_data_get_irq_chip_data(data); in arizona_irq_set_wake() local
206 int arizona_irq_init(struct arizona *arizona) in arizona_irq_init() argument
358 arizona->irq, arizona->pdata.irq_gpio, in arizona_irq_init()
360 arizona->irq = gpio_to_irq(arizona->pdata.irq_gpio); in arizona_irq_init()
410 free_irq(arizona->irq, arizona); in arizona_irq_init()
431 int arizona_irq_exit(struct arizona *arizona) in arizona_irq_exit() argument
[all …]
A Darizona-spi.c70 static int arizona_spi_acpi_probe(struct arizona *arizona) in arizona_spi_acpi_probe() argument
137 static int arizona_spi_acpi_probe(struct arizona *arizona) in arizona_spi_acpi_probe() argument
147 struct arizona *arizona; in arizona_spi_probe() local
184 arizona = devm_kzalloc(&spi->dev, sizeof(*arizona), GFP_KERNEL); in arizona_spi_probe()
185 if (arizona == NULL) in arizona_spi_probe()
189 if (IS_ERR(arizona->regmap)) { in arizona_spi_probe()
196 arizona->type = type; in arizona_spi_probe()
197 arizona->dev = &spi->dev; in arizona_spi_probe()
198 arizona->irq = spi->irq; in arizona_spi_probe()
211 struct arizona *arizona = spi_get_drvdata(spi); in arizona_spi_remove() local
[all …]
A Darizona-i2c.c27 struct arizona *arizona; in arizona_i2c_probe() local
68 arizona = devm_kzalloc(&i2c->dev, sizeof(*arizona), GFP_KERNEL); in arizona_i2c_probe()
69 if (arizona == NULL) in arizona_i2c_probe()
73 if (IS_ERR(arizona->regmap)) { in arizona_i2c_probe()
74 ret = PTR_ERR(arizona->regmap); in arizona_i2c_probe()
80 arizona->type = type; in arizona_i2c_probe()
81 arizona->dev = &i2c->dev; in arizona_i2c_probe()
82 arizona->irq = i2c->irq; in arizona_i2c_probe()
84 return arizona_dev_init(arizona); in arizona_i2c_probe()
89 struct arizona *arizona = dev_get_drvdata(&i2c->dev); in arizona_i2c_remove() local
[all …]
A Darizona.h46 int arizona_dev_init(struct arizona *arizona);
47 int arizona_dev_exit(struct arizona *arizona);
48 int arizona_irq_init(struct arizona *arizona);
49 int arizona_irq_exit(struct arizona *arizona);
A DMakefile44 arizona-objs := arizona-core.o arizona-irq.o
45 obj-$(CONFIG_MFD_ARIZONA) += arizona.o
46 obj-$(CONFIG_MFD_ARIZONA_I2C) += arizona-i2c.o
47 obj-$(CONFIG_MFD_ARIZONA_SPI) += arizona-spi.o
49 arizona-objs += wm5102-tables.o
52 arizona-objs += wm5110-tables.o
55 arizona-objs += wm8997-tables.o
58 arizona-objs += wm8998-tables.o
61 arizona-objs += cs47l24-tables.o
A Dwm5110-tables.c260 int wm5110_patch(struct arizona *arizona) in wm5110_patch() argument
262 switch (arizona->rev) { in wm5110_patch()
264 return regmap_register_patch(arizona->regmap, in wm5110_patch()
268 return regmap_register_patch(arizona->regmap, in wm5110_patch()
272 return regmap_register_patch(arizona->regmap, in wm5110_patch()
276 return regmap_register_patch(arizona->regmap, in wm5110_patch()
1863 struct arizona *arizona = dev_get_drvdata(dev); in wm5110_is_adsp_memory() local
1865 switch (arizona->rev) { in wm5110_is_adsp_memory()
A Dwm8997-tables.c28 int wm8997_patch(struct arizona *arizona) in wm8997_patch() argument
30 switch (arizona->rev) { in wm8997_patch()
32 return regmap_register_patch(arizona->regmap, in wm8997_patch()
/linux/sound/soc/codecs/
A Darizona-jack.c100 struct arizona *arizona = info->arizona; in arizona_extcon_hp_clamp() local
177 struct arizona *arizona = info->arizona; in arizona_extcon_set_mode() local
212 struct arizona *arizona = info->arizona; in arizona_extcon_pulse_micbias() local
235 struct arizona *arizona = info->arizona; in arizona_start_mic() local
287 struct arizona *arizona = info->arizona; in arizona_stop_mic() local
351 struct arizona *arizona = info->arizona; in arizona_hpdet_read() local
464 struct arizona *arizona = info->arizona; in arizona_hpdet_do_id() local
532 struct arizona *arizona = info->arizona; in arizona_hpdet_irq() local
613 struct arizona *arizona = info->arizona; in arizona_identify_headphone() local
664 struct arizona *arizona = info->arizona; in arizona_start_hpdet_acc_id() local
[all …]
A Darizona.c174 struct arizona *arizona = priv->arizona; in arizona_init_spk() local
243 struct arizona *arizona = priv->arizona; in arizona_init_mono() local
259 struct arizona *arizona = priv->arizona; in arizona_init_gpio() local
958 struct arizona *arizona = priv->arizona; in arizona_out_ev() local
1077 struct arizona *arizona = priv->arizona; in arizona_hp_ev() local
1113 struct arizona *arizona = priv->arizona; in arizona_dvfs_enable() local
1138 struct arizona *arizona = priv->arizona; in arizona_dvfs_disable() local
1369 struct arizona *arizona = priv->arizona; in arizona_set_sysclk() local
1446 struct arizona *arizona = priv->arizona; in arizona_set_fmt() local
1654 struct arizona *arizona = priv->arizona; in arizona_wm5102_set_dac_comp() local
[all …]
A Darizona.h78 struct arizona *arizona; member
320 struct arizona *arizona; member
341 int arizona_init_fll(struct arizona *arizona, int id, int base,
352 int arizona_init_common(struct arizona *arizona);
353 int arizona_init_vol_limit(struct arizona *arizona);
355 int arizona_init_spk_irqs(struct arizona *arizona);
356 int arizona_free_spk_irqs(struct arizona *arizona);
374 struct arizona *arizona = priv->arizona; in arizona_register_notifier() local
378 return blocking_notifier_chain_register(&arizona->notifier, nb); in arizona_register_notifier()
385 struct arizona *arizona = priv->arizona; in arizona_unregister_notifier() local
[all …]
A Dwm5102.c584 struct arizona *arizona = dev_get_drvdata(component->dev->parent); in wm5102_sysclk_ev() local
623 struct arizona *arizona = dev_get_drvdata(component->dev->parent); in wm5102_adsp_power_ev() local
668 struct arizona *arizona = dev_get_drvdata(component->dev->parent); in wm5102_out_comp_coeff_get() local
682 struct arizona *arizona = dev_get_drvdata(component->dev->parent); in wm5102_out_comp_coeff_put() local
695 struct arizona *arizona = dev_get_drvdata(component->dev->parent); in wm5102_out_comp_switch_get() local
708 struct arizona *arizona = dev_get_drvdata(component->dev->parent); in wm5102_out_comp_switch_put() local
1921 struct arizona *arizona = priv->core.arizona; in wm5102_adsp2_irq() local
1937 struct arizona *arizona = priv->core.arizona; in wm5102_component_probe() local
2023 struct arizona *arizona = dev_get_drvdata(pdev->dev.parent); in wm5102_probe() local
2043 wm5102->core.arizona = arizona; in wm5102_probe()
[all …]
A Dwm5110.c162 struct arizona *arizona = dev_get_drvdata(component->dev->parent); in wm5110_sysclk_ev() local
199 struct arizona *arizona = dev_get_drvdata(component->dev->parent); in wm5110_adsp_power_ev() local
292 struct arizona *arizona = priv->arizona; in wm5110_hp_pre_enable() local
509 struct arizona *arizona = priv->arizona; in wm5110_in_analog_ev() local
567 struct arizona *arizona = priv->arizona; in wm5110_in_ev() local
2245 struct arizona *arizona = priv->core.arizona; in wm5110_open() local
2265 struct arizona *arizona = priv->core.arizona; in wm5110_adsp2_irq() local
2294 struct arizona *arizona = priv->core.arizona; in wm5110_component_probe() local
2389 struct arizona *arizona = dev_get_drvdata(pdev->dev.parent); in wm5110_probe() local
2407 wm5110->core.arizona = arizona; in wm5110_probe()
[all …]
A Dcs47l24.c63 struct arizona *arizona = dev_get_drvdata(component->dev->parent); in cs47l24_adsp_power_ev() local
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
1125 struct arizona *arizona = priv->core.arizona; in cs47l24_component_probe() local
1128 arizona->dapm = dapm; in cs47l24_component_probe()
1211 struct arizona *arizona = dev_get_drvdata(pdev->dev.parent); in cs47l24_probe() local
1232 cs47l24->core.arizona = arizona; in cs47l24_probe()
1294 arizona_init_common(arizona); in cs47l24_probe()
1315 arizona_free_spk_irqs(arizona); in cs47l24_probe()
[all …]
A Dwm8997.c85 struct arizona *arizona = dev_get_drvdata(component->dev->parent); in wm8997_sysclk_ev() local
90 switch (arizona->rev) { in wm8997_sysclk_ev()
1060 struct arizona *arizona = priv->core.arizona; in wm8997_component_probe() local
1071 priv->core.arizona->dapm = dapm; in wm8997_component_probe()
1080 priv->core.arizona->dapm = NULL; in wm8997_component_remove()
1113 struct arizona *arizona = dev_get_drvdata(pdev->dev.parent); in wm8997_probe() local
1131 wm8997->core.arizona = arizona; in wm8997_probe()
1168 arizona_init_common(arizona); in wm8997_probe()
1189 arizona_free_spk_irqs(arizona); in wm8997_probe()
1199 struct arizona *arizona = wm8997->core.arizona; in wm8997_remove() local
[all …]
A Dwm8998.c107 struct arizona *arizona = wm8998->core.arizona; in wm8998_inmux_put() local
1276 struct arizona *arizona = priv->core.arizona; in wm8998_component_probe() local
1279 arizona->dapm = dapm; in wm8998_component_probe()
1297 priv->core.arizona->dapm = NULL; in wm8998_component_remove()
1333 struct arizona *arizona = dev_get_drvdata(pdev->dev.parent); in wm8998_probe() local
1351 wm8998->core.arizona = arizona; in wm8998_probe()
1380 arizona_init_common(arizona); in wm8998_probe()
1382 ret = arizona_init_spk_irqs(arizona); in wm8998_probe()
1398 arizona_free_spk_irqs(arizona); in wm8998_probe()
1409 struct arizona *arizona = wm8998->core.arizona; in wm8998_remove() local
[all …]
/linux/drivers/input/misc/
A Darizona-haptics.c23 struct arizona *arizona; member
36 struct arizona *arizona = haptics->arizona; in arizona_haptics_work() local
38 snd_soc_dapm_to_component(arizona->dapm); in arizona_haptics_work()
41 if (!haptics->arizona->dapm) { in arizona_haptics_work()
75 ret = snd_soc_dapm_sync(arizona->dapm); in arizona_haptics_work()
112 struct arizona *arizona = haptics->arizona; in arizona_haptics_play() local
114 if (!arizona->dapm) { in arizona_haptics_play()
121 if (arizona->pdata.hap_act) { in arizona_haptics_play()
146 if (haptics->arizona->dapm) { in arizona_haptics_close()
154 struct arizona *arizona = dev_get_drvdata(pdev->dev.parent); in arizona_haptics_probe() local
[all …]
/linux/include/linux/mfd/arizona/
A Dcore.h119 struct arizona { struct
162 static inline int arizona_call_notifiers(struct arizona *arizona, in arizona_call_notifiers() argument
169 int arizona_clk32k_enable(struct arizona *arizona);
170 int arizona_clk32k_disable(struct arizona *arizona);
175 int arizona_set_irq_wake(struct arizona *arizona, int irq, int on);
178 int wm5102_patch(struct arizona *arizona);
180 static inline int wm5102_patch(struct arizona *arizona) in wm5102_patch() argument
186 int wm5110_patch(struct arizona *arizona);
187 int cs47l24_patch(struct arizona *arizona);
188 int wm8997_patch(struct arizona *arizona);
[all …]
/linux/drivers/gpio/
A Dgpio-arizona.c23 struct arizona *arizona; member
30 struct arizona *arizona = arizona_gpio->arizona; in arizona_gpio_direction_in() local
35 ret = regmap_update_bits_check(arizona->regmap, in arizona_gpio_direction_in()
53 struct arizona *arizona = arizona_gpio->arizona; in arizona_gpio_get() local
58 ret = regmap_read(arizona->regmap, reg, &val); in arizona_gpio_get()
100 struct arizona *arizona = arizona_gpio->arizona; in arizona_gpio_direction_out() local
128 struct arizona *arizona = arizona_gpio->arizona; in arizona_gpio_set() local
149 struct arizona *arizona = dev_get_drvdata(pdev->dev.parent); in arizona_gpio_probe() local
159 arizona_gpio->arizona = arizona; in arizona_gpio_probe()
166 switch (arizona->type) { in arizona_gpio_probe()
[all …]
/linux/drivers/regulator/
A Darizona-micsupp.c311 struct arizona *arizona = dev_get_drvdata(pdev->dev.parent); in arizona_micsupp_probe() local
319 micsupp->regmap = arizona->regmap; in arizona_micsupp_probe()
320 micsupp->dapm = &arizona->dapm; in arizona_micsupp_probe()
321 micsupp->dev = arizona->dev; in arizona_micsupp_probe()
328 switch (arizona->type) { in arizona_micsupp_probe()
341 &arizona->pdata.micvdd); in arizona_micsupp_probe()
A Darizona-ldo1.c297 struct arizona *arizona = dev_get_drvdata(pdev->dev.parent); in arizona_ldo1_probe() local
307 ldo1->regmap = arizona->regmap; in arizona_ldo1_probe()
314 switch (arizona->type) { in arizona_ldo1_probe()
334 &arizona->pdata.ldo1, in arizona_ldo1_probe()
337 arizona->external_dcvdd = external_dcvdd; in arizona_ldo1_probe()
/linux/Documentation/devicetree/bindings/mfd/
A Dwlf,arizona.yaml4 $id: http://devicetree.org/schemas/mfd/wlf,arizona.yaml#
17 - $ref: /schemas/sound/wlf,arizona.yaml#
18 - $ref: /schemas/regulator/wlf,arizona.yaml#
19 - $ref: /schemas/extcon/wlf,arizona.yaml#
153 appropriate values can found in dt-bindings/mfd/arizona.h. If
218 #include <dt-bindings/mfd/arizona.h>
/linux/Documentation/devicetree/bindings/regulator/
A Dwlf,arizona.yaml4 $id: http://devicetree.org/schemas/regulator/wlf,arizona.yaml#
17 document. For Wolfson Microelectronic Arizona codecs ../mfd/wlf,arizona.yaml
/linux/Documentation/devicetree/bindings/sound/
A Dwlf,arizona.yaml4 $id: http://devicetree.org/schemas/sound/wlf,arizona.yaml#
17 document ../mfd/arizona.yaml
63 are provided in dt-bindings/mfd/arizona.h. If present, the number
/linux/Documentation/devicetree/bindings/extcon/
A Dwlf,arizona.yaml4 $id: http://devicetree.org/schemas/extcon/wlf,arizona.yaml#
17 document ../mfd/arizona.yaml

Completed in 81 milliseconds

12