/Linux-v5.10/include/linux/mfd/pcf50633/ |
D | core.h | 19 struct pcf50633; 38 void (*probe_done)(struct pcf50633 *); 39 void (*mbc_event_callback)(struct pcf50633 *, int); 40 void (*regulator_registered)(struct pcf50633 *, int); 41 void (*force_shutdown)(struct pcf50633 *); 53 int pcf50633_register_irq(struct pcf50633 *pcf, int irq, 55 int pcf50633_free_irq(struct pcf50633 *pcf, int irq); 57 int pcf50633_irq_mask(struct pcf50633 *pcf, int irq); 58 int pcf50633_irq_unmask(struct pcf50633 *pcf, int irq); 59 int pcf50633_irq_mask_get(struct pcf50633 *pcf, int irq); [all …]
|
D | gpio.h | 38 int pcf50633_gpio_set(struct pcf50633 *pcf, int gpio, u8 val); 39 u8 pcf50633_gpio_get(struct pcf50633 *pcf, int gpio); 41 int pcf50633_gpio_invert_set(struct pcf50633 *, int gpio, int invert); 42 int pcf50633_gpio_invert_get(struct pcf50633 *pcf, int gpio); 44 int pcf50633_gpio_power_supply_set(struct pcf50633 *,
|
D | adc.h | 63 pcf50633_adc_async_read(struct pcf50633 *pcf, int mux, int avg, 64 void (*callback)(struct pcf50633 *, void *, int), 67 pcf50633_adc_sync_read(struct pcf50633 *pcf, int mux, int avg);
|
D | mbc.h | 124 int pcf50633_mbc_usb_curlim_set(struct pcf50633 *pcf, int ma); 126 int pcf50633_mbc_get_status(struct pcf50633 *); 127 int pcf50633_mbc_get_usb_online_status(struct pcf50633 *);
|
D | backlight.h | 37 struct pcf50633; 39 int pcf50633_bl_set_brightness_limit(struct pcf50633 *pcf, unsigned int limit);
|
/Linux-v5.10/drivers/mfd/ |
D | pcf50633-adc.c | 28 void (*callback)(struct pcf50633 *, void *, int); 40 struct pcf50633 *pcf; 49 static inline struct pcf50633_adc *__to_adc(struct pcf50633 *pcf) in __to_adc() 54 static void adc_setup(struct pcf50633 *pcf, int channel, int avg) in adc_setup() 67 static void trigger_next_adc_job_if_any(struct pcf50633 *pcf) in trigger_next_adc_job_if_any() 81 adc_enqueue_request(struct pcf50633 *pcf, struct pcf50633_adc_request *req) in adc_enqueue_request() 107 static void pcf50633_adc_sync_read_callback(struct pcf50633 *pcf, void *param, in pcf50633_adc_sync_read_callback() 116 int pcf50633_adc_sync_read(struct pcf50633 *pcf, int mux, int avg) in pcf50633_adc_sync_read() 134 int pcf50633_adc_async_read(struct pcf50633 *pcf, int mux, int avg, in pcf50633_adc_async_read() 135 void (*callback)(struct pcf50633 *, void *, int), in pcf50633_adc_async_read() argument [all …]
|
D | pcf50633-irq.c | 19 int pcf50633_register_irq(struct pcf50633 *pcf, int irq, in pcf50633_register_irq() 37 int pcf50633_free_irq(struct pcf50633 *pcf, int irq) in pcf50633_free_irq() 50 static int __pcf50633_irq_mask_set(struct pcf50633 *pcf, int irq, u8 mask) in __pcf50633_irq_mask_set() 73 int pcf50633_irq_mask(struct pcf50633 *pcf, int irq) in pcf50633_irq_mask() 81 int pcf50633_irq_unmask(struct pcf50633 *pcf, int irq) in pcf50633_irq_unmask() 89 int pcf50633_irq_mask_get(struct pcf50633 *pcf, int irq) in pcf50633_irq_mask_get() 100 static void pcf50633_irq_call_handler(struct pcf50633 *pcf, int irq) in pcf50633_irq_call_handler() 111 struct pcf50633 *pcf = data; in pcf50633_irq() 223 int pcf50633_irq_suspend(struct pcf50633 *pcf) in pcf50633_irq_suspend() 260 int pcf50633_irq_resume(struct pcf50633 *pcf) in pcf50633_irq_resume() [all …]
|
D | pcf50633-core.c | 27 int pcf50633_read_block(struct pcf50633 *pcf, u8 reg, in pcf50633_read_block() 41 int pcf50633_write_block(struct pcf50633 *pcf , u8 reg, in pcf50633_write_block() 48 u8 pcf50633_reg_read(struct pcf50633 *pcf, u8 reg) in pcf50633_reg_read() 61 int pcf50633_reg_write(struct pcf50633 *pcf, u8 reg, u8 val) in pcf50633_reg_write() 67 int pcf50633_reg_set_bit_mask(struct pcf50633 *pcf, u8 reg, u8 mask, u8 val) in pcf50633_reg_set_bit_mask() 73 int pcf50633_reg_clear_bits(struct pcf50633 *pcf, u8 reg, u8 val) in pcf50633_reg_clear_bits() 83 struct pcf50633 *pcf = dev_get_drvdata(dev); in show_dump_regs() 114 struct pcf50633 *pcf = dev_get_drvdata(dev); in show_resume_reason() 140 pcf50633_client_dev_register(struct pcf50633 *pcf, const char *name, in pcf50633_client_dev_register() 165 struct pcf50633 *pcf = i2c_get_clientdata(client); in pcf50633_suspend() [all …]
|
D | pcf50633-gpio.c | 33 int pcf50633_gpio_set(struct pcf50633 *pcf, int gpio, u8 val) in pcf50633_gpio_set() 43 u8 pcf50633_gpio_get(struct pcf50633 *pcf, int gpio) in pcf50633_gpio_get() 54 int pcf50633_gpio_invert_set(struct pcf50633 *pcf, int gpio, int invert) in pcf50633_gpio_invert_set() 65 int pcf50633_gpio_invert_get(struct pcf50633 *pcf, int gpio) in pcf50633_gpio_invert_get() 76 int pcf50633_gpio_power_supply_set(struct pcf50633 *pcf, in pcf50633_gpio_power_supply_set()
|
D | Makefile | 176 pcf50633-objs := pcf50633-core.o pcf50633-irq.o 177 obj-$(CONFIG_MFD_PCF50633) += pcf50633.o 178 obj-$(CONFIG_PCF50633_ADC) += pcf50633-adc.o 179 obj-$(CONFIG_PCF50633_GPIO) += pcf50633-gpio.o
|
/Linux-v5.10/drivers/video/backlight/ |
D | pcf50633-backlight.c | 19 struct pcf50633 *pcf; 36 int pcf50633_bl_set_brightness_limit(struct pcf50633 *pcf, unsigned int limit) in pcf50633_bl_set_brightness_limit()
|
D | Makefile | 49 obj-$(CONFIG_BACKLIGHT_PCF50633) += pcf50633-backlight.o
|
/Linux-v5.10/arch/arm/mach-s3c/ |
D | mach-gta02.c | 74 static struct pcf50633 *gta02_pcf; 143 gta02_configure_pmu_for_charger(struct pcf50633 *pcf, void *unused, int res) in gta02_configure_pmu_for_charger() 191 static void gta02_pmu_event_callback(struct pcf50633 *pcf, int irq) in gta02_pmu_event_callback()
|
/Linux-v5.10/drivers/power/supply/ |
D | pcf50633-charger.c | 26 struct pcf50633 *pcf; 36 int pcf50633_mbc_usb_curlim_set(struct pcf50633 *pcf, int ma) in pcf50633_mbc_usb_curlim_set() 106 int pcf50633_mbc_get_status(struct pcf50633 *pcf) in pcf50633_mbc_get_status() 137 int pcf50633_mbc_get_usb_online_status(struct pcf50633 *pcf) in pcf50633_mbc_get_usb_online_status()
|
D | Makefile | 61 obj-$(CONFIG_CHARGER_PCF50633) += pcf50633-charger.o
|
/Linux-v5.10/drivers/input/misc/ |
D | pcf50633-input.c | 26 struct pcf50633 *pcf;
|
D | Makefile | 55 obj-$(CONFIG_INPUT_PCF50633_PMU) += pcf50633-input.o
|
/Linux-v5.10/drivers/regulator/ |
D | pcf50633-regulator.c | 77 struct pcf50633 *pcf; in pcf50633_regulator_probe()
|
D | Makefile | 111 obj-$(CONFIG_REGULATOR_PCF50633) += pcf50633-regulator.o
|
/Linux-v5.10/drivers/rtc/ |
D | rtc-pcf50633.c | 58 struct pcf50633 *pcf;
|
D | Makefile | 120 obj-$(CONFIG_RTC_DRV_PCF50633) += rtc-pcf50633.o
|