Lines Matching refs:off
79 int IDE_ReadOne(IDEDrive *drive, void *buf, uint64_t off, uint64_t len);
80 int IDE_WriteOne(IDEDrive *drive, void *buf, uint64_t off, uint64_t len);
340 IDE_ReadOne(IDEDrive *drive, void *buf, uint64_t off, uint64_t len)
347 DLOG(ide, "read %llx %llx\n", off, len);
374 outb(ide->base + IDE_LBALOW, off >> 24);
375 outb(ide->base + IDE_LBAMID, off >> 32);
376 outb(ide->base + IDE_LBAHIGH, off >> 40);
379 outb(ide->base + IDE_LBALOW, off & 0xff);
380 outb(ide->base + IDE_LBAMID, (off >> 8) & 0xff);
381 outb(ide->base + IDE_LBAHIGH, (off >> 16) & 0xff);
414 IDE_WriteOne(IDEDrive *drive, void *buf, uint64_t off, uint64_t len)
421 DLOG(ide, "read %llx %llx\n", off, len);
448 outb(ide->base + IDE_LBALOW, off >> 24);
449 outb(ide->base + IDE_LBAMID, off >> 32);
450 outb(ide->base + IDE_LBAHIGH, off >> 40);
453 outb(ide->base + IDE_LBALOW, off & 0xff);
454 outb(ide->base + IDE_LBAMID, (off >> 8) & 0xff);
455 outb(ide->base + IDE_LBAHIGH, (off >> 16) & 0xff);