Searched refs:test_index (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/sfc/falcon/ |
D | ethtool.c | 212 static void ef4_fill_test(unsigned int test_index, u8 *strings, u64 *data, in ef4_fill_test() argument 220 data[test_index] = *test; in ef4_fill_test() 230 snprintf(strings + test_index * ETH_GSTRING_LEN, in ef4_fill_test() 257 unsigned int test_index, in ef4_fill_loopback_test() argument 265 ef4_fill_test(test_index++, strings, data, in ef4_fill_loopback_test() 269 ef4_fill_test(test_index++, strings, data, in ef4_fill_loopback_test() 274 ef4_fill_test(test_index++, strings, data, in ef4_fill_loopback_test() 278 ef4_fill_test(test_index++, strings, data, in ef4_fill_loopback_test() 283 return test_index; in ef4_fill_loopback_test()
|
/Linux-v4.19/drivers/net/ethernet/sfc/ |
D | ethtool.c | 230 static void efx_fill_test(unsigned int test_index, u8 *strings, u64 *data, in efx_fill_test() argument 238 data[test_index] = *test; in efx_fill_test() 248 snprintf(strings + test_index * ETH_GSTRING_LEN, in efx_fill_test() 275 unsigned int test_index, in efx_fill_loopback_test() argument 283 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test() 287 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test() 292 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test() 296 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test() 301 return test_index; in efx_fill_loopback_test()
|
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_ethtool.c | 296 int test_index = 0; in hns3_self_test() local 330 data[test_index] = hns3_lp_up(ndev, loop_type); in hns3_self_test() 331 if (!data[test_index]) { in hns3_self_test() 332 data[test_index] = hns3_lp_run_test(ndev, loop_type); in hns3_self_test() 336 if (data[test_index]) in hns3_self_test() 339 test_index++; in hns3_self_test()
|
/Linux-v4.19/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()
|