Home
last modified time | relevance | path

Searched refs:vbase (Results 1 – 15 of 15) sorted by relevance

/linux-2.4.37.9/drivers/video/
Dsstfb.c195 static int __sst_wait_idle(u_long vbase);
196 #define sst_wait_idle() __sst_wait_idle(sst_info->mmio.vbase)
375 #define sst_read(reg) __sst_read(sst_info->mmio.vbase, reg)
376 #define sst_write(reg,val) __sst_write(sst_info->mmio.vbase, reg, val)
377 #define sst_set_bits(reg,val) __sst_set_bits(sst_info->mmio.vbase, reg, val)
378 #define sst_unset_bits(reg,val) __sst_unset_bits(sst_info->mmio.vbase, reg, val)
379 #define sst_dac_read(reg) __sst_dac_read(sst_info->mmio.vbase, reg)
380 #define sst_dac_write(reg,val) __sst_dac_write(sst_info->mmio.vbase, reg, val)
381 #define dac_i_read(reg) __dac_i_read(sst_info->mmio.vbase, reg)
382 #define dac_i_write(reg,val) __dac_i_write(sst_info->mmio.vbase, reg, val)
[all …]
Dneofb.c1839 info->mmio.vbase = ioremap (info->mmio.pbase, MMIO_SIZE); in neo_map_mmio()
1840 if (!info->mmio.vbase) in neo_map_mmio()
1847 printk (KERN_INFO "neofb: mapped io at %p\n", info->mmio.vbase); in neo_map_mmio()
1859 if (info->mmio.vbase) in neo_unmap_mmio()
1861 iounmap (info->mmio.vbase); in neo_unmap_mmio()
1862 info->mmio.vbase = NULL; in neo_unmap_mmio()
1881 info->video.vbase = ioremap (info->video.pbase, info->video.len); in neo_map_video()
1882 if (!info->video.vbase) in neo_map_video()
1889 printk (KERN_INFO "neofb: mapped framebuffer at %p\n", info->video.vbase); in neo_map_video()
1893 info->fb.screen_base = info->video.vbase; in neo_map_video()
[all …]
Dneofb.h131 u8 *vbase; member
140 u8 *vbase; member
Dsstfb.h348 unsigned long vbase; /* virtual (CPU view) */ member
353 unsigned long vbase; member
/linux-2.4.37.9/drivers/mtd/maps/
Dceiva.c157 void *vbase; member
196 clps[i].vbase = ioremap(clps[i].base, clps[i].size); in clps_setup_mtd()
197 if (!clps[i].vbase) { in clps_setup_mtd()
202 clps[i].map->map_priv_1 = (unsigned long)clps[i].vbase; in clps_setup_mtd()
226 iounmap(clps[i].vbase); in clps_setup_mtd()
227 clps[i].vbase = NULL; in clps_setup_mtd()
266 if (clps[i].vbase) in clps_setup_mtd()
267 iounmap(clps[i].vbase); in clps_setup_mtd()
290 if (clps[i].vbase) in clps_destroy_mtd()
291 iounmap(clps[i].vbase); in clps_destroy_mtd()
/linux-2.4.37.9/drivers/video/matrox/
Dmatroxfb_crtc2.h17 vaddr_t vbase; /* virtual */ member
26 vaddr_t vbase; member
Dmatroxfb_accel.c315 vaddr_t vbase = ACCESS_FBINFO(video.vbase); in matrox_cfb4_clear() local
321 mga_writeb(vbase, uaddr, (mga_readb(vbase, uaddr) & 0x0F) | bgx2); in matrox_cfb4_clear()
330 mga_writeb(vbase, uaddr, (mga_readb(vbase, uaddr) & 0xF0) | bgx2); in matrox_cfb4_clear()
438 mga_memcpy_toio(ACCESS_FBINFO(mmio.vbase), 0, p->fontdata+(c&p->charmask)*charcell, charcell); in matrox_cfbX_putc()
472 mga_memcpy_toio(ACCESS_FBINFO(mmio.vbase), 0, chardata, fontheight(p) * 4); in matrox_cfbX_putc()
606 mmio = ACCESS_FBINFO(mmio.vbase); in matrox_cfbX_putcs()
842 mga_writew(ACCESS_FBINFO(video.vbase), dstoff, mga_readw(ACCESS_FBINFO(video.vbase), srcoff)); in matrox_text_bmove()
856 mga_writew(ACCESS_FBINFO(video.vbase), dstoff, mga_readw(ACCESS_FBINFO(video.vbase), srcoff)); in matrox_text_bmove()
882 mga_writew(ACCESS_FBINFO(video.vbase), offs, val); in matrox_text_clear()
903 mga_writew(ACCESS_FBINFO(video.vbase), offs, ntohs(chr)); in matrox_text_putc()
[all …]
Dmatroxfb_base.h515 vaddr_t vbase; /* CPU view */ member
523 vaddr_t vbase; /* CPU view */ member
559 vaddr_t vbase; member
891 #define mga_inb(addr) mga_readb(ACCESS_FBINFO(mmio.vbase), (addr))
892 #define mga_inl(addr) mga_readl(ACCESS_FBINFO(mmio.vbase), (addr))
893 #define mga_outb(addr,val) mga_writeb(ACCESS_FBINFO(mmio.vbase), (addr), (val))
894 #define mga_outw(addr,val) mga_writew(ACCESS_FBINFO(mmio.vbase), (addr), (val))
895 #define mga_outl(addr,val) mga_writel(ACCESS_FBINFO(mmio.vbase), (addr), (val))
Dmatroxfb_misc.c494 ACCESS_FBINFO(fastfont.vbase) = ACCESS_FBINFO(video.vbase); in matroxfb_fastfont_init()
495 vaddr_add(&ACCESS_FBINFO(fastfont.vbase), start); in matroxfb_fastfont_init()
519 dst = ACCESS_FBINFO(video.vbase); in matrox_text_loadfont()
562 mga_memcpy_toio(ACCESS_FBINFO(fastfont.vbase), 0, p->fontdata, fsize); in matroxfb_fastfont_tryset()
569 dst = ACCESS_FBINFO(fastfont.vbase); in matroxfb_fastfont_tryset()
589 mga_memcpy_toio(ACCESS_FBINFO(fastfont.vbase), 0, p->fontdata, fsize*2); in matroxfb_fastfont_tryset()
596 dst = ACCESS_FBINFO(fastfont.vbase); in matroxfb_fastfont_tryset()
617 mga_memcpy_toio(ACCESS_FBINFO(fastfont.vbase), 0, p->fontdata, fsize*4); in matroxfb_fastfont_tryset()
624 dst = ACCESS_FBINFO(fastfont.vbase); in matroxfb_fastfont_tryset()
997 parse_bios(vaddr_va(ACCESS_FBINFO(video).vbase), &ACCESS_FBINFO(bios)); in matroxfb_read_pins()
Dmatroxfb_crtc2.c443 p->screen_base = m2info->fbcon.screen_base = vaddr_va(m2info->video.vbase); in matroxfb_dh_set_var()
846 m2info->video.vbase.vaddr = vaddr_va(ACCESS_FBINFO(video.vbase)) + m2info->video.offbase; in matroxfb_dh_regit()
848 m2info->mmio.vbase = ACCESS_FBINFO(mmio.vbase); in matroxfb_dh_regit()
Dmatroxfb_DAC1064.c63 cursorbase = ACCESS_FBINFO(video.vbase); in matroxfb_DAC1064_createcursor()
1047 mga_writeb(ACCESS_FBINFO(video.vbase), 0x0000, 0xAA); in MGAG100_preinit()
1048 mga_writeb(ACCESS_FBINFO(video.vbase), 0x0800, 0x55); in MGAG100_preinit()
1049 mga_writeb(ACCESS_FBINFO(video.vbase), 0x4000, 0x55); in MGAG100_preinit()
1051 if (mga_readb(ACCESS_FBINFO(video.vbase), 0x0000) != 0xAA) { in MGAG100_preinit()
Dmatroxfb_base.c391 mga_iounmap(ACCESS_FBINFO(mmio.vbase)); in matroxfb_remove()
392 mga_iounmap(ACCESS_FBINFO(video.vbase)); in matroxfb_remove()
927 …display->screen_base = ACCESS_FBINFO(fbcon.screen_base) = vaddr_va(ACCESS_FBINFO(video.vbase)) + y… in matroxfb_set_var()
1673 vm = ACCESS_FBINFO(video.vbase); in matroxfb_getmemory()
2013 if (mga_ioremap(ctrlptr_phys, 16384, MGA_IOREMAP_MMIO, &ACCESS_FBINFO(mmio.vbase))) { in initMatrox2()
2020 if (mga_ioremap(video_base_phys, memsize, MGA_IOREMAP_FB, &ACCESS_FBINFO(video.vbase))) { in initMatrox2()
2222 ACCESS_FBINFO(video.base), vaddr_va(ACCESS_FBINFO(video.vbase)), ACCESS_FBINFO(video.len)); in initMatrox2()
2242 mga_iounmap(ACCESS_FBINFO(video.vbase)); in initMatrox2()
2244 mga_iounmap(ACCESS_FBINFO(mmio.vbase)); in initMatrox2()
/linux-2.4.37.9/drivers/atm/
Dlanai.c246 bus_addr_t vbase; /* Base of VCC's registers */ member
466 APRINTK(lvcc->vbase != 0, "vcc_mark_backlogged: zero vbase!\n"); in vcc_mark_backlogged()
473 APRINTK(lvcc->vbase != 0, "vcc_unmark_backlogged: zero vbase!\n"); in vcc_unmark_backlogged()
797 APRINTK(lvcc->vbase != 0, "cardvcc_read: unbound vcc!\n"); in cardvcc_read()
798 val= readl(lvcc->vbase + (bus_addr_t) offset); in cardvcc_read()
807 APRINTK(lvcc->vbase != 0, "cardvcc_write: unbound vcc!\n"); in cardvcc_write()
813 writel(val, lvcc->vbase + (bus_addr_t) offset); in cardvcc_write()
895 if (lvcc->vbase == 0) /* We were never bound to a VCI */ in lanai_shutdown_rx_vci()
926 if (lvcc->vbase == 0) /* We were never bound to a VCI */ in lanai_shutdown_tx_vci()
1666 lvcc->vbase = 0; in new_lanai_vcc()
[all …]
/linux-2.4.37.9/arch/ppc64/kernel/
Dprom.c885 unsigned long base, vbase, align; in prom_initialize_tce_table() local
953 vbase = absolute_to_virt(base); in prom_initialize_tce_table()
957 prom_tce_table[table].base = vbase; in prom_initialize_tce_table()
970 prom_print_hex(vbase); in prom_initialize_tce_table()
/linux-2.4.37.9/arch/sparc/mm/
Dsrmmu.c1099 static unsigned long __init map_spbank(unsigned long vbase, int sp_entry) in map_spbank() argument
1102 unsigned long vstart = (vbase & SRMMU_PGDIR_MASK); in map_spbank()
1103 unsigned long vend = SRMMU_PGDIR_ALIGN(vbase + sp_banks[sp_entry].num_bytes); in map_spbank()