Home
last modified time | relevance | path

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

/drivers/video/console/
Dsticore.c899 unsigned long rom_base; in sti_try_rom_generic() local
900 rom_base = pci_resource_start(sti->pd, PCI_ROM_RESOURCE); in sti_try_rom_generic()
901 pci_write_config_dword(sti->pd, PCI_ROM_ADDRESS, rom_base & ~PCI_ROM_ADDRESS_ENABLE); in sti_try_rom_generic()
960 unsigned long fb_base, rom_base; in sticore_pci_init() local
973 rom_base = pci_resource_start(pd, PCI_ROM_RESOURCE); in sticore_pci_init()
975 if (rom_base) { in sticore_pci_init()
976 pci_write_config_dword(pd, PCI_ROM_ADDRESS, rom_base | PCI_ROM_ADDRESS_ENABLE); in sticore_pci_init()
977 DPRINTK((KERN_DEBUG "STI PCI ROM enabled at 0x%08lx\n", rom_base)); in sticore_pci_init()
981 rom_base, rom_len/1024, fb_base, fb_len/1024/1024); in sticore_pci_init()
984 rom_base, fb_base)); in sticore_pci_init()
[all …]
/drivers/video/aty/
Daty128fb.c896 unsigned char __iomem *rom_base = NULL; in aty128_find_mem_vbios() local
899 rom_base = ioremap(segstart, 0x10000); in aty128_find_mem_vbios()
900 if (rom_base == NULL) in aty128_find_mem_vbios()
902 if (readb(rom_base) == 0x55 && readb(rom_base + 1) == 0xaa) in aty128_find_mem_vbios()
904 iounmap(rom_base); in aty128_find_mem_vbios()
905 rom_base = NULL; in aty128_find_mem_vbios()
907 return rom_base; in aty128_find_mem_vbios()
Dradeon_base.c399 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/sis/
Dsis_main.c4065 sisfb_check_rom(void __iomem *rom_base, struct sis_video_info *ivideo) in sisfb_check_rom() argument
4070 if((readb(rom_base) != 0x55) || (readb(rom_base + 1) != 0xaa)) in sisfb_check_rom()
4073 romptr = (readb(rom_base + 0x18) | (readb(rom_base + 0x19) << 8)); in sisfb_check_rom()
4077 rom = rom_base + romptr; in sisfb_check_rom()
4096 void __iomem *rom_base; in sisfb_find_rom() local
4106 if((rom_base = pci_map_rom(pdev, &romsize))) { in sisfb_find_rom()
4108 if(sisfb_check_rom(rom_base, ivideo)) { in sisfb_find_rom()
4111 memcpy_fromio(myrombase, rom_base, in sisfb_find_rom()
4115 pci_unmap_rom(pdev, rom_base); in sisfb_find_rom()
4129 rom_base = ioremap(temp, 65536); in sisfb_find_rom()
[all …]
/drivers/net/tokenring/
Dsmctr.h1023 __u32 rom_base; member
Dsmctr.c555 tp->rom_base = ((__u32)(r4 & 0x7) << 13) + 0x0C0000; in smctr_chk_mca()
557 tp->rom_base += 0x010000; in smctr_chk_mca()
1072 tp->rom_base = (__u32)r1 << 13; in smctr_chk_isa()
3675 dev->irq, tp->rom_base, tp->ram_base); in smctr_probe1()
/drivers/net/ethernet/sun/
Dsungem.c2717 static int find_eth_addr_in_vpd(void __iomem *rom_base, int len, unsigned char *dev_addr) in find_eth_addr_in_vpd() argument
2722 void __iomem *p = rom_base + this_offset; in find_eth_addr_in_vpd()
Dsunhme.c2874 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
2879 void __iomem *p = rom_base + this_offset; in find_eth_addr_in_vpd()