Lines Matching refs:hbacmd
222 struct aac_hba_cmd_req *hbacmd,
1534 struct aac_hba_cmd_req *hbacmd;
1541 hbacmd = (struct aac_hba_cmd_req *)fib->hw_fib_va;
1542 memset(hbacmd, 0, 96); /* sizeof(*hbacmd) is not necessary */
1546 hbacmd->byte1 = 2;
1550 hbacmd->byte1 = 1;
1556 hbacmd->lun[1] = cpu_to_le32(cmd->device->lun);
1560 hbacmd->it_nexus = dev->hba_map[bus][target].rmw_nexus;
1566 memcpy(hbacmd->cdb, cmd->cmnd, cmd->cmd_len);
1567 hbacmd->data_length = cpu_to_le32(scsi_bufflen(cmd));
1570 hbacmd->error_ptr_hi = cpu_to_le32((u32)(address >> 32));
1571 hbacmd->error_ptr_lo = cpu_to_le32((u32)(address & 0xffffffff));
1572 hbacmd->error_length = cpu_to_le32(FW_ERROR_BUFFER_SIZE);
1574 return hbacmd;
1649 struct aac_hba_cmd_req *hbacmd = aac_construct_hbacmd(fib, cmd);
1655 ret = aac_build_sghba(cmd, hbacmd,
1663 fib->hbacmd_size = 64 + le32_to_cpu(hbacmd->emb_data_desc_count) *
4042 struct aac_hba_cmd_req *hbacmd,
4060 sge = &hbacmd->sge[2];
4062 sge = &hbacmd->sge[0];
4090 hbacmd->emb_data_desc_count = cpu_to_le32(nseg);
4094 hbacmd->sge[0].flags = cpu_to_le32(0x80000000);
4095 hbacmd->emb_data_desc_count = (u8)cpu_to_le32(1);
4096 hbacmd->sge[0].addr_hi = (u32)cpu_to_le32(sg_address >> 32);
4097 hbacmd->sge[0].addr_lo =