Lines Matching refs:atapi
144 int atapi; member
457 if (p->atapi) { in ahci_write_reset_fis_d2h()
550 if (!pr->atapi) { in ahci_port_reset()
999 if (p->atapi || hdr->prdtl == 0 || cfis[5] != 0 || in ahci_handle_read_log()
1037 if (p->atapi || hdr->prdtl == 0) { in handle_identify()
1048 ata_identify_init(struct ahci_port* p, int atapi) in ata_identify_init() argument
1052 if (atapi) { in ata_identify_init()
1179 if (!p->atapi) { in handle_atapi_identify()
1846 if (!p->atapi) { in ahci_handle_cmd()
2095 if (!pr->atapi) in pci_ahci_ioreq_init()
2472 int atapi, ret, slots, p; in pci_ahci_init() local
2507 atapi = 0; in pci_ahci_init()
2509 atapi = 1; in pci_ahci_init()
2534 sc->port[p].atapi = atapi; in pci_ahci_init()
2552 if (atapi) in pci_ahci_init()
2568 ata_identify_init(&sc->port[p], atapi); in pci_ahci_init()
2683 SNAPSHOT_VAR_OR_LEAVE(port->atapi, meta, ret, done); in pci_ahci_snapshot()