Home
last modified time | relevance | path

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

/Linux-v6.6/arch/mips/include/asm/mach-bcm63xx/
Dbcm63xx_io.h52 #define BCM_REGS_VA(x) ((void __iomem *)(x)) macro
54 #define bcm_readb(a) (*(volatile unsigned char *) BCM_REGS_VA(a))
55 #define bcm_readw(a) (*(volatile unsigned short *) BCM_REGS_VA(a))
56 #define bcm_readl(a) (*(volatile unsigned int *) BCM_REGS_VA(a))
57 #define bcm_readq(a) (*(volatile u64 *) BCM_REGS_VA(a))
58 #define bcm_writeb(v, a) (*(volatile unsigned char *) BCM_REGS_VA((a)) = (v))
59 #define bcm_writew(v, a) (*(volatile unsigned short *) BCM_REGS_VA((a)) = (v))
60 #define bcm_writel(v, a) (*(volatile unsigned int *) BCM_REGS_VA((a)) = (v))
61 #define bcm_writeq(v, a) (*(volatile u64 *) BCM_REGS_VA((a)) = (v))