Searched refs:test_index (Results 1 – 2 of 2) sorted by relevance
/linux-4.4.14/drivers/net/ethernet/sfc/ |
D | ethtool.c | 215 static void efx_fill_test(unsigned int test_index, u8 *strings, u64 *data, in efx_fill_test() argument 223 data[test_index] = *test; in efx_fill_test() 233 snprintf(strings + test_index * ETH_GSTRING_LEN, in efx_fill_test() 260 unsigned int test_index, in efx_fill_loopback_test() argument 268 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test() 272 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test() 277 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test() 281 efx_fill_test(test_index++, strings, data, in efx_fill_loopback_test() 286 return test_index; in efx_fill_loopback_test()
|
/linux-4.4.14/drivers/net/ethernet/hisilicon/hns/ |
D | hns_ethtool.c | 600 int test_index = 0; in hns_nic_self_test() local 620 data[test_index] = __lb_up(ndev, in hns_nic_self_test() 622 if (!data[test_index]) { in hns_nic_self_test() 623 data[test_index] = __lb_run_test( in hns_nic_self_test() 628 if (data[test_index]) in hns_nic_self_test() 631 test_index++; in hns_nic_self_test()
|