/Zephyr-latest/drivers/sensor/st/hts221/ |
D | hts221_trigger.c | 27 gpio_pin_interrupt_configure_dt(&cfg->gpio_drdy, flags); in setup_drdy() 79 if (gpio_pin_get_dt(&cfg->gpio_drdy) > 0) { in hts221_trigger_set() 129 if (cfg->gpio_drdy.port == NULL) { in hts221_init_interrupt() 134 if (!gpio_is_ready_dt(&cfg->gpio_drdy)) { in hts221_init_interrupt() 135 LOG_ERR("device %s is not ready", cfg->gpio_drdy.port->name); in hts221_init_interrupt() 142 status = gpio_pin_configure_dt(&cfg->gpio_drdy, GPIO_INPUT); in hts221_init_interrupt() 145 cfg->gpio_drdy.port->name, cfg->gpio_drdy.pin); in hts221_init_interrupt() 151 BIT(cfg->gpio_drdy.pin)); in hts221_init_interrupt() 153 status = gpio_add_callback(cfg->gpio_drdy.port, &data->drdy_cb); in hts221_init_interrupt()
|
D | hts221.h | 71 const struct gpio_dt_spec gpio_drdy; member
|
D | hts221.c | 222 .gpio_drdy = GPIO_DT_SPEC_INST_GET(inst, drdy_gpios)
|
/Zephyr-latest/drivers/sensor/st/iis2mdc/ |
D | iis2mdc_trigger.c | 63 gpio_pin_interrupt_configure_dt(&config->gpio_drdy, in iis2mdc_handle_interrupt() 76 gpio_pin_interrupt_configure_dt(&config->gpio_drdy, GPIO_INT_DISABLE); in iis2mdc_gpio_callback() 117 if (!gpio_is_ready_dt(&config->gpio_drdy)) { in iis2mdc_init_interrupt() 133 ret = gpio_pin_configure_dt(&config->gpio_drdy, GPIO_INPUT); in iis2mdc_init_interrupt() 141 BIT(config->gpio_drdy.pin)); in iis2mdc_init_interrupt() 143 if (gpio_add_callback(config->gpio_drdy.port, &iis2mdc->gpio_cb) < 0) { in iis2mdc_init_interrupt() 148 return gpio_pin_interrupt_configure_dt(&config->gpio_drdy, in iis2mdc_init_interrupt()
|
D | iis2mdc.h | 40 const struct gpio_dt_spec gpio_drdy; member
|
D | iis2mdc.c | 342 .gpio_drdy = GPIO_DT_SPEC_INST_GET(inst, drdy_gpios),
|
/Zephyr-latest/drivers/sensor/st/lis2mdl/ |
D | lis2mdl_trigger.c | 76 gpio_pin_interrupt_configure_dt(&cfg->gpio_drdy, in lis2mdl_handle_interrupt() 89 gpio_pin_interrupt_configure_dt(&cfg->gpio_drdy, GPIO_INT_DISABLE); in lis2mdl_gpio_callback() 130 if (!gpio_is_ready_dt(&cfg->gpio_drdy)) { in lis2mdl_init_interrupt() 146 ret = gpio_pin_configure_dt(&cfg->gpio_drdy, GPIO_INPUT); in lis2mdl_init_interrupt() 154 BIT(cfg->gpio_drdy.pin)); in lis2mdl_init_interrupt() 156 if (gpio_add_callback(cfg->gpio_drdy.port, &lis2mdl->gpio_cb) < 0) { in lis2mdl_init_interrupt() 161 return gpio_pin_interrupt_configure_dt(&cfg->gpio_drdy, in lis2mdl_init_interrupt()
|
D | lis2mdl.h | 44 const struct gpio_dt_spec gpio_drdy; member
|
D | lis2mdl.c | 509 .gpio_drdy = GPIO_DT_SPEC_INST_GET(inst, irq_gpios)
|
/Zephyr-latest/drivers/sensor/st/iis2iclx/ |
D | iis2iclx_trigger.c | 163 gpio_pin_interrupt_configure_dt(&cfg->gpio_drdy, in iis2iclx_handle_interrupt() 176 gpio_pin_interrupt_configure_dt(&cfg->gpio_drdy, GPIO_INT_DISABLE); in iis2iclx_gpio_callback() 217 if (!gpio_is_ready_dt(&cfg->gpio_drdy)) { in iis2iclx_init_interrupt() 235 ret = gpio_pin_configure_dt(&cfg->gpio_drdy, GPIO_INPUT); in iis2iclx_init_interrupt() 243 BIT(cfg->gpio_drdy.pin)); in iis2iclx_init_interrupt() 245 if (gpio_add_callback(cfg->gpio_drdy.port, &iis2iclx->gpio_cb) < 0) { in iis2iclx_init_interrupt() 257 if (gpio_pin_interrupt_configure_dt(&cfg->gpio_drdy, in iis2iclx_init_interrupt()
|
D | iis2iclx.h | 50 const struct gpio_dt_spec gpio_drdy; member
|
D | iis2iclx.c | 646 .gpio_drdy = GPIO_DT_SPEC_INST_GET(inst, drdy_gpios), \
|
/Zephyr-latest/drivers/sensor/st/iis2dlpc/ |
D | iis2dlpc_trigger.c | 213 gpio_pin_interrupt_configure_dt(&cfg->gpio_drdy, in iis2dlpc_handle_interrupt() 226 gpio_pin_interrupt_configure_dt(&cfg->gpio_drdy, GPIO_INT_DISABLE); in iis2dlpc_gpio_callback() 268 if (!gpio_is_ready_dt(&cfg->gpio_drdy)) { in iis2dlpc_init_interrupt() 285 ret = gpio_pin_configure_dt(&cfg->gpio_drdy, GPIO_INPUT); in iis2dlpc_init_interrupt() 293 BIT(cfg->gpio_drdy.pin)); in iis2dlpc_init_interrupt() 295 if (gpio_add_callback(cfg->gpio_drdy.port, &iis2dlpc->gpio_cb) < 0) { in iis2dlpc_init_interrupt() 306 return gpio_pin_interrupt_configure_dt(&cfg->gpio_drdy, in iis2dlpc_init_interrupt()
|
D | iis2dlpc.h | 73 const struct gpio_dt_spec gpio_drdy; member
|
D | iis2dlpc.c | 443 .gpio_drdy = GPIO_DT_SPEC_INST_GET(inst, drdy_gpios), \
|
/Zephyr-latest/drivers/sensor/st/lsm6dso/ |
D | lsm6dso_trigger.c | 209 gpio_pin_interrupt_configure_dt(&cfg->gpio_drdy, in lsm6dso_handle_interrupt() 222 gpio_pin_interrupt_configure_dt(&cfg->gpio_drdy, GPIO_INT_DISABLE); in lsm6dso_gpio_callback() 264 if (!gpio_is_ready_dt(&cfg->gpio_drdy)) { in lsm6dso_init_interrupt() 282 ret = gpio_pin_configure_dt(&cfg->gpio_drdy, GPIO_INPUT); in lsm6dso_init_interrupt() 290 BIT(cfg->gpio_drdy.pin)); in lsm6dso_init_interrupt() 292 if (gpio_add_callback(cfg->gpio_drdy.port, &lsm6dso->gpio_cb) < 0) { in lsm6dso_init_interrupt() 309 return gpio_pin_interrupt_configure_dt(&cfg->gpio_drdy, in lsm6dso_init_interrupt()
|
D | lsm6dso.h | 63 const struct gpio_dt_spec gpio_drdy; member
|
D | lsm6dso.c | 890 .gpio_drdy = GPIO_DT_SPEC_INST_GET(inst, irq_gpios), \
|
/Zephyr-latest/drivers/sensor/st/lsm6dso16is/ |
D | lsm6dso16is_trigger.c | 236 gpio_pin_interrupt_configure_dt(&cfg->gpio_drdy, in lsm6dso16is_handle_interrupt() 249 gpio_pin_interrupt_configure_dt(&cfg->gpio_drdy, GPIO_INT_DISABLE); in lsm6dso16is_gpio_callback() 291 if (!gpio_is_ready_dt(&cfg->gpio_drdy)) { in lsm6dso16is_init_interrupt() 309 ret = gpio_pin_configure_dt(&cfg->gpio_drdy, GPIO_INPUT); in lsm6dso16is_init_interrupt() 317 BIT(cfg->gpio_drdy.pin)); in lsm6dso16is_init_interrupt() 319 if (gpio_add_callback(cfg->gpio_drdy.port, &lsm6dso16is->gpio_cb) < 0) { in lsm6dso16is_init_interrupt() 336 return gpio_pin_interrupt_configure_dt(&cfg->gpio_drdy, in lsm6dso16is_init_interrupt()
|
D | lsm6dso16is.h | 56 const struct gpio_dt_spec gpio_drdy; member
|
/Zephyr-latest/drivers/sensor/st/lis2dh/ |
D | lis2dh_trigger.c | 34 gpio_pin_interrupt_configure_dt(&cfg->gpio_drdy, in setup_int1() 49 if (cfg->gpio_drdy.port == NULL) { in lis2dh_trigger_drdy_set() 426 if (cfg->gpio_drdy.port && in lis2dh_thread_cb() 448 if (cfg->gpio_drdy.port && in lis2dh_thread_cb() 563 if (!gpio_is_ready_dt(&cfg->gpio_drdy)) { in lis2dh_init_interrupt() 565 if (cfg->gpio_drdy.port != NULL) { in lis2dh_init_interrupt() 566 LOG_ERR("device %s is not ready", cfg->gpio_drdy.port->name); in lis2dh_init_interrupt() 576 status = gpio_pin_configure_dt(&cfg->gpio_drdy, GPIO_INPUT); in lis2dh_init_interrupt() 579 cfg->gpio_drdy.port->name, cfg->gpio_drdy.pin); in lis2dh_init_interrupt() 585 BIT(cfg->gpio_drdy.pin)); in lis2dh_init_interrupt() [all …]
|
D | lis2dh.c | 416 if (cfg->gpio_drdy.port != NULL || cfg->gpio_int.port != NULL) { in lis2dh_init() 524 .gpio_drdy = \
|
D | lis2dh.h | 220 const struct gpio_dt_spec gpio_drdy; member
|
/Zephyr-latest/drivers/adc/ |
D | adc_ads131m02.c | 121 const struct gpio_dt_spec gpio_drdy; member 525 ret = gpio_pin_configure_dt(&cfg->gpio_drdy, GPIO_INPUT); in ads131m02_configure_gpio() 530 ret = gpio_pin_interrupt_configure_dt(&cfg->gpio_drdy, in ads131m02_configure_gpio() 537 BIT(cfg->gpio_drdy.pin)); in ads131m02_configure_gpio() 539 return gpio_add_callback(cfg->gpio_drdy.port, &data->callback_drdy); in ads131m02_configure_gpio() 725 .gpio_drdy = GPIO_DT_SPEC_INST_GET(n, drdy_gpios), \
|
/Zephyr-latest/drivers/sensor/bosch/bmc150_magn/ |
D | bmc150_magn.h | 120 const struct device *gpio_drdy; member
|