Searched refs:rom_size (Results 1 - 23 of 23) sorted by relevance

/xsrc/external/mit/xf86-video-qxl/dist/src/
H A Dspiceqxl_driver.h31 void init_qxl_rom(qxl_screen_t* qxl, uint32_t rom_size);
H A Dspiceqxl_driver.c102 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 Dlinux_devmem.c73 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 Dnetbsd_pci.c428 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 Dopenbsd_pci.c120 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 Dx86_pci.c546 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 Dlinux_sysfs.c350 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 Dfreebsd_pci.c306 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 Dhurd_pci.c89 * 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 Dsolx_devfs.c626 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 Dbios_dumper.c78 bios = malloc(dev->rom_size);
95 if (write(fd, bios, dev->rom_size) < dev->rom_size) {
/xsrc/external/mit/libpciaccess/dist/scanpci/
H A Dscanpci.c173 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 Dgeneric.c94 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 Dgeneric.c205 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 Dpciaccess.h374 pciaddr_t rom_size; member in struct:pci_device
/xsrc/external/mit/xf86-video-intel-old/dist/src/
H A Di830_bios.c353 size = pI830->PciInfo->rom_size;
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/common/
H A Dxf86pciBus.c204 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 Dxf86pciBus.c193 if (info->rom_size) {
195 (long) info->rom_size);
605 if (pci->rom_size)
/xsrc/external/mit/xf86-video-nv/dist/src/
H A Dg80_driver.c195 if(pPci->rom_size == 0)
197 pPci->rom_size = 64 * 1024;
/xsrc/external/mit/xf86-video-r128/dist/src/
H A Dr128_driver.c434 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 Dradeon_bios.c362 int size = info->PciInfo->rom_size > RADEON_VBIOS_SIZE ? info->PciInfo->rom_size : RADEON_VBIOS_SIZE;
H A Dradeon_atombios.c649 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 Dsis_driver.c4171 pSiS->PciInfo->rom_size = biossize;

Completed in 45 milliseconds