/linux-4.1.27/drivers/mfd/ |
D | ab8500-core.c | 162 static int ab8500_prcmu_write(struct ab8500 *ab8500, u16 addr, u8 data) in ab8500_prcmu_write() argument 168 dev_err(ab8500->dev, "prcmu i2c error %d\n", ret); in ab8500_prcmu_write() 172 static int ab8500_prcmu_write_masked(struct ab8500 *ab8500, u16 addr, u8 mask, in ab8500_prcmu_write_masked() argument 180 dev_err(ab8500->dev, "prcmu i2c error %d\n", ret); in ab8500_prcmu_write_masked() 184 static int ab8500_prcmu_read(struct ab8500 *ab8500, u16 addr) in ab8500_prcmu_read() argument 191 dev_err(ab8500->dev, "prcmu i2c error %d\n", ret); in ab8500_prcmu_read() 199 struct ab8500 *ab8500; in ab8500_get_chip_id() local 203 ab8500 = dev_get_drvdata(dev->parent); in ab8500_get_chip_id() 204 return ab8500 ? (int)ab8500->chip_id : -EINVAL; in ab8500_get_chip_id() 207 static int set_register_interruptible(struct ab8500 *ab8500, u8 bank, in set_register_interruptible() argument [all …]
|
D | ab8500-sysctrl.c | 131 struct ab8500 *ab8500 = dev_get_drvdata(pdev->dev.parent); in ab8500_sysctrl_probe() local 149 if (is_ab8505(ab8500)) in ab8500_sysctrl_probe()
|
D | Makefile | 134 obj-$(CONFIG_AB8500_DEBUG) += ab8500-debugfs.o 135 obj-$(CONFIG_AB8500_GPADC) += ab8500-gpadc.o 138 obj-$(CONFIG_AB8500_CORE) += ab8500-core.o ab8500-sysctrl.o
|
D | ab8500-debugfs.c | 1673 struct ab8500 *ab8500; in ab8500_print_modem_registers() local 1681 ab8500 = dev_get_drvdata(dev->parent); in ab8500_print_modem_registers() 1702 if (is_ab9540(ab8500) || is_ab8505(ab8500)) in ab8500_print_modem_registers() 3012 struct ab8500 *ab8500; in ab8500_debug_probe() local 3018 ab8500 = dev_get_drvdata(plf->dev.parent); in ab8500_debug_probe() 3019 num_irqs = ab8500->mask_size; in ab8500_debug_probe() 3098 if (is_ab8500(ab8500)) { in ab8500_debug_probe() 3101 } else if (is_ab8505(ab8500)) { in ab8500_debug_probe() 3104 } else if (is_ab9540(ab8500)) { in ab8500_debug_probe() 3107 } else if (is_ab8540(ab8500)) { in ab8500_debug_probe() [all …]
|
D | ab8500-gpadc.c | 161 struct ab8500 *parent; 645 struct ab8500 *ab8500; in ab8500_gpadc_read_calibration_data() local 647 ab8500 = gpadc->parent; in ab8500_gpadc_read_calibration_data() 726 if (is_ab8540(ab8500)) { in ab8500_gpadc_read_calibration_data()
|
/linux-4.1.27/include/linux/mfd/abx500/ |
D | ab8500.h | 345 struct ab8500 { struct 355 int (*write)(struct ab8500 *ab8500, u16 addr, u8 data); argument 356 int (*write_masked)(struct ab8500 *ab8500, u16 addr, u8 mask, u8 data); argument 357 int (*read)(struct ab8500 *ab8500, u16 addr); argument 380 void (*init) (struct ab8500 *); 386 extern int ab8500_init(struct ab8500 *ab8500, 388 extern int ab8500_exit(struct ab8500 *ab8500); 390 extern int ab8500_suspend(struct ab8500 *ab8500); 392 static inline int is_ab8500(struct ab8500 *ab) in is_ab8500() 397 static inline int is_ab8505(struct ab8500 *ab) in is_ab8505() [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/mfd/ |
D | ab8500.txt | 4 - compatible : contains "stericsson,ab8500"; 20 ab8500-bm : : : Battery Manager 21 ab8500-btemp : : : Battery Temperature 22 ab8500-charger : : : Battery Charger 23 ab8500-codec : : : Audio Codec 24 ab8500-fg : : vddadc : Fuel Gauge 30 ab8500-btemp : : vtvout : Battery Temperature 36 ab8500-charger : : vddadc : Charger interface 50 ab8500-gpadc : HW_CONV_END : vddadc : Analogue to Digital Converter 52 ab8500-gpio : : : GPIO Controller [all …]
|
/linux-4.1.27/drivers/pwm/ |
D | pwm-ab8500.c | 91 struct ab8500_pwm_chip *ab8500; in ab8500_pwm_probe() local 98 ab8500 = devm_kzalloc(&pdev->dev, sizeof(*ab8500), GFP_KERNEL); in ab8500_pwm_probe() 99 if (ab8500 == NULL) in ab8500_pwm_probe() 102 ab8500->chip.dev = &pdev->dev; in ab8500_pwm_probe() 103 ab8500->chip.ops = &ab8500_pwm_ops; in ab8500_pwm_probe() 104 ab8500->chip.base = pdev->id; in ab8500_pwm_probe() 105 ab8500->chip.npwm = 1; in ab8500_pwm_probe() 107 err = pwmchip_add(&ab8500->chip); in ab8500_pwm_probe() 112 platform_set_drvdata(pdev, ab8500); in ab8500_pwm_probe() 119 struct ab8500_pwm_chip *ab8500 = platform_get_drvdata(pdev); in ab8500_pwm_remove() local [all …]
|
D | Makefile | 3 obj-$(CONFIG_PWM_AB8500) += pwm-ab8500.o
|
D | Kconfig | 42 will be called pwm-ab8500.
|
/linux-4.1.27/drivers/input/misc/ |
D | ab8500-ponkey.c | 29 struct ab8500 *ab8500; member 51 struct ab8500 *ab8500 = dev_get_drvdata(pdev->dev.parent); in ab8500_ponkey_probe() local 79 ponkey->ab8500 = ab8500; in ab8500_ponkey_probe() 92 dev_err(ab8500->dev, "Failed to request dbf IRQ#%d: %d\n", in ab8500_ponkey_probe() 101 dev_err(ab8500->dev, "Failed to request dbr IRQ#%d: %d\n", in ab8500_ponkey_probe() 108 dev_err(ab8500->dev, "Can't register input device: %d\n", error); in ab8500_ponkey_probe()
|
D | Makefile | 9 obj-$(CONFIG_INPUT_AB8500_PONKEY) += ab8500-ponkey.o
|
D | Kconfig | 43 will be called ab8500-ponkey.
|
/linux-4.1.27/Documentation/devicetree/bindings/power_supply/ab8500/ |
D | charger.txt | 4 - compatible = Shall be "stericsson,ab8500-charger" 8 compatible = "stericsson,ab8500-charger"; 14 ab8500-charger { 20 ab8500-charger { 25 Documentation/devicetree/bindings/power_supply/ab8500/fg.txt
|
D | chargalg.txt | 6 - compatible = Shall be: "stericsson,ab8500-chargalg" 11 compatible = "stericsson,ab8500-chargalg"; 16 Documentation/devicetree/bindings/power_supply/ab8500/fg.txt
|
D | btemp.txt | 6 - compatible = Shall be: "stericsson,ab8500-btemp" 11 compatible = "stericsson,ab8500-btemp"; 16 Documentation/devicetree/bindings/power_supply/ab8500/fg.txt
|
D | fg.txt | 15 - compatible = This shall be: "stericsson,ab8500-fg" 19 compatible = "stericsson,ab8500-fg";
|
/linux-4.1.27/arch/arm/boot/dts/ |
D | ste-dbx5x0.dtsi | 430 ab8500 { 431 compatible = "stericsson,ab8500"; 437 ab8500_gpio: ab8500-gpio { 442 ab8500-rtc { 443 compatible = "stericsson,ab8500-rtc"; 449 ab8500-gpadc { 450 compatible = "stericsson,ab8500-gpadc"; 463 compatible = "stericsson,ab8500-fg"; 468 compatible = "stericsson,ab8500-btemp"; 473 compatible = "stericsson,ab8500-charger"; [all …]
|
D | ste-snowball.dts | 14 #include "ste-href-ab8500.dtsi" 337 ab8500 { 338 ab8500-gpio { 339 compatible = "stericsson,ab8500-gpio"; 342 ext_regulators: ab8500-ext-regulators { 344 regulator-name = "ab8500-ext-supply1"; 348 regulator-name = "ab8500-ext-supply2"; 352 regulator-name = "ab8500-ext-supply3"; 356 ab8500-regulators {
|
D | ste-href.dtsi | 224 ab8500 { 225 ab8500-gpio { 226 compatible = "stericsson,ab8500-gpio"; 229 ab8500-regulators {
|
D | ste-href-ab8500.dtsi | 15 ab8500 { 16 ab8500-gpio {
|
D | ste-hrefprev60.dtsi | 15 #include "ste-href-ab8500.dtsi"
|
D | ste-hrefv60plus.dtsi | 13 #include "ste-href-ab8500.dtsi"
|
/linux-4.1.27/drivers/usb/phy/ |
D | phy-ab8500-usb.c | 217 struct ab8500 *ab8500; member 332 if (is_ab8500_2p0(ab->ab8500)) { in ab8500_usb_wd_linkstatus() 511 if (!(is_ab9540_2p0_or_earlier(ab->ab8500))) { in ab9540_usb_link_status_update() 861 if (is_ab8500(ab->ab8500)) { in abx500_usb_link_status_update() 868 } else if (is_ab8505(ab->ab8500)) { in abx500_usb_link_status_update() 875 } else if (is_ab8540(ab->ab8500)) { in abx500_usb_link_status_update() 882 } else if (is_ab9540(ab->ab8500)) { in abx500_usb_link_status_update() 929 if (is_ab8500_2p0(ab->ab8500)) { in ab8500_usb_disconnect_irq() 1032 if (is_ab8500_2p0_or_earlier(ab->ab8500)) in ab8500_eyediagram_workaroud() 1368 struct ab8500 *ab8500; in ab8500_usb_probe() local [all …]
|
D | Makefile | 9 obj-$(CONFIG_AB8500_USB) += phy-ab8500-usb.o
|
/linux-4.1.27/Documentation/hwmon/ |
D | ab8500 | 1 Kernel driver ab8500 6 Prefix: 'ab8500'
|
/linux-4.1.27/Documentation/devicetree/bindings/sound/ |
D | ux500-mop500.txt | 36 codec: ab8500-codec { 37 compatible = "stericsson,ab8500-codec";
|
D | ux500-msp.txt | 40 codec: ab8500-codec { 41 compatible = "stericsson,ab8500-codec";
|
/linux-4.1.27/drivers/regulator/ |
D | ab8500-ext.c | 346 struct ab8500 *ab8500 = dev_get_drvdata(pdev->dev.parent); in ab8500_ext_regulator_probe() local 364 if (!ab8500) { in ab8500_ext_regulator_probe() 369 ppdata = dev_get_platdata(ab8500->dev); in ab8500_ext_regulator_probe() 388 if (is_ab8500_2p0_or_earlier(ab8500)) { in ab8500_ext_regulator_probe()
|
D | ab8500.c | 2968 static void abx500_get_regulator_info(struct ab8500 *ab8500) in abx500_get_regulator_info() argument 2970 if (is_ab9540(ab8500)) { in abx500_get_regulator_info() 2977 } else if (is_ab8505(ab8500)) { in abx500_get_regulator_info() 2984 } else if (is_ab8540(ab8500)) { in abx500_get_regulator_info() 3005 struct ab8500 *ab8500 = dev_get_drvdata(pdev->dev.parent); in ab8500_regulator_register() local 3019 if (is_ab8500_1p1_or_earlier(ab8500)) { in ab8500_regulator_register() 3042 struct ab8500 *ab8500 = dev_get_drvdata(pdev->dev.parent); in ab8500_regulator_probe() local 3047 if (!ab8500) { in ab8500_regulator_probe() 3052 abx500_get_regulator_info(ab8500); in ab8500_regulator_probe()
|
D | Makefile | 16 obj-$(CONFIG_REGULATOR_AB8500) += ab8500-ext.o ab8500.o
|
/linux-4.1.27/drivers/pinctrl/nomadik/ |
D | Makefile | 3 obj-$(CONFIG_PINCTRL_AB8500) += pinctrl-ab8500.o
|
D | pinctrl-abx500.c | 107 struct ab8500 *parent;
|
/linux-4.1.27/drivers/clk/ux500/ |
D | abx500-clk.c | 104 struct ab8500 *parent = dev_get_drvdata(pdev->dev.parent); in abx500_clk_probe()
|
/linux-4.1.27/drivers/power/ |
D | pm2301_charger.h | 480 struct ab8500 *parent;
|
D | ab8500_btemp.c | 98 struct ab8500 *parent;
|
D | abx500_chargalg.c | 253 struct ab8500 *parent;
|
D | ab8500_fg.c | 226 struct ab8500 *parent;
|
D | ab8500_charger.c | 287 struct ab8500 *parent;
|
/linux-4.1.27/Documentation/devicetree/bindings/pinctrl/ |
D | ste,abx500.txt | 4 - compatible: "stericsson,ab8500-gpio", "stericsson,ab8540-gpio",
|
/linux-4.1.27/sound/soc/codecs/ |
D | Makefile | 2 snd-soc-ab8500-codec-objs := ab8500-codec.o 185 obj-$(CONFIG_SND_SOC_AB8500_CODEC) += snd-soc-ab8500-codec.o
|
/linux-4.1.27/drivers/hwmon/ |
D | Makefile | 22 obj-$(CONFIG_SENSORS_AB8500) += abx500.o ab8500.o
|
/linux-4.1.27/drivers/rtc/ |
D | Makefile | 26 obj-$(CONFIG_RTC_DRV_AB8500) += rtc-ab8500.o
|
/linux-4.1.27/ |
D | MAINTAINERS | 1552 F: drivers/mfd/ab8500* 1557 F: drivers/rtc/rtc-ab8500.c
|