Home
last modified time | relevance | path

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

/Linux-v5.10/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-v5.10/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-v5.10/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()
164 u8 kempld_read8(struct kempld_device_data *pld, u8 index) in kempld_read8()
179 void kempld_write8(struct kempld_device_data *pld, u8 index, u8 data) in kempld_write8()
193 u16 kempld_read16(struct kempld_device_data *pld, u8 index) in kempld_read16()
207 void kempld_write16(struct kempld_device_data *pld, u8 index, u16 data) in kempld_write16()
221 u32 kempld_read32(struct kempld_device_data *pld, u8 index) in kempld_read32()
235 void kempld_write32(struct kempld_device_data *pld, u8 index, u32 data) in kempld_write32()
[all …]
/Linux-v5.10/drivers/watchdog/
Dkempld_wdt.c74 struct kempld_device_data *pld;
108 struct kempld_device_data *pld = wdt_data->pld; in kempld_wdt_set_stage_action()
134 struct kempld_device_data *pld = wdt_data->pld; in kempld_wdt_set_stage_timeout()
174 struct kempld_device_data *pld = wdt_data->pld; in kempld_wdt_get_timeout()
260 struct kempld_device_data *pld = wdt_data->pld; in kempld_wdt_update_timeouts()
284 struct kempld_device_data *pld = wdt_data->pld; in kempld_wdt_start()
309 struct kempld_device_data *pld = wdt_data->pld; in kempld_wdt_stop()
329 struct kempld_device_data *pld = wdt_data->pld; in kempld_wdt_keepalive()
367 struct kempld_device_data *pld = wdt_data->pld; in kempld_wdt_probe_stages()
438 struct kempld_device_data *pld = dev_get_drvdata(pdev->dev.parent); in kempld_wdt_probe()
[all …]
/Linux-v5.10/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()
292 struct kempld_device_data *pld = dev_get_drvdata(pdev->dev.parent); in kempld_i2c_probe()
333 struct kempld_device_data *pld = i2c->pld; in kempld_i2c_remove()
357 struct kempld_device_data *pld = i2c->pld; in kempld_i2c_suspend()
372 struct kempld_device_data *pld = i2c->pld; in kempld_i2c_resume()