Lines Matching defs:offset
213 IdeDisk::readCommand(const Addr offset, int size, uint8_t *data)
215 if (offset == DATA_OFFSET) {
229 switch (offset) {
253 panic("Invalid IDE command register offset: %#x\n", offset);
255 DPRINTF(IdeDisk, "Read to disk at offset: %#x data %#x\n", offset, *data);
259 IdeDisk::readControl(const Addr offset, int size, uint8_t *data)
263 if (offset != ALTSTAT_OFFSET)
264 panic("Invalid IDE control register offset: %#x\n", offset);
265 DPRINTF(IdeDisk, "Read to disk at offset: %#x data %#x\n", offset, *data);
269 IdeDisk::writeCommand(const Addr offset, int size, const uint8_t *data)
271 if (offset == DATA_OFFSET) {
286 switch (offset) {
310 panic("Invalid IDE command register offset: %#x\n", offset);
312 DPRINTF(IdeDisk, "Write to disk at offset: %#x data %#x\n", offset,
317 IdeDisk::writeControl(const Addr offset, int size, const uint8_t *data)
319 if (offset != CONTROL_OFFSET)
320 panic("Invalid IDE control register offset: %#x\n", offset);
332 DPRINTF(IdeDisk, "Write to disk at offset: %#x data %#x\n", offset,