Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/video/console/
Dsticore.c921 unsigned long rom_base; in sti_try_rom_generic() local
922 rom_base = pci_resource_start(sti->pd, PCI_ROM_RESOURCE); in sti_try_rom_generic()
923 pci_write_config_dword(sti->pd, PCI_ROM_ADDRESS, rom_base & ~PCI_ROM_ADDRESS_ENABLE); in sti_try_rom_generic()
982 unsigned long fb_base, rom_base; in sticore_pci_init() local
995 rom_base = pci_resource_start(pd, PCI_ROM_RESOURCE); in sticore_pci_init()
997 if (rom_base) { in sticore_pci_init()
998 pci_write_config_dword(pd, PCI_ROM_ADDRESS, rom_base | PCI_ROM_ADDRESS_ENABLE); in sticore_pci_init()
999 pr_debug("STI PCI ROM enabled at 0x%08lx\n", rom_base); in sticore_pci_init()
1003 rom_base, rom_len/1024, fb_base, fb_len/1024/1024); in sticore_pci_init()
1006 rom_base, fb_base); in sticore_pci_init()
[all …]
/Linux-v5.15/drivers/gpu/drm/qxl/
Dqxl_kms.c122 qdev->rom_base = pci_resource_start(pdev, 2); in qxl_device_init()
168 qdev->rom = ioremap(qdev->rom_base, qdev->rom_size); in qxl_device_init()
Dqxl_drv.h184 resource_size_t rom_base, rom_size; member
/Linux-v5.15/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()
/Linux-v5.15/drivers/video/fbdev/sis/
Dsis_main.c4078 static int sisfb_check_rom(void __iomem *rom_base, in sisfb_check_rom() argument
4084 if((readb(rom_base) != 0x55) || (readb(rom_base + 1) != 0xaa)) in sisfb_check_rom()
4087 romptr = (readb(rom_base + 0x18) | (readb(rom_base + 0x19) << 8)); in sisfb_check_rom()
4091 rom = rom_base + romptr; in sisfb_check_rom()
4109 void __iomem *rom_base; in sisfb_find_rom() local
4119 if((rom_base = pci_map_rom(pdev, &romsize))) { in sisfb_find_rom()
4121 if(sisfb_check_rom(rom_base, ivideo)) { in sisfb_find_rom()
4124 memcpy_fromio(myrombase, rom_base, in sisfb_find_rom()
4128 pci_unmap_rom(pdev, rom_base); in sisfb_find_rom()
4142 rom_base = ioremap(temp, 65536); in sisfb_find_rom()
[all …]
/Linux-v5.15/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.c2901 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
2906 void __iomem *p = rom_base + this_offset; in find_eth_addr_in_vpd()