Searched defs:WriteDOC_ (Results 1 – 2 of 2) sorted by relevance
/openbmc/u-boot/include/linux/mtd/ |
H A D | doc2000.h | 85 #define WriteDOC_(d, adr, reg) do{ *(volatile __u32 *)(((unsigned long)adr)+((reg)<<2)) = (__u32)d… macro 89 #define WriteDOC_(d, adr, reg) do{ *(volatile __u16 *)(((unsigned long)adr)+((reg)<<1)) = (__u16)d… macro 93 #define WriteDOC_(d, adr, reg) writeb(d, (void __iomem *)(adr) + (reg)) macro
|
/openbmc/linux/include/linux/mtd/ |
H A D | doc2000.h | 85 static inline void WriteDOC_(u8 data, u32 __iomem *addr, unsigned long reg) in WriteDOC_() function 96 static inline void WriteDOC_(u8 data, u16 __iomem *addr, unsigned long reg) in WriteDOC_() function 104 #define WriteDOC_(d, adr, reg) writeb(d, (void __iomem *)(adr) + (reg)) macro
|