Lines Matching refs:tmf
693 struct aac_hba_tm_req *tmf; in aac_eh_abort() local
719 tmf = (struct aac_hba_tm_req *)fib->hw_fib_va; in aac_eh_abort()
720 memset(tmf, 0, sizeof(*tmf)); in aac_eh_abort()
721 tmf->tmf = HBA_TMF_ABORT_TASK; in aac_eh_abort()
722 tmf->it_nexus = aac->hba_map[bus][cid].rmw_nexus; in aac_eh_abort()
723 tmf->lun[1] = cmd->device->lun; in aac_eh_abort()
726 tmf->error_ptr_hi = cpu_to_le32((u32)(address >> 32)); in aac_eh_abort()
727 tmf->error_ptr_lo = cpu_to_le32((u32)(address & 0xffffffff)); in aac_eh_abort()
728 tmf->error_length = cpu_to_le32(FW_ERROR_BUFFER_SIZE); in aac_eh_abort()
730 fib->hbacmd_size = sizeof(*tmf); in aac_eh_abort()
820 struct aac_hba_tm_req *tmf; in aac_eh_tmf_lun_reset_fib() local
824 tmf = (struct aac_hba_tm_req *)fib->hw_fib_va; in aac_eh_tmf_lun_reset_fib()
825 memset(tmf, 0, sizeof(*tmf)); in aac_eh_tmf_lun_reset_fib()
826 tmf->tmf = HBA_TMF_LUN_RESET; in aac_eh_tmf_lun_reset_fib()
827 tmf->it_nexus = info->rmw_nexus; in aac_eh_tmf_lun_reset_fib()
828 int_to_scsilun(tmf_lun, (struct scsi_lun *)tmf->lun); in aac_eh_tmf_lun_reset_fib()
831 tmf->error_ptr_hi = cpu_to_le32 in aac_eh_tmf_lun_reset_fib()
833 tmf->error_ptr_lo = cpu_to_le32 in aac_eh_tmf_lun_reset_fib()
835 tmf->error_length = cpu_to_le32(FW_ERROR_BUFFER_SIZE); in aac_eh_tmf_lun_reset_fib()
836 fib->hbacmd_size = sizeof(*tmf); in aac_eh_tmf_lun_reset_fib()