Lines Matching defs:offset
66 const Addr offset = pkt->getAddr() - pioAddr;
69 DPRINTF(VIOIface, "Reading %u bytes @ 0x%x:\n", size, offset);
72 if (offset >= OFF_CONFIG) {
73 vio.readConfig(pkt, offset - OFF_CONFIG);
79 const uint32_t value = read(offset);
88 MmioVirtIO::read(Addr offset)
90 switch(offset) {
153 offset);
157 panic("Unhandled read offset (0x%x)\n", offset);
164 const Addr offset = pkt->getAddr() - pioAddr;
167 DPRINTF(VIOIface, "Writing %u bytes @ 0x%x:\n", size, offset);
170 if (offset >= OFF_CONFIG) {
171 vio.writeConfig(pkt, offset - OFF_CONFIG);
175 panic_if(size != 4, "Unexpected write size @ 0x%x: %u\n", offset, size);
178 write(offset, pkt->getLE<uint32_t>());
183 MmioVirtIO::write(Addr offset, uint32_t value)
185 switch(offset) {
252 offset);
256 panic("Unhandled read offset (0x%x)\n", offset);