Home
last modified time | relevance | path

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

/external/u-boot/arch/sh/include/asm/
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 …]
/external/u-boot/arch/nds32/include/asm/
Dio.h361 #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 …]
/external/u-boot/arch/riscv/include/asm/
Dio.h398 #ifdef __mem_pci
401 __raw_readb(__mem_pci(c)); __v; })
403 le16_to_cpu(__raw_readw(__mem_pci(c))); __v; })
405 le32_to_cpu(__raw_readl(__mem_pci(c))); __v; })
407 #define writeb(v, c) __raw_writeb(v, __mem_pci(c))
408 #define writew(v, c) __raw_writew(cpu_to_le16(v), __mem_pci(c))
409 #define writel(v, c) __raw_writel(cpu_to_le32(v), __mem_pci(c))
411 #define memset_io(c, v, l) _memset_io(__mem_pci(c), (v), (l))
412 #define memcpy_fromio(a, c, l) _memcpy_fromio((a), __mem_pci(c), (l))
413 #define memcpy_toio(c, a, l) _memcpy_toio(__mem_pci(c), (a), (l))
[all …]
/external/u-boot/arch/arm/include/asm/
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 …]
/external/u-boot/include/configs/
Dr2dplus.h74 #define __mem_pci macro
Dr7780mp.h86 #define __mem_pci macro