Lines Matching refs:hbacmd
468 struct aac_hba_cmd_req *hbacmd = NULL; in aac_send_raw_srb() local
575 hbacmd = (struct aac_hba_cmd_req *)srbfib->hw_fib_va; in aac_send_raw_srb()
576 memset(hbacmd, 0, 96); /* sizeof(*hbacmd) is not necessary */ in aac_send_raw_srb()
581 hbacmd->byte1 = 2; in aac_send_raw_srb()
585 hbacmd->byte1 = 1; in aac_send_raw_srb()
591 hbacmd->lun[1] = cpu_to_le32(user_srbcmd->lun); in aac_send_raw_srb()
592 hbacmd->it_nexus = dev->hba_map[chn][user_srbcmd->id].rmw_nexus; in aac_send_raw_srb()
601 memcpy(hbacmd->cdb, user_srbcmd->cdb, sizeof(hbacmd->cdb)); in aac_send_raw_srb()
604 hbacmd->error_ptr_hi = cpu_to_le32((u32)(address >> 32)); in aac_send_raw_srb()
605 hbacmd->error_ptr_lo = cpu_to_le32((u32)(address & 0xffffffff)); in aac_send_raw_srb()
606 hbacmd->error_length = cpu_to_le32(FW_ERROR_BUFFER_SIZE); in aac_send_raw_srb()
607 hbacmd->emb_data_desc_count = in aac_send_raw_srb()
682 hbacmd->sge[i].addr_hi = cpu_to_le32((u32)(addr>>32)); in aac_send_raw_srb()
683 hbacmd->sge[i].addr_lo = cpu_to_le32( in aac_send_raw_srb()
685 hbacmd->sge[i].len = cpu_to_le32(sg_count[i]); in aac_send_raw_srb()
686 hbacmd->sge[i].flags = 0; in aac_send_raw_srb()
691 hbacmd->sge[usg32->count-1].flags = in aac_send_raw_srb()
693 hbacmd->data_length = cpu_to_le32(byte_count); in aac_send_raw_srb()