Lines Matching full:strings

199  * @strings:		Ethtool strings, or %NULL
209 static void ef4_fill_test(unsigned int test_index, u8 *strings, u64 *data, in ef4_fill_test() argument
220 if (strings) { in ef4_fill_test()
227 snprintf(strings + test_index * ETH_GSTRING_LEN, in ef4_fill_test()
245 * @strings: Ethtool strings, or %NULL
255 u8 *strings, u64 *data) in ef4_fill_loopback_test() argument
262 ef4_fill_test(test_index++, strings, data, in ef4_fill_loopback_test()
266 ef4_fill_test(test_index++, strings, data, in ef4_fill_loopback_test()
271 ef4_fill_test(test_index++, strings, data, in ef4_fill_loopback_test()
275 ef4_fill_test(test_index++, strings, data, in ef4_fill_loopback_test()
287 * @strings: Ethtool strings, or %NULL
290 * Get self-test number of strings, strings, and/or test results.
291 * Return number of strings (== number of test results).
298 u8 *strings, u64 *data) in ef4_ethtool_fill_self_tests() argument
304 ef4_fill_test(n++, strings, data, &tests->phy_alive, in ef4_ethtool_fill_self_tests()
306 ef4_fill_test(n++, strings, data, &tests->nvram, in ef4_ethtool_fill_self_tests()
308 ef4_fill_test(n++, strings, data, &tests->interrupt, in ef4_ethtool_fill_self_tests()
313 ef4_fill_test(n++, strings, data, in ef4_ethtool_fill_self_tests()
317 ef4_fill_test(n++, strings, data, in ef4_ethtool_fill_self_tests()
323 ef4_fill_test(n++, strings, data, &tests->memory, in ef4_ethtool_fill_self_tests()
325 ef4_fill_test(n++, strings, data, &tests->registers, in ef4_ethtool_fill_self_tests()
339 ef4_fill_test(n++, strings, data, &tests->phy_ext[i], in ef4_ethtool_fill_self_tests()
350 strings, data); in ef4_ethtool_fill_self_tests()
356 static size_t ef4_describe_per_queue_stats(struct ef4_nic *efx, u8 **strings) in ef4_describe_per_queue_stats() argument
364 if (!strings) in ef4_describe_per_queue_stats()
367 ethtool_sprintf(strings, "tx-%u.tx_packets", in ef4_describe_per_queue_stats()
375 if (!strings) in ef4_describe_per_queue_stats()
378 ethtool_sprintf(strings, "rx-%d.rx_packets", in ef4_describe_per_queue_stats()
403 u32 string_set, u8 *strings) in ef4_ethtool_get_strings() argument
410 efx->type->describe_stats(efx, &strings); in ef4_ethtool_get_strings()
412 ethtool_puts(&strings, ef4_sw_stat_desc[i].name); in ef4_ethtool_get_strings()
413 ef4_describe_per_queue_stats(efx, &strings); in ef4_ethtool_get_strings()
416 ef4_ethtool_fill_self_tests(efx, NULL, strings, NULL); in ef4_ethtool_get_strings()