Home
last modified time | relevance | path

Searched refs:cmd_tbl (Results 1 – 5 of 5) sorted by relevance

/linux-3.4.99/drivers/ata/
Dacard-ahci.c230 static unsigned int acard_ahci_fill_sg(struct ata_queued_cmd *qc, void *cmd_tbl) in acard_ahci_fill_sg() argument
233 struct acard_sg *acard_sg = cmd_tbl + AHCI_CMD_TBL_HDR_SZ; in acard_ahci_fill_sg()
266 void *cmd_tbl; in acard_ahci_qc_prep() local
275 cmd_tbl = pp->cmd_tbl + qc->tag * AHCI_CMD_TBL_SZ; in acard_ahci_qc_prep()
277 ata_tf_to_fis(&qc->tf, qc->dev->link->pmp, 1, cmd_tbl); in acard_ahci_qc_prep()
279 memset(cmd_tbl + AHCI_CMD_TBL_CDB, 0, 32); in acard_ahci_qc_prep()
280 memcpy(cmd_tbl + AHCI_CMD_TBL_CDB, qc->cdb, qc->dev->cdb_len); in acard_ahci_qc_prep()
285 n_elem = acard_ahci_fill_sg(qc, cmd_tbl); in acard_ahci_qc_prep()
389 pp->cmd_tbl = mem; in acard_ahci_port_start()
Dlibahci.c1223 u8 *fis = pp->cmd_tbl; in ahci_exec_polled_cmd()
1449 static unsigned int ahci_fill_sg(struct ata_queued_cmd *qc, void *cmd_tbl) in ahci_fill_sg() argument
1452 struct ahci_sg *ahci_sg = cmd_tbl + AHCI_CMD_TBL_HDR_SZ; in ahci_fill_sg()
1488 void *cmd_tbl; in ahci_qc_prep() local
1497 cmd_tbl = pp->cmd_tbl + qc->tag * AHCI_CMD_TBL_SZ; in ahci_qc_prep()
1499 ata_tf_to_fis(&qc->tf, qc->dev->link->pmp, 1, cmd_tbl); in ahci_qc_prep()
1501 memset(cmd_tbl + AHCI_CMD_TBL_CDB, 0, 32); in ahci_qc_prep()
1502 memcpy(cmd_tbl + AHCI_CMD_TBL_CDB, qc->cdb, qc->dev->cdb_len); in ahci_qc_prep()
1507 n_elem = ahci_fill_sg(qc, cmd_tbl); in ahci_qc_prep()
2113 pp->cmd_tbl = mem; in ahci_port_start()
Dahci.h277 void *cmd_tbl; member
/linux-3.4.99/drivers/scsi/mvsas/
Dmv_sas.h203 __le64 cmd_tbl; /* command table address */ member
Dmv_sas.c363 hdr->cmd_tbl = cpu_to_le64(sg_dma_address(sg_req)); in mvs_task_prep_smp()
500 hdr->cmd_tbl = cpu_to_le64(buf_tmp_dma); in mvs_task_prep_ata()
617 hdr->cmd_tbl = cpu_to_le64(buf_tmp_dma); in mvs_task_prep_ssp()