Home
last modified time | relevance | path

Searched refs:rom_base (Results 1 – 8 of 8) sorted by relevance

/drivers/video/console/
Dsticore.c922 unsigned long rom_base; in sti_try_rom_generic() local
923 rom_base = pci_resource_start(sti->pd, PCI_ROM_RESOURCE); in sti_try_rom_generic()
924 pci_write_config_dword(sti->pd, PCI_ROM_ADDRESS, rom_base & ~PCI_ROM_ADDRESS_ENABLE); in sti_try_rom_generic()
983 unsigned long fb_base, rom_base; in sticore_pci_init() local
996 rom_base = pci_resource_start(pd, PCI_ROM_RESOURCE); in sticore_pci_init()
998 if (rom_base) { in sticore_pci_init()
999 pci_write_config_dword(pd, PCI_ROM_ADDRESS, rom_base | PCI_ROM_ADDRESS_ENABLE); in sticore_pci_init()
1000 pr_debug("STI PCI ROM enabled at 0x%08lx\n", rom_base); in sticore_pci_init()
1004 rom_base, rom_len/1024, fb_base, fb_len/1024/1024); in sticore_pci_init()
1007 rom_base, fb_base); in sticore_pci_init()
[all …]
/drivers/gpu/drm/qxl/
Dqxl_kms.c123 qdev->rom_base = pci_resource_start(pdev, 2); in qxl_device_init()
169 qdev->rom = ioremap(qdev->rom_base, qdev->rom_size); in qxl_device_init()
Dqxl_drv.h199 resource_size_t rom_base, rom_size; member
/drivers/video/fbdev/aty/
Daty128fb.c928 unsigned char __iomem *rom_base = NULL; in aty128_find_mem_vbios() local
931 rom_base = ioremap(segstart, 0x10000); in aty128_find_mem_vbios()
932 if (rom_base == NULL) in aty128_find_mem_vbios()
934 if (readb(rom_base) == 0x55 && readb(rom_base + 1) == 0xaa) in aty128_find_mem_vbios()
936 iounmap(rom_base); in aty128_find_mem_vbios()
937 rom_base = NULL; in aty128_find_mem_vbios()
939 return rom_base; in aty128_find_mem_vbios()
Dradeon_base.c517 void __iomem *rom_base = NULL; in radeon_find_mem_vbios() local
520 rom_base = ioremap(segstart, 0x10000); in radeon_find_mem_vbios()
521 if (rom_base == NULL) in radeon_find_mem_vbios()
523 if (readb(rom_base) == 0x55 && readb(rom_base + 1) == 0xaa) in radeon_find_mem_vbios()
525 iounmap(rom_base); in radeon_find_mem_vbios()
526 rom_base = NULL; in radeon_find_mem_vbios()
528 if (rom_base == NULL) in radeon_find_mem_vbios()
532 rinfo->bios_seg = rom_base; in radeon_find_mem_vbios()
/drivers/video/fbdev/sis/
Dsis_main.c4080 static int sisfb_check_rom(void __iomem *rom_base, in sisfb_check_rom() argument
4086 if((readb(rom_base) != 0x55) || (readb(rom_base + 1) != 0xaa)) in sisfb_check_rom()
4089 romptr = (readb(rom_base + 0x18) | (readb(rom_base + 0x19) << 8)); in sisfb_check_rom()
4093 rom = rom_base + romptr; in sisfb_check_rom()
4111 void __iomem *rom_base; in sisfb_find_rom() local
4121 if((rom_base = pci_map_rom(pdev, &romsize))) { in sisfb_find_rom()
4123 if(sisfb_check_rom(rom_base, ivideo)) { in sisfb_find_rom()
4126 memcpy_fromio(myrombase, rom_base, in sisfb_find_rom()
4130 pci_unmap_rom(pdev, rom_base); in sisfb_find_rom()
4144 rom_base = ioremap(temp, 65536); in sisfb_find_rom()
[all …]
/drivers/net/ethernet/sun/
Dsungem.c2734 static int find_eth_addr_in_vpd(void __iomem *rom_base, int len, unsigned char *dev_addr) in find_eth_addr_in_vpd() argument
2739 void __iomem *p = rom_base + this_offset; in find_eth_addr_in_vpd()
Dsunhme.c2925 static int find_eth_addr_in_vpd(void __iomem *rom_base, int len, int index, unsigned char *dev_addr) in find_eth_addr_in_vpd() argument
2930 void __iomem *p = rom_base + this_offset; in find_eth_addr_in_vpd()