Home
last modified time | relevance | path

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

/drivers/video/console/
Dsticore.c943 unsigned long rom_base; in sti_try_rom_generic() local
944 rom_base = pci_resource_start(sti->pd, PCI_ROM_RESOURCE); in sti_try_rom_generic()
945 pci_write_config_dword(sti->pd, PCI_ROM_ADDRESS, rom_base & ~PCI_ROM_ADDRESS_ENABLE); in sti_try_rom_generic()
1004 unsigned long fb_base, rom_base; in sticore_pci_init() local
1017 rom_base = pci_resource_start(pd, PCI_ROM_RESOURCE); in sticore_pci_init()
1019 if (rom_base) { in sticore_pci_init()
1020 pci_write_config_dword(pd, PCI_ROM_ADDRESS, rom_base | PCI_ROM_ADDRESS_ENABLE); in sticore_pci_init()
1021 pr_debug("STI PCI ROM enabled at 0x%08lx\n", rom_base); in sticore_pci_init()
1025 rom_base, rom_len/1024, fb_base, fb_len/1024/1024); in sticore_pci_init()
1028 rom_base, fb_base); in sticore_pci_init()
[all …]
/drivers/gpu/drm/qxl/
Dqxl_kms.c120 qdev->rom_base = pci_resource_start(pdev, 2); in qxl_device_init()
166 qdev->rom = ioremap_wc(qdev->rom_base, qdev->rom_size); in qxl_device_init()
Dqxl_drv.h183 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.c518 void __iomem *rom_base = NULL; in radeon_find_mem_vbios() local
521 rom_base = ioremap(segstart, 0x10000); in radeon_find_mem_vbios()
522 if (rom_base == NULL) in radeon_find_mem_vbios()
524 if (readb(rom_base) == 0x55 && readb(rom_base + 1) == 0xaa) in radeon_find_mem_vbios()
526 iounmap(rom_base); in radeon_find_mem_vbios()
527 rom_base = NULL; in radeon_find_mem_vbios()
529 if (rom_base == NULL) in radeon_find_mem_vbios()
533 rinfo->bios_seg = rom_base; in radeon_find_mem_vbios()
/drivers/video/fbdev/sis/
Dsis_main.c4090 static int sisfb_check_rom(void __iomem *rom_base, in sisfb_check_rom() argument
4096 if((readb(rom_base) != 0x55) || (readb(rom_base + 1) != 0xaa)) in sisfb_check_rom()
4099 romptr = (readb(rom_base + 0x18) | (readb(rom_base + 0x19) << 8)); in sisfb_check_rom()
4103 rom = rom_base + romptr; in sisfb_check_rom()
4121 void __iomem *rom_base; in sisfb_find_rom() local
4131 if((rom_base = pci_map_rom(pdev, &romsize))) { in sisfb_find_rom()
4133 if(sisfb_check_rom(rom_base, ivideo)) { in sisfb_find_rom()
4136 memcpy_fromio(myrombase, rom_base, in sisfb_find_rom()
4140 pci_unmap_rom(pdev, rom_base); in sisfb_find_rom()
4154 rom_base = ioremap(temp, 65536); in sisfb_find_rom()
[all …]
/drivers/net/ethernet/sun/
Dsungem.c2733 static int find_eth_addr_in_vpd(void __iomem *rom_base, int len, unsigned char *dev_addr) in find_eth_addr_in_vpd() argument
2738 void __iomem *p = rom_base + this_offset; in find_eth_addr_in_vpd()
Dsunhme.c2765 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
2770 void __iomem *p = rom_base + this_offset; in find_eth_addr_in_vpd()