Home
last modified time | relevance | path

Searched refs:int_gpio_dt (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/can/
Dcan_mcp251xfd.c1126 ret = gpio_pin_get_dt(&dev_cfg->int_gpio_dt); in mcp251xfd_handle_interrupts()
1153 ret = gpio_pin_interrupt_configure_dt(&dev_cfg->int_gpio_dt, GPIO_INT_LEVEL_ACTIVE); in mcp251xfd_int_thread()
1171 ret = gpio_pin_interrupt_configure_dt(&dev_cfg->int_gpio_dt, GPIO_INT_DISABLE); in mcp251xfd_int_gpio_callback()
1545 if (!gpio_is_ready_dt(&dev_cfg->int_gpio_dt)) { in mcp251xfd_init()
1550 if (gpio_pin_configure_dt(&dev_cfg->int_gpio_dt, GPIO_INPUT) < 0) { in mcp251xfd_init()
1556 BIT(dev_cfg->int_gpio_dt.pin)); in mcp251xfd_init()
1558 if (gpio_add_callback_dt(&dev_cfg->int_gpio_dt, &dev_data->int_gpio_cb) < 0) { in mcp251xfd_init()
1562 if (gpio_pin_interrupt_configure_dt(&dev_cfg->int_gpio_dt, GPIO_INT_LEVEL_ACTIVE) < 0) { in mcp251xfd_init()
1749 .int_gpio_dt = GPIO_DT_SPEC_INST_GET(inst, int_gpios), \
Dcan_mcp251xfd.h521 struct gpio_dt_spec int_gpio_dt; member