Lines Matching refs:hbacmd

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