Home
last modified time | relevance | path

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

/drivers/mfd/
Dab8500-core.c130 struct ab8500 *ab8500; in ab8500_get_chip_id() local
134 ab8500 = dev_get_drvdata(dev->parent); in ab8500_get_chip_id()
135 return ab8500 ? (int)ab8500->chip_id : -EINVAL; in ab8500_get_chip_id()
138 static int set_register_interruptible(struct ab8500 *ab8500, u8 bank, in set_register_interruptible() argument
148 dev_vdbg(ab8500->dev, "wr: addr %#x <= %#x\n", addr, data); in set_register_interruptible()
150 mutex_lock(&ab8500->lock); in set_register_interruptible()
152 ret = ab8500->write(ab8500, addr, data); in set_register_interruptible()
154 dev_err(ab8500->dev, "failed to write reg %#x: %d\n", in set_register_interruptible()
156 mutex_unlock(&ab8500->lock); in set_register_interruptible()
164 struct ab8500 *ab8500 = dev_get_drvdata(dev->parent); in ab8500_set_register() local
[all …]
Dab8500-i2c.c16 static int ab8500_i2c_write(struct ab8500 *ab8500, u16 addr, u8 data) in ab8500_i2c_write() argument
22 dev_err(ab8500->dev, "prcmu i2c error %d\n", ret); in ab8500_i2c_write()
26 static int ab8500_i2c_write_masked(struct ab8500 *ab8500, u16 addr, u8 mask, in ab8500_i2c_write_masked() argument
34 dev_err(ab8500->dev, "prcmu i2c error %d\n", ret); in ab8500_i2c_write_masked()
38 static int ab8500_i2c_read(struct ab8500 *ab8500, u16 addr) in ab8500_i2c_read() argument
45 dev_err(ab8500->dev, "prcmu i2c error %d\n", ret); in ab8500_i2c_read()
54 struct ab8500 *ab8500; in ab8500_i2c_probe() local
58 ab8500 = kzalloc(sizeof *ab8500, GFP_KERNEL); in ab8500_i2c_probe()
59 if (!ab8500) in ab8500_i2c_probe()
62 ab8500->dev = &plf->dev; in ab8500_i2c_probe()
[all …]
DMakefile92 obj-$(CONFIG_AB8500_CORE) += ab8500-core.o ab8500-sysctrl.o
93 obj-$(CONFIG_AB8500_DEBUG) += ab8500-debugfs.o
94 obj-$(CONFIG_AB8500_GPADC) += ab8500-gpadc.o
97 obj-$(CONFIG_AB8500_I2C_CORE) += ab8500-i2c.o
/drivers/input/misc/
Dab8500-ponkey.c27 struct ab8500 *ab8500; member
49 struct ab8500 *ab8500 = dev_get_drvdata(pdev->dev.parent); in ab8500_ponkey_probe() local
75 ponkey->ab8500 = ab8500; in ab8500_ponkey_probe()
87 dev_err(ab8500->dev, "Failed to request dbf IRQ#%d: %d\n", in ab8500_ponkey_probe()
95 dev_err(ab8500->dev, "Failed to request dbr IRQ#%d: %d\n", in ab8500_ponkey_probe()
102 dev_err(ab8500->dev, "Can't register input device: %d\n", error); in ab8500_ponkey_probe()
DMakefile8 obj-$(CONFIG_INPUT_AB8500_PONKEY) += ab8500-ponkey.o
DKconfig33 will be called ab8500-ponkey.
/drivers/regulator/
Dab8500.c740 struct ab8500 *ab8500 = dev_get_drvdata(pdev->dev.parent); in ab8500_regulator_probe() local
744 if (!ab8500) { in ab8500_regulator_probe()
748 pdata = dev_get_platdata(ab8500->dev); in ab8500_regulator_probe()
DMakefile16 obj-$(CONFIG_REGULATOR_AB8500) += ab8500.o
/drivers/usb/otg/
DMakefile21 obj-$(CONFIG_AB8500_USB) += ab8500-usb.o
/drivers/misc/
DMakefile51 obj-$(CONFIG_AB8500_PWM) += ab8500-pwm.o
/drivers/gpio/
DMakefile11 obj-$(CONFIG_GPIO_AB8500) += gpio-ab8500.o
Dgpio-ab8500.c78 struct ab8500 *parent;
/drivers/rtc/
DMakefile20 obj-$(CONFIG_RTC_DRV_AB8500) += rtc-ab8500.o
/drivers/power/
Dab8500_btemp.c93 struct ab8500 *parent;
Dab8500_charger.c221 struct ab8500 *parent;
Dab8500_fg.c213 struct ab8500 *parent;