Lines Matching refs:data
129 struct ethtool_test *test, u64 *data)
169 efx_ethtool_fill_self_tests(efx, efx_tests, NULL, data);
248 * @data: Ethtool test results, or %NULL
249 * @test: Pointer to test result (used only if data != %NULL)
257 static void efx_fill_test(unsigned int test_index, u8 *strings, u64 *data,
263 /* Fill data value, if applicable */
264 if (data)
265 data[test_index] = *test;
293 * @data: Ethtool test results, or %NULL
302 u8 *strings, u64 *data)
309 efx_fill_test(test_index++, strings, data,
313 efx_fill_test(test_index++, strings, data,
318 efx_fill_test(test_index++, strings, data,
322 efx_fill_test(test_index++, strings, data,
335 * @data: Ethtool test results, or %NULL
345 u8 *strings, u64 *data)
351 efx_fill_test(n++, strings, data, &tests->phy_alive,
353 efx_fill_test(n++, strings, data, &tests->nvram,
355 efx_fill_test(n++, strings, data, &tests->interrupt,
360 efx_fill_test(n++, strings, data,
364 efx_fill_test(n++, strings, data,
370 efx_fill_test(n++, strings, data, &tests->memory,
372 efx_fill_test(n++, strings, data, &tests->registers,
383 efx_fill_test(n++, strings, data, &tests->phy_ext[i], "phy", 0, name, NULL);
392 strings, data);
488 u64 *data)
500 data += efx->type->update_stats(efx, data, NULL);
507 data[i] = stat->get_stat((void *)efx + stat->offset);
510 data[i] = 0;
512 data[i] += stat->get_stat((void *)channel +
516 data[i] = 0;
519 data[i] +=
526 data += EFX_ETHTOOL_SW_STAT_COUNT;
532 *data = 0;
534 *data += tx_queue->tx_packets;
536 data++;
541 *data = 0;
543 *data += rx_queue->rx_packets;
545 data++;
552 data[0] = efx->xdp_tx_queues[xdp]->tx_packets;
553 data++;
557 efx_ptp_update_stats(efx, data);
818 info->data = efx->n_rx_channels;
823 __u64 data;
834 data = 0;
842 data = (RXH_L4_B_0_1 | RXH_L4_B_2_3 |
845 data = RXH_IP_SRC | RXH_IP_DST;
849 data = (RXH_L4_B_0_1 | RXH_L4_B_2_3 |
858 data = RXH_IP_SRC | RXH_IP_DST;
864 info->data = data;
871 info->data = efx_filter_get_rx_id_limit(efx);
872 if (info->data == 0)
874 info->data |= RX_CLS_LOC_SPECIAL;
890 info->data = efx_filter_get_rx_id_limit(efx);
891 if (info->data == 0)
945 (rule->m_ext.vlan_etype || rule->m_ext.data[0] ||
946 rule->m_ext.data[1]))
1315 u8 *data)
1321 ret = efx_mcdi_phy_get_module_eeprom(efx, ee, data);