Searched refs:ab8500 (Results 1 – 16 of 16) sorted by relevance
/drivers/mfd/ |
D | ab8500-core.c | 130 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 …]
|
D | ab8500-i2c.c | 16 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 …]
|
D | Makefile | 92 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/ |
D | ab8500-ponkey.c | 27 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()
|
D | Makefile | 8 obj-$(CONFIG_INPUT_AB8500_PONKEY) += ab8500-ponkey.o
|
D | Kconfig | 33 will be called ab8500-ponkey.
|
/drivers/regulator/ |
D | ab8500.c | 740 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()
|
D | Makefile | 16 obj-$(CONFIG_REGULATOR_AB8500) += ab8500.o
|
/drivers/usb/otg/ |
D | Makefile | 21 obj-$(CONFIG_AB8500_USB) += ab8500-usb.o
|
/drivers/misc/ |
D | Makefile | 51 obj-$(CONFIG_AB8500_PWM) += ab8500-pwm.o
|
/drivers/gpio/ |
D | Makefile | 11 obj-$(CONFIG_GPIO_AB8500) += gpio-ab8500.o
|
D | gpio-ab8500.c | 78 struct ab8500 *parent;
|
/drivers/rtc/ |
D | Makefile | 20 obj-$(CONFIG_RTC_DRV_AB8500) += rtc-ab8500.o
|
/drivers/power/ |
D | ab8500_btemp.c | 93 struct ab8500 *parent;
|
D | ab8500_charger.c | 221 struct ab8500 *parent;
|
D | ab8500_fg.c | 213 struct ab8500 *parent;
|