Lines Matching refs:state

842 		    !(test_bit(__IGBVF_DOWN, &adapter->state))) {
862 if (!test_bit(__IGBVF_DOWN, &adapter->state))
1207 if (!test_bit(__IGBVF_DOWN, &adapter->state))
1509 /* igbvf_reset - bring the hardware into a known good state
1549 clear_bit(__IGBVF_DOWN, &adapter->state);
1575 set_bit(__IGBVF_DOWN, &adapter->state);
1612 while (test_and_set_bit(__IGBVF_RESETTING, &adapter->state))
1616 clear_bit(__IGBVF_RESETTING, &adapter->state);
1662 /* Explicitly disable IRQ since the NIC can be in any state. */
1668 set_bit(__IGBVF_DOWN, &adapter->state);
1716 if (test_bit(__IGBVF_TESTING, &adapter->state))
1741 clear_bit(__IGBVF_DOWN, &adapter->state);
1781 WARN_ON(test_bit(__IGBVF_RESETTING, &adapter->state));
1849 if (test_bit(__IGBVF_RESETTING, &adapter->state))
1883 if (test_bit(__IGBVF_DOWN, &adapter->state))
1967 if (!test_bit(__IGBVF_DOWN, &adapter->state))
2290 if (test_bit(__IGBVF_DOWN, &adapter->state)) {
2359 if (test_bit(__IGBVF_DOWN, &adapter->state)) {
2404 while (test_and_set_bit(__IGBVF_RESETTING, &adapter->state))
2445 clear_bit(__IGBVF_RESETTING, &adapter->state);
2466 WARN_ON(test_bit(__IGBVF_RESETTING, &adapter->state));
2524 * @state: The current pci connection state
2530 pci_channel_state_t state)
2537 if (state == pci_channel_io_perm_failure)
2605 while (test_and_set_bit(__IGBVF_RESETTING, &adapter->state))
2620 clear_bit(__IGBVF_RESETTING, &adapter->state);
2827 /*reset the controller to put the device in a known good state */
2831 "PF still in reset state. Is the PF interface up?\n");
2918 set_bit(__IGBVF_DOWN, &adapter->state);