Home
last modified time | relevance | path

Searched refs:pcf50633 (Results 1 – 21 of 21) sorted by relevance

/linux-4.4.14/include/linux/mfd/pcf50633/
Dcore.h23 struct pcf50633;
42 void (*probe_done)(struct pcf50633 *);
43 void (*mbc_event_callback)(struct pcf50633 *, int);
44 void (*regulator_registered)(struct pcf50633 *, int);
45 void (*force_shutdown)(struct pcf50633 *);
57 int pcf50633_register_irq(struct pcf50633 *pcf, int irq,
59 int pcf50633_free_irq(struct pcf50633 *pcf, int irq);
61 int pcf50633_irq_mask(struct pcf50633 *pcf, int irq);
62 int pcf50633_irq_unmask(struct pcf50633 *pcf, int irq);
63 int pcf50633_irq_mask_get(struct pcf50633 *pcf, int irq);
[all …]
Dgpio.h42 int pcf50633_gpio_set(struct pcf50633 *pcf, int gpio, u8 val);
43 u8 pcf50633_gpio_get(struct pcf50633 *pcf, int gpio);
45 int pcf50633_gpio_invert_set(struct pcf50633 *, int gpio, int invert);
46 int pcf50633_gpio_invert_get(struct pcf50633 *pcf, int gpio);
48 int pcf50633_gpio_power_supply_set(struct pcf50633 *,
Dadc.h67 pcf50633_adc_async_read(struct pcf50633 *pcf, int mux, int avg,
68 void (*callback)(struct pcf50633 *, void *, int),
71 pcf50633_adc_sync_read(struct pcf50633 *pcf, int mux, int avg);
Dmbc.h128 int pcf50633_mbc_usb_curlim_set(struct pcf50633 *pcf, int ma);
130 int pcf50633_mbc_get_status(struct pcf50633 *);
131 int pcf50633_mbc_get_usb_online_status(struct pcf50633 *);
Dbacklight.h46 struct pcf50633;
48 int pcf50633_bl_set_brightness_limit(struct pcf50633 *pcf, unsigned int limit);
/linux-4.4.14/drivers/mfd/
Dpcf50633-adc.c32 void (*callback)(struct pcf50633 *, void *, int);
44 struct pcf50633 *pcf;
53 static inline struct pcf50633_adc *__to_adc(struct pcf50633 *pcf) in __to_adc()
58 static void adc_setup(struct pcf50633 *pcf, int channel, int avg) in adc_setup()
71 static void trigger_next_adc_job_if_any(struct pcf50633 *pcf) in trigger_next_adc_job_if_any()
85 adc_enqueue_request(struct pcf50633 *pcf, struct pcf50633_adc_request *req) in adc_enqueue_request()
111 static void pcf50633_adc_sync_read_callback(struct pcf50633 *pcf, void *param, in pcf50633_adc_sync_read_callback()
120 int pcf50633_adc_sync_read(struct pcf50633 *pcf, int mux, int avg) in pcf50633_adc_sync_read()
138 int pcf50633_adc_async_read(struct pcf50633 *pcf, int mux, int avg, in pcf50633_adc_async_read()
139 void (*callback)(struct pcf50633 *, void *, int), in pcf50633_adc_async_read() argument
[all …]
Dpcf50633-irq.c24 int pcf50633_register_irq(struct pcf50633 *pcf, int irq, in pcf50633_register_irq()
42 int pcf50633_free_irq(struct pcf50633 *pcf, int irq) in pcf50633_free_irq()
55 static int __pcf50633_irq_mask_set(struct pcf50633 *pcf, int irq, u8 mask) in __pcf50633_irq_mask_set()
78 int pcf50633_irq_mask(struct pcf50633 *pcf, int irq) in pcf50633_irq_mask()
86 int pcf50633_irq_unmask(struct pcf50633 *pcf, int irq) in pcf50633_irq_unmask()
94 int pcf50633_irq_mask_get(struct pcf50633 *pcf, int irq) in pcf50633_irq_mask_get()
105 static void pcf50633_irq_call_handler(struct pcf50633 *pcf, int irq) in pcf50633_irq_call_handler()
116 struct pcf50633 *pcf = data; in pcf50633_irq()
228 int pcf50633_irq_suspend(struct pcf50633 *pcf) in pcf50633_irq_suspend()
265 int pcf50633_irq_resume(struct pcf50633 *pcf) in pcf50633_irq_resume()
[all …]
Dpcf50633-core.c32 int pcf50633_read_block(struct pcf50633 *pcf, u8 reg, in pcf50633_read_block()
46 int pcf50633_write_block(struct pcf50633 *pcf , u8 reg, in pcf50633_write_block()
53 u8 pcf50633_reg_read(struct pcf50633 *pcf, u8 reg) in pcf50633_reg_read()
66 int pcf50633_reg_write(struct pcf50633 *pcf, u8 reg, u8 val) in pcf50633_reg_write()
72 int pcf50633_reg_set_bit_mask(struct pcf50633 *pcf, u8 reg, u8 mask, u8 val) in pcf50633_reg_set_bit_mask()
78 int pcf50633_reg_clear_bits(struct pcf50633 *pcf, u8 reg, u8 val) in pcf50633_reg_clear_bits()
88 struct pcf50633 *pcf = dev_get_drvdata(dev); in show_dump_regs()
119 struct pcf50633 *pcf = dev_get_drvdata(dev); in show_resume_reason()
145 pcf50633_client_dev_register(struct pcf50633 *pcf, const char *name, in pcf50633_client_dev_register()
170 struct pcf50633 *pcf = i2c_get_clientdata(client); in pcf50633_suspend()
[all …]
Dpcf50633-gpio.c38 int pcf50633_gpio_set(struct pcf50633 *pcf, int gpio, u8 val) in pcf50633_gpio_set()
48 u8 pcf50633_gpio_get(struct pcf50633 *pcf, int gpio) in pcf50633_gpio_get()
59 int pcf50633_gpio_invert_set(struct pcf50633 *pcf, int gpio, int invert) in pcf50633_gpio_invert_set()
70 int pcf50633_gpio_invert_get(struct pcf50633 *pcf, int gpio) in pcf50633_gpio_invert_get()
81 int pcf50633_gpio_power_supply_set(struct pcf50633 *pcf, in pcf50633_gpio_power_supply_set()
DMakefile131 pcf50633-objs := pcf50633-core.o pcf50633-irq.o
132 obj-$(CONFIG_MFD_PCF50633) += pcf50633.o
133 obj-$(CONFIG_PCF50633_ADC) += pcf50633-adc.o
134 obj-$(CONFIG_PCF50633_GPIO) += pcf50633-gpio.o
/linux-4.4.14/arch/arm/mach-s3c24xx/
Dmach-gta02.c90 static struct pcf50633 *gta02_pcf;
158 gta02_configure_pmu_for_charger(struct pcf50633 *pcf, void *unused, int res) in gta02_configure_pmu_for_charger()
205 static void gta02_pmu_event_callback(struct pcf50633 *pcf, int irq) in gta02_pmu_event_callback()
243 static void gta02_pmu_attach_child_devices(struct pcf50633 *pcf);
543 static void gta02_pmu_attach_child_devices(struct pcf50633 *pcf) in gta02_pmu_attach_child_devices()
/linux-4.4.14/drivers/video/backlight/
Dpcf50633-backlight.c28 struct pcf50633 *pcf;
45 int pcf50633_bl_set_brightness_limit(struct pcf50633 *pcf, unsigned int limit) in pcf50633_bl_set_brightness_limit()
DMakefile50 obj-$(CONFIG_BACKLIGHT_PCF50633) += pcf50633-backlight.o
/linux-4.4.14/drivers/power/
Dpcf50633-charger.c31 struct pcf50633 *pcf;
41 int pcf50633_mbc_usb_curlim_set(struct pcf50633 *pcf, int ma) in pcf50633_mbc_usb_curlim_set()
113 int pcf50633_mbc_get_status(struct pcf50633 *pcf) in pcf50633_mbc_get_status()
144 int pcf50633_mbc_get_usb_online_status(struct pcf50633 *pcf) in pcf50633_mbc_get_usb_online_status()
DMakefile46 obj-$(CONFIG_CHARGER_PCF50633) += pcf50633-charger.o
/linux-4.4.14/drivers/input/misc/
Dpcf50633-input.c31 struct pcf50633 *pcf;
DMakefile51 obj-$(CONFIG_INPUT_PCF50633_PMU) += pcf50633-input.o
/linux-4.4.14/drivers/regulator/
Dpcf50633-regulator.c82 struct pcf50633 *pcf; in pcf50633_regulator_probe()
DMakefile73 obj-$(CONFIG_REGULATOR_PCF50633) += pcf50633-regulator.o
/linux-4.4.14/drivers/rtc/
Drtc-pcf50633.c63 struct pcf50633 *pcf;
DMakefile110 obj-$(CONFIG_RTC_DRV_PCF50633) += rtc-pcf50633.o