Home
last modified time | relevance | path

Searched refs:regbase (Results 1 – 12 of 12) sorted by relevance

/linux-2.4.37.9/drivers/video/
Dvga.h211 static inline unsigned char vga_mm_r (caddr_t regbase, unsigned short port) in vga_mm_r() argument
213 return readb (regbase + port); in vga_mm_r()
216 static inline void vga_mm_w (caddr_t regbase, unsigned short port, unsigned char val) in vga_mm_w() argument
218 writeb (val, regbase + port); in vga_mm_w()
221 static inline void vga_mm_w_fast (caddr_t regbase, unsigned short port, in vga_mm_w_fast() argument
224 writew (VGA_OUT16VAL (val, reg), regbase + port); in vga_mm_w_fast()
227 static inline unsigned char vga_r (caddr_t regbase, unsigned short port) in vga_r() argument
229 if (regbase) in vga_r()
230 return vga_mm_r (regbase, port); in vga_r()
235 static inline void vga_w (caddr_t regbase, unsigned short port, unsigned char val) in vga_w() argument
[all …]
Dclgenfb.c626 static void clgen_WaitBLT (caddr_t regbase);
627 static void clgen_BitBLT (caddr_t regbase, u_short curx, u_short cury,
641 static void clgen_dbg_reg_dump (caddr_t regbase);
642 static void clgen_dbg_print_regs (caddr_t regbase, clgen_dbg_reg_class_t reg_class,...);
2442 static unsigned int __init clgen_get_memsize (caddr_t regbase) in clgen_get_memsize() argument
2449 SRF = vga_rseq (regbase, CL_SEQRF); in clgen_get_memsize()
3114 static inline void clgen_WaitBLT (caddr_t regbase) in clgen_WaitBLT() argument
3117 while (vga_rgfx (regbase, CL_GR31) & 0x08) in clgen_WaitBLT()
3127 static void clgen_BitBLT (caddr_t regbase, u_short curx, u_short cury, u_short destx, u_short desty, in clgen_BitBLT() argument
3159 clgen_WaitBLT(regbase); in clgen_BitBLT()
[all …]
Doffb.c435 unsigned long regbase = dp->addrs[2].address; in offb_init_fb() local
436 info->cmap_adr = ioremap(regbase, 0x1FFF); in offb_init_fb()
440 unsigned long regbase = dp->parent->addrs[2].address; in offb_init_fb() local
441 info->cmap_adr = ioremap(regbase, 0x1FFF); in offb_init_fb()
444 unsigned long regbase = dp->parent->addrs[2].address; in offb_init_fb() local
445 info->cmap_adr = ioremap(regbase, 0x1FFF); in offb_init_fb()
448 unsigned long regbase = dp->addrs[1].address; in offb_init_fb() local
449 info->cmap_adr = ioremap(regbase, 0x1FFF); in offb_init_fb()
462 unsigned long regbase = dp->addrs[0].address; in offb_init_fb() local
463 info->cmap_adr = ioremap(regbase + 0x6000, 0x1000); in offb_init_fb()
Depson1356fb.c2175 void* regbase; in e1356fb_init() local
2221 regbase = fb_info.regbase_virt; in e1356fb_init()
2225 reg->basic = (reg_basic_t*) (regbase + REG_BASE_BASIC); in e1356fb_init()
2226 reg->genio = (reg_genio_t*) (regbase + REG_BASE_GENIO); in e1356fb_init()
2227 reg->md_cfg = (reg_mdcfg_t*) (regbase + REG_BASE_MDCFG); in e1356fb_init()
2228 reg->clk_cfg = (reg_clkcfg_t*) (regbase + REG_BASE_CLKCFG); in e1356fb_init()
2229 reg->mem_cfg = (reg_memcfg_t*) (regbase + REG_BASE_MEMCFG); in e1356fb_init()
2230 reg->panel_cfg = (reg_panelcfg_t*)(regbase + REG_BASE_PANELCFG); in e1356fb_init()
2231 reg->lcd_cfg = (reg_dispcfg_t*) (regbase + REG_BASE_LCD_DISPCFG); in e1356fb_init()
2232 reg->crttv_cfg = (reg_dispcfg_t*) (regbase + REG_BASE_CRTTV_DISPCFG); in e1356fb_init()
[all …]
Daty128fb.c297 void *regbase; /* remapped mmio */ member
482 asm("lwbrx %0,%1,%2;eieio" : "=r"(val) : "b"(regindex), "r"(info->regbase)); in _aty_ld_le32()
484 val = readl (info->regbase + regindex); in _aty_ld_le32()
496 "r"(info->regbase) : "memory"); in _aty_st_le32()
498 writel (val, info->regbase + regindex); in _aty_st_le32()
505 return readb (info->regbase + regindex); in _aty_ld_8()
511 writeb (val, info->regbase + regindex); in _aty_st_8()
2054 info->regbase = ioremap(reg_addr, 0x1FFF); in aty128_pci_register()
2056 if (!info->regbase) in aty128_pci_register()
2067 iounmap((void *)info->regbase); in aty128_pci_register()
[all …]
/linux-2.4.37.9/drivers/net/wan/8253x/
D8253xini.c442 unsigned int regbase; /* a lot more to do for ESCC8 */ in DisableESCC8Interrupts() local
444 regbase = (unsigned int) chipptr->c_regs; in DisableESCC8Interrupts()
445 writeb(0xff,((unsigned char *)regbase) + SAB82538_REG_PIM_A); /* All interrupts off */ in DisableESCC8Interrupts()
446 writeb(0xff,((unsigned char *)regbase) + SAB82538_REG_PIM_B); /* All interrupts off */ in DisableESCC8Interrupts()
447 writeb(0xff,((unsigned char *)regbase) + SAB82538_REG_PIM_C); /* All interrupts off */ in DisableESCC8Interrupts()
448 writeb(0xff,((unsigned char *)regbase) + SAB82538_REG_PIM_D); /* All interrupts off */ in DisableESCC8Interrupts()
454 unsigned int regbase; in CreateESCC8() local
502 regbase = (unsigned int)(((char *)bptr->virtbaseaddress2) + offset); in CreateESCC8()
504 DEBUGPRINT((KERN_ALERT "Setting up parallel port A (0x%x), 0x%x, 0x%x, 0x%x\n", regbase, in CreateESCC8()
508 writeb(0x0,((unsigned char *)regbase) + SAB82538_REG_PCR_A); /* All output bits */ in CreateESCC8()
[all …]
/linux-2.4.37.9/drivers/ide/ppc/
Dpmac.c54 ide_ioreg_t regbase; member
375 if (data_port == pmac_ide[ix].regbase) in pmac_ide_init_hwif_ports()
878 return pmac_ide[index].regbase; in pmac_ide_get_base()
887 if (base == pmac_ide[ix].regbase) in pmac_ide_check_base()
898 if (pmac_ide[index].regbase == 0) in pmac_ide_get_of_node()
909 if (base == pmac_ide[ix].regbase) in pmac_ide_get_irq()
945 unsigned long base, regbase; in pmac_ide_probe() local
1036 regbase = base; in pmac_ide_probe()
1075 regbase = base + 0x2000; in pmac_ide_probe()
1091 pmif->regbase = regbase; in pmac_ide_probe()
[all …]
/linux-2.4.37.9/drivers/sound/
Dad1889.c58 #define AD1889_READW(dev,reg) readw(dev->regbase + reg)
59 #define AD1889_WRITEW(dev,reg,val) writew((val), dev->regbase + reg)
60 #define AD1889_READL(dev,reg) readl(dev->regbase + reg)
61 #define AD1889_WRITEL(dev,reg,val) writel((val), dev->regbase + reg)
1003 dev->regbase = (unsigned long)ioremap_nocache(bar, AD_DSIOMEMSIZE); in ad1889_probe()
1006 (char *)ent->driver_data, dev->regbase, pcidev->irq); in ad1889_probe()
1055 release_mem_region(dev->regbase, AD_DSIOMEMSIZE); in ad1889_remove()
Dad1889.h107 unsigned long regbase; member
/linux-2.4.37.9/include/asm-parisc/
Dgrfioctl.h71 gaddr_t fbbase, regbase;/* framebuffer and register base addr */ member
/linux-2.4.37.9/arch/sparc64/kernel/
Dpci_psycho.c486 unsigned long regbase = p->pbm_A.controller_regs; in __psycho_check_one_stc() local
492 err_base = regbase + PSYCHO_STC_ERR_A; in __psycho_check_one_stc()
493 tag_base = regbase + PSYCHO_STC_TAG_A; in __psycho_check_one_stc()
494 line_base = regbase + PSYCHO_STC_LINE_A; in __psycho_check_one_stc()
496 err_base = regbase + PSYCHO_STC_ERR_A; in __psycho_check_one_stc()
497 tag_base = regbase + PSYCHO_STC_TAG_A; in __psycho_check_one_stc()
498 line_base = regbase + PSYCHO_STC_LINE_A; in __psycho_check_one_stc()
Dpci_schizo.c524 unsigned long regbase = pbm->pbm_regs; in __schizo_check_stc_error_pbm() local
529 err_base = regbase + SCHIZO_STC_ERR; in __schizo_check_stc_error_pbm()
530 tag_base = regbase + SCHIZO_STC_TAG; in __schizo_check_stc_error_pbm()
531 line_base = regbase + SCHIZO_STC_LINE; in __schizo_check_stc_error_pbm()