Searched refs:alert_cb (Results 1 – 5 of 5) sorted by relevance
/Zephyr-latest/drivers/sensor/jedec/jc42/ |
D | jc42_trigger.c | 120 static void alert_cb(const struct device *dev, struct gpio_callback *cb, in alert_cb() function 124 CONTAINER_OF(cb, struct jc42_data, alert_cb); in alert_cb() 195 gpio_init_callback(&data->alert_cb, alert_cb, BIT(cfg->int_gpio.pin)); in jc42_setup_interrupt() 197 rc = gpio_add_callback(cfg->int_gpio.port, &data->alert_cb); in jc42_setup_interrupt()
|
D | jc42.h | 66 struct gpio_callback alert_cb; member
|
/Zephyr-latest/drivers/sensor/sensirion/sht3xd/ |
D | sht3xd_trigger.c | 148 CONTAINER_OF(cb, struct sht3xd_data, alert_cb); in sht3xd_gpio_callback() 206 gpio_init_callback(&data->alert_cb, sht3xd_gpio_callback, in sht3xd_init_interrupt() 208 rc = gpio_add_callback(cfg->alert_gpio.port, &data->alert_cb); in sht3xd_init_interrupt()
|
D | sht3xd.h | 61 struct gpio_callback alert_cb; member
|
/Zephyr-latest/drivers/usb_c/tcpc/ |
D | ps8xxx.c | 31 struct gpio_callback alert_cb; member 582 struct ps8xxx_data *data = CONTAINER_OF(cb, struct ps8xxx_data, alert_cb); in ps8xxx_alert_cb() 696 gpio_init_callback(&data->alert_cb, ps8xxx_alert_cb, BIT(cfg->alert_gpio.pin)); in ps8xxx_init_work_cb() 697 gpio_add_callback(cfg->alert_gpio.port, &data->alert_cb); in ps8xxx_init_work_cb()
|