Lines Matching refs:strings
230 static void efx_fill_test(unsigned int test_index, u8 *strings, u64 *data, in efx_fill_test() argument
241 if (strings) { in efx_fill_test()
248 snprintf(strings + test_index * ETH_GSTRING_LEN, in efx_fill_test()
276 u8 *strings, u64 *data) in efx_fill_loopback_test() argument
283 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test()
287 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test()
292 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test()
296 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test()
319 u8 *strings, u64 *data) in efx_ethtool_fill_self_tests() argument
325 efx_fill_test(n++, strings, data, &tests->phy_alive, in efx_ethtool_fill_self_tests()
327 efx_fill_test(n++, strings, data, &tests->nvram, in efx_ethtool_fill_self_tests()
329 efx_fill_test(n++, strings, data, &tests->interrupt, in efx_ethtool_fill_self_tests()
334 efx_fill_test(n++, strings, data, in efx_ethtool_fill_self_tests()
338 efx_fill_test(n++, strings, data, in efx_ethtool_fill_self_tests()
344 efx_fill_test(n++, strings, data, &tests->memory, in efx_ethtool_fill_self_tests()
346 efx_fill_test(n++, strings, data, &tests->registers, in efx_ethtool_fill_self_tests()
360 efx_fill_test(n++, strings, data, &tests->phy_ext[i], in efx_ethtool_fill_self_tests()
371 strings, data); in efx_ethtool_fill_self_tests()
377 static size_t efx_describe_per_queue_stats(struct efx_nic *efx, u8 *strings) in efx_describe_per_queue_stats() argument
385 if (strings != NULL) { in efx_describe_per_queue_stats()
386 snprintf(strings, ETH_GSTRING_LEN, in efx_describe_per_queue_stats()
391 strings += ETH_GSTRING_LEN; in efx_describe_per_queue_stats()
398 if (strings != NULL) { in efx_describe_per_queue_stats()
399 snprintf(strings, ETH_GSTRING_LEN, in efx_describe_per_queue_stats()
401 strings += ETH_GSTRING_LEN; in efx_describe_per_queue_stats()
427 u32 string_set, u8 *strings) in efx_ethtool_get_strings() argument
434 strings += (efx->type->describe_stats(efx, strings) * in efx_ethtool_get_strings()
437 strlcpy(strings + i * ETH_GSTRING_LEN, in efx_ethtool_get_strings()
439 strings += EFX_ETHTOOL_SW_STAT_COUNT * ETH_GSTRING_LEN; in efx_ethtool_get_strings()
440 strings += (efx_describe_per_queue_stats(efx, strings) * in efx_ethtool_get_strings()
442 efx_ptp_describe_stats(efx, strings); in efx_ethtool_get_strings()
445 efx_ethtool_fill_self_tests(efx, NULL, strings, NULL); in efx_ethtool_get_strings()