Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/jedec/jc42/
Djc42_trigger.c120 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()
Djc42.h66 struct gpio_callback alert_cb; member
/Zephyr-latest/drivers/sensor/sensirion/sht3xd/
Dsht3xd_trigger.c148 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()
Dsht3xd.h61 struct gpio_callback alert_cb; member
/Zephyr-latest/drivers/usb_c/tcpc/
Dps8xxx.c31 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()