Lines Matching defs:test
197 * ef4_fill_test - fill in an individual self-test entry
198 * @test_index: Index of the test
200 * @data: Ethtool test results, or %NULL
201 * @test: Pointer to test result (used only if data != %NULL)
207 * Fill in an individual self-test entry.
210 int *test, const char *unit_format, int unit_id,
217 data[test_index] = *test;
240 * ef4_fill_loopback_test - fill in a block of loopback self-test entries
242 * @lb_tests: Efx loopback self-test results structure
243 * @mode: Loopback test mode
244 * @test_index: Starting index of the test
246 * @data: Ethtool test results, or %NULL
248 * Fill in a block of loopback self-test entries. Return new test
284 * ef4_ethtool_fill_self_tests - get self-test details
286 * @tests: Efx self-test results structure, or %NULL
288 * @data: Ethtool test results, or %NULL
290 * Get self-test number of strings, strings, and/or test results.
291 * Return number of strings (== number of test results).
495 struct ethtool_test *test, u64 *data)
512 (test->flags & ETH_TEST_FL_OFFLINE) ? "off" : "on");
525 rc = ef4_selftest(efx, ef4_tests, test->flags);
532 (test->flags & ETH_TEST_FL_OFFLINE) ? "off" : "on");
539 test->flags |= ETH_TEST_FL_FAILED;