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()
443 if (test_bit(AF2_IRQ_CLAIMED, &a->flags2)) in esas2r_init_adapter()
446 set_bit(AF2_INIT_DONE, &a->flags2); in esas2r_init_adapter()
460 if ((test_bit(AF2_INIT_DONE, &a->flags2)) in esas2r_adapter_power_down()
511 if (test_bit(AF2_IRQ_CLAIMED, &a->flags2)) { in esas2r_adapter_power_down()
518 clear_bit(AF2_IRQ_CLAIMED, &a->flags2); in esas2r_adapter_power_down()
521 if (test_bit(AF2_MSI_ENABLED, &a->flags2)) { in esas2r_adapter_power_down()
523 clear_bit(AF2_MSI_ENABLED, &a->flags2); in esas2r_adapter_power_down()
644 if (test_bit(AF2_INIT_DONE, &a->flags2)) { in esas2r_kill_adapter()
645 clear_bit(AF2_INIT_DONE, &a->flags2); in esas2r_kill_adapter()
760 if (test_bit(AF2_IRQ_CLAIMED, &a->flags2)) { in esas2r_resume()
896 a->flags2 |= AF2_THUNDERBOLT; in esas2r_init_adapter_struct()
898 if (test_bit(AF2_THUNDERBOLT, &a->flags2)) in esas2r_init_adapter_struct()
899 a->flags2 |= AF2_SERIAL_FLASH; in esas2r_init_adapter_struct()
902 a->flags2 |= AF2_THUNDERLINK; in esas2r_init_adapter_struct()
1200 set_bit(AF2_VDA_POWER_DOWN, &a->flags2); in esas2r_check_adapter()
1202 clear_bit(AF2_VDA_POWER_DOWN, &a->flags2); in esas2r_check_adapter()
1265 if ((test_bit(AF2_THUNDERBOLT, &a->flags2)) in esas2r_format_init_msg()
1548 if (test_bit(AF2_COREDUMP_AVAIL, &a->flags2) && in esas2r_reset_chip()
1549 !test_bit(AF2_COREDUMP_SAVED, &a->flags2)) { in esas2r_reset_chip()
1555 set_bit(AF2_COREDUMP_SAVED, &a->flags2); in esas2r_reset_chip()
1558 clear_bit(AF2_COREDUMP_AVAIL, &a->flags2); in esas2r_reset_chip()
1647 if (test_bit(AF2_VDA_POWER_DOWN, &a->flags2)) in esas2r_power_down()