Lines Matching refs:hbacmd
223 struct aac_hba_cmd_req *hbacmd,
1521 struct aac_hba_cmd_req *hbacmd;
1528 hbacmd = (struct aac_hba_cmd_req *)fib->hw_fib_va;
1529 memset(hbacmd, 0, 96); /* sizeof(*hbacmd) is not necessary */
1533 hbacmd->byte1 = 2;
1537 hbacmd->byte1 = 1;
1543 hbacmd->lun[1] = cpu_to_le32(cmd->device->lun);
1547 hbacmd->it_nexus = dev->hba_map[bus][target].rmw_nexus;
1553 memcpy(hbacmd->cdb, cmd->cmnd, cmd->cmd_len);
1554 hbacmd->data_length = cpu_to_le32(scsi_bufflen(cmd));
1557 hbacmd->error_ptr_hi = cpu_to_le32((u32)(address >> 32));
1558 hbacmd->error_ptr_lo = cpu_to_le32((u32)(address & 0xffffffff));
1559 hbacmd->error_length = cpu_to_le32(FW_ERROR_BUFFER_SIZE);
1561 return hbacmd;
1636 struct aac_hba_cmd_req *hbacmd = aac_construct_hbacmd(fib, cmd);
1642 ret = aac_build_sghba(cmd, hbacmd,
1650 fib->hbacmd_size = 64 + le32_to_cpu(hbacmd->emb_data_desc_count) *
4078 struct aac_hba_cmd_req *hbacmd,
4096 sge = &hbacmd->sge[2];
4098 sge = &hbacmd->sge[0];
4126 hbacmd->emb_data_desc_count = cpu_to_le32(nseg);
4130 hbacmd->sge[0].flags = cpu_to_le32(0x80000000);
4131 hbacmd->emb_data_desc_count = (u8)cpu_to_le32(1);
4132 hbacmd->sge[0].addr_hi = (u32)cpu_to_le32(sg_address >> 32);
4133 hbacmd->sge[0].addr_lo =