Home
last modified time | relevance | path

Searched refs:HBA_CMD_TBL (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.2/kernel/src/driver/disk/ahci/
Dahci.c354 HBA_CMD_TBL *cmdtbl = (HBA_CMD_TBL *)phys_2_virt(cmdheader->ctba); in ahci_read()
355 memset(cmdtbl, 0, sizeof(HBA_CMD_TBL) + (cmdheader->prdtl - 1) * sizeof(HBA_PRDT_ENTRY)); in ahci_read()
451 HBA_CMD_TBL *cmdtbl = (HBA_CMD_TBL *)phys_2_virt(cmdheader->ctba); in ahci_write()
452 memset(cmdtbl, 0, sizeof(HBA_CMD_TBL) + (cmdheader->prdtl - 1) * sizeof(HBA_PRDT_ENTRY)); in ahci_write()
Dahci.h332 } HBA_CMD_TBL; typedef