Lines Matching refs:expected
372 u8 expected; in simple_check_buf() local
385 expected = 0; in simple_check_buf()
393 expected = (i % maxpacket) % 63; in simple_check_buf()
397 expected = !*buf; in simple_check_buf()
400 if (*buf == expected) in simple_check_buf()
402 ERROR(tdev, "buf[%d] = %d (not %d)\n", i, *buf, expected); in simple_check_buf()
428 int expected, in simple_io() argument
476 if (expected != retval) in simple_io()
479 label, iterations, retval, expected); in simple_io()
829 int expected = udev->actconfig->desc.bConfigurationValue; in ch9_postconfig() local
839 if (retval != 1 || dev->buf[0] != expected) { in ch9_postconfig()
841 retval, dev->buf[0], expected); in ch9_postconfig()
1044 int expected; member
1078 if (status == subcase->expected) in ctrl_complete()
1085 if (subcase->expected > 0 && ( in ctrl_complete()
1086 ((status == -subcase->expected /* happened */ in ctrl_complete()
1197 int expected = 0; in test_ctrl_queue() local
1221 expected = EPIPE; in test_ctrl_queue()
1238 expected = EPIPE; in test_ctrl_queue()
1249 expected = -EPIPE; in test_ctrl_queue()
1260 expected = EPIPE; in test_ctrl_queue()
1271 expected = -EREMOTEIO; in test_ctrl_queue()
1278 expected = EPIPE; in test_ctrl_queue()
1286 expected = EREMOTEIO; /* or EPIPE, if no strings */ in test_ctrl_queue()
1295 expected = -EREMOTEIO; in test_ctrl_queue()
1311 expected = -EREMOTEIO; in test_ctrl_queue()
1320 expected = -EPIPE; in test_ctrl_queue()
1337 reqp->expected = expected; in test_ctrl_queue()