• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/sfc/

Lines Matching refs:tests

59  * @payload:		Payload used in tests
73 * MII, NVRAM and register tests
77 static int efx_test_phy_alive(struct efx_nic *efx, struct efx_self_tests *tests)
83 tests->phy_alive = rc ? -1 : 1;
89 static int efx_test_nvram(struct efx_nic *efx, struct efx_self_tests *tests)
95 tests->nvram = rc ? -1 : 1;
101 static int efx_test_chip(struct efx_nic *efx, struct efx_self_tests *tests)
108 tests->registers = rc ? -1 : 1;
122 struct efx_self_tests *tests)
127 tests->interrupt = -1;
157 tests->interrupt = 1;
163 struct efx_self_tests *tests)
168 tests->eventq_dma[channel->channel] = -1;
169 tests->eventq_int[channel->channel] = -1;
170 tests->eventq_poll[channel->channel] = -1;
200 tests->eventq_int[channel->channel] = 1;
209 tests->eventq_dma[channel->channel] = 1;
216 tests->eventq_dma[channel->channel] = 1;
217 tests->eventq_int[channel->channel] = 1;
218 tests->eventq_poll[channel->channel] = 1;
222 static int efx_test_phy(struct efx_nic *efx, struct efx_self_tests *tests,
231 rc = efx->phy_op->run_tests(efx, tests->phy_ext, flags);
592 static int efx_test_loopbacks(struct efx_nic *efx, struct efx_self_tests *tests,
641 &tests->loopback[mode]);
663 int efx_selftest(struct efx_nic *efx, struct efx_self_tests *tests,
675 rc = efx_test_phy_alive(efx, tests);
679 rc = efx_test_nvram(efx, tests);
683 rc = efx_test_interrupts(efx, tests);
688 rc = efx_test_eventq_irq(channel, tests);
697 return efx_test_phy(efx, tests, flags);
723 rc = efx_test_chip(efx, tests);
731 * for the bist and loopback tests */
746 rc = efx_test_phy(efx, tests, flags);
750 rc = efx_test_loopbacks(efx, tests, efx->loopback_modes);