Lines Matching refs:expected
359 u8 expected; in simple_check_buf() local
372 expected = 0; in simple_check_buf()
380 expected = (i % maxpacket) % 63; in simple_check_buf()
384 expected = !*buf; in simple_check_buf()
387 if (*buf == expected) in simple_check_buf()
389 ERROR(tdev, "buf[%d] = %d (not %d)\n", i, *buf, expected); in simple_check_buf()
415 int expected, in simple_io() argument
463 if (expected != retval) in simple_io()
466 label, iterations, retval, expected); in simple_io()
816 int expected = udev->actconfig->desc.bConfigurationValue; in ch9_postconfig() local
826 if (retval != 1 || dev->buf[0] != expected) { in ch9_postconfig()
828 retval, dev->buf[0], expected); in ch9_postconfig()
1031 int expected; member
1065 if (status == subcase->expected) in ctrl_complete()
1072 if (subcase->expected > 0 && ( in ctrl_complete()
1073 ((status == -subcase->expected /* happened */ in ctrl_complete()
1184 int expected = 0; in test_ctrl_queue() local
1208 expected = EPIPE; in test_ctrl_queue()
1225 expected = EPIPE; in test_ctrl_queue()
1236 expected = -EPIPE; in test_ctrl_queue()
1247 expected = EPIPE; in test_ctrl_queue()
1258 expected = -EREMOTEIO; in test_ctrl_queue()
1265 expected = EPIPE; in test_ctrl_queue()
1273 expected = EREMOTEIO; /* or EPIPE, if no strings */ in test_ctrl_queue()
1282 expected = -EREMOTEIO; in test_ctrl_queue()
1298 expected = -EREMOTEIO; in test_ctrl_queue()
1307 expected = -EPIPE; in test_ctrl_queue()
1324 reqp->expected = expected; in test_ctrl_queue()