Home
last modified time | relevance | path

Searched refs:lp8788 (Results 1 – 15 of 15) sorted by relevance

/linux-5.19.10/include/linux/mfd/
Dlp8788.h158 struct lp8788;
205 void (*charger_event) (struct lp8788 *lp,
282 int (*init_func) (struct lp8788 *lp);
316 struct lp8788 { struct
324 int lp8788_irq_init(struct lp8788 *lp, int chip_irq); argument
325 void lp8788_irq_exit(struct lp8788 *lp);
326 int lp8788_read_byte(struct lp8788 *lp, u8 reg, u8 *data);
327 int lp8788_read_multi_bytes(struct lp8788 *lp, u8 reg, u8 *data, size_t count);
328 int lp8788_write_byte(struct lp8788 *lp, u8 reg, u8 data);
329 int lp8788_update_bits(struct lp8788 *lp, u8 reg, u8 mask, u8 data);
/linux-5.19.10/drivers/mfd/
Dlp8788.c122 int lp8788_read_byte(struct lp8788 *lp, u8 reg, u8 *data) in lp8788_read_byte()
138 int lp8788_read_multi_bytes(struct lp8788 *lp, u8 reg, u8 *data, size_t count) in lp8788_read_multi_bytes()
144 int lp8788_write_byte(struct lp8788 *lp, u8 reg, u8 data) in lp8788_write_byte()
150 int lp8788_update_bits(struct lp8788 *lp, u8 reg, u8 mask, u8 data) in lp8788_update_bits()
156 static int lp8788_platform_init(struct lp8788 *lp) in lp8788_platform_init()
171 struct lp8788 *lp; in lp8788_probe()
175 lp = devm_kzalloc(&cl->dev, sizeof(struct lp8788), GFP_KERNEL); in lp8788_probe()
204 struct lp8788 *lp = i2c_get_clientdata(cl); in lp8788_remove()
Dlp8788-irq.c36 struct lp8788 *lp;
109 struct lp8788 *lp = irqd->lp; in lp8788_irq_handler()
149 int lp8788_irq_init(struct lp8788 *lp, int irq) in lp8788_irq_init()
187 void lp8788_irq_exit(struct lp8788 *lp) in lp8788_irq_exit()
DMakefile149 obj-$(CONFIG_MFD_LP8788) += lp8788.o lp8788-irq.o
/linux-5.19.10/drivers/rtc/
Drtc-lp8788.c56 struct lp8788 *lp;
103 static void lp8788_rtc_unlock(struct lp8788 *lp) in lp8788_rtc_unlock()
112 struct lp8788 *lp = rtc->lp; in lp8788_rtc_read_time()
136 struct lp8788 *lp = rtc->lp; in lp8788_rtc_set_time()
166 struct lp8788 *lp = rtc->lp; in lp8788_read_alarm()
191 struct lp8788 *lp = rtc->lp; in lp8788_set_alarm()
227 struct lp8788 *lp = rtc->lp; in lp8788_alarm_irq_enable()
259 struct lp8788 *lp = rtc->lp; in lp8788_alarm_irq_register()
284 struct lp8788 *lp = dev_get_drvdata(pdev->dev.parent); in lp8788_rtc_probe()
DMakefile83 obj-$(CONFIG_RTC_DRV_LP8788) += rtc-lp8788.o
/linux-5.19.10/drivers/leds/
Dleds-lp8788.c23 struct lp8788 *lp;
122 struct lp8788 *lp = dev_get_drvdata(pdev->dev.parent); in lp8788_led_probe()
DMakefile54 obj-$(CONFIG_LEDS_LP8788) += leds-lp8788.o
/linux-5.19.10/drivers/iio/adc/
Dlp8788_adc.c28 struct lp8788 *lp;
189 struct lp8788 *lp = dev_get_drvdata(pdev->dev.parent); in lp8788_adc_probe()
/linux-5.19.10/drivers/regulator/
Dlp8788-ldo.c111 struct lp8788 *lp;
465 struct lp8788 *lp = ldo->lp; in lp8788_config_ldo_enable_mode()
525 struct lp8788 *lp = dev_get_drvdata(pdev->dev.parent); in lp8788_dldo_probe()
572 struct lp8788 *lp = dev_get_drvdata(pdev->dev.parent); in lp8788_aldo_probe()
DMakefile63 obj-$(CONFIG_REGULATOR_LP8788) += lp8788-buck.o
64 obj-$(CONFIG_REGULATOR_LP8788) += lp8788-ldo.o
Dlp8788-buck.c89 struct lp8788 *lp;
491 struct lp8788 *lp = dev_get_drvdata(pdev->dev.parent); in lp8788_buck_probe()
/linux-5.19.10/drivers/power/supply/
Dlp8788-charger.c103 struct lp8788 *lp;
252 struct lp8788 *lp = pchg->lp; in lp8788_get_battery_capacity()
368 struct lp8788 *lp = pchg->lp; in lp8788_update_charger_params()
688 struct lp8788 *lp = dev_get_drvdata(pdev->dev.parent); in lp8788_charger_probe()
DMakefile71 obj-$(CONFIG_CHARGER_LP8788) += lp8788-charger.o
/linux-5.19.10/drivers/video/backlight/
Dlp8788_bl.c44 struct lp8788 *lp;
259 struct lp8788 *lp = dev_get_drvdata(pdev->dev.parent); in lp8788_backlight_probe()