Lines Matching defs:atapi
144 int atapi;
457 if (p->atapi) {
550 if (!pr->atapi) {
999 if (p->atapi || hdr->prdtl == 0 || cfis[5] != 0 ||
1037 if (p->atapi || hdr->prdtl == 0) {
1048 ata_identify_init(struct ahci_port* p, int atapi)
1052 if (atapi) {
1179 if (!p->atapi) {
1846 if (!p->atapi) {
2095 if (!pr->atapi)
2472 int atapi, ret, slots, p;
2507 atapi = 0;
2509 atapi = 1;
2534 sc->port[p].atapi = atapi;
2552 if (atapi)
2568 ata_identify_init(&sc->port[p], atapi);
2683 SNAPSHOT_VAR_OR_LEAVE(port->atapi, meta, ret, done);
2761 * Use separate emulation names to distinguish drive and atapi devices