Home
last modified time | relevance | path

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

/u-boot/test/dm/
A Dtest-driver.c23 static int testdrv_ping(struct udevice *dev, int pingval, int *pingret) in testdrv_ping() argument
28 *pingret = pingval + pdata->ping_add; in testdrv_ping()
29 priv->ping_total += *pingret; in testdrv_ping()
99 static int test_manual_drv_ping(struct udevice *dev, int pingval, int *pingret) in test_manual_drv_ping() argument
101 *pingret = pingval + 2; in test_manual_drv_ping()
A Dtest-uclass.c22 int test_ping(struct udevice *dev, int pingval, int *pingret) in test_ping() argument
29 return ops->ping(dev, pingval, pingret); in test_ping()
A Dcore.c299 int pingret; in dm_test_lifecycle() local
331 ut_assertok(test_ping(dev, 100, &pingret)); in dm_test_lifecycle()
332 ut_assert(pingret == 102); in dm_test_lifecycle()
354 int pingret; in dm_test_ordering() local
384 ut_assertok(test_ping(dev, 100, &pingret)); in dm_test_ordering()
385 ut_assert(pingret == 102); in dm_test_ordering()
410 int pingret; in dm_check_operations() local
413 ut_assertok(testfdt_ping(dev, 10, &pingret)); in dm_check_operations()
418 ut_asserteq(expected, pingret); in dm_check_operations()
421 ut_assertok(testfdt_ping(dev, 20, &pingret)); in dm_check_operations()
[all …]
/u-boot/include/dm/
A Dtest.h32 int (*ping)(struct udevice *dev, int pingval, int *pingret);
191 int test_ping(struct udevice *dev, int pingval, int *pingret);
192 int testfdt_ping(struct udevice *dev, int pingval, int *pingret);
/u-boot/drivers/misc/
A Dtest_drv.c111 static int testfdt_drv_ping(struct udevice *dev, int pingval, int *pingret) in testfdt_drv_ping() argument
116 *pingret = pingval + pdata->ping_add; in testfdt_drv_ping()
117 priv->ping_total += *pingret; in testfdt_drv_ping()
192 int testfdt_ping(struct udevice *dev, int pingval, int *pingret) in testfdt_ping() argument
199 return ops->ping(dev, pingval, pingret); in testfdt_ping()

Completed in 7 milliseconds