Home
last modified time | relevance | path

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

/Zephyr-latest/tests/drivers/gpio/gpio_ite_it8xxx2_v2/src/
Dmain.c19 uint8_t gpdr; member
45 return (unsigned int *)&registers.gpdr; in fake_ecreg()
311 zexpect_equal(registers.gpdr, 0, "gpdr=%x", registers.gpdr); in ZTEST()
313 zexpect_equal(registers.gpdr, BIT(TEST_PIN), "gpdr=%x", registers.gpdr); in ZTEST()
315 zexpect_equal(registers.gpdr, 0, "gpdr=%x", registers.gpdr); in ZTEST()
317 zexpect_equal(registers.gpdr, BIT(TEST_PIN), "gpdr=%x", registers.gpdr); in ZTEST()
318 registers.gpdr = 0; in ZTEST()
320 zexpect_equal(registers.gpdr, BIT(TEST_PIN), "gpdr=%x", registers.gpdr); in ZTEST()
321 registers.gpdr = 255; in ZTEST()
323 zexpect_equal(registers.gpdr, (uint8_t)~BIT(TEST_PIN), "gpdr=%x", registers.gpdr); in ZTEST()
[all …]