Searched refs:__mem_pci (Results 1 – 6 of 6) sorted by relevance
/openbmc/u-boot/arch/sh/include/asm/ |
H A D | io.h | 144 #ifdef __mem_pci 146 #define readb(c) ({ unsigned int __v = __raw_readb(__mem_pci(c)); __v; }) 148 ({ unsigned int __v = le16_to_cpu(__raw_readw(__mem_pci(c))); __v; }) 150 ({ unsigned int __v = le32_to_cpu(__raw_readl(__mem_pci(c))); __v; }) 152 #define writeb(v, c) __raw_writeb(v, __mem_pci(c)) 153 #define writew(v, c) __raw_writew(cpu_to_le16(v), __mem_pci(c)) 154 #define writel(v, c) __raw_writel(cpu_to_le32(v), __mem_pci(c)) 156 #define memset_io(c, v, l) _memset_io(__mem_pci(c), (v), (l)) 157 #define memcpy_fromio(a, c, l) _memcpy_fromio((a), __mem_pci(c), (l)) 158 #define memcpy_toio(c, a, l) _memcpy_toio(__mem_pci(c), (a), (l)) [all …]
|
/openbmc/u-boot/arch/nds32/include/asm/ |
H A D | io.h | 361 #ifdef __mem_pci 364 __raw_readb(__mem_pci(c)); __v; }) 366 le16_to_cpu(__raw_readw(__mem_pci(c))); __v; }) 368 le32_to_cpu(__raw_readl(__mem_pci(c))); __v; }) 370 #define writeb(v, c) __raw_writeb(v, __mem_pci(c)) 371 #define writew(v, c) __raw_writew(cpu_to_le16(v), __mem_pci(c)) 372 #define writel(v, c) __raw_writel(cpu_to_le32(v), __mem_pci(c)) 374 #define memset_io(c, v, l) _memset_io(__mem_pci(c), (v), (l)) 375 #define memcpy_fromio(a, c, l) _memcpy_fromio((a), __mem_pci(c), (l)) 376 #define memcpy_toio(c, a, l) _memcpy_toio(__mem_pci(c), (a), (l)) [all …]
|
/openbmc/u-boot/arch/riscv/include/asm/ |
H A D | io.h | 367 #ifdef __mem_pci 370 __raw_readb(__mem_pci(c)); __v; }) 372 le16_to_cpu(__raw_readw(__mem_pci(c))); __v; }) 374 le32_to_cpu(__raw_readl(__mem_pci(c))); __v; }) 376 #define writeb(v, c) __raw_writeb(v, __mem_pci(c)) 377 #define writew(v, c) __raw_writew(cpu_to_le16(v), __mem_pci(c)) 378 #define writel(v, c) __raw_writel(cpu_to_le32(v), __mem_pci(c)) 380 #define memset_io(c, v, l) _memset_io(__mem_pci(c), (v), (l)) 381 #define memcpy_fromio(a, c, l) _memcpy_fromio((a), __mem_pci(c), (l)) 382 #define memcpy_toio(c, a, l) _memcpy_toio(__mem_pci(c), (a), (l)) [all …]
|
/openbmc/u-boot/arch/arm/include/asm/ |
H A D | io.h | 302 #ifdef __mem_pci 304 #define readb(c) ({ unsigned int __v = __raw_readb(__mem_pci(c)); __v; }) 305 #define readw(c) ({ unsigned int __v = le16_to_cpu(__raw_readw(__mem_pci(c))); __v; }) 306 #define readl(c) ({ unsigned int __v = le32_to_cpu(__raw_readl(__mem_pci(c))); __v; }) 308 #define writeb(v,c) __raw_writeb(v,__mem_pci(c)) 309 #define writew(v,c) __raw_writew(cpu_to_le16(v),__mem_pci(c)) 310 #define writel(v,c) __raw_writel(cpu_to_le32(v),__mem_pci(c)) 312 #define memset_io(c,v,l) _memset_io(__mem_pci(c),(v),(l)) 313 #define memcpy_fromio(a,c,l) _memcpy_fromio((a),__mem_pci(c),(l)) 314 #define memcpy_toio(c,a,l) _memcpy_toio(__mem_pci(c),(a),(l)) [all …]
|
/openbmc/u-boot/include/configs/ |
H A D | r2dplus.h | 70 #define __mem_pci macro
|
H A D | r7780mp.h | 82 #define __mem_pci macro
|