Lines Matching refs:tmf
683 struct aac_hba_tm_req *tmf; in aac_eh_abort() local
709 tmf = (struct aac_hba_tm_req *)fib->hw_fib_va; in aac_eh_abort()
710 memset(tmf, 0, sizeof(*tmf)); in aac_eh_abort()
711 tmf->tmf = HBA_TMF_ABORT_TASK; in aac_eh_abort()
712 tmf->it_nexus = aac->hba_map[bus][cid].rmw_nexus; in aac_eh_abort()
713 tmf->lun[1] = cmd->device->lun; in aac_eh_abort()
716 tmf->error_ptr_hi = cpu_to_le32((u32)(address >> 32)); in aac_eh_abort()
717 tmf->error_ptr_lo = cpu_to_le32((u32)(address & 0xffffffff)); in aac_eh_abort()
718 tmf->error_length = cpu_to_le32(FW_ERROR_BUFFER_SIZE); in aac_eh_abort()
720 fib->hbacmd_size = sizeof(*tmf); in aac_eh_abort()
811 struct aac_hba_tm_req *tmf; in aac_eh_tmf_lun_reset_fib() local
815 tmf = (struct aac_hba_tm_req *)fib->hw_fib_va; in aac_eh_tmf_lun_reset_fib()
816 memset(tmf, 0, sizeof(*tmf)); in aac_eh_tmf_lun_reset_fib()
817 tmf->tmf = HBA_TMF_LUN_RESET; in aac_eh_tmf_lun_reset_fib()
818 tmf->it_nexus = info->rmw_nexus; in aac_eh_tmf_lun_reset_fib()
819 int_to_scsilun(tmf_lun, (struct scsi_lun *)tmf->lun); in aac_eh_tmf_lun_reset_fib()
822 tmf->error_ptr_hi = cpu_to_le32 in aac_eh_tmf_lun_reset_fib()
824 tmf->error_ptr_lo = cpu_to_le32 in aac_eh_tmf_lun_reset_fib()
826 tmf->error_length = cpu_to_le32(FW_ERROR_BUFFER_SIZE); in aac_eh_tmf_lun_reset_fib()
827 fib->hbacmd_size = sizeof(*tmf); in aac_eh_tmf_lun_reset_fib()