Lines Matching refs:TEST_ABCD1234
18 #define TEST_ABCD1234 DT_PATH(test, gpio_abcd1234) macro
131 zassert_true(DT_SAME_NODE(TEST_ABCD1234, TEST_GPIO_2), ""); in ZTEST()
132 zassert_equal(DT_NUM_REGS(TEST_ABCD1234), 2, ""); in ZTEST()
133 zassert_equal(DT_PROP(TEST_ABCD1234, gpio_controller), 1, ""); in ZTEST()
134 zassert_equal(DT_PROP(TEST_ABCD1234, ngpios), 200, ""); in ZTEST()
135 zassert_true(!strcmp(DT_PROP(TEST_ABCD1234, status), "okay"), ""); in ZTEST()
136 zassert_equal(DT_PROP_LEN(TEST_ABCD1234, compatible), 1, ""); in ZTEST()
137 zassert_equal(DT_PROP_LEN_OR(TEST_ABCD1234, compatible, 4), 1, ""); in ZTEST()
138 zassert_equal(DT_PROP_LEN_OR(TEST_ABCD1234, invalid_property, 0), 0, ""); in ZTEST()
139 zassert_true(!strcmp(DT_PROP_BY_IDX(TEST_ABCD1234, compatible, 0), in ZTEST()
606 zassert_true(DT_REG_HAS_IDX(TEST_ABCD1234, 0), ""); in ZTEST()
607 zassert_true(DT_REG_HAS_IDX(TEST_ABCD1234, 1), ""); in ZTEST()
608 zassert_false(DT_REG_HAS_IDX(TEST_ABCD1234, 2), ""); in ZTEST()
611 zassert_true(DT_REG_HAS_NAME(TEST_ABCD1234, one), ""); in ZTEST()
612 zassert_true(DT_REG_HAS_NAME(TEST_ABCD1234, two), ""); in ZTEST()
613 zassert_false(DT_REG_HAS_NAME(TEST_ABCD1234, three), ""); in ZTEST()
616 zassert_equal(DT_REG_ADDR_BY_IDX(TEST_ABCD1234, 0), 0xabcd1234, ""); in ZTEST()
617 zassert_equal(DT_REG_ADDR_BY_IDX(TEST_ABCD1234, 1), 0x98765432, ""); in ZTEST()
620 zassert_equal(DT_REG_SIZE_BY_IDX(TEST_ABCD1234, 0), 0x500, ""); in ZTEST()
621 zassert_equal(DT_REG_SIZE_BY_IDX(TEST_ABCD1234, 1), 0xff, ""); in ZTEST()
624 zassert_equal(DT_REG_ADDR(TEST_ABCD1234), 0xabcd1234, ""); in ZTEST()
627 zassert_equal(DT_REG_ADDR_U64(TEST_ABCD1234), 0xabcd1234, ""); in ZTEST()
630 zassert_equal(DT_REG_SIZE(TEST_ABCD1234), 0x500, ""); in ZTEST()
633 zassert_equal(DT_REG_ADDR_BY_NAME(TEST_ABCD1234, one), 0xabcd1234, ""); in ZTEST()
634 zassert_equal(DT_REG_ADDR_BY_NAME(TEST_ABCD1234, two), 0x98765432, ""); in ZTEST()
637 zassert_equal(DT_REG_ADDR_BY_NAME_OR(TEST_ABCD1234, one, 0x10), 0xabcd1234, ""); in ZTEST()
638 zassert_equal(DT_REG_ADDR_BY_NAME_OR(TEST_ABCD1234, two, 0x11), 0x98765432, ""); in ZTEST()
639 zassert_equal(DT_REG_ADDR_BY_NAME_OR(TEST_ABCD1234, three, 0x12), 0x12, ""); in ZTEST()
642 zassert_equal(DT_REG_ADDR_BY_NAME_U64(TEST_ABCD1234, one), 0xabcd1234, ""); in ZTEST()
643 zassert_equal(DT_REG_ADDR_BY_NAME_U64(TEST_ABCD1234, two), 0x98765432, ""); in ZTEST()
646 zassert_equal(DT_REG_SIZE_BY_NAME(TEST_ABCD1234, one), 0x500, ""); in ZTEST()
647 zassert_equal(DT_REG_SIZE_BY_NAME(TEST_ABCD1234, two), 0xff, ""); in ZTEST()
650 zassert_equal(DT_REG_SIZE_BY_NAME_OR(TEST_ABCD1234, one, 0x10), 0x500, ""); in ZTEST()
651 zassert_equal(DT_REG_SIZE_BY_NAME_OR(TEST_ABCD1234, two, 0x11), 0xff, ""); in ZTEST()
652 zassert_equal(DT_REG_SIZE_BY_NAME_OR(TEST_ABCD1234, three, 0x12), 0x12, ""); in ZTEST()
2082 dev_abcd = DEVICE_DT_GET(TEST_ABCD1234); in ZTEST()
2926 zassert_false(DT_SAME_NODE(TEST_DEADBEEF, TEST_ABCD1234), ""); in ZTEST()