Lines Matching refs:buffer
76 void* buffer, size_t size)
87 } * v = (union regs*)buffer;
317 uint8* buffer = (uint8*)_buffer;
323 *buffer = *(uint8*)offset;
325 *buffer = bus->pci->read_io_8(bus->device, offset);
330 *(uint16*)buffer = *(uint16*)offset;
332 *(uint16*)buffer = bus->pci->read_io_16(bus->device, offset);
336 *(uint32*)buffer = *(uint32*)offset;
338 *(uint32*)buffer = bus->pci->read_io_32(bus->device,
342 buffer += size;
361 const uint8* buffer = (const uint8*)_buffer;
367 *(uint8*)offset = *buffer;
369 bus->pci->write_io_8(bus->device, offset, *buffer);
374 *(uint16*)offset = *(uint16*)buffer;
376 bus->pci->write_io_16(bus->device, offset, *(const uint16*)buffer);
380 *(uint32*)offset = *(uint32*)buffer;
382 bus->pci->write_io_32(bus->device, offset, *(const uint32*)buffer);
385 buffer += size;