Home
last modified time | relevance | path

Searched refs:DT_INST_GPIO_PIN_BY_IDX (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/drivers/mipi_dbi/
Dmipi_dbi_bitbang.c285 #define LUT_GEN(i, n) (((i & (1 << 0)) ? (1 << DT_INST_GPIO_PIN_BY_IDX(n, data_gpios, 0)) : 0) | \
286 ((i & (1 << 1)) ? (1 << DT_INST_GPIO_PIN_BY_IDX(n, data_gpios, 1)) : 0) | \
287 ((i & (1 << 2)) ? (1 << DT_INST_GPIO_PIN_BY_IDX(n, data_gpios, 2)) : 0) | \
288 ((i & (1 << 3)) ? (1 << DT_INST_GPIO_PIN_BY_IDX(n, data_gpios, 3)) : 0) | \
289 ((i & (1 << 4)) ? (1 << DT_INST_GPIO_PIN_BY_IDX(n, data_gpios, 4)) : 0) | \
290 ((i & (1 << 5)) ? (1 << DT_INST_GPIO_PIN_BY_IDX(n, data_gpios, 5)) : 0) | \
291 ((i & (1 << 6)) ? (1 << DT_INST_GPIO_PIN_BY_IDX(n, data_gpios, 6)) : 0) | \
292 ((i & (1 << 7)) ? (1 << DT_INST_GPIO_PIN_BY_IDX(n, data_gpios, 7)) : 0))
301 .data_mask = ((1 << DT_INST_GPIO_PIN_BY_IDX(n, data_gpios, 0)) | \
302 (1 << DT_INST_GPIO_PIN_BY_IDX(n, data_gpios, 1)) | \
[all …]
/Zephyr-latest/include/zephyr/devicetree/
Dgpio.h321 #define DT_INST_GPIO_PIN_BY_IDX(inst, gpio_pha, idx) \ macro
333 DT_INST_GPIO_PIN_BY_IDX(inst, gpio_pha, 0)
/Zephyr-latest/tests/lib/devicetree/api/src/
Dmain.c1187 zassert_equal(DT_INST_GPIO_PIN_BY_IDX(0, gpios, 0), 10, ""); in ZTEST()
1188 zassert_equal(DT_INST_GPIO_PIN_BY_IDX(0, gpios, 1), 30, ""); in ZTEST()