Home
last modified time | relevance | path

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

/openbmc/u-boot/test/dm/
H A Dtest-driver.c20 static int testdrv_ping(struct udevice *dev, int pingval, int *pingret) in testdrv_ping() argument
25 *pingret = pingval + pdata->ping_add; in testdrv_ping()
26 priv->ping_total += *pingret; in testdrv_ping()
96 static int test_manual_drv_ping(struct udevice *dev, int pingval, int *pingret) in test_manual_drv_ping() argument
98 *pingret = pingval + 2; in test_manual_drv_ping()
H A Dcore.c288 int pingret; in dm_test_lifecycle() local
320 ut_assertok(test_ping(dev, 100, &pingret)); in dm_test_lifecycle()
321 ut_assert(pingret == 102); in dm_test_lifecycle()
343 int pingret; in dm_test_ordering() local
373 ut_assertok(test_ping(dev, 100, &pingret)); in dm_test_ordering()
374 ut_assert(pingret == 102); in dm_test_ordering()
399 int pingret; in dm_check_operations() local
402 ut_assertok(testfdt_ping(dev, 10, &pingret)); in dm_check_operations()
407 ut_asserteq(expected, pingret); in dm_check_operations()
410 ut_assertok(testfdt_ping(dev, 20, &pingret)); in dm_check_operations()
[all …]
H A Dtest-uclass.c20 int test_ping(struct udevice *dev, int pingval, int *pingret) in test_ping() argument
27 return ops->ping(dev, pingval, pingret); in test_ping()
H A Dtest-fdt.c23 static int testfdt_drv_ping(struct udevice *dev, int pingval, int *pingret) in testfdt_drv_ping() argument
28 *pingret = pingval + pdata->ping_add; in testfdt_drv_ping()
29 priv->ping_total += *pingret; in testfdt_drv_ping()
110 int testfdt_ping(struct udevice *dev, int pingval, int *pingret) in testfdt_ping() argument
117 return ops->ping(dev, pingval, pingret); in testfdt_ping()
/openbmc/u-boot/include/dm/
H A Dtest.h33 int (*ping)(struct udevice *dev, int pingval, int *pingret);
171 int test_ping(struct udevice *dev, int pingval, int *pingret);
172 int testfdt_ping(struct udevice *dev, int pingval, int *pingret);