Lines Matching refs:hbacmd
483 struct aac_hba_cmd_req *hbacmd = NULL; in aac_send_raw_srb() local
590 hbacmd = (struct aac_hba_cmd_req *)srbfib->hw_fib_va; in aac_send_raw_srb()
591 memset(hbacmd, 0, 96); /* sizeof(*hbacmd) is not necessary */ in aac_send_raw_srb()
596 hbacmd->byte1 = 2; in aac_send_raw_srb()
600 hbacmd->byte1 = 1; in aac_send_raw_srb()
606 hbacmd->lun[1] = cpu_to_le32(user_srbcmd->lun); in aac_send_raw_srb()
607 hbacmd->it_nexus = dev->hba_map[chn][user_srbcmd->id].rmw_nexus; in aac_send_raw_srb()
616 memcpy(hbacmd->cdb, user_srbcmd->cdb, sizeof(hbacmd->cdb)); in aac_send_raw_srb()
619 hbacmd->error_ptr_hi = cpu_to_le32((u32)(address >> 32)); in aac_send_raw_srb()
620 hbacmd->error_ptr_lo = cpu_to_le32((u32)(address & 0xffffffff)); in aac_send_raw_srb()
621 hbacmd->error_length = cpu_to_le32(FW_ERROR_BUFFER_SIZE); in aac_send_raw_srb()
622 hbacmd->emb_data_desc_count = in aac_send_raw_srb()
697 hbacmd->sge[i].addr_hi = cpu_to_le32((u32)(addr>>32)); in aac_send_raw_srb()
698 hbacmd->sge[i].addr_lo = cpu_to_le32( in aac_send_raw_srb()
700 hbacmd->sge[i].len = cpu_to_le32(sg_count[i]); in aac_send_raw_srb()
701 hbacmd->sge[i].flags = 0; in aac_send_raw_srb()
706 hbacmd->sge[usg32->count-1].flags = in aac_send_raw_srb()
708 hbacmd->data_length = cpu_to_le32(byte_count); in aac_send_raw_srb()