Lines Matching refs:tmf
695 struct aac_hba_tm_req *tmf; in aac_eh_abort() local
721 tmf = (struct aac_hba_tm_req *)fib->hw_fib_va; in aac_eh_abort()
722 memset(tmf, 0, sizeof(*tmf)); in aac_eh_abort()
723 tmf->tmf = HBA_TMF_ABORT_TASK; in aac_eh_abort()
724 tmf->it_nexus = aac->hba_map[bus][cid].rmw_nexus; in aac_eh_abort()
725 tmf->lun[1] = cmd->device->lun; in aac_eh_abort()
728 tmf->error_ptr_hi = cpu_to_le32((u32)(address >> 32)); in aac_eh_abort()
729 tmf->error_ptr_lo = cpu_to_le32((u32)(address & 0xffffffff)); in aac_eh_abort()
730 tmf->error_length = cpu_to_le32(FW_ERROR_BUFFER_SIZE); in aac_eh_abort()
732 fib->hbacmd_size = sizeof(*tmf); in aac_eh_abort()
827 struct aac_hba_tm_req *tmf; in aac_eh_tmf_lun_reset_fib() local
831 tmf = (struct aac_hba_tm_req *)fib->hw_fib_va; in aac_eh_tmf_lun_reset_fib()
832 memset(tmf, 0, sizeof(*tmf)); in aac_eh_tmf_lun_reset_fib()
833 tmf->tmf = HBA_TMF_LUN_RESET; in aac_eh_tmf_lun_reset_fib()
834 tmf->it_nexus = info->rmw_nexus; in aac_eh_tmf_lun_reset_fib()
835 int_to_scsilun(tmf_lun, (struct scsi_lun *)tmf->lun); in aac_eh_tmf_lun_reset_fib()
838 tmf->error_ptr_hi = cpu_to_le32 in aac_eh_tmf_lun_reset_fib()
840 tmf->error_ptr_lo = cpu_to_le32 in aac_eh_tmf_lun_reset_fib()
842 tmf->error_length = cpu_to_le32(FW_ERROR_BUFFER_SIZE); in aac_eh_tmf_lun_reset_fib()
843 fib->hbacmd_size = sizeof(*tmf); in aac_eh_tmf_lun_reset_fib()