Lines Matching refs:strings

248  * @strings:		Ethtool strings, or %NULL
258 static void efx_fill_test(unsigned int test_index, u8 *strings, u64 *data,
269 if (strings) {
276 snprintf(strings + test_index * ETH_GSTRING_LEN,
293 * @strings: Ethtool strings, or %NULL
303 u8 *strings, u64 *data)
310 efx_fill_test(test_index++, strings, data,
314 efx_fill_test(test_index++, strings, data,
319 efx_fill_test(test_index++, strings, data,
323 efx_fill_test(test_index++, strings, data,
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)
352 efx_fill_test(n++, strings, data, &tests->phy_alive,
354 efx_fill_test(n++, strings, data, &tests->nvram,
356 efx_fill_test(n++, strings, data, &tests->interrupt,
361 efx_fill_test(n++, strings, data,
365 efx_fill_test(n++, strings, data,
371 efx_fill_test(n++, strings, data, &tests->memory,
373 efx_fill_test(n++, strings, data, &tests->registers,
384 efx_fill_test(n++, strings, data, &tests->phy_ext[i], "phy", 0, name, NULL);
393 strings, data);
399 static size_t efx_describe_per_queue_stats(struct efx_nic *efx, u8 *strings)
407 if (strings != NULL) {
408 snprintf(strings, ETH_GSTRING_LEN,
413 strings += ETH_GSTRING_LEN;
420 if (strings != NULL) {
421 snprintf(strings, ETH_GSTRING_LEN,
423 strings += ETH_GSTRING_LEN;
432 if (strings) {
433 snprintf(strings, ETH_GSTRING_LEN,
435 strings += ETH_GSTRING_LEN;
461 u32 string_set, u8 *strings)
468 strings += (efx->type->describe_stats(efx, strings) *
471 strscpy(strings + i * ETH_GSTRING_LEN,
473 strings += EFX_ETHTOOL_SW_STAT_COUNT * ETH_GSTRING_LEN;
474 strings += (efx_describe_per_queue_stats(efx, strings) *
476 efx_ptp_describe_stats(efx, strings);
479 efx_ethtool_fill_self_tests(efx, NULL, strings, NULL);