Lines Matching defs:drive_bytes
381 int drive_bytes;
390 drive_bytes = ((int)ddi_get8(io_hdl1, ata_ctlp->ac_hcyl) << 8)
398 xfer_bytes = min(ata_pktp->ap_resid, drive_bytes);
415 drive_bytes -= byte_count;
427 drive_bytes -= 2;
437 if (drive_bytes > 0) {
439 drive_bytes));
441 /* rounded up if the drive_bytes count is odd */
442 for (; drive_bytes > 0; drive_bytes -= 2)
461 int drive_bytes;
470 drive_bytes = ((int)ddi_get8(io_hdl1, ata_ctlp->ac_hcyl) << 8)
478 xfer_bytes = min(ata_pktp->ap_resid, drive_bytes);