Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/driver/disk/ahci/
Dahci.c361 cmdtbl->prdt_entry[i].dba = virt_2_phys(buf); in ahci_read()
362 …cmdtbl->prdt_entry[i].dbc = 8 * 1024 - 1; // 8K bytes (this value should always be set to 1 less t… in ahci_read()
363 cmdtbl->prdt_entry[i].i = 1; in ahci_read()
369 cmdtbl->prdt_entry[i].dba = virt_2_phys(buf); in ahci_read()
370 cmdtbl->prdt_entry[i].dbc = (count << 9) - 1; // 512 bytes per sector in ahci_read()
371 cmdtbl->prdt_entry[i].i = 1; in ahci_read()
457 cmdtbl->prdt_entry[i].dba = virt_2_phys(buf); in ahci_write()
458 cmdtbl->prdt_entry[i].dbc = 8 * 1024 - 1; // 8K bytes in ahci_write()
459 cmdtbl->prdt_entry[i].i = 0; in ahci_write()
463 cmdtbl->prdt_entry[i].dba = virt_2_phys(buf); in ahci_write()
[all …]
Dahci.h331 HBA_PRDT_ENTRY prdt_entry[1]; // Physical region descriptor table entries, 0 ~ 65535 member