Searched refs:test_index (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/drivers/net/ethernet/sfc/ |
D | ethtool_common.c | 257 static void efx_fill_test(unsigned int test_index, u8 *strings, u64 *data, in efx_fill_test() argument 265 data[test_index] = *test; in efx_fill_test() 275 snprintf(strings + test_index * ETH_GSTRING_LEN, in efx_fill_test() 301 unsigned int test_index, in efx_fill_loopback_test() argument 309 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test() 313 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test() 318 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test() 322 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test() 327 return test_index; in efx_fill_loopback_test()
|
/Linux-v5.10/drivers/net/ethernet/sfc/falcon/ |
D | ethtool.c | 209 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-v5.10/drivers/net/ethernet/hisilicon/hns/ |
D | hns_ethtool.c | 587 int test_index = 0; in hns_nic_self_test() local 607 data[test_index] = __lb_up(ndev, in hns_nic_self_test() 609 if (!data[test_index]) { in hns_nic_self_test() 610 data[test_index] = __lb_run_test( in hns_nic_self_test() 616 if (data[test_index]) in hns_nic_self_test() 619 test_index++; in hns_nic_self_test()
|
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_ethtool.c | 314 int test_index = 0; in hns3_self_test() local 369 data[test_index] = hns3_lp_up(ndev, loop_type); in hns3_self_test() 370 if (!data[test_index]) in hns3_self_test() 371 data[test_index] = hns3_lp_run_test(ndev, loop_type); in hns3_self_test() 375 if (data[test_index]) in hns3_self_test() 378 test_index++; in hns3_self_test()
|
/Linux-v5.10/drivers/net/ethernet/huawei/hinic/ |
D | hinic_ethtool.c | 1593 enum diag_test_index *test_index) in do_lp_test() argument 1600 *test_index = INTERNAL_LP_TEST; in do_lp_test() 1608 *test_index = EXTERNAL_LP_TEST; in do_lp_test() 1642 enum diag_test_index test_index = 0; in hinic_diag_test() local 1660 &test_index); in hinic_diag_test() 1663 data[test_index] = 1; in hinic_diag_test()
|