Home
last modified time | relevance | path

Searched refs:kempld_device_data (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/include/linux/mfd/
Dkempld.h86 struct kempld_device_data { struct
111 void (*get_hardware_mutex) (struct kempld_device_data *); argument
112 void (*release_hardware_mutex) (struct kempld_device_data *);
113 int (*get_info) (struct kempld_device_data *);
114 int (*register_cells) (struct kempld_device_data *);
117 extern void kempld_get_mutex(struct kempld_device_data *pld);
118 extern void kempld_release_mutex(struct kempld_device_data *pld);
119 extern u8 kempld_read8(struct kempld_device_data *pld, u8 index);
120 extern void kempld_write8(struct kempld_device_data *pld, u8 index, u8 data);
121 extern u16 kempld_read16(struct kempld_device_data *pld, u8 index);
[all …]
/linux-6.6.21/drivers/gpio/
Dgpio-kempld.c27 struct kempld_device_data *pld;
34 static void kempld_gpio_bitop(struct kempld_device_data *pld, in kempld_gpio_bitop()
47 static int kempld_gpio_get_bit(struct kempld_device_data *pld, u8 reg, u8 bit) in kempld_gpio_get_bit()
61 struct kempld_device_data *pld = gpio->pld; in kempld_gpio_get()
69 struct kempld_device_data *pld = gpio->pld; in kempld_gpio_set()
79 struct kempld_device_data *pld = gpio->pld; in kempld_gpio_direction_input()
92 struct kempld_device_data *pld = gpio->pld; in kempld_gpio_direction_output()
105 struct kempld_device_data *pld = gpio->pld; in kempld_gpio_get_direction()
113 static int kempld_gpio_pincount(struct kempld_device_data *pld) in kempld_gpio_pincount()
136 struct kempld_device_data *pld = dev_get_drvdata(dev->parent); in kempld_gpio_probe()
/linux-6.6.21/drivers/mfd/
Dkempld-core.c29 static void kempld_get_hardware_mutex(struct kempld_device_data *pld) in kempld_get_hardware_mutex()
36 static void kempld_release_hardware_mutex(struct kempld_device_data *pld) in kempld_release_hardware_mutex()
42 static int kempld_get_info_generic(struct kempld_device_data *pld) in kempld_get_info_generic()
92 static int kempld_register_cells_generic(struct kempld_device_data *pld) in kempld_register_cells_generic()
163 u8 kempld_read8(struct kempld_device_data *pld, u8 index) in kempld_read8()
178 void kempld_write8(struct kempld_device_data *pld, u8 index, u8 data) in kempld_write8()
192 u16 kempld_read16(struct kempld_device_data *pld, u8 index) in kempld_read16()
206 void kempld_write16(struct kempld_device_data *pld, u8 index, u16 data) in kempld_write16()
220 u32 kempld_read32(struct kempld_device_data *pld, u8 index) in kempld_read32()
234 void kempld_write32(struct kempld_device_data *pld, u8 index, u32 data) in kempld_write32()
[all …]
/linux-6.6.21/drivers/watchdog/
Dkempld_wdt.c74 struct kempld_device_data *pld;
106 struct kempld_device_data *pld = wdt_data->pld; in kempld_wdt_set_stage_action()
132 struct kempld_device_data *pld = wdt_data->pld; in kempld_wdt_set_stage_timeout()
172 struct kempld_device_data *pld = wdt_data->pld; in kempld_wdt_get_timeout()
258 struct kempld_device_data *pld = wdt_data->pld; in kempld_wdt_update_timeouts()
282 struct kempld_device_data *pld = wdt_data->pld; in kempld_wdt_start()
307 struct kempld_device_data *pld = wdt_data->pld; in kempld_wdt_stop()
327 struct kempld_device_data *pld = wdt_data->pld; in kempld_wdt_keepalive()
365 struct kempld_device_data *pld = wdt_data->pld; in kempld_wdt_probe_stages()
436 struct kempld_device_data *pld = dev_get_drvdata(pdev->dev.parent); in kempld_wdt_probe()
[all …]
/linux-6.6.21/drivers/i2c/busses/
Di2c-kempld.c57 struct kempld_device_data *pld;
84 struct kempld_device_data *pld = i2c->pld; in kempld_i2c_process()
190 struct kempld_device_data *pld = i2c->pld; in kempld_i2c_xfer()
224 struct kempld_device_data *pld = i2c->pld; in kempld_i2c_device_init()
293 struct kempld_device_data *pld = dev_get_drvdata(pdev->dev.parent); in kempld_i2c_probe()
335 struct kempld_device_data *pld = i2c->pld; in kempld_i2c_remove()
356 struct kempld_device_data *pld = i2c->pld; in kempld_i2c_suspend()
371 struct kempld_device_data *pld = i2c->pld; in kempld_i2c_resume()