/Linux-v5.10/drivers/mfd/ |
D | arizona-core.c | 3 * Arizona core driver 27 #include <linux/mfd/arizona/core.h> 28 #include <linux/mfd/arizona/registers.h> 30 #include "arizona.h" 37 int arizona_clk32k_enable(struct arizona *arizona) in arizona_clk32k_enable() argument 41 mutex_lock(&arizona->clk_lock); in arizona_clk32k_enable() 43 arizona->clk32k_ref++; in arizona_clk32k_enable() 45 if (arizona->clk32k_ref == 1) { in arizona_clk32k_enable() 46 switch (arizona->pdata.clk32k_src) { in arizona_clk32k_enable() 48 ret = pm_runtime_get_sync(arizona->dev); in arizona_clk32k_enable() [all …]
|
D | arizona-irq.c | 3 * Arizona interrupt support 21 #include <linux/mfd/arizona/core.h> 22 #include <linux/mfd/arizona/registers.h> 24 #include "arizona.h" 29 static int arizona_map_irq(struct arizona *arizona, int irq) in arizona_map_irq() argument 33 if (arizona->aod_irq_chip) { in arizona_map_irq() 34 ret = regmap_irq_get_virq(arizona->aod_irq_chip, irq); in arizona_map_irq() 39 return regmap_irq_get_virq(arizona->irq_chip, irq); in arizona_map_irq() 42 int arizona_request_irq(struct arizona *arizona, int irq, char *name, in arizona_request_irq() argument 45 irq = arizona_map_irq(arizona, irq); in arizona_request_irq() [all …]
|
D | arizona-spi.c | 3 * arizona-spi.c -- Arizona SPI bus interface 19 #include <linux/mfd/arizona/core.h> 21 #include "arizona.h" 26 struct arizona *arizona; in arizona_spi_probe() local 62 arizona = devm_kzalloc(&spi->dev, sizeof(*arizona), GFP_KERNEL); in arizona_spi_probe() 63 if (arizona == NULL) in arizona_spi_probe() 66 arizona->regmap = devm_regmap_init_spi(spi, regmap_config); in arizona_spi_probe() 67 if (IS_ERR(arizona->regmap)) { in arizona_spi_probe() 68 ret = PTR_ERR(arizona->regmap); in arizona_spi_probe() 74 arizona->type = type; in arizona_spi_probe() [all …]
|
D | arizona-i2c.c | 3 * Arizona-i2c.c -- Arizona I2C bus interface 19 #include <linux/mfd/arizona/core.h> 21 #include "arizona.h" 26 struct arizona *arizona; in arizona_i2c_probe() local 66 arizona = devm_kzalloc(&i2c->dev, sizeof(*arizona), GFP_KERNEL); in arizona_i2c_probe() 67 if (arizona == NULL) in arizona_i2c_probe() 70 arizona->regmap = devm_regmap_init_i2c(i2c, regmap_config); in arizona_i2c_probe() 71 if (IS_ERR(arizona->regmap)) { in arizona_i2c_probe() 72 ret = PTR_ERR(arizona->regmap); in arizona_i2c_probe() 78 arizona->type = type; in arizona_i2c_probe() [all …]
|
D | arizona.h | 48 int arizona_dev_init(struct arizona *arizona); 49 int arizona_dev_exit(struct arizona *arizona); 50 int arizona_irq_init(struct arizona *arizona); 51 int arizona_irq_exit(struct arizona *arizona);
|
/Linux-v5.10/drivers/extcon/ |
D | extcon-arizona.c | 3 * extcon-arizona.c - Extcon driver Wolfson Arizona devices 25 #include <linux/mfd/arizona/core.h> 26 #include <linux/mfd/arizona/pdata.h> 27 #include <linux/mfd/arizona/registers.h> 28 #include <dt-bindings/mfd/arizona.h> 66 struct arizona *arizona; member 143 struct arizona *arizona = info->arizona; in arizona_extcon_hp_clamp() local 148 switch (arizona->type) { in arizona_extcon_hp_clamp() 165 ret = regmap_update_bits(arizona->regmap, in arizona_extcon_hp_clamp() 170 dev_warn(arizona->dev, in arizona_extcon_hp_clamp() [all …]
|
/Linux-v5.10/drivers/input/misc/ |
D | arizona-haptics.c | 3 * Arizona haptics driver 18 #include <linux/mfd/arizona/core.h> 19 #include <linux/mfd/arizona/pdata.h> 20 #include <linux/mfd/arizona/registers.h> 23 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() 42 dev_err(arizona->dev, "No DAPM context\n"); in arizona_haptics_work() 47 ret = regmap_update_bits(arizona->regmap, in arizona_haptics_work() [all …]
|
/Linux-v5.10/drivers/gpio/ |
D | gpio-arizona.c | 3 * gpiolib support for Wolfson Arizona class devices 18 #include <linux/mfd/arizona/core.h> 19 #include <linux/mfd/arizona/pdata.h> 20 #include <linux/mfd/arizona/registers.h> 23 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() 72 ret = regcache_drop_region(arizona->regmap, reg, reg); in arizona_gpio_get() [all …]
|
/Linux-v5.10/include/linux/mfd/arizona/ |
D | core.h | 3 * Arizona MFD internals 18 #include <linux/mfd/arizona/pdata.h> 119 struct arizona { struct 162 static inline int arizona_call_notifiers(struct arizona *arizona, in arizona_call_notifiers() argument 166 return blocking_notifier_call_chain(&arizona->notifier, event, data); in arizona_call_notifiers() 169 int arizona_clk32k_enable(struct arizona *arizona); 170 int arizona_clk32k_disable(struct arizona *arizona); 172 int arizona_request_irq(struct arizona *arizona, int irq, char *name, 174 void arizona_free_irq(struct arizona *arizona, int irq, void *data); 175 int arizona_set_irq_wake(struct arizona *arizona, int irq, int on); [all …]
|
D | pdata.h | 3 * Platform data for Arizona devices 11 #include <dt-bindings/mfd/arizona.h> 12 #include <linux/regulator/arizona-ldo1.h> 13 #include <linux/regulator/arizona-micsupp.h>
|
/Linux-v5.10/sound/soc/codecs/ |
D | arizona.c | 3 * arizona.c - Wolfson Arizona class device shared support 19 #include <linux/mfd/arizona/core.h> 20 #include <linux/mfd/arizona/registers.h> 22 #include "arizona.h" 67 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() [all …]
|
D | arizona.h | 3 * arizona.h - Wolfson Arizona class device shared support 15 #include <linux/mfd/arizona/core.h> 78 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 [all …]
|
D | cs47l24.c | 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() [all …]
|
D | wm5102.c | 26 #include <linux/mfd/arizona/core.h> 27 #include <linux/mfd/arizona/registers.h> 30 #include "arizona.h" 584 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() [all …]
|
D | wm5110.c | 26 #include <linux/mfd/arizona/core.h> 27 #include <linux/mfd/arizona/registers.h> 29 #include "arizona.h" 162 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() [all …]
|
D | wm8997.c | 26 #include <linux/mfd/arizona/core.h> 27 #include <linux/mfd/arizona/registers.h> 29 #include "arizona.h" 85 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() [all …]
|
D | wm8998.c | 26 #include <linux/mfd/arizona/core.h> 27 #include <linux/mfd/arizona/registers.h> 29 #include "arizona.h" 107 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 [all …]
|
/Linux-v5.10/drivers/regulator/ |
D | arizona-micsupp.c | 3 // arizona-micsupp.c -- Microphone supply for Arizona devices 23 #include <linux/mfd/arizona/core.h> 24 #include <linux/mfd/arizona/pdata.h> 25 #include <linux/mfd/arizona/registers.h> 31 #include <linux/regulator/arizona-micsupp.h> 311 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() [all …]
|
D | arizona-ldo1.c | 3 // arizona-ldo1.c -- LDO1 supply for Arizona devices 22 #include <linux/regulator/arizona-ldo1.h> 24 #include <linux/mfd/arizona/core.h> 25 #include <linux/mfd/arizona/pdata.h> 26 #include <linux/mfd/arizona/registers.h> 297 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() [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/regulator/ |
D | wlf,arizona.yaml | 4 $id: http://devicetree.org/schemas/regulator/wlf,arizona.yaml# 7 title: Cirrus Logic/Wolfson Microelectronics Arizona/Madera class audio SoCs 17 document. For Wolfson Microelectronic Arizona codecs ../mfd/wlf,arizona.yaml
|
/Linux-v5.10/Documentation/devicetree/bindings/mfd/ |
D | wlf,arizona.yaml | 4 $id: http://devicetree.org/schemas/mfd/wlf,arizona.yaml# 7 title: Cirrus Logic/Wolfson Microelectronics Arizona class audio SoCs 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-v5.10/Documentation/devicetree/bindings/sound/ |
D | wlf,arizona.yaml | 4 $id: http://devicetree.org/schemas/sound/wlf,arizona.yaml# 7 title: Cirrus Logic/Wolfson Microelectronics Arizona class audio SoCs 17 document ../mfd/arizona.yaml 63 are provided in dt-bindings/mfd/arizona.h. If present, the number
|
/Linux-v5.10/Documentation/devicetree/bindings/extcon/ |
D | wlf,arizona.yaml | 4 $id: http://devicetree.org/schemas/extcon/wlf,arizona.yaml# 7 title: Cirrus Logic/Wolfson Microelectronics Arizona class audio SoCs 17 document ../mfd/arizona.yaml
|
/Linux-v5.10/include/linux/mfd/madera/ |
D | pdata.h | 12 #include <linux/regulator/arizona-ldo1.h> 13 #include <linux/regulator/arizona-micsupp.h>
|
/Linux-v5.10/net/ipv4/ |
D | tcp_vegas.c | 10 * ftp://ftp.cs.arizona.edu/xkernel/Papers/jsac.ps 12 * See http://www.cs.arizona.edu/xkernel/ for their implementation. 14 * Arizona Vegas implementation are: 225 * is the "Diff" from the Arizona Vegas papers. in tcp_vegas_cong_avoid()
|