Searched refs:dev_gpio (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/tests/drivers/input/gpio_kbd_matrix/src/ |
D | main.c | 37 static const struct device *dev_gpio = DEVICE_DT_GET(DT_NODELABEL(gpio0)); variable 59 gpio_emul_input_set(dev_gpio, INTERRUPT_R0_PIN, !(row & BIT(0))); in gpio_kbd_scan_set_row() 60 gpio_emul_input_set(dev_gpio, INTERRUPT_R1_PIN, !(row & BIT(1))); in gpio_kbd_scan_set_row() 63 gpio_emul_input_set(dev_gpio, POLL_R0_PIN, !(row & BIT(0))); in gpio_kbd_scan_set_row() 64 gpio_emul_input_set(dev_gpio, POLL_R1_PIN, !(row & BIT(1))); in gpio_kbd_scan_set_row() 67 gpio_emul_input_set(dev_gpio, SCAN_R0_PIN, !(row & BIT(0))); in gpio_kbd_scan_set_row() 68 gpio_emul_input_set(dev_gpio, SCAN_R1_PIN, !(row & BIT(1))); in gpio_kbd_scan_set_row() 89 gpio_emul_flags_get(dev_gpio, INTERRUPT_C0_PIN, &flags0); in input_kbd_matrix_drive_column_hook() 90 gpio_emul_flags_get(dev_gpio, INTERRUPT_C1_PIN, &flags1); in input_kbd_matrix_drive_column_hook() 116 gpio_emul_flags_get(dev_gpio, POLL_C0_PIN, &flags0); in input_kbd_matrix_drive_column_hook() [all …]
|
/Zephyr-latest/drivers/can/ |
D | can_mcp251xfd.c | 1161 static void mcp251xfd_int_gpio_callback(const struct device *dev_gpio, struct gpio_callback *cb, in mcp251xfd_int_gpio_callback() argument 1164 ARG_UNUSED(dev_gpio); in mcp251xfd_int_gpio_callback()
|