Lines Matching defs:test
129 struct ethtool_test *test, u64 *data)
146 (test->flags & ETH_TEST_FL_OFFLINE) ? "off" : "on");
159 rc = efx_selftest(efx, efx_tests, test->flags);
166 (test->flags & ETH_TEST_FL_OFFLINE) ? "off" : "on");
173 test->flags |= ETH_TEST_FL_FAILED;
245 * efx_fill_test - fill in an individual self-test entry
246 * @test_index: Index of the test
248 * @data: Ethtool test results, or %NULL
249 * @test: Pointer to test result (used only if data != %NULL)
255 * Fill in an individual self-test entry.
258 int *test, const char *unit_format, int unit_id,
265 data[test_index] = *test;
287 * efx_fill_loopback_test - fill in a block of loopback self-test entries
289 * @lb_tests: Efx loopback self-test results structure
290 * @mode: Loopback test mode
291 * @test_index: Starting index of the test
293 * @data: Ethtool test results, or %NULL
295 * Fill in a block of loopback self-test entries. Return new test
331 * efx_ethtool_fill_self_tests - get self-test details
333 * @tests: Efx self-test results structure, or %NULL
335 * @data: Ethtool test results, or %NULL
337 * Get self-test number of strings, strings, and/or test results.
338 * Return number of strings (== number of test results).