Searched refs:cmd_tbl (Results 1 – 5 of 5) sorted by relevance
/drivers/ata/ |
D | acard-ahci.c | 229 static unsigned int acard_ahci_fill_sg(struct ata_queued_cmd *qc, void *cmd_tbl) in acard_ahci_fill_sg() argument 232 struct acard_sg *acard_sg = cmd_tbl + AHCI_CMD_TBL_HDR_SZ; in acard_ahci_fill_sg() 265 void *cmd_tbl; in acard_ahci_qc_prep() local 274 cmd_tbl = pp->cmd_tbl + qc->tag * AHCI_CMD_TBL_SZ; in acard_ahci_qc_prep() 276 ata_tf_to_fis(&qc->tf, qc->dev->link->pmp, 1, cmd_tbl); in acard_ahci_qc_prep() 278 memset(cmd_tbl + AHCI_CMD_TBL_CDB, 0, 32); in acard_ahci_qc_prep() 279 memcpy(cmd_tbl + AHCI_CMD_TBL_CDB, qc->cdb, qc->dev->cdb_len); in acard_ahci_qc_prep() 284 n_elem = acard_ahci_fill_sg(qc, cmd_tbl); in acard_ahci_qc_prep() 390 pp->cmd_tbl = mem; in acard_ahci_port_start()
|
D | libahci.c | 1268 u8 *fis = pp->cmd_tbl; in ahci_exec_polled_cmd() 1504 static unsigned int ahci_fill_sg(struct ata_queued_cmd *qc, void *cmd_tbl) in ahci_fill_sg() argument 1507 struct ahci_sg *ahci_sg = cmd_tbl + AHCI_CMD_TBL_HDR_SZ; in ahci_fill_sg() 1543 void *cmd_tbl; in ahci_qc_prep() local 1552 cmd_tbl = pp->cmd_tbl + qc->tag * AHCI_CMD_TBL_SZ; in ahci_qc_prep() 1554 ata_tf_to_fis(&qc->tf, qc->dev->link->pmp, 1, cmd_tbl); in ahci_qc_prep() 1556 memset(cmd_tbl + AHCI_CMD_TBL_CDB, 0, 32); in ahci_qc_prep() 1557 memcpy(cmd_tbl + AHCI_CMD_TBL_CDB, qc->cdb, qc->dev->cdb_len); in ahci_qc_prep() 1562 n_elem = ahci_fill_sg(qc, cmd_tbl); in ahci_qc_prep() 2353 pp->cmd_tbl = mem; in ahci_port_start()
|
D | ahci.h | 303 void *cmd_tbl; member
|
/drivers/scsi/mvsas/ |
D | mv_sas.h | 204 __le64 cmd_tbl; /* command table address */ member
|
D | mv_sas.c | 366 hdr->cmd_tbl = cpu_to_le64(sg_dma_address(sg_req)); in mvs_task_prep_smp() 503 hdr->cmd_tbl = cpu_to_le64(buf_tmp_dma); in mvs_task_prep_ata() 620 hdr->cmd_tbl = cpu_to_le64(buf_tmp_dma); in mvs_task_prep_ssp()
|