Home
last modified time | relevance | path

Searched refs:nint_gpio (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/drivers/mfd/
Dmfd_adp5585.c102 if (gpio_is_ready_dt(&config->nint_gpio)) { in mfd_adp5585_init()
103 ret = gpio_pin_configure_dt(&config->nint_gpio, GPIO_INPUT); in mfd_adp5585_init()
107 ret = gpio_pin_interrupt_configure_dt(&config->nint_gpio, GPIO_INT_EDGE_TO_ACTIVE); in mfd_adp5585_init()
114 BIT(config->nint_gpio.pin)); in mfd_adp5585_init()
115 ret = gpio_add_callback_dt(&config->nint_gpio, &data->int_gpio_cb); in mfd_adp5585_init()
132 .nint_gpio = GPIO_DT_SPEC_INST_GET_OR(n, nint_gpios, {0}), \
/Zephyr-latest/include/zephyr/drivers/mfd/
Dadp5585.h98 struct gpio_dt_spec nint_gpio; member
/Zephyr-latest/drivers/gpio/
Dgpio_sx1509b.c87 struct gpio_dt_spec nint_gpio; member
555 if (!gpio_is_ready_dt(&cfg->nint_gpio)) { in sx1509b_init()
561 gpio_pin_configure_dt(&cfg->nint_gpio, GPIO_INPUT); in sx1509b_init()
562 gpio_pin_interrupt_configure_dt(&cfg->nint_gpio, in sx1509b_init()
566 BIT(cfg->nint_gpio.pin)); in sx1509b_init()
567 gpio_add_callback(cfg->nint_gpio.port, &drv_data->gpio_cb); in sx1509b_init()
Dgpio_adp5585.c286 if (parent_cfg->nint_gpio.port == NULL) { in gpio_adp5585_pin_interrupt_configure()
429 if ((ret == 0) && gpio_is_ready_dt(&parent_cfg->nint_gpio)) { in gpio_adp5585_init()