Home
last modified time | relevance | path

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

/system/dev/block/ahci/
A Dahci.c294 uint8_t* cfis = port->ct[slot]->cfis; in ahci_do_txn() local
295 cfis[0] = 0x27; // host-to-device in ahci_do_txn()
296 cfis[1] = 0x80; // command in ahci_do_txn()
297 cfis[2] = cmd; in ahci_do_txn()
298 cfis[7] = device; in ahci_do_txn()
303 cfis[4] = lba & 0xff; in ahci_do_txn()
304 cfis[5] = (lba >> 8) & 0xff; in ahci_do_txn()
309 cfis[12] = count & 0xff; in ahci_do_txn()
312 cfis[4] = lba & 0xff; in ahci_do_txn()
313 cfis[5] = (lba >> 8) & 0xff; in ahci_do_txn()
[all …]
A Dahci.h148 uint8_t cfis[0x40]; // command FIS member

Completed in 6 milliseconds