Home
last modified time | relevance | path

Searched refs:test_index (Results 1 – 6 of 6) sorted by relevance

/linux-6.3-rc2/drivers/net/ethernet/sfc/siena/
A Dethtool_common.c209 static void efx_fill_test(unsigned int test_index, u8 *strings, u64 *data, in efx_fill_test() argument
217 data[test_index] = *test; in efx_fill_test()
227 snprintf(strings + test_index * ETH_GSTRING_LEN, in efx_fill_test()
253 unsigned int test_index, in efx_fill_loopback_test() argument
261 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test()
265 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test()
270 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test()
274 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test()
279 return test_index; in efx_fill_loopback_test()
/linux-6.3-rc2/drivers/net/ethernet/sfc/falcon/
A Dethtool.c209 static void ef4_fill_test(unsigned int test_index, u8 *strings, u64 *data, in ef4_fill_test() argument
217 data[test_index] = *test; in ef4_fill_test()
227 snprintf(strings + test_index * ETH_GSTRING_LEN, in ef4_fill_test()
254 unsigned int test_index, 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()
280 return test_index; in ef4_fill_loopback_test()
/linux-6.3-rc2/drivers/net/ethernet/sfc/
A Dethtool_common.c258 static void efx_fill_test(unsigned int test_index, u8 *strings, u64 *data, in efx_fill_test() argument
266 data[test_index] = *test; in efx_fill_test()
276 snprintf(strings + test_index * ETH_GSTRING_LEN, in efx_fill_test()
302 unsigned int test_index, in efx_fill_loopback_test() argument
310 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test()
314 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test()
319 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test()
323 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test()
328 return test_index; in efx_fill_loopback_test()
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns/
A Dhns_ethtool.c590 int test_index = 0; in hns_nic_self_test() local
610 data[test_index] = __lb_up(ndev, in hns_nic_self_test()
612 if (!data[test_index]) { in hns_nic_self_test()
613 data[test_index] = __lb_run_test( in hns_nic_self_test()
619 if (data[test_index]) in hns_nic_self_test()
622 test_index++; in hns_nic_self_test()
/linux-6.3-rc2/drivers/net/ethernet/huawei/hinic/
A Dhinic_ethtool.c1591 enum diag_test_index *test_index) in do_lp_test() argument
1598 *test_index = INTERNAL_LP_TEST; in do_lp_test()
1606 *test_index = EXTERNAL_LP_TEST; in do_lp_test()
1640 enum diag_test_index test_index = 0; in hinic_diag_test() local
1658 &test_index); in hinic_diag_test()
1661 data[test_index] = 1; in hinic_diag_test()
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns3/
A Dhns3_ethtool.c377 int test_index = HNAE3_LOOP_APP; in hns3_do_selftest() local
386 data[test_index] = hns3_lp_up(ndev, loop_type); in hns3_do_selftest()
387 if (!data[test_index]) in hns3_do_selftest()
388 data[test_index] = hns3_lp_run_test(ndev, loop_type); in hns3_do_selftest()
392 if (data[test_index]) in hns3_do_selftest()
395 test_index++; in hns3_do_selftest()

Completed in 22 milliseconds