Searched refs:rom_base (Results 1 – 8 of 8) sorted by relevance
/drivers/video/console/ |
D | sticore.c | 907 unsigned long rom_base; in sti_try_rom_generic() local 908 rom_base = pci_resource_start(sti->pd, PCI_ROM_RESOURCE); in sti_try_rom_generic() 909 pci_write_config_dword(sti->pd, PCI_ROM_ADDRESS, rom_base & ~PCI_ROM_ADDRESS_ENABLE); in sti_try_rom_generic() 968 unsigned long fb_base, rom_base; in sticore_pci_init() local 981 rom_base = pci_resource_start(pd, PCI_ROM_RESOURCE); in sticore_pci_init() 983 if (rom_base) { in sticore_pci_init() 984 pci_write_config_dword(pd, PCI_ROM_ADDRESS, rom_base | PCI_ROM_ADDRESS_ENABLE); in sticore_pci_init() 985 DPRINTK((KERN_DEBUG "STI PCI ROM enabled at 0x%08lx\n", rom_base)); in sticore_pci_init() 989 rom_base, rom_len/1024, fb_base, fb_len/1024/1024); in sticore_pci_init() 992 rom_base, fb_base)); in sticore_pci_init() [all …]
|
/drivers/gpu/drm/qxl/ |
D | qxl_kms.c | 136 qdev->rom_base = pci_resource_start(pdev, 2); in qxl_device_init() 173 qdev->rom = ioremap(qdev->rom_base, qdev->rom_size); in qxl_device_init()
|
D | qxl_drv.h | 250 resource_size_t rom_base, rom_size; member
|
/drivers/video/fbdev/aty/ |
D | aty128fb.c | 949 unsigned char __iomem *rom_base = NULL; in aty128_find_mem_vbios() local 952 rom_base = ioremap(segstart, 0x10000); in aty128_find_mem_vbios() 953 if (rom_base == NULL) in aty128_find_mem_vbios() 955 if (readb(rom_base) == 0x55 && readb(rom_base + 1) == 0xaa) in aty128_find_mem_vbios() 957 iounmap(rom_base); in aty128_find_mem_vbios() 958 rom_base = NULL; in aty128_find_mem_vbios() 960 return rom_base; in aty128_find_mem_vbios()
|
D | radeon_base.c | 399 void __iomem *rom_base = NULL; in radeon_find_mem_vbios() local 402 rom_base = ioremap(segstart, 0x10000); in radeon_find_mem_vbios() 403 if (rom_base == NULL) in radeon_find_mem_vbios() 405 if (readb(rom_base) == 0x55 && readb(rom_base + 1) == 0xaa) in radeon_find_mem_vbios() 407 iounmap(rom_base); in radeon_find_mem_vbios() 408 rom_base = NULL; in radeon_find_mem_vbios() 410 if (rom_base == NULL) in radeon_find_mem_vbios() 414 rinfo->bios_seg = rom_base; in radeon_find_mem_vbios()
|
/drivers/video/fbdev/sis/ |
D | sis_main.c | 4040 static int sisfb_check_rom(void __iomem *rom_base, in sisfb_check_rom() argument 4046 if((readb(rom_base) != 0x55) || (readb(rom_base + 1) != 0xaa)) in sisfb_check_rom() 4049 romptr = (readb(rom_base + 0x18) | (readb(rom_base + 0x19) << 8)); in sisfb_check_rom() 4053 rom = rom_base + romptr; in sisfb_check_rom() 4071 void __iomem *rom_base; in sisfb_find_rom() local 4081 if((rom_base = pci_map_rom(pdev, &romsize))) { in sisfb_find_rom() 4083 if(sisfb_check_rom(rom_base, ivideo)) { in sisfb_find_rom() 4086 memcpy_fromio(myrombase, rom_base, in sisfb_find_rom() 4090 pci_unmap_rom(pdev, rom_base); in sisfb_find_rom() 4104 rom_base = ioremap(temp, 65536); in sisfb_find_rom() [all …]
|
/drivers/net/ethernet/sun/ |
D | sungem.c | 2715 static int find_eth_addr_in_vpd(void __iomem *rom_base, int len, unsigned char *dev_addr) in find_eth_addr_in_vpd() argument 2720 void __iomem *p = rom_base + this_offset; in find_eth_addr_in_vpd()
|
D | sunhme.c | 2922 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 2927 void __iomem *p = rom_base + this_offset; in find_eth_addr_in_vpd()
|