Home
last modified time | relevance | path

Searched refs:ab8500 (Results 1 – 25 of 26) sorted by relevance

12

/drivers/mfd/
Dab8500-core.c166 static int ab8500_prcmu_write(struct ab8500 *ab8500, u16 addr, u8 data) in ab8500_prcmu_write() argument
172 dev_err(ab8500->dev, "prcmu i2c error %d\n", ret); in ab8500_prcmu_write()
176 static int ab8500_prcmu_write_masked(struct ab8500 *ab8500, u16 addr, u8 mask, in ab8500_prcmu_write_masked() argument
184 dev_err(ab8500->dev, "prcmu i2c error %d\n", ret); in ab8500_prcmu_write_masked()
188 static int ab8500_prcmu_read(struct ab8500 *ab8500, u16 addr) in ab8500_prcmu_read() argument
195 dev_err(ab8500->dev, "prcmu i2c error %d\n", ret); in ab8500_prcmu_read()
203 struct ab8500 *ab8500; in ab8500_get_chip_id() local
207 ab8500 = dev_get_drvdata(dev->parent); in ab8500_get_chip_id()
208 return ab8500 ? (int)ab8500->chip_id : -EINVAL; in ab8500_get_chip_id()
211 static int set_register_interruptible(struct ab8500 *ab8500, u8 bank, in set_register_interruptible() argument
[all …]
Dab8500-debugfs.c1587 struct ab8500 *ab8500; in ab8500_modem_show() local
1595 ab8500 = dev_get_drvdata(dev->parent); in ab8500_modem_show()
1613 if (is_ab9540(ab8500) || is_ab8505(ab8500)) in ab8500_modem_show()
2016 struct ab8500 *ab8500; in ab8500_debug_probe() local
2022 ab8500 = dev_get_drvdata(plf->dev.parent); in ab8500_debug_probe()
2023 num_irqs = ab8500->mask_size; in ab8500_debug_probe()
2070 if (is_ab8500(ab8500)) { in ab8500_debug_probe()
2073 } else if (is_ab8505(ab8500)) { in ab8500_debug_probe()
2076 } else if (is_ab9540(ab8500)) { in ab8500_debug_probe()
2079 } else if (is_ab8540(ab8500)) { in ab8500_debug_probe()
DMakefile183 obj-$(CONFIG_AB8500_DEBUG) += ab8500-debugfs.o
186 obj-$(CONFIG_AB8500_CORE) += ab8500-core.o ab8500-sysctrl.o
/drivers/pwm/
Dpwm-ab8500.c91 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 …]
DMakefile4 obj-$(CONFIG_PWM_AB8500) += pwm-ab8500.o
DKconfig52 will be called pwm-ab8500.
/drivers/input/misc/
Dab8500-ponkey.c29 struct ab8500 *ab8500; member
51 struct ab8500 *ab8500 = dev_get_drvdata(pdev->dev.parent); in ab8500_ponkey_probe() local
75 ponkey->ab8500 = ab8500; in ab8500_ponkey_probe()
88 dev_err(ab8500->dev, "Failed to request dbf IRQ#%d: %d\n", in ab8500_ponkey_probe()
97 dev_err(ab8500->dev, "Failed to request dbr IRQ#%d: %d\n", in ab8500_ponkey_probe()
104 dev_err(ab8500->dev, "Can't register input device: %d\n", error); in ab8500_ponkey_probe()
DMakefile10 obj-$(CONFIG_INPUT_AB8500_PONKEY) += ab8500-ponkey.o
DKconfig44 will be called ab8500-ponkey.
/drivers/usb/phy/
Dphy-ab8500-usb.c129 struct ab8500 *ab8500; member
243 if (is_ab8500_2p0(ab->ab8500)) { in ab8500_usb_wd_linkstatus()
530 if (is_ab8500(ab->ab8500)) { in abx500_usb_link_status_update()
539 } else if (is_ab8505(ab->ab8500)) { in abx500_usb_link_status_update()
593 if (is_ab8500_2p0(ab->ab8500)) { in ab8500_usb_disconnect_irq()
871 struct ab8500 *ab8500; in ab8500_usb_probe() local
876 ab8500 = dev_get_drvdata(pdev->dev.parent); in ab8500_usb_probe()
879 if (is_ab8500_1p1_or_earlier(ab8500)) { in ab8500_usb_probe()
893 ab->ab8500 = ab8500; in ab8500_usb_probe()
904 if (is_ab8500(ab->ab8500)) { in ab8500_usb_probe()
[all …]
DMakefile10 obj-$(CONFIG_AB8500_USB) += phy-ab8500-usb.o
/drivers/regulator/
Dab8500.c1530 static void abx500_get_regulator_info(struct ab8500 *ab8500) in abx500_get_regulator_info() argument
1532 if (is_ab8505(ab8500)) { in abx500_get_regulator_info()
1553 struct ab8500 *ab8500 = dev_get_drvdata(pdev->dev.parent); in ab8500_regulator_register() local
1568 if (is_ab8500_1p1_or_earlier(ab8500)) { in ab8500_regulator_register()
1590 struct ab8500 *ab8500 = dev_get_drvdata(pdev->dev.parent); in ab8500_regulator_probe() local
1595 if (!ab8500) { in ab8500_regulator_probe()
1600 abx500_get_regulator_info(ab8500); in ab8500_regulator_probe()
Dab8500-ext.c790 struct ab8500 *ab8500 = dev_get_drvdata(pdev->dev.parent); in ab8500_ext_regulator_probe() local
796 if (!ab8500) { in ab8500_ext_regulator_probe()
808 if (is_ab8500_2p0_or_earlier(ab8500)) { in ab8500_ext_regulator_probe()
DMakefile20 obj-$(CONFIG_REGULATOR_AB8500) += ab8500-ext.o ab8500.o
/drivers/pinctrl/nomadik/
DMakefile4 obj-$(CONFIG_PINCTRL_AB8500) += pinctrl-ab8500.o
Dpinctrl-abx500.c84 struct ab8500 *parent;
/drivers/iio/adc/
Dab8500-gpadc.c244 struct ab8500 *ab8500; member
476 if (!is_ab8500_2p0_or_earlier(gpadc->ab8500)) { in ab8500_gpadc_read()
761 if (is_ab8540(gpadc->ab8500)) { in ab8500_gpadc_read_calibration_data()
1099 gpadc->ab8500 = dev_get_drvdata(dev->parent); in ab8500_gpadc_probe()
DMakefile7 obj-$(CONFIG_AB8500_GPADC) += ab8500-gpadc.o
/drivers/clk/ux500/
Dabx500-clk.c92 struct ab8500 *parent = dev_get_drvdata(pdev->dev.parent); in abx500_clk_probe()
/drivers/power/supply/
Dpm2301_charger.h479 struct ab8500 *parent;
Dab8500_btemp.c99 struct ab8500 *parent;
Dabx500_chargalg.c248 struct ab8500 *parent;
Dab8500_fg.c226 struct ab8500 *parent;
/drivers/hwmon/
DMakefile24 obj-$(CONFIG_SENSORS_AB8500) += abx500.o ab8500.o
/drivers/rtc/
DMakefile24 obj-$(CONFIG_RTC_DRV_AB8500) += rtc-ab8500.o

12