Lines Matching defs:data

200  * @data:		Ethtool test results, or %NULL
201 * @test: Pointer to test result (used only if data != %NULL)
209 static void ef4_fill_test(unsigned int test_index, u8 *strings, u64 *data,
215 /* Fill data value, if applicable */
216 if (data)
217 data[test_index] = *test;
246 * @data: Ethtool test results, or %NULL
255 u8 *strings, u64 *data)
262 ef4_fill_test(test_index++, strings, data,
266 ef4_fill_test(test_index++, strings, data,
271 ef4_fill_test(test_index++, strings, data,
275 ef4_fill_test(test_index++, strings, data,
288 * @data: Ethtool test results, or %NULL
298 u8 *strings, u64 *data)
304 ef4_fill_test(n++, strings, data, &tests->phy_alive,
306 ef4_fill_test(n++, strings, data, &tests->nvram,
308 ef4_fill_test(n++, strings, data, &tests->interrupt,
313 ef4_fill_test(n++, strings, data,
317 ef4_fill_test(n++, strings, data,
323 ef4_fill_test(n++, strings, data, &tests->memory,
325 ef4_fill_test(n++, strings, data, &tests->registers,
339 ef4_fill_test(n++, strings, data, &tests->phy_ext[i],
350 strings, data);
432 u64 *data)
444 data += efx->type->update_stats(efx, data, NULL);
451 data[i] = stat->get_stat((void *)efx + stat->offset);
454 data[i] = 0;
456 data[i] += stat->get_stat((void *)channel +
460 data[i] = 0;
463 data[i] +=
470 data += EF4_ETHTOOL_SW_STAT_COUNT;
476 *data = 0;
478 *data += tx_queue->tx_packets;
480 data++;
485 *data = 0;
487 *data += rx_queue->rx_packets;
489 data++;
495 struct ethtool_test *test, u64 *data)
535 ef4_ethtool_fill_self_tests(efx, ef4_tests, NULL, data);
960 info->data = efx->n_rx_channels;
966 info->data = 0;
969 info->data |= RXH_L4_B_0_1 | RXH_L4_B_2_3;
975 info->data |= RXH_IP_SRC | RXH_IP_DST;
982 info->data = 0;
987 info->data = ef4_filter_get_rx_id_limit(efx);
988 if (info->data == 0)
990 info->data |= RX_CLS_LOC_SPECIAL;
1002 info->data = ef4_filter_get_rx_id_limit(efx);
1003 if (info->data == 0)
1055 (rule->m_ext.vlan_etype || rule->m_ext.data[0] ||
1056 rule->m_ext.data[1]))
1289 u8 *data)
1298 ret = efx->phy_op->get_module_eeprom(efx, ee, data);