Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/mfd/pcf50633/
H A Dcore.h20 struct pcf50633;
39 void (*probe_done)(struct pcf50633 *);
40 void (*mbc_event_callback)(struct pcf50633 *, int);
41 void (*regulator_registered)(struct pcf50633 *, int);
42 void (*force_shutdown)(struct pcf50633 *);
56 int pcf50633_free_irq(struct pcf50633 *pcf, int irq);
58 int pcf50633_irq_mask(struct pcf50633 *pcf, int irq);
62 int pcf50633_read_block(struct pcf50633 *, u8 reg,
66 u8 pcf50633_reg_read(struct pcf50633 *, u8 reg);
133 struct pcf50633 { struct
[all …]
H A Dgpio.h38 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 *,
H A Dadc.h63 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);
H A Dmbc.h124 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 *);
H A Dbacklight.h37 struct pcf50633;
39 int pcf50633_bl_set_brightness_limit(struct pcf50633 *pcf, unsigned int limit);
/openbmc/linux/drivers/mfd/
H A Dpcf50633-adc.c28 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()
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
159 static int adc_result(struct pcf50633 *pcf) in adc_result()
[all …]
H A Dpcf50633-irq.c20 int pcf50633_register_irq(struct pcf50633 *pcf, int irq, in pcf50633_register_irq()
38 int pcf50633_free_irq(struct pcf50633 *pcf, int irq) in pcf50633_free_irq()
74 int pcf50633_irq_mask(struct pcf50633 *pcf, int irq) in pcf50633_irq_mask()
82 int pcf50633_irq_unmask(struct pcf50633 *pcf, int irq) in pcf50633_irq_unmask()
90 int pcf50633_irq_mask_get(struct pcf50633 *pcf, int irq) in pcf50633_irq_mask_get()
101 static void pcf50633_irq_call_handler(struct pcf50633 *pcf, int irq) in pcf50633_irq_call_handler()
112 struct pcf50633 *pcf = data; in pcf50633_irq()
225 struct pcf50633 *pcf = i2c_get_clientdata(client); in pcf50633_suspend()
264 struct pcf50633 *pcf = i2c_get_clientdata(client); in pcf50633_resume()
281 int pcf50633_irq_init(struct pcf50633 *pcf, int irq) in pcf50633_irq_init()
[all …]
H A Dpcf50633-core.c27 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 dump_regs_show()
114 struct pcf50633 *pcf = dev_get_drvdata(dev); in resume_reason_show()
140 pcf50633_client_dev_register(struct pcf50633 *pcf, const char *name, in pcf50633_client_dev_register()
168 struct pcf50633 *pcf; in pcf50633_probe()
[all …]
H A Dpcf50633-gpio.c33 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()
H A DMakefile180 pcf50633-objs := pcf50633-core.o pcf50633-irq.o
181 obj-$(CONFIG_MFD_PCF50633) += pcf50633.o
182 obj-$(CONFIG_PCF50633_ADC) += pcf50633-adc.o
183 obj-$(CONFIG_PCF50633_GPIO) += pcf50633-gpio.o
/openbmc/linux/drivers/video/backlight/
H A Dpcf50633-backlight.c19 struct pcf50633 *pcf;
36 int pcf50633_bl_set_brightness_limit(struct pcf50633 *pcf, unsigned int limit) in pcf50633_bl_set_brightness_limit()
H A DMakefile50 obj-$(CONFIG_BACKLIGHT_PCF50633) += pcf50633-backlight.o
/openbmc/linux/drivers/power/supply/
H A Dpcf50633-charger.c26 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()
H A DMakefile63 obj-$(CONFIG_CHARGER_PCF50633) += pcf50633-charger.o
/openbmc/linux/drivers/input/misc/
H A Dpcf50633-input.c26 struct pcf50633 *pcf;
H A DMakefile60 obj-$(CONFIG_INPUT_PCF50633_PMU) += pcf50633-input.o
/openbmc/linux/drivers/regulator/
H A Dpcf50633-regulator.c77 struct pcf50633 *pcf; in pcf50633_regulator_probe()
H A DMakefile130 obj-$(CONFIG_REGULATOR_PCF50633) += pcf50633-regulator.o
/openbmc/linux/drivers/rtc/
H A Drtc-pcf50633.c58 struct pcf50633 *pcf;
H A DMakefile123 obj-$(CONFIG_RTC_DRV_PCF50633) += rtc-pcf50633.o
/openbmc/
H A Dopengrok1.0.log26573 …ldren: not file-less due to: /opengrok/data/xref/openbmc/linux/include/linux/mfd/pcf50633/gpio.h.gz
26574 …Children: its children prevent delete: /opengrok/data/xref/openbmc/linux/include/linux/mfd/pcf50633
H A Dopengrok2.0.log26806 …ldren: not file-less due to: /opengrok/data/xref/openbmc/linux/include/linux/mfd/pcf50633/gpio.h.gz
26807 …Children: its children prevent delete: /opengrok/data/xref/openbmc/linux/include/linux/mfd/pcf50633