Searched refs:TEST_GET_PIN (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/tests/drivers/pinctrl/api/src/ |
D | main.c | 48 zassert_equal(TEST_GET_PIN(scfg->pins[0]), 0); in ZTEST() 50 zassert_equal(TEST_GET_PIN(scfg->pins[1]), 1); in ZTEST() 73 zassert_equal(TEST_GET_PIN(scfg->pins[0]), 10); in ZTEST() 75 zassert_equal(TEST_GET_PIN(scfg->pins[1]), 11); in ZTEST() 77 zassert_equal(TEST_GET_PIN(scfg->pins[2]), 12); in ZTEST() 83 zassert_equal(TEST_GET_PIN(scfg->pins[0]), 10); in ZTEST() 85 zassert_equal(TEST_GET_PIN(scfg->pins[1]), 11); in ZTEST() 87 zassert_equal(TEST_GET_PIN(scfg->pins[2]), 12); in ZTEST() 152 zassert_equal(TEST_GET_PIN(scfg->pins[0]), 2); in ZTEST() 154 zassert_equal(TEST_GET_PIN(scfg->pins[1]), 3); in ZTEST()
|
D | pinctrl_soc.h | 64 #define TEST_GET_PIN(pincfg) (((pincfg) >> TEST_PIN_POS) & TEST_PIN_MSK) macro
|