Lines Matching refs:hbacmd
484 struct aac_hba_cmd_req *hbacmd = NULL; in aac_send_raw_srb() local
586 hbacmd = (struct aac_hba_cmd_req *)srbfib->hw_fib_va; in aac_send_raw_srb()
587 memset(hbacmd, 0, 96); /* sizeof(*hbacmd) is not necessary */ in aac_send_raw_srb()
592 hbacmd->byte1 = 2; in aac_send_raw_srb()
596 hbacmd->byte1 = 1; in aac_send_raw_srb()
602 hbacmd->lun[1] = cpu_to_le32(user_srbcmd->lun); in aac_send_raw_srb()
603 hbacmd->it_nexus = dev->hba_map[chn][user_srbcmd->id].rmw_nexus; in aac_send_raw_srb()
612 memcpy(hbacmd->cdb, user_srbcmd->cdb, sizeof(hbacmd->cdb)); in aac_send_raw_srb()
615 hbacmd->error_ptr_hi = cpu_to_le32((u32)(address >> 32)); in aac_send_raw_srb()
616 hbacmd->error_ptr_lo = cpu_to_le32((u32)(address & 0xffffffff)); in aac_send_raw_srb()
617 hbacmd->error_length = cpu_to_le32(FW_ERROR_BUFFER_SIZE); in aac_send_raw_srb()
618 hbacmd->emb_data_desc_count = in aac_send_raw_srb()
693 hbacmd->sge[i].addr_hi = cpu_to_le32((u32)(addr>>32)); in aac_send_raw_srb()
694 hbacmd->sge[i].addr_lo = cpu_to_le32( in aac_send_raw_srb()
696 hbacmd->sge[i].len = cpu_to_le32(sg_count[i]); in aac_send_raw_srb()
697 hbacmd->sge[i].flags = 0; in aac_send_raw_srb()
702 hbacmd->sge[usg32->count-1].flags = in aac_send_raw_srb()
704 hbacmd->data_length = cpu_to_le32(byte_count); in aac_send_raw_srb()