Lines Matching full:strings
199 * @strings: Ethtool strings, or %NULL
209 static void efx_fill_test(unsigned int test_index, u8 *strings, u64 *data, in efx_fill_test() argument
220 if (strings) { in efx_fill_test()
227 snprintf(strings + test_index * ETH_GSTRING_LEN, in efx_fill_test()
244 * @strings: Ethtool strings, or %NULL
254 u8 *strings, u64 *data) in efx_fill_loopback_test() argument
261 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test()
265 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test()
270 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test()
274 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test()
286 * @strings: Ethtool strings, or %NULL
289 * Get self-test number of strings, strings, and/or test results.
290 * Return number of strings (== number of test results).
297 u8 *strings, u64 *data) in efx_ethtool_fill_self_tests() argument
303 efx_fill_test(n++, strings, data, &tests->phy_alive, in efx_ethtool_fill_self_tests()
305 efx_fill_test(n++, strings, data, &tests->nvram, in efx_ethtool_fill_self_tests()
307 efx_fill_test(n++, strings, data, &tests->interrupt, in efx_ethtool_fill_self_tests()
312 efx_fill_test(n++, strings, data, in efx_ethtool_fill_self_tests()
316 efx_fill_test(n++, strings, data, in efx_ethtool_fill_self_tests()
322 efx_fill_test(n++, strings, data, &tests->memory, in efx_ethtool_fill_self_tests()
324 efx_fill_test(n++, strings, data, &tests->registers, in efx_ethtool_fill_self_tests()
335 efx_fill_test(n++, strings, data, &tests->phy_ext[i], "phy", 0, name, NULL); in efx_ethtool_fill_self_tests()
344 strings, data); in efx_ethtool_fill_self_tests()
398 static size_t efx_describe_per_queue_stats(struct efx_nic *efx, u8 *strings) in efx_describe_per_queue_stats() argument
406 if (strings != NULL) { in efx_describe_per_queue_stats()
407 snprintf(strings, ETH_GSTRING_LEN, in efx_describe_per_queue_stats()
412 strings += ETH_GSTRING_LEN; in efx_describe_per_queue_stats()
419 if (strings != NULL) { in efx_describe_per_queue_stats()
420 snprintf(strings, ETH_GSTRING_LEN, in efx_describe_per_queue_stats()
422 strings += ETH_GSTRING_LEN; in efx_describe_per_queue_stats()
431 if (strings) { in efx_describe_per_queue_stats()
432 snprintf(strings, ETH_GSTRING_LEN, in efx_describe_per_queue_stats()
434 strings += ETH_GSTRING_LEN; in efx_describe_per_queue_stats()
460 u32 string_set, u8 *strings) in efx_siena_ethtool_get_strings() argument
467 strings += (efx->type->describe_stats(efx, strings) * in efx_siena_ethtool_get_strings()
470 strscpy(strings + i * ETH_GSTRING_LEN, in efx_siena_ethtool_get_strings()
472 strings += EFX_ETHTOOL_SW_STAT_COUNT * ETH_GSTRING_LEN; in efx_siena_ethtool_get_strings()
473 strings += (efx_describe_per_queue_stats(efx, strings) * in efx_siena_ethtool_get_strings()
475 efx_siena_ptp_describe_stats(efx, strings); in efx_siena_ethtool_get_strings()
478 efx_ethtool_fill_self_tests(efx, NULL, strings, NULL); in efx_siena_ethtool_get_strings()