Home
last modified time | relevance | path

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

/linux-2.6.39/arch/mips/include/asm/mach-bcm63xx/
Dbcm63xx_io.h47 #define BCM_REGS_VA(x) ((void __iomem *)(x)) macro
49 #define bcm_readb(a) (*(volatile unsigned char *) BCM_REGS_VA(a))
50 #define bcm_readw(a) (*(volatile unsigned short *) BCM_REGS_VA(a))
51 #define bcm_readl(a) (*(volatile unsigned int *) BCM_REGS_VA(a))
52 #define bcm_writeb(v, a) (*(volatile unsigned char *) BCM_REGS_VA((a)) = (v))
53 #define bcm_writew(v, a) (*(volatile unsigned short *) BCM_REGS_VA((a)) = (v))
54 #define bcm_writel(v, a) (*(volatile unsigned int *) BCM_REGS_VA((a)) = (v))