Lines Matching refs:tmf
698 struct aac_hba_tm_req *tmf; in aac_eh_abort() local
724 tmf = (struct aac_hba_tm_req *)fib->hw_fib_va; in aac_eh_abort()
725 memset(tmf, 0, sizeof(*tmf)); in aac_eh_abort()
726 tmf->tmf = HBA_TMF_ABORT_TASK; in aac_eh_abort()
727 tmf->it_nexus = aac->hba_map[bus][cid].rmw_nexus; in aac_eh_abort()
728 tmf->lun[1] = cmd->device->lun; in aac_eh_abort()
731 tmf->error_ptr_hi = cpu_to_le32((u32)(address >> 32)); in aac_eh_abort()
732 tmf->error_ptr_lo = cpu_to_le32((u32)(address & 0xffffffff)); in aac_eh_abort()
733 tmf->error_length = cpu_to_le32(FW_ERROR_BUFFER_SIZE); in aac_eh_abort()
735 fib->hbacmd_size = sizeof(*tmf); in aac_eh_abort()
830 struct aac_hba_tm_req *tmf; in aac_eh_tmf_lun_reset_fib() local
834 tmf = (struct aac_hba_tm_req *)fib->hw_fib_va; in aac_eh_tmf_lun_reset_fib()
835 memset(tmf, 0, sizeof(*tmf)); in aac_eh_tmf_lun_reset_fib()
836 tmf->tmf = HBA_TMF_LUN_RESET; in aac_eh_tmf_lun_reset_fib()
837 tmf->it_nexus = info->rmw_nexus; in aac_eh_tmf_lun_reset_fib()
838 int_to_scsilun(tmf_lun, (struct scsi_lun *)tmf->lun); in aac_eh_tmf_lun_reset_fib()
841 tmf->error_ptr_hi = cpu_to_le32 in aac_eh_tmf_lun_reset_fib()
843 tmf->error_ptr_lo = cpu_to_le32 in aac_eh_tmf_lun_reset_fib()
845 tmf->error_length = cpu_to_le32(FW_ERROR_BUFFER_SIZE); in aac_eh_tmf_lun_reset_fib()
846 fib->hbacmd_size = sizeof(*tmf); in aac_eh_tmf_lun_reset_fib()