• Home
  • Raw
  • Download

Lines Matching refs:tests

96 static int ef4_test_phy_alive(struct ef4_nic *efx, struct ef4_self_tests *tests)  in ef4_test_phy_alive()  argument
102 tests->phy_alive = rc ? -1 : 1; in ef4_test_phy_alive()
108 static int ef4_test_nvram(struct ef4_nic *efx, struct ef4_self_tests *tests) in ef4_test_nvram() argument
117 tests->nvram = rc ? -1 : 1; in ef4_test_nvram()
131 struct ef4_self_tests *tests) in ef4_test_interrupts() argument
138 tests->interrupt = -1; in ef4_test_interrupts()
144 tests->interrupt = 0; in ef4_test_interrupts()
167 tests->interrupt = 1; in ef4_test_interrupts()
173 struct ef4_self_tests *tests) in ef4_test_eventq_irq() argument
221 tests->eventq_dma[channel->channel] = dma_seen ? 1 : -1; in ef4_test_eventq_irq()
222 tests->eventq_int[channel->channel] = int_seen ? 1 : -1; in ef4_test_eventq_irq()
253 static int ef4_test_phy(struct ef4_nic *efx, struct ef4_self_tests *tests, in ef4_test_phy() argument
262 rc = efx->phy_op->run_tests(efx, tests->phy_ext, flags); in ef4_test_phy()
613 static int ef4_test_loopbacks(struct ef4_nic *efx, struct ef4_self_tests *tests, in ef4_test_loopbacks() argument
664 &tests->loopback[mode]); in ef4_test_loopbacks()
689 int ef4_selftest(struct ef4_nic *efx, struct ef4_self_tests *tests, in ef4_selftest() argument
701 rc = ef4_test_phy_alive(efx, tests); in ef4_selftest()
705 rc = ef4_test_nvram(efx, tests); in ef4_selftest()
709 rc = ef4_test_interrupts(efx, tests); in ef4_selftest()
713 rc = ef4_test_eventq_irq(efx, tests); in ef4_selftest()
721 return ef4_test_phy(efx, tests, flags); in ef4_selftest()
732 rc_reset = efx->type->test_chip(efx, tests); in ef4_selftest()
740 if ((tests->memory < 0 || tests->registers < 0) && !rc_test) in ef4_selftest()
752 rc = ef4_test_phy(efx, tests, flags); in ef4_selftest()
756 rc = ef4_test_loopbacks(efx, tests, efx->loopback_modes); in ef4_selftest()