Lines Matching refs:data

130 			   struct ethtool_test *test, u64 *data)
170 efx_ethtool_fill_self_tests(efx, efx_tests, NULL, data);
249 * @data: Ethtool test results, or %NULL
250 * @test: Pointer to test result (used only if data != %NULL)
258 static void efx_fill_test(unsigned int test_index, u8 *strings, u64 *data,
264 /* Fill data value, if applicable */
265 if (data)
266 data[test_index] = *test;
294 * @data: Ethtool test results, 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,
336 * @data: Ethtool test results, or %NULL
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);
489 u64 *data)
501 data += efx->type->update_stats(efx, data, NULL);
508 data[i] = stat->get_stat((void *)efx + stat->offset);
511 data[i] = 0;
513 data[i] += stat->get_stat((void *)channel +
517 data[i] = 0;
520 data[i] +=
527 data += EFX_ETHTOOL_SW_STAT_COUNT;
533 *data = 0;
535 *data += tx_queue->tx_packets;
537 data++;
542 *data = 0;
544 *data += rx_queue->rx_packets;
546 data++;
553 data[0] = efx->xdp_tx_queues[xdp]->tx_packets;
554 data++;
558 efx_ptp_update_stats(efx, data);
819 info->data = efx->n_rx_channels;
824 __u64 data;
835 data = 0;
843 data = (RXH_L4_B_0_1 | RXH_L4_B_2_3 |
846 data = RXH_IP_SRC | RXH_IP_DST;
850 data = (RXH_L4_B_0_1 | RXH_L4_B_2_3 |
859 data = RXH_IP_SRC | RXH_IP_DST;
865 info->data = data;
872 info->data = efx_filter_get_rx_id_limit(efx);
873 if (info->data == 0)
875 info->data |= RX_CLS_LOC_SPECIAL;
891 info->data = efx_filter_get_rx_id_limit(efx);
892 if (info->data == 0)
946 (rule->m_ext.vlan_etype || rule->m_ext.data[0] ||
947 rule->m_ext.data[1]))
1316 u8 *data)
1322 ret = efx_mcdi_phy_get_module_eeprom(efx, ee, data);