Lines Matching full:strings

248  * @strings:		Ethtool strings, or %NULL
258 static void efx_fill_test(unsigned int test_index, u8 *strings, u64 *data, in efx_fill_test() argument
269 if (strings) { in efx_fill_test()
276 snprintf(strings + test_index * ETH_GSTRING_LEN, in efx_fill_test()
293 * @strings: Ethtool strings, or %NULL
303 u8 *strings, u64 *data) in efx_fill_loopback_test() argument
310 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test()
314 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test()
319 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test()
323 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test()
335 * @strings: Ethtool strings, or %NULL
338 * Get self-test number of strings, strings, and/or test results.
339 * Return number of strings (== number of test results).
346 u8 *strings, u64 *data) in efx_ethtool_fill_self_tests() argument
352 efx_fill_test(n++, strings, data, &tests->phy_alive, in efx_ethtool_fill_self_tests()
354 efx_fill_test(n++, strings, data, &tests->nvram, in efx_ethtool_fill_self_tests()
356 efx_fill_test(n++, strings, data, &tests->interrupt, in efx_ethtool_fill_self_tests()
361 efx_fill_test(n++, strings, data, in efx_ethtool_fill_self_tests()
365 efx_fill_test(n++, strings, data, in efx_ethtool_fill_self_tests()
371 efx_fill_test(n++, strings, data, &tests->memory, in efx_ethtool_fill_self_tests()
373 efx_fill_test(n++, strings, data, &tests->registers, in efx_ethtool_fill_self_tests()
384 efx_fill_test(n++, strings, data, &tests->phy_ext[i], "phy", 0, name, NULL); in efx_ethtool_fill_self_tests()
393 strings, data); in efx_ethtool_fill_self_tests()
399 static size_t efx_describe_per_queue_stats(struct efx_nic *efx, u8 *strings) in efx_describe_per_queue_stats() argument
407 if (strings != NULL) { in efx_describe_per_queue_stats()
408 snprintf(strings, ETH_GSTRING_LEN, in efx_describe_per_queue_stats()
413 strings += ETH_GSTRING_LEN; in efx_describe_per_queue_stats()
420 if (strings != NULL) { in efx_describe_per_queue_stats()
421 snprintf(strings, ETH_GSTRING_LEN, in efx_describe_per_queue_stats()
423 strings += ETH_GSTRING_LEN; in efx_describe_per_queue_stats()
432 if (strings) { in efx_describe_per_queue_stats()
433 snprintf(strings, ETH_GSTRING_LEN, in efx_describe_per_queue_stats()
435 strings += ETH_GSTRING_LEN; in efx_describe_per_queue_stats()
461 u32 string_set, u8 *strings) in efx_ethtool_get_strings() argument
468 strings += (efx->type->describe_stats(efx, strings) * in efx_ethtool_get_strings()
471 strscpy(strings + i * ETH_GSTRING_LEN, in efx_ethtool_get_strings()
473 strings += EFX_ETHTOOL_SW_STAT_COUNT * ETH_GSTRING_LEN; in efx_ethtool_get_strings()
474 strings += (efx_describe_per_queue_stats(efx, strings) * in efx_ethtool_get_strings()
476 efx_ptp_describe_stats(efx, strings); in efx_ethtool_get_strings()
479 efx_ethtool_fill_self_tests(efx, NULL, strings, NULL); in efx_ethtool_get_strings()