Searched refs:bc12_dev (Results 1 – 2 of 2) sorted by relevance
/Zephyr-Core-3.5.0/tests/drivers/bc12/src/ |
D | charging_mode.c | 26 const struct device *bc12_dev; member 55 bc12_set_role(fixture->bc12_dev, BC12_CHARGING_PORT); in ZTEST_USER_F() 76 bc12_set_result_cb(fixture->bc12_dev, &bc12_test_result_cb, fixture); in bc12_before() 83 bc12_set_result_cb(fixture->bc12_dev, NULL, NULL); in bc12_after() 84 bc12_set_role(fixture->bc12_dev, BC12_DISCONNECTED); in bc12_after() 90 .bc12_dev = DEVICE_DT_GET(DT_ALIAS(bc12)), in bc12_setup() 94 zassert_not_null(fixture.bc12_dev); in bc12_setup() 96 zassert_true(device_is_ready(fixture.bc12_dev)); in bc12_setup()
|
D | pd_mode.c | 26 const struct device *bc12_dev; member 62 bc12_set_role(fixture->bc12_dev, BC12_PORTABLE_DEVICE); in ZTEST_USER_F() 76 bc12_set_role(fixture->bc12_dev, BC12_PORTABLE_DEVICE); in ZTEST_USER_F() 98 bc12_set_role(fixture->bc12_dev, BC12_DISCONNECTED); in ZTEST_USER_F() 113 bc12_set_role(fixture->bc12_dev, BC12_PORTABLE_DEVICE); in ZTEST_USER_F() 128 bc12_set_role(fixture->bc12_dev, BC12_DISCONNECTED); in ZTEST_USER_F() 144 bc12_set_role(fixture->bc12_dev, BC12_PORTABLE_DEVICE); in ZTEST_USER_F() 159 bc12_set_role(fixture->bc12_dev, BC12_PORTABLE_DEVICE); in ZTEST_USER_F() 179 bc12_set_result_cb(fixture->bc12_dev, &bc12_test_result_cb, fixture); in bc12_before() 186 bc12_set_result_cb(fixture->bc12_dev, NULL, NULL); in bc12_after() [all …]
|