Home
last modified time | relevance | path

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

/DragonOS-0.1.3/kernel/src/driver/disk/ahci/
Dahci.c317 cmdheader[i].prdtl = 8; // 8 prdt entries per command table in port_rebase()
352 cmdheader->prdtl = (uint16_t)((count - 1) >> 4) + 1; // PRDT entries count in ahci_read()
355 memset(cmdtbl, 0, sizeof(HBA_CMD_TBL) + (cmdheader->prdtl - 1) * sizeof(HBA_PRDT_ENTRY)); in ahci_read()
359 for (i = 0; i < cmdheader->prdtl - 1; ++i) in ahci_read()
449 cmdheader->prdtl = (uint16_t)((count - 1) >> 4) + 1; // PRDT entries count in ahci_write()
452 memset(cmdtbl, 0, sizeof(HBA_CMD_TBL) + (cmdheader->prdtl - 1) * sizeof(HBA_PRDT_ENTRY)); in ahci_write()
455 for (i = 0; i < cmdheader->prdtl - 1; ++i) in ahci_write()
Dahci.h296 uint16_t prdtl; // Physical region descriptor table length in entries member