Lines Matching refs:flags2
219 set_bit(AF2_MSI_ENABLED, &a->flags2); in esas2r_setup_interrupts()
255 set_bit(AF2_IRQ_CLAIMED, &a->flags2); in esas2r_claim_interrupts()
423 if (test_bit(AF2_IRQ_CLAIMED, &a->flags2)) in esas2r_init_adapter()
426 set_bit(AF2_INIT_DONE, &a->flags2); in esas2r_init_adapter()
440 if ((test_bit(AF2_INIT_DONE, &a->flags2)) in esas2r_adapter_power_down()
491 if (test_bit(AF2_IRQ_CLAIMED, &a->flags2)) { in esas2r_adapter_power_down()
498 clear_bit(AF2_IRQ_CLAIMED, &a->flags2); in esas2r_adapter_power_down()
501 if (test_bit(AF2_MSI_ENABLED, &a->flags2)) { in esas2r_adapter_power_down()
503 clear_bit(AF2_MSI_ENABLED, &a->flags2); in esas2r_adapter_power_down()
624 if (test_bit(AF2_INIT_DONE, &a->flags2)) { in esas2r_kill_adapter()
625 clear_bit(AF2_INIT_DONE, &a->flags2); in esas2r_kill_adapter()
693 if (test_bit(AF2_IRQ_CLAIMED, &a->flags2)) { in esas2r_resume()
827 a->flags2 |= AF2_THUNDERBOLT; in esas2r_init_adapter_struct()
829 if (test_bit(AF2_THUNDERBOLT, &a->flags2)) in esas2r_init_adapter_struct()
830 a->flags2 |= AF2_SERIAL_FLASH; in esas2r_init_adapter_struct()
833 a->flags2 |= AF2_THUNDERLINK; in esas2r_init_adapter_struct()
1131 set_bit(AF2_VDA_POWER_DOWN, &a->flags2); in esas2r_check_adapter()
1133 clear_bit(AF2_VDA_POWER_DOWN, &a->flags2); in esas2r_check_adapter()
1195 if ((test_bit(AF2_THUNDERBOLT, &a->flags2)) in esas2r_format_init_msg()
1479 if (test_bit(AF2_COREDUMP_AVAIL, &a->flags2) && in esas2r_reset_chip()
1480 !test_bit(AF2_COREDUMP_SAVED, &a->flags2)) { in esas2r_reset_chip()
1486 set_bit(AF2_COREDUMP_SAVED, &a->flags2); in esas2r_reset_chip()
1489 clear_bit(AF2_COREDUMP_AVAIL, &a->flags2); in esas2r_reset_chip()
1578 if (test_bit(AF2_VDA_POWER_DOWN, &a->flags2)) in esas2r_power_down()