Lines Matching defs:test
130 struct ethtool_test *test, u64 *data)
147 (test->flags & ETH_TEST_FL_OFFLINE) ? "off" : "on");
160 rc = efx_selftest(efx, efx_tests, test->flags);
167 (test->flags & ETH_TEST_FL_OFFLINE) ? "off" : "on");
174 test->flags |= ETH_TEST_FL_FAILED;
246 * efx_fill_test - fill in an individual self-test entry
247 * @test_index: Index of the test
249 * @data: Ethtool test results, or %NULL
250 * @test: Pointer to test result (used only if data != %NULL)
256 * Fill in an individual self-test entry.
259 int *test, const char *unit_format, int unit_id,
266 data[test_index] = *test;
288 * efx_fill_loopback_test - fill in a block of loopback self-test entries
290 * @lb_tests: Efx loopback self-test results structure
291 * @mode: Loopback test mode
292 * @test_index: Starting index of the test
294 * @data: Ethtool test results, or %NULL
296 * Fill in a block of loopback self-test entries. Return new test
332 * efx_ethtool_fill_self_tests - get self-test details
334 * @tests: Efx self-test results structure, or %NULL
336 * @data: Ethtool test results, or %NULL
338 * Get self-test number of strings, strings, and/or test results.
339 * Return number of strings (== number of test results).