Lines Matching refs:strings

227 static void efx_fill_test(unsigned int test_index, u8 *strings, u64 *data,  in efx_fill_test()  argument
238 if (strings) { in efx_fill_test()
245 snprintf(strings + test_index * ETH_GSTRING_LEN, in efx_fill_test()
273 u8 *strings, u64 *data) in efx_fill_loopback_test() argument
280 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test()
284 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test()
289 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test()
293 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test()
316 u8 *strings, u64 *data) in efx_ethtool_fill_self_tests() argument
322 efx_fill_test(n++, strings, data, &tests->phy_alive, in efx_ethtool_fill_self_tests()
324 efx_fill_test(n++, strings, data, &tests->nvram, in efx_ethtool_fill_self_tests()
326 efx_fill_test(n++, strings, data, &tests->interrupt, in efx_ethtool_fill_self_tests()
331 efx_fill_test(n++, strings, data, in efx_ethtool_fill_self_tests()
335 efx_fill_test(n++, strings, data, in efx_ethtool_fill_self_tests()
341 efx_fill_test(n++, strings, data, &tests->memory, in efx_ethtool_fill_self_tests()
343 efx_fill_test(n++, strings, data, &tests->registers, in efx_ethtool_fill_self_tests()
357 efx_fill_test(n++, strings, data, &tests->phy_ext[i], in efx_ethtool_fill_self_tests()
368 strings, data); in efx_ethtool_fill_self_tests()
374 static size_t efx_describe_per_queue_stats(struct efx_nic *efx, u8 *strings) in efx_describe_per_queue_stats() argument
382 if (strings != NULL) { in efx_describe_per_queue_stats()
383 snprintf(strings, ETH_GSTRING_LEN, in efx_describe_per_queue_stats()
388 strings += ETH_GSTRING_LEN; in efx_describe_per_queue_stats()
395 if (strings != NULL) { in efx_describe_per_queue_stats()
396 snprintf(strings, ETH_GSTRING_LEN, in efx_describe_per_queue_stats()
398 strings += ETH_GSTRING_LEN; in efx_describe_per_queue_stats()
424 u32 string_set, u8 *strings) in efx_ethtool_get_strings() argument
431 strings += (efx->type->describe_stats(efx, strings) * in efx_ethtool_get_strings()
434 strlcpy(strings + i * ETH_GSTRING_LEN, in efx_ethtool_get_strings()
436 strings += EFX_ETHTOOL_SW_STAT_COUNT * ETH_GSTRING_LEN; in efx_ethtool_get_strings()
437 strings += (efx_describe_per_queue_stats(efx, strings) * in efx_ethtool_get_strings()
439 efx_ptp_describe_stats(efx, strings); in efx_ethtool_get_strings()
442 efx_ethtool_fill_self_tests(efx, NULL, strings, NULL); in efx_ethtool_get_strings()