Searched refs:DT_GPIO_PIN_BY_IDX (Results 1 – 12 of 12) sorted by relevance
/Zephyr-latest/include/zephyr/devicetree/ |
D | gpio.h | 109 #define DT_GPIO_PIN_BY_IDX(node_id, gpio_pha, idx) \ macro 121 DT_GPIO_PIN_BY_IDX(node_id, gpio_pha, 0) 322 DT_GPIO_PIN_BY_IDX(DT_DRV_INST(inst), gpio_pha, idx)
|
D | spi.h | 184 DT_GPIO_PIN_BY_IDX(DT_BUS(spi_dev), cs_gpios, DT_REG_ADDR_RAW(spi_dev))
|
/Zephyr-latest/tests/drivers/input/gpio_kbd_matrix/src/ |
D | main.c | 22 #define INTERRUPT_R0_PIN DT_GPIO_PIN_BY_IDX(INTERRUPT_NODE, row_gpios, 0) 23 #define INTERRUPT_R1_PIN DT_GPIO_PIN_BY_IDX(INTERRUPT_NODE, row_gpios, 1) 24 #define INTERRUPT_C0_PIN DT_GPIO_PIN_BY_IDX(INTERRUPT_NODE, col_gpios, 0) 25 #define INTERRUPT_C1_PIN DT_GPIO_PIN_BY_IDX(INTERRUPT_NODE, col_gpios, 1) 27 #define POLL_R0_PIN DT_GPIO_PIN_BY_IDX(POLL_NODE, row_gpios, 0) 28 #define POLL_R1_PIN DT_GPIO_PIN_BY_IDX(POLL_NODE, row_gpios, 1) 29 #define POLL_C0_PIN DT_GPIO_PIN_BY_IDX(POLL_NODE, col_gpios, 0) 30 #define POLL_C1_PIN DT_GPIO_PIN_BY_IDX(POLL_NODE, col_gpios, 1) 32 #define SCAN_R0_PIN DT_GPIO_PIN_BY_IDX(SCAN_NODE, row_gpios, 0) 33 #define SCAN_R1_PIN DT_GPIO_PIN_BY_IDX(SCAN_NODE, row_gpios, 1) [all …]
|
/Zephyr-latest/soc/nordic/common/ |
D | soc_nrf_common.h | 131 (DT_GPIO_PIN_BY_IDX(node_id, prop, idx) & 0x1F))
|
/Zephyr-latest/soc/nuvoton/npcx/common/ |
D | power.c | 98 .pin = DT_GPIO_PIN_BY_IDX(node_id, prop, idx), \
|
/Zephyr-latest/boards/nordic/nrf9160dk/ |
D | board.c | 20 DT_GPIO_PIN_BY_IDX(DT_NODELABEL(name), prop, idx)
|
/Zephyr-latest/drivers/led_strip/ |
D | ws2812_rpi_pico_pio.c | 192 .gpio_pin = DT_GPIO_PIN_BY_IDX(node, gpios, 0), \
|
/Zephyr-latest/drivers/display/ |
D | display_nrf_led_matrix.c | 529 (DT_GPIO_PIN_BY_IDX(node_id, pha, idx) | \
|
/Zephyr-latest/include/zephyr/drivers/ |
D | gpio.h | 335 .pin = DT_GPIO_PIN_BY_IDX(node_id, prop, idx), \
|
/Zephyr-latest/doc/build/dts/ |
D | phandles.rst | 357 - :c:macro:`DT_GPIO_PIN_BY_IDX`
|
D | api-usage.rst | 320 :c:macro:`DT_GPIO_PIN_BY_IDX`, :c:macro:`DT_GPIO_PIN`,
|
/Zephyr-latest/tests/lib/devicetree/api/src/ |
D | main.c | 1153 zassert_equal(DT_GPIO_PIN_BY_IDX(TEST_PH, gpios, 0), 10, ""); in ZTEST() 1154 zassert_equal(DT_GPIO_PIN_BY_IDX(TEST_PH, gpios, 1), 30, ""); in ZTEST() 1923 #define PIN_COMMA(node_id, prop, idx) DT_GPIO_PIN_BY_IDX(node_id, prop, idx), in ZTEST()
|