• Home
  • Raw
  • Download

Lines Matching refs:fib

694 		struct fib *fib;  in aac_eh_abort()  local
705 fib = &aac->fibs[count]; in aac_eh_abort()
706 if (*(u8 *)fib->hw_fib_va != 0 && in aac_eh_abort()
707 (fib->flags & FIB_CONTEXT_FLAG_NATIVE_HBA) && in aac_eh_abort()
708 (fib->callback_data == cmd)) { in aac_eh_abort()
717 fib = aac_fib_alloc(aac); in aac_eh_abort()
718 if (!fib) in aac_eh_abort()
721 tmf = (struct aac_hba_tm_req *)fib->hw_fib_va; in aac_eh_abort()
727 address = (u64)fib->hw_error_pa; in aac_eh_abort()
732 fib->hbacmd_size = sizeof(*tmf); in aac_eh_abort()
735 status = aac_hba_send(HBA_IU_TYPE_SCSI_TM_REQ, fib, in aac_eh_abort()
739 aac_fib_complete(fib); in aac_eh_abort()
740 aac_fib_free(fib); in aac_eh_abort()
778 struct fib *fib = &aac->fibs[count]; in aac_eh_abort() local
780 if (fib->hw_fib_va->header.XferState && in aac_eh_abort()
781 (fib->flags & FIB_CONTEXT_FLAG) && in aac_eh_abort()
782 (fib->callback_data == cmd)) { in aac_eh_abort()
783 fib->flags |= in aac_eh_abort()
800 struct fib *fib = &aac->fibs[count]; in aac_eh_abort() local
802 command = fib->callback_data; in aac_eh_abort()
804 if ((fib->hw_fib_va->header.XferState & in aac_eh_abort()
807 (fib->flags & FIB_CONTEXT_FLAG) && in aac_eh_abort()
810 fib->flags |= in aac_eh_abort()
825 struct fib *fib, u64 tmf_lun) in aac_eh_tmf_lun_reset_fib() argument
831 tmf = (struct aac_hba_tm_req *)fib->hw_fib_va; in aac_eh_tmf_lun_reset_fib()
837 address = (u64)fib->hw_error_pa; in aac_eh_tmf_lun_reset_fib()
843 fib->hbacmd_size = sizeof(*tmf); in aac_eh_tmf_lun_reset_fib()
849 struct fib *fib) in aac_eh_tmf_hard_reset_fib() argument
855 rst = (struct aac_hba_reset_req *)fib->hw_fib_va; in aac_eh_tmf_hard_reset_fib()
859 address = (u64)fib->hw_error_pa; in aac_eh_tmf_hard_reset_fib()
863 fib->hbacmd_size = sizeof(*rst); in aac_eh_tmf_hard_reset_fib()
868 static void aac_tmf_callback(void *context, struct fib *fibptr) in aac_tmf_callback()
908 struct fib *fib; in aac_eh_dev_reset() local
928 fib = aac_fib_alloc(aac); in aac_eh_dev_reset()
929 if (!fib) in aac_eh_dev_reset()
933 command = aac_eh_tmf_lun_reset_fib(info, fib, dev->lun); in aac_eh_dev_reset()
937 status = aac_hba_send(command, fib, in aac_eh_dev_reset()
942 aac_fib_complete(fib); in aac_eh_dev_reset()
943 aac_fib_free(fib); in aac_eh_dev_reset()
972 struct fib *fib; in aac_eh_target_reset() local
991 fib = aac_fib_alloc(aac); in aac_eh_target_reset()
992 if (!fib) in aac_eh_target_reset()
997 command = aac_eh_tmf_hard_reset_fib(info, fib); in aac_eh_target_reset()
1001 status = aac_hba_send(command, fib, in aac_eh_target_reset()
1007 aac_fib_complete(fib); in aac_eh_target_reset()
1008 aac_fib_free(fib); in aac_eh_target_reset()
1042 struct fib *fib = &aac->fibs[count]; in aac_eh_bus_reset() local
1044 if (fib->hw_fib_va->header.XferState && in aac_eh_bus_reset()
1045 (fib->flags & FIB_CONTEXT_FLAG) && in aac_eh_bus_reset()
1046 (fib->flags & FIB_CONTEXT_FLAG_SCSI_CMD)) { in aac_eh_bus_reset()
1050 cmd = (struct scsi_cmnd *)fib->callback_data; in aac_eh_bus_reset()
1058 fib->flags |= FIB_CONTEXT_FLAG_EH_RESET; in aac_eh_bus_reset()
1520 struct fib *fib = &aac->fibs[i]; in __aac_shutdown() local
1521 if (!(fib->hw_fib_va->header.XferState & cpu_to_le32(NoResponseExpected | Async)) && in __aac_shutdown()
1522 (fib->hw_fib_va->header.XferState & cpu_to_le32(ResponseExpected))) in __aac_shutdown()
1523 complete(&fib->event_wait); in __aac_shutdown()
1659 sizeof(struct fib), in aac_probe_one()