Lines Matching refs:prdt_entry
361 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()
465 cmdtbl->prdt_entry[i].dbc = count << 9; // 512 bytes per sector in ahci_write()
466 cmdtbl->prdt_entry[i].i = 0; in ahci_write()