Searched refs:cmdtbl (Results 1 – 1 of 1) sorted by relevance
354 HBA_CMD_TBL *cmdtbl = (HBA_CMD_TBL *)phys_2_virt(cmdheader->ctba); in ahci_read() local355 memset(cmdtbl, 0, sizeof(HBA_CMD_TBL) + (cmdheader->prdtl - 1) * sizeof(HBA_PRDT_ENTRY)); in ahci_read()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()374 FIS_REG_H2D *cmdfis = (FIS_REG_H2D *)(&cmdtbl->cfis); in ahci_read()451 HBA_CMD_TBL *cmdtbl = (HBA_CMD_TBL *)phys_2_virt(cmdheader->ctba); in ahci_write() local[all …]