Lines Matching defs:state

1186 	if (!(test_bit(BNXT_STATE_IN_FW_RESET, &bp->state)))
2099 set_bit(BNXT_STATE_FW_FATAL_COND, &bp->state);
4204 test_bit(BNXT_STATE_IN_FW_RESET, &bp->state))
4550 if (test_bit(BNXT_STATE_FW_FATAL_COND, &bp->state))
4577 if (test_bit(BNXT_STATE_FW_FATAL_COND, &bp->state))
4748 set_bit(BNXT_STATE_DRV_REGISTERED, &bp->state);
4761 if (!test_and_clear_bit(BNXT_STATE_DRV_REGISTERED, &bp->state))
9254 /* alwasy link down if not require to update link state */
9481 if (test_bit(BNXT_STATE_IN_FW_RESET, &bp->state) && !fw_reset) {
9483 set_bit(BNXT_STATE_ABORT_ERR, &bp->state);
9488 if (!test_bit(BNXT_STATE_IN_FW_RESET, &bp->state))
9496 set_bit(BNXT_STATE_ABORT_ERR, &bp->state);
9505 set_bit(BNXT_STATE_FW_RESET_DET, &bp->state);
9877 set_bit(BNXT_STATE_OPEN, &bp->state);
9905 if (test_bit(BNXT_STATE_ABORT_ERR, &bp->state))
9924 if (test_bit(BNXT_STATE_ABORT_ERR, &bp->state)) {
9975 if (test_bit(BNXT_STATE_ABORT_ERR, &bp->state)) {
9987 if (test_and_clear_bit(BNXT_STATE_FW_RESET_DET, &bp->state)) {
9988 if (!test_bit(BNXT_STATE_IN_FW_RESET, &bp->state)) {
10001 return (test_bit(BNXT_STATE_IN_SP_TASK, &bp->state) ||
10002 test_bit(BNXT_STATE_READ_STATS, &bp->state));
10015 /* Change device state to avoid TX queue wake up's */
10018 clear_bit(BNXT_STATE_OPEN, &bp->state);
10047 if (test_bit(BNXT_STATE_IN_FW_RESET, &bp->state)) {
10056 set_bit(BNXT_STATE_ABORT_ERR, &bp->state);
10227 set_bit(BNXT_STATE_READ_STATS, &bp->state);
10232 if (!test_bit(BNXT_STATE_OPEN, &bp->state)) {
10233 clear_bit(BNXT_STATE_READ_STATS, &bp->state);
10263 clear_bit(BNXT_STATE_READ_STATS, &bp->state);
10327 if (!test_bit(BNXT_STATE_OPEN, &bp->state))
10583 if (!test_bit(BNXT_STATE_OPEN, &bp->state)) {
10763 if (!fw_health->enabled || test_bit(BNXT_STATE_IN_FW_RESET, &bp->state))
10796 if (!netif_running(dev) || !test_bit(BNXT_STATE_OPEN, &bp->state))
10848 clear_bit(BNXT_STATE_IN_SP_TASK, &bp->state);
10854 set_bit(BNXT_STATE_IN_SP_TASK, &bp->state);
10862 if (test_bit(BNXT_STATE_OPEN, &bp->state))
10873 if (!test_bit(BNXT_STATE_OPEN, &bp->state)) {
10919 /* When firmware is fatal state, disable PCI device to prevent
10922 if (test_bit(BNXT_STATE_FW_FATAL_COND, &bp->state))
10960 if (!test_bit(BNXT_STATE_OPEN, &bp->state) ||
10961 test_bit(BNXT_STATE_IN_FW_RESET, &bp->state))
10964 set_bit(BNXT_STATE_IN_FW_RESET, &bp->state);
10985 set_bit(BNXT_STATE_FW_FATAL_COND, &bp->state);
11018 if (test_bit(BNXT_STATE_OPEN, &bp->state) &&
11019 !test_bit(BNXT_STATE_IN_FW_RESET, &bp->state)) {
11022 set_bit(BNXT_STATE_IN_FW_RESET, &bp->state);
11024 !test_bit(BNXT_STATE_FW_FATAL_COND, &bp->state))
11029 clear_bit(BNXT_STATE_IN_FW_RESET, &bp->state);
11132 set_bit(BNXT_STATE_IN_SP_TASK, &bp->state);
11134 if (!test_bit(BNXT_STATE_OPEN, &bp->state)) {
11135 clear_bit(BNXT_STATE_IN_SP_TASK, &bp->state);
11219 clear_bit(BNXT_STATE_IN_SP_TASK, &bp->state);
11563 if (!test_bit(BNXT_STATE_IN_FW_RESET, &bp->state)) {
11581 clear_bit(BNXT_STATE_IN_FW_RESET, &bp->state);
11592 if (test_bit(BNXT_STATE_ABORT_ERR, &bp->state)) {
11635 if (test_bit(BNXT_STATE_FW_FATAL_COND, &bp->state)) {
11644 clear_bit(BNXT_STATE_FW_FATAL_COND, &bp->state);
11675 clear_bit(BNXT_STATE_IN_FW_RESET, &bp->state);
11687 clear_bit(BNXT_STATE_IN_FW_RESET, &bp->state);
11706 clear_bit(BNXT_STATE_IN_FW_RESET, &bp->state);
11792 clear_bit(BNXT_STATE_OPEN, &bp->state);
12079 if (test_bit(BNXT_FLTR_VALID, &fltr->state)) {
12093 set_bit(BNXT_FLTR_VALID, &fltr->state);
12273 clear_bit(BNXT_STATE_IN_FW_RESET, &bp->state);
13001 * @state: The current pci connection state
13007 pci_channel_state_t state)
13019 if (state == pci_channel_io_perm_failure) {
13024 if (state == pci_channel_io_frozen)
13025 set_bit(BNXT_STATE_PCI_CHANNEL_IO_FROZEN, &bp->state);
13075 &bp->state)) {