| /xsrc/external/mit/xf86-video-qxl/dist/src/ |
| H A D | spiceqxl_driver.h | 31 void init_qxl_rom(qxl_screen_t* qxl, uint32_t rom_size);
|
| H A D | spiceqxl_driver.c | 102 void init_qxl_rom(qxl_screen_t* qxl, uint32_t rom_size) argument 111 memset(rom, 0, rom_size);
|
| /xsrc/external/mit/libpciaccess/dist/src/ |
| H A D | linux_devmem.c | 73 pciaddr_t rom_size; local in function:pci_device_linux_devmem_read_rom 79 if (priv->base.rom_size == 0) { 84 rom_size = 0x00010000; 95 rom_size = priv->base.rom_size; 128 for (bytes = 0; bytes < rom_size; /* empty */) { 129 const ssize_t got = pread(fd, buffer, rom_size - bytes,
|
| H A D | netbsd_pci.c | 428 device->rom_size = -(size & PCI_MAPREG_MEM_ADDR_MASK); 447 size_t rom_size; local in function:pci_device_netbsd_read_rom 462 rom_size = 0x10000; 469 rom_size = dev->rom_size; 496 (long)rom_base, (long)rom_size, pci_rom); 498 bios = mmap(NULL, rom_size, PROT_READ, MAP_SHARED, buses[dev->domain].fd, 505 memcpy(buffer, bios, rom_size); 507 munmap(bios, rom_size);
|
| H A D | openbsd_pci.c | 120 pciaddr_t rom_size; local in function:pci_device_openbsd_read_rom 135 if (priv->base.rom_size == 0) { 141 rom_size = 0x10000; 148 rom_size = priv->base.rom_size; 159 bios = mmap(NULL, rom_size, PROT_READ, MAP_SHARED, 164 memcpy(buffer, bios, rom_size); 165 munmap(bios, rom_size); 413 device->rom_size = PCI_ROM_SIZE(size);
|
| H A D | x86_pci.c | 546 if ( (err = pci_system_x86_map_dev_mem(&bios, d->rom_base, dev->rom_size, 0)) ) 549 memcpy(buffer, bios, dev->rom_size); 550 munmap(bios, dev->rom_size); 698 pciaddr_t rom_size; local in function:pci_device_x86_probe_rom 734 rom_size = (~reg + 1); 737 if (rom_size == 0) 760 dev->rom_size = rom_size;
|
| H A D | linux_sysfs.c | 350 dev->rom_size = (high_addr - low_addr) + 1; 366 size_t rom_size; local in function:pci_device_linux_sysfs_read_rom 396 rom_size = st.st_size; 397 if ( rom_size == 0 ) 398 rom_size = 0x10000; 408 for ( total_bytes = 0 ; total_bytes < rom_size ; /* empty */ ) { 410 rom_size - total_bytes );
|
| H A D | freebsd_pci.c | 306 bios = mmap( NULL, dev->rom_size, PROT_READ, 0, memfd, rom_base ); 312 memcpy( buffer, bios, dev->rom_size ); 314 munmap( bios, dev->rom_size ); 359 * At this point, we need to fill in regions, rom_size, and irq. 390 dev->rom_size = 64 * 1024;
|
| H A D | hurd_pci.c | 89 * At this point, we need to fill in regions, rom_size, and irq. 151 dev->rom_size = rom.size; 188 .size = dev->rom_size, 447 rd = read(romfd, buffer, dev->rom_size); 448 if (rd != dev->rom_size) {
|
| H A D | solx_devfs.c | 626 dev->rom_size = reg->pci_size_low; 755 prom.size = dev->rom_size; 760 (void) bcopy(prom.memory, buffer, dev->rom_size);
|
| /xsrc/external/mit/xf86-video-intel-old/dist/src/bios_reader/ |
| H A D | bios_dumper.c | 78 bios = malloc(dev->rom_size); 95 if (write(fd, bios, dev->rom_size) < dev->rom_size) {
|
| /xsrc/external/mit/libpciaccess/dist/scanpci/ |
| H A D | scanpci.c | 173 if ( dev->rom_size ) { 178 (intptr_t) priv->rom_base, (size_t) dev->rom_size);
|
| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/int10/ |
| H A D | generic.c | 94 return (unsigned long)dev->rom_size; 223 INTPriv(pInt)->highMemory = GET_HIGH_BASE(rom_device->rom_size);
|
| /xsrc/external/mit/xorg-server/dist/hw/xfree86/int10/ |
| H A D | generic.c | 205 INTPriv(pInt)->highMemory = GET_HIGH_BASE(rom_device->rom_size); 232 || pInt->dev->rom_size < V_BIOS_SIZE) {
|
| /xsrc/external/mit/libpciaccess/dist/include/ |
| H A D | pciaccess.h | 374 pciaddr_t rom_size; member in struct:pci_device
|
| /xsrc/external/mit/xf86-video-intel-old/dist/src/ |
| H A D | i830_bios.c | 353 size = pI830->PciInfo->rom_size;
|
| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/common/ |
| H A D | xf86pciBus.c | 204 if ( info->rom_size ) { 205 xf86ErrorF(", BIOS @ 0x\?\?\?\?\?\?\?\?/%ld", (long)info->rom_size); 589 if (pci->rom_size)
|
| /xsrc/external/mit/xorg-server/dist/hw/xfree86/common/ |
| H A D | xf86pciBus.c | 193 if (info->rom_size) { 195 (long) info->rom_size); 605 if (pci->rom_size)
|
| /xsrc/external/mit/xf86-video-nv/dist/src/ |
| H A D | g80_driver.c | 195 if(pPci->rom_size == 0) 197 pPci->rom_size = 64 * 1024;
|
| /xsrc/external/mit/xf86-video-r128/dist/src/ |
| H A D | r128_driver.c | 434 int size = info->PciInfo->rom_size > R128_VBIOS_SIZE ? info->PciInfo->rom_size : R128_VBIOS_SIZE;
|
| /xsrc/external/mit/xf86-video-ati/dist/src/ |
| H A D | radeon_bios.c | 362 int size = info->PciInfo->rom_size > RADEON_VBIOS_SIZE ? info->PciInfo->rom_size : RADEON_VBIOS_SIZE;
|
| H A D | radeon_atombios.c | 649 BIOSImageSize = info->PciInfo->rom_size > RADEON_VBIOS_SIZE ? info->PciInfo->rom_size : RADEON_VBIOS_SIZE;
|
| /xsrc/external/mit/xf86-video-sis/dist/src/ |
| H A D | sis_driver.c | 4171 pSiS->PciInfo->rom_size = biossize;
|