Home
last modified time | relevance | path

Searched refs:trigg (Results 1 – 6 of 6) sorted by relevance

/Zephyr-latest/drivers/sensor/ti/ina23x/
Dina23x_trigger.c18 struct ina23x_trigger *trigg = CONTAINER_OF(cb, struct ina23x_trigger, gpio_cb); in ina23x_gpio_callback() local
20 k_work_submit(&trigg->conversion_work); in ina23x_gpio_callback()
23 int ina23x_trigger_mode_init(struct ina23x_trigger *trigg, const struct gpio_dt_spec *alert_gpio) in ina23x_trigger_mode_init() argument
38 gpio_init_callback(&trigg->gpio_cb, in ina23x_trigger_mode_init()
42 ret = gpio_add_callback(alert_gpio->port, &trigg->gpio_cb); in ina23x_trigger_mode_init()
Dina23x_trigger.h21 int ina23x_trigger_mode_init(struct ina23x_trigger *trigg,
Dina237.c285 struct ina23x_trigger *trigg = CONTAINER_OF(work, struct ina23x_trigger, conversion_work); in ina237_trigger_work_handler() local
286 struct ina237_data *data = CONTAINER_OF(trigg, struct ina237_data, trigger); in ina237_trigger_work_handler()
/Zephyr-latest/drivers/sensor/ams/tmd2620/
Dtmd2620_trigger.c62 int tmd2620_trigger_set(const struct device *dev, const struct sensor_trigger *trigg, in tmd2620_trigger_set() argument
73 if (trigg->type != SENSOR_TRIG_THRESHOLD) { in tmd2620_trigger_set()
77 if (trigg->chan != SENSOR_CHAN_PROX) { in tmd2620_trigger_set()
81 data->p_th_trigger = trigg; in tmd2620_trigger_set()
Dtmd2620.h173 int tmd2620_trigger_set(const struct device *dev, const struct sensor_trigger *trigg,
/Zephyr-latest/drivers/sensor/ens160/
Dens160.h134 int ens160_trigger_set(const struct device *dev, const struct sensor_trigger *trigg,