/Zephyr-latest/drivers/sensor/ti/bq274xx/ |
D | bq274xx_trigger.c | 95 ret = gpio_pin_configure_dt(&config->int_gpios, GPIO_INPUT); in bq274xx_trigger_mode_init() 102 BIT(config->int_gpios.pin)); in bq274xx_trigger_mode_init() 128 if (!gpio_is_ready_dt(&config->int_gpios)) { in bq274xx_trigger_set() 137 ret = gpio_pin_configure_dt(&config->int_gpios, GPIO_INPUT); in bq274xx_trigger_set() 143 ret = gpio_add_callback(config->int_gpios.port, in bq274xx_trigger_set() 150 ret = gpio_pin_interrupt_configure_dt(&config->int_gpios, in bq274xx_trigger_set() 157 ret = gpio_remove_callback(config->int_gpios.port, in bq274xx_trigger_set() 164 ret = gpio_pin_interrupt_configure_dt(&config->int_gpios, GPIO_INT_DISABLE); in bq274xx_trigger_set()
|
D | bq274xx.c | 728 if (!gpio_is_ready_dt(&config->int_gpios)) { in bq274xx_gauge_init() 792 ret = gpio_pin_configure_dt(&config->int_gpios, GPIO_OUTPUT | GPIO_OPEN_DRAIN); in bq274xx_exit_shutdown_mode() 798 ret = gpio_pin_set_dt(&config->int_gpios, 0); in bq274xx_exit_shutdown_mode() 806 ret = gpio_pin_configure_dt(&config->int_gpios, GPIO_INPUT); in bq274xx_exit_shutdown_mode() 856 .int_gpios = GPIO_DT_SPEC_INST_GET(index, int_gpios),
|
D | bq274xx.h | 126 struct gpio_dt_spec int_gpios; member
|
D | Kconfig | 22 Note: if the int_gpios pin is not used then this feature must be
|
/Zephyr-latest/drivers/sensor/grow_r502a/ |
D | grow_r502a_trigger.c | 27 gpio_pin_interrupt_configure_dt(&cfg->int_gpios, flags); in setup_int() 103 if (!gpio_is_ready_dt(&cfg->int_gpios)) { in grow_r502a_init_interrupt() 104 LOG_ERR("GPIO port %s not ready", cfg->int_gpios.port->name); in grow_r502a_init_interrupt() 108 rc = gpio_pin_configure_dt(&cfg->int_gpios, GPIO_INPUT); in grow_r502a_init_interrupt() 127 BIT(cfg->int_gpios.pin)); in grow_r502a_init_interrupt() 129 rc = gpio_add_callback(cfg->int_gpios.port, &drv_data->gpio_cb); in grow_r502a_init_interrupt()
|
D | grow_r502a.h | 231 struct gpio_dt_spec int_gpios; member
|
/Zephyr-latest/drivers/rtc/ |
D | rtc_rv8263.c | 76 #if DT_ANY_INST_HAS_PROP_STATUS_OKAY(int_gpios) 84 #if (CONFIG_RTC_ALARM || CONFIG_RTC_UPDATE) && DT_ANY_INST_HAS_PROP_STATUS_OKAY(int_gpios) 89 #if (CONFIG_RTC_ALARM || CONFIG_RTC_UPDATE) && DT_ANY_INST_HAS_PROP_STATUS_OKAY(int_gpios) 93 #if CONFIG_RTC_ALARM && DT_ANY_INST_HAS_PROP_STATUS_OKAY(int_gpios) 98 #if CONFIG_RTC_UPDATE && DT_ANY_INST_HAS_PROP_STATUS_OKAY(int_gpios) 122 #if (CONFIG_RTC_ALARM || CONFIG_RTC_UPDATE) && DT_ANY_INST_HAS_PROP_STATUS_OKAY(int_gpios) 137 #if CONFIG_RTC_UPDATE && DT_ANY_INST_HAS_PROP_STATUS_OKAY(int_gpios) 159 #if (CONFIG_RTC_ALARM || CONFIG_RTC_UPDATE) && DT_ANY_INST_HAS_PROP_STATUS_OKAY(int_gpios) 282 #if (CONFIG_RTC_ALARM || CONFIG_RTC_UPDATE) && DT_ANY_INST_HAS_PROP_STATUS_OKAY(int_gpios) in rv8263c8_init() 320 #if CONFIG_RTC_UPDATE && DT_ANY_INST_HAS_PROP_STATUS_OKAY(int_gpios) in rv8263c8_init() [all …]
|
/Zephyr-latest/drivers/ethernet/phy/ |
D | phy_ti_dp83825.c | 49 #if DT_ANY_INST_HAS_PROP_STATUS_OKAY(int_gpios) 58 #if DT_ANY_INST_HAS_PROP_STATUS_OKAY(int_gpios) 95 #if DT_ANY_INST_HAS_PROP_STATUS_OKAY(int_gpios) 248 #if DT_ANY_INST_HAS_PROP_STATUS_OKAY(int_gpios) in phy_ti_dp83825_static_cfg() 271 #if DT_ANY_INST_HAS_PROP_STATUS_OKAY(int_gpios) in phy_ti_dp83825_static_cfg() 376 #if DT_ANY_INST_HAS_PROP_STATUS_OKAY(int_gpios) in phy_ti_dp83825_cfg_link() 447 #if DT_ANY_INST_HAS_PROP_STATUS_OKAY(int_gpios) in phy_ti_dp83825_cfg_link() 478 #if DT_ANY_INST_HAS_PROP_STATUS_OKAY(int_gpios) in phy_ti_dp83825_monitor_work_handler() 484 #if DT_ANY_INST_HAS_PROP_STATUS_OKAY(int_gpios) in phy_ti_dp83825_monitor_work_handler() 502 #if DT_ANY_INST_HAS_PROP_STATUS_OKAY(int_gpios) in phy_ti_dp83825_monitor_work_handler() [all …]
|
D | phy_realtek_rtl8211f.c | 19 #if DT_ANY_INST_HAS_PROP_STATUS_OKAY(reset_gpios) || DT_ANY_INST_HAS_PROP_STATUS_OKAY(int_gpios) 65 #if DT_ANY_INST_HAS_PROP_STATUS_OKAY(int_gpios) 74 #if DT_ANY_INST_HAS_PROP_STATUS_OKAY(int_gpios) 298 #if DT_ANY_INST_HAS_PROP_STATUS_OKAY(int_gpios) in phy_rt_rtl8211f_cfg_link() 374 #if DT_ANY_INST_HAS_PROP_STATUS_OKAY(int_gpios) in phy_rt_rtl8211f_cfg_link() 400 #if DT_ANY_INST_HAS_PROP_STATUS_OKAY(int_gpios) 447 #if DT_ANY_INST_HAS_PROP_STATUS_OKAY(int_gpios) in phy_rt_rtl8211f_monitor_work_handler() 453 #if DT_ANY_INST_HAS_PROP_STATUS_OKAY(int_gpios) in phy_rt_rtl8211f_monitor_work_handler() 471 #if DT_ANY_INST_HAS_PROP_STATUS_OKAY(int_gpios) in phy_rt_rtl8211f_monitor_work_handler() 556 #if DT_ANY_INST_HAS_PROP_STATUS_OKAY(int_gpios) in phy_rt_rtl8211f_init() [all …]
|
D | phy_microchip_ksz8081.c | 48 #if DT_ANY_INST_HAS_PROP_STATUS_OKAY(int_gpios) 473 #if DT_ANY_INST_HAS_PROP_STATUS_OKAY(int_gpios) in phy_mc_ksz8081_init() 523 #if DT_ANY_INST_HAS_PROP_STATUS_OKAY(int_gpios) 525 .interrupt_gpio = GPIO_DT_SPEC_INST_GET_OR(n, int_gpios, {0}),
|
/Zephyr-latest/drivers/counter/ |
D | rtc_mcp7940n.c | 52 const struct gpio_dt_spec int_gpios; member 695 if (cfg->int_gpios.port != NULL) { in mcp7940n_init() 697 if (!gpio_is_ready_dt(&cfg->int_gpios)) { in mcp7940n_init() 699 cfg->int_gpios.port->name); in mcp7940n_init() 707 gpio_pin_configure_dt(&cfg->int_gpios, GPIO_INPUT); in mcp7940n_init() 709 gpio_pin_interrupt_configure_dt(&cfg->int_gpios, in mcp7940n_init() 713 BIT(cfg->int_gpios.pin)); in mcp7940n_init() 715 (void)gpio_add_callback(cfg->int_gpios.port, &data->int_callback); in mcp7940n_init() 718 if ((cfg->int_gpios.dt_flags & GPIO_ACTIVE_LOW) == GPIO_ACTIVE_LOW) { in mcp7940n_init() 759 .int_gpios = GPIO_DT_SPEC_INST_GET_OR(index, int_gpios, {0}), \
|
/Zephyr-latest/drivers/gpio/ |
D | gpio_aw9523b.c | 40 #if DT_ANY_INST_HAS_PROP_STATUS_OKAY(int_gpios) 48 #if DT_ANY_INST_HAS_PROP_STATUS_OKAY(int_gpios) 104 #if DT_ANY_INST_HAS_PROP_STATUS_OKAY(int_gpios) in gpio_aw9523b_pin_configure() 366 #if DT_ANY_INST_HAS_PROP_STATUS_OKAY(int_gpios) 378 #if DT_ANY_INST_HAS_PROP_STATUS_OKAY(int_gpios) in gpio_aw9523b_init() 492 IF_ENABLED(DT_INST_PROP_HAS_IDX(inst, int_gpios, 0), ( \ 493 .int_gpio = GPIO_DT_SPEC_INST_GET(inst, int_gpios), \
|
D | gpio_mcp230xx.c | 93 .gpio_int = GPIO_DT_SPEC_INST_GET_OR(inst, int_gpios, {0}), \
|
/Zephyr-latest/drivers/spi/ |
D | spi_ambiq_spid.c | 30 const struct gpio_dt_spec int_gpios; member 82 gpio_pin_set_dt(&cfg->int_gpios, 1); in spi_ambiq_inform() 83 gpio_pin_set_dt(&cfg->int_gpios, 0); in spi_ambiq_inform() 419 .int_gpios = GPIO_DT_SPEC_INST_GET(n, int_gpios), \
|
/Zephyr-latest/drivers/input/ |
D | input_cap12xx.c | 213 IF_ENABLED(DT_INST_NODE_HAS_PROP(index, int_gpios), ( \ 215 GPIO_DT_SPEC_INST_GET(index, int_gpios);)) \ 221 IF_ENABLED(DT_INST_NODE_HAS_PROP(index, int_gpios), ( \
|
/Zephyr-latest/drivers/sensor/lm75/ |
D | lm75.c | 27 (CONFIG_LM75_TRIGGER && DT_ANY_INST_HAS_PROP_STATUS_OKAY(int_gpios)) 405 #define LM75_INT_GPIO_INIT(n) .int_gpio = GPIO_DT_SPEC_INST_GET_OR(n, int_gpios, { 0 }) 416 .int_mode = DT_INST_NODE_HAS_PROP(inst, int_gpios), \
|
/Zephyr-latest/drivers/sensor/lm77/ |
D | lm77.c | 24 (CONFIG_LM77_TRIGGER && DT_ANY_INST_HAS_PROP_STATUS_OKAY(int_gpios)) 393 #define LM77_INT_GPIO_INIT(n) .int_gpio = GPIO_DT_SPEC_INST_GET_OR(n, int_gpios, { 0 }) 405 .int_mode = DT_INST_NODE_HAS_PROP(n, int_gpios), \
|
/Zephyr-latest/drivers/sensor/apds9253/ |
D | apds9253.c | 242 .interrupt_enabled = DT_INST_NODE_HAS_PROP(n, int_gpios), \ 243 .int_gpio = GPIO_DT_SPEC_INST_GET_OR(n, int_gpios, {}), \
|
/Zephyr-latest/drivers/sensor/sx9500/ |
D | sx9500.c | 145 (.int_gpio = GPIO_DT_SPEC_INST_GET_OR(inst, int_gpios, { 0 }),)) \
|
/Zephyr-latest/drivers/sensor/renesas/isl29035/ |
D | isl29035.c | 154 (.int_gpio = GPIO_DT_SPEC_INST_GET_OR(inst, int_gpios, { 0 }),)) \
|
/Zephyr-latest/drivers/sensor/ti/tmp007/ |
D | tmp007.c | 134 (.int_gpio = GPIO_DT_SPEC_INST_GET_OR(inst, int_gpios, { 0 }),)) \
|
/Zephyr-latest/drivers/sensor/amg88xx/ |
D | amg88xx.c | 145 (.int_gpio = GPIO_DT_SPEC_INST_GET_OR(inst, int_gpios, { 0 }),)) \
|
/Zephyr-latest/drivers/sensor/jedec/jc42/ |
D | jc42.c | 133 (.int_gpio = GPIO_DT_SPEC_INST_GET_OR(inst, int_gpios, {0}),))}; \
|
/Zephyr-latest/drivers/sensor/honeywell/hmc5883l/ |
D | hmc5883l.c | 167 (.int_gpio = GPIO_DT_SPEC_INST_GET_OR(inst, int_gpios, { 0 }),)) \
|
/Zephyr-latest/drivers/sensor/st/stts22h/ |
D | stts22h.c | 205 (.int_gpio = GPIO_DT_SPEC_INST_GET_OR(inst, int_gpios, { 0 }),)) \
|