Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/arch/sh/include/asm/
H A Dio.h144 #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 …]
/OK3568_Linux_fs/u-boot/arch/nds32/include/asm/
H A Dio.h370 #ifdef __mem_pci
373 __raw_readb(__mem_pci(c)); __v; })
375 le16_to_cpu(__raw_readw(__mem_pci(c))); __v; })
377 le32_to_cpu(__raw_readl(__mem_pci(c))); __v; })
379 #define writeb(v, c) __raw_writeb(v, __mem_pci(c))
380 #define writew(v, c) __raw_writew(cpu_to_le16(v), __mem_pci(c))
381 #define writel(v, c) __raw_writel(cpu_to_le32(v), __mem_pci(c))
383 #define memset_io(c, v, l) _memset_io(__mem_pci(c), (v), (l))
384 #define memcpy_fromio(a, c, l) _memcpy_fromio((a), __mem_pci(c), (l))
385 #define memcpy_toio(c, a, l) _memcpy_toio(__mem_pci(c), (a), (l))
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/include/asm/
H A Dio.h289 #ifdef __mem_pci
291 #define readb(c) ({ unsigned int __v = __raw_readb(__mem_pci(c)); __v; })
292 #define readw(c) ({ unsigned int __v = le16_to_cpu(__raw_readw(__mem_pci(c))); __v; })
293 #define readl(c) ({ unsigned int __v = le32_to_cpu(__raw_readl(__mem_pci(c))); __v; })
295 #define writeb(v,c) __raw_writeb(v,__mem_pci(c))
296 #define writew(v,c) __raw_writew(cpu_to_le16(v),__mem_pci(c))
297 #define writel(v,c) __raw_writel(cpu_to_le32(v),__mem_pci(c))
299 #define memset_io(c,v,l) _memset_io(__mem_pci(c),(v),(l))
300 #define memcpy_fromio(a,c,l) _memcpy_fromio((a),__mem_pci(c),(l))
301 #define memcpy_toio(c,a,l) _memcpy_toio(__mem_pci(c),(a),(l))
[all …]
/OK3568_Linux_fs/u-boot/include/configs/
H A Dr2dplus.h78 #define __mem_pci macro
H A Dr7780mp.h89 #define __mem_pci macro