Lines Matching refs:expected
403 u8 expected; in simple_check_buf() local
416 expected = 0; in simple_check_buf()
424 expected = (i % maxpacket) % 63; in simple_check_buf()
428 expected = !*buf; in simple_check_buf()
431 if (*buf == expected) in simple_check_buf()
433 ERROR(tdev, "buf[%d] = %d (not %d)\n", i, *buf, expected); in simple_check_buf()
459 int expected, in simple_io() argument
507 if (expected != retval) in simple_io()
510 label, iterations, retval, expected); in simple_io()
869 int expected = udev->actconfig->desc.bConfigurationValue; in ch9_postconfig() local
879 if (retval != 1 || dev->buf[0] != expected) { in ch9_postconfig()
881 retval, dev->buf[0], expected); in ch9_postconfig()
1084 int expected; member
1119 if (status == subcase->expected) in ctrl_complete()
1126 if (subcase->expected > 0 && ( in ctrl_complete()
1127 ((status == -subcase->expected /* happened */ in ctrl_complete()
1238 int expected = 0; in test_ctrl_queue() local
1262 expected = EPIPE; in test_ctrl_queue()
1279 expected = EPIPE; in test_ctrl_queue()
1290 expected = -EPIPE; in test_ctrl_queue()
1301 expected = EPIPE; in test_ctrl_queue()
1312 expected = -EREMOTEIO; in test_ctrl_queue()
1319 expected = EPIPE; in test_ctrl_queue()
1327 expected = EREMOTEIO; /* or EPIPE, if no strings */ in test_ctrl_queue()
1336 expected = -EREMOTEIO; in test_ctrl_queue()
1352 expected = -EREMOTEIO; in test_ctrl_queue()
1361 expected = -EPIPE; in test_ctrl_queue()
1378 reqp->expected = expected; in test_ctrl_queue()