Searched refs:rom_base (Results 1 – 7 of 7) sorted by relevance
/linux/drivers/video/ |
H A D | sticore.c | 990 unsigned long rom_base; in sti_try_rom_generic() local 991 rom_base = pci_resource_start(sti->pd, PCI_ROM_RESOURCE); in sti_try_rom_generic() 992 pci_write_config_dword(sti->pd, PCI_ROM_ADDRESS, rom_base & ~PCI_ROM_ADDRESS_ENABLE); in sti_try_rom_generic() 1054 unsigned long fb_base, rom_base; in sticore_pci_init() local 1067 rom_base = pci_resource_start(pd, PCI_ROM_RESOURCE); in sticore_pci_init() 1069 if (rom_base) { in sticore_pci_init() 1070 pci_write_config_dword(pd, PCI_ROM_ADDRESS, rom_base | PCI_ROM_ADDRESS_ENABLE); in sticore_pci_init() 1071 pr_debug("STI PCI ROM enabled at 0x%08lx\n", rom_base); in sticore_pci_init() 1075 rom_base, rom_len/1024, fb_base, fb_len/1024/1024); in sticore_pci_init() 1078 rom_base, fb_base); in sticore_pci_init() [all …]
|
/linux/drivers/gpu/drm/qxl/ |
H A D | qxl_kms.c | 120 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()
|
H A D | qxl_drv.h | 180 resource_size_t rom_base, rom_size; member
|
/linux/drivers/video/fbdev/aty/ |
H A D | radeon_base.c | 518 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()
|
/linux/drivers/video/fbdev/sis/ |
H A D | sis_main.c | 4061 static int sisfb_check_rom(void __iomem *rom_base, in sisfb_check_rom() argument 4067 if((readb(rom_base) != 0x55) || (readb(rom_base + 1) != 0xaa)) in sisfb_check_rom() 4070 romptr = (readb(rom_base + 0x18) | (readb(rom_base + 0x19) << 8)); in sisfb_check_rom() 4074 rom = rom_base + romptr; in sisfb_check_rom() 4092 void __iomem *rom_base; in sisfb_find_rom() local 4102 if((rom_base = pci_map_rom(pdev, &romsize))) { in sisfb_find_rom() 4104 if(sisfb_check_rom(rom_base, ivideo)) { in sisfb_find_rom() 4107 memcpy_fromio(myrombase, rom_base, in sisfb_find_rom() 4111 pci_unmap_rom(pdev, rom_base); in sisfb_find_rom() 4125 rom_base = ioremap(temp, 65536); in sisfb_find_rom() [all …]
|
/linux/drivers/net/ethernet/sun/ |
H A D | sungem.c | 2723 static int find_eth_addr_in_vpd(void __iomem *rom_base, int len, unsigned char *dev_addr) in find_eth_addr_in_vpd() argument 2728 void __iomem *p = rom_base + this_offset; in find_eth_addr_in_vpd()
|
H A D | sunhme.c | 2334 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 2339 void __iomem *p = rom_base + this_offset; in find_eth_addr_in_vpd()
|