Home
last modified time | relevance | path

Searched refs:int_gpios (Results 1 – 25 of 78) sorted by relevance

1234

/Zephyr-latest/drivers/sensor/ti/bq274xx/
Dbq274xx_trigger.c95 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()
Dbq274xx.c728 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),
Dbq274xx.h126 struct gpio_dt_spec int_gpios; member
DKconfig22 Note: if the int_gpios pin is not used then this feature must be
/Zephyr-latest/drivers/sensor/grow_r502a/
Dgrow_r502a_trigger.c27 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()
Dgrow_r502a.h231 struct gpio_dt_spec int_gpios; member
/Zephyr-latest/drivers/rtc/
Drtc_rv8263.c76 #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/
Dphy_ti_dp83825.c49 #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 …]
Dphy_realtek_rtl8211f.c19 #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 …]
Dphy_microchip_ksz8081.c48 #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/
Drtc_mcp7940n.c52 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/
Dgpio_aw9523b.c40 #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), \
Dgpio_mcp230xx.c93 .gpio_int = GPIO_DT_SPEC_INST_GET_OR(inst, int_gpios, {0}), \
/Zephyr-latest/drivers/spi/
Dspi_ambiq_spid.c30 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/
Dinput_cap12xx.c213 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/
Dlm75.c27 (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/
Dlm77.c24 (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/
Dapds9253.c242 .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/
Dsx9500.c145 (.int_gpio = GPIO_DT_SPEC_INST_GET_OR(inst, int_gpios, { 0 }),)) \
/Zephyr-latest/drivers/sensor/renesas/isl29035/
Disl29035.c154 (.int_gpio = GPIO_DT_SPEC_INST_GET_OR(inst, int_gpios, { 0 }),)) \
/Zephyr-latest/drivers/sensor/ti/tmp007/
Dtmp007.c134 (.int_gpio = GPIO_DT_SPEC_INST_GET_OR(inst, int_gpios, { 0 }),)) \
/Zephyr-latest/drivers/sensor/amg88xx/
Damg88xx.c145 (.int_gpio = GPIO_DT_SPEC_INST_GET_OR(inst, int_gpios, { 0 }),)) \
/Zephyr-latest/drivers/sensor/jedec/jc42/
Djc42.c133 (.int_gpio = GPIO_DT_SPEC_INST_GET_OR(inst, int_gpios, {0}),))}; \
/Zephyr-latest/drivers/sensor/honeywell/hmc5883l/
Dhmc5883l.c167 (.int_gpio = GPIO_DT_SPEC_INST_GET_OR(inst, int_gpios, { 0 }),)) \
/Zephyr-latest/drivers/sensor/st/stts22h/
Dstts22h.c205 (.int_gpio = GPIO_DT_SPEC_INST_GET_OR(inst, int_gpios, { 0 }),)) \

1234