Searched refs:hbacmd (Results 1 – 2 of 2) sorted by relevance
484 struct aac_hba_cmd_req *hbacmd = NULL; in aac_send_raw_srb() local586 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()[all …]
222 struct aac_hba_cmd_req *hbacmd,1534 struct aac_hba_cmd_req *hbacmd; in aac_construct_hbacmd() local1541 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()[all …]