/openbmc/linux/arch/mips/include/asm/ |
H A D | asm-eva.h | 47 #define __BUILD_EVA_INSN(insn, reg, addr) \ argument 106 #define kernel_ll(reg, addr) ll reg, addr argument 107 #define kernel_sc(reg, addr) sc reg, addr argument 108 #define kernel_lw(reg, addr) lw reg, addr argument 111 #define kernel_lh(reg, addr) lh reg, addr argument 112 #define kernel_lb(reg, addr) lb reg, addr argument 114 #define kernel_sw(reg, addr) sw reg, addr argument 117 #define kernel_sh(reg, addr) sh reg, addr argument 118 #define kernel_sb(reg, addr) sb reg, addr argument 128 #define kernel_sd(reg, addr) sd reg, addr argument [all …]
|
H A D | unaligned-emul.h | 8 #define _LoadHW(addr, value, res, type) \ argument 31 #define _LoadW(addr, value, res, type) \ argument 53 #define _LoadW(addr, value, res, type) \ argument 135 #define _LoadDW(addr, value, res) \ argument 190 #define _LoadDW(addr, value, res) \ argument 286 #define _StoreDW(addr, value, res) \ argument 338 #define _StoreDW(addr, value, res) \ argument 514 #define _LoadDW(addr, value, res) \ argument 569 #define _LoadDW(addr, value, res) \ argument 663 #define _StoreDW(addr, value, res) \ argument [all …]
|
H A D | r4kcache.h | 43 #define _cache_op(insn, op, addr) \ argument 53 #define cache_op(op, addr) \ argument 71 static inline void flush_icache_line(unsigned long addr) in flush_icache_line() 84 static inline void flush_dcache_line(unsigned long addr) in flush_dcache_line() 89 static inline void invalidate_dcache_line(unsigned long addr) in invalidate_dcache_line() 94 static inline void invalidate_scache_line(unsigned long addr) in invalidate_scache_line() 99 static inline void flush_scache_line(unsigned long addr) in flush_scache_line() 106 #define protected_cache_op(op, addr) \ argument 130 #define protected_cache_op(op, addr) \ argument 186 static inline void invalidate_tcache_page(unsigned long addr) in invalidate_tcache_page() [all …]
|
/openbmc/linux/arch/parisc/lib/ |
H A D | iomap.c | 312 unsigned int ioread8(const void __iomem *addr) in ioread8() 319 unsigned int ioread16(const void __iomem *addr) in ioread16() 333 unsigned int ioread32(const void __iomem *addr) in ioread32() 348 u64 ioread64(const void __iomem *addr) in ioread64() 355 u64 ioread64be(const void __iomem *addr) in ioread64be() 363 void iowrite8(u8 datum, void __iomem *addr) in iowrite8() 372 void iowrite16(u16 datum, void __iomem *addr) in iowrite16() 381 void iowrite16be(u16 datum, void __iomem *addr) in iowrite16be() 390 void iowrite32(u32 datum, void __iomem *addr) in iowrite32() 409 void iowrite64(u64 datum, void __iomem *addr) in iowrite64() [all …]
|
/openbmc/linux/arch/alpha/include/asm/ |
H A D | jensen.h | 148 #define jensen_is_local(addr) ( \ argument 155 __EXTERN_INLINE u8 jensen_inb(unsigned long addr) in jensen_inb() 171 __EXTERN_INLINE u16 jensen_inw(unsigned long addr) in jensen_inw() 220 unsigned long addr = (unsigned long) xaddr; in jensen_readb() local 232 unsigned long addr = (unsigned long) xaddr; in jensen_readw() local 244 unsigned long addr = (unsigned long) xaddr; in jensen_readl() local 252 unsigned long addr = (unsigned long) xaddr; in jensen_readq() local 265 unsigned long addr = (unsigned long) xaddr; in jensen_writeb() local 273 unsigned long addr = (unsigned long) xaddr; in jensen_writew() local 281 unsigned long addr = (unsigned long) xaddr; in jensen_writel() local [all …]
|
/openbmc/linux/include/asm-generic/ |
H A D | io.h | 187 static inline u8 readb(const volatile void __iomem *addr) in readb() 542 static inline u8 _inb(unsigned long addr) in _inb() 555 static inline u16 _inw(unsigned long addr) in _inw() 568 static inline u32 _inl(unsigned long addr) in _inl() 581 static inline void _outb(u8 value, unsigned long addr) in _outb() 591 static inline void _outw(u16 value, unsigned long addr) in _outw() 601 static inline void _outl(u32 value, unsigned long addr) in _outl() 637 static inline u8 inb_p(unsigned long addr) in inb_p() 645 static inline u16 inw_p(unsigned long addr) in inw_p() 653 static inline u32 inl_p(unsigned long addr) in inl_p() [all …]
|
/openbmc/linux/arch/sh/kernel/ |
H A D | iomap.c | 11 unsigned int ioread8(const void __iomem *addr) in ioread8() 17 unsigned int ioread16(const void __iomem *addr) in ioread16() 23 unsigned int ioread16be(const void __iomem *addr) in ioread16be() 29 unsigned int ioread32(const void __iomem *addr) in ioread32() 35 unsigned int ioread32be(const void __iomem *addr) in ioread32be() 41 void iowrite8(u8 val, void __iomem *addr) in iowrite8() 47 void iowrite16(u16 val, void __iomem *addr) in iowrite16() 53 void iowrite16be(u16 val, void __iomem *addr) in iowrite16be() 59 void iowrite32(u32 val, void __iomem *addr) in iowrite32() 65 void iowrite32be(u32 val, void __iomem *addr) in iowrite32be() [all …]
|
/openbmc/linux/include/linux/ |
H A D | in.h | 38 static inline bool ipv4_is_loopback(__be32 addr) in ipv4_is_loopback() 43 static inline bool ipv4_is_multicast(__be32 addr) in ipv4_is_multicast() 53 static inline bool ipv4_is_lbcast(__be32 addr) in ipv4_is_lbcast() 59 static inline bool ipv4_is_all_snoopers(__be32 addr) in ipv4_is_all_snoopers() 64 static inline bool ipv4_is_zeronet(__be32 addr) in ipv4_is_zeronet() 71 static inline bool ipv4_is_private_10(__be32 addr) in ipv4_is_private_10() 76 static inline bool ipv4_is_private_172(__be32 addr) in ipv4_is_private_172() 81 static inline bool ipv4_is_private_192(__be32 addr) in ipv4_is_private_192() 91 static inline bool ipv4_is_anycast_6to4(__be32 addr) in ipv4_is_anycast_6to4() 96 static inline bool ipv4_is_test_192(__be32 addr) in ipv4_is_test_192() [all …]
|
H A D | etherdevice.h | 105 static inline bool is_zero_ether_addr(const u8 *addr) in is_zero_ether_addr() 156 static inline bool is_local_ether_addr(const u8 *addr) in is_local_ether_addr() 198 static inline bool is_valid_ether_addr(const u8 *addr) in is_valid_ether_addr() 230 static inline void eth_random_addr(u8 *addr) in eth_random_addr() 243 static inline void eth_broadcast_addr(u8 *addr) in eth_broadcast_addr() 254 static inline void eth_zero_addr(u8 *addr) in eth_zero_addr() 270 u8 addr[ETH_ALEN]; in eth_hw_addr_random() local 459 static inline u64 ether_addr_to_u64(const u8 *addr) in ether_addr_to_u64() 490 static inline void eth_addr_dec(u8 *addr) in eth_addr_dec() 502 static inline void eth_addr_inc(u8 *addr) in eth_addr_inc() [all …]
|
/openbmc/u-boot/arch/powerpc/include/asm/ |
H A D | io.h | 132 #define PCI_FIX_ADDR(addr) (addr) argument 256 #define clrbits(type, addr, clear) \ argument 259 #define setbits(type, addr, set) \ argument 285 #define readb_be(addr) \ argument 287 #define readw_be(addr) \ argument 289 #define readl_be(addr) \ argument 291 #define readq_be(addr) \ argument 294 #define writeb_be(val, addr) \ argument 296 #define writew_be(val, addr) \ argument 298 #define writel_be(val, addr) \ argument [all …]
|
H A D | pci_io.h | 10 #define pci_read_le16(addr, dest) \ argument 14 #define pci_write_le16(addr, val) \ argument 19 #define pci_read_le32(addr, dest) \ argument 23 #define pci_write_le32(addr, val) \ argument 27 #define pci_readb(addr,b) ((b) = *(volatile u8 *) (addr)) argument 28 #define pci_writeb(b,addr) ((*(volatile u8 *) (addr)) = (b)) argument 31 #define pci_readw(addr,b) ((b) = *(volatile u16 *) (addr)) argument 32 #define pci_readl(addr,b) ((b) = *(volatile u32 *) (addr)) argument 33 #define pci_writew(b,addr) ((*(volatile u16 *) (addr)) = (b)) argument 34 #define pci_writel(b,addr) ((*(volatile u32 *) (addr)) = (b)) argument [all …]
|
/openbmc/linux/lib/ |
H A D | iomap.c | 52 #define IO_COND(addr, is_pio, is_mmio) do { \ argument 69 #define mmio_read16be(addr) swab16(readw(addr)) argument 70 #define mmio_read32be(addr) swab32(readl(addr)) argument 71 #define mmio_read64be(addr) swab64(readq(addr)) argument 79 unsigned int ioread8(const void __iomem *addr) in ioread8() 156 u64 ioread64_lo_hi(const void __iomem *addr) in ioread64_lo_hi() 163 u64 ioread64_hi_lo(const void __iomem *addr) in ioread64_hi_lo() 203 void iowrite8(u8 val, void __iomem *addr) in iowrite8() 209 void iowrite16(u16 val, void __iomem *addr) in iowrite16() 221 void iowrite32(u32 val, void __iomem *addr) in iowrite32() [all …]
|
/openbmc/u-boot/arch/sandbox/include/asm/ |
H A D | io.h | 42 #define readb(addr) ((void)addr, 0) argument 43 #define readw(addr) ((void)addr, 0) argument 44 #define readl(addr) ((void)addr, 0) argument 46 #define readq(addr) ((void)addr, 0) argument 48 #define writeb(v, addr) ((void)addr) argument 49 #define writew(v, addr) ((void)addr) argument 50 #define writel(v, addr) ((void)addr) argument 52 #define writeq(v, addr) ((void)addr) argument 83 #define clrbits(type, addr, clear) \ argument 86 #define setbits(type, addr, set) \ argument [all …]
|
/openbmc/u-boot/arch/x86/include/asm/ |
H A D | io.h | 102 #define clrbits(type, addr, clear) \ argument 105 #define setbits(type, addr, set) \ argument 108 #define clrsetbits(type, addr, clear, set) \ argument 128 #define setbits_8(addr, set) setbits(8, addr, set) argument 211 #define clrio(type, addr, clear) \ in __INS() argument 214 #define setio(type, addr, set) \ in __INS() argument 217 #define clrsetio(type, addr, clear, set) \ in __INS() argument 224 #define setio_32(addr, set) setio(l, addr, set) in __INS() argument 225 #define setio_16(addr, set) setio(w, addr, set) in __INS() argument 226 #define setio_8(addr, set) setio(b, addr, set) in __INS() argument [all …]
|
H A D | bitops.h | 39 static __inline__ void set_bit(int nr, volatile void * addr) in set_bit() 56 static __inline__ void __set_bit(int nr, volatile void * addr) in __set_bit() 76 static __inline__ void clear_bit(int nr, volatile void * addr) in clear_bit() 95 static __inline__ void __change_bit(int nr, volatile void * addr) in __change_bit() 112 static __inline__ void change_bit(int nr, volatile void * addr) in change_bit() 128 static __inline__ int test_and_set_bit(int nr, volatile void * addr) in test_and_set_bit() 148 static __inline__ int __test_and_set_bit(int nr, volatile void * addr) in __test_and_set_bit() 254 #define test_bit(nr,addr) \ argument 402 #define minix_test_and_set_bit(nr,addr) __test_and_set_bit(nr,addr) argument 403 #define minix_set_bit(nr,addr) __set_bit(nr,addr) argument [all …]
|
/openbmc/qemu/tests/qtest/ |
H A D | libqtest-single.h | 100 static inline void outb(uint16_t addr, uint8_t value) in outb() 112 static inline void outw(uint16_t addr, uint16_t value) in outw() 124 static inline void outl(uint16_t addr, uint32_t value) in outl() 137 static inline uint8_t inb(uint16_t addr) in inb() 150 static inline uint16_t inw(uint16_t addr) in inw() 163 static inline uint32_t inl(uint16_t addr) in inl() 175 static inline void writeb(uint64_t addr, uint8_t value) in writeb() 224 static inline uint8_t readb(uint64_t addr) in readb() 237 static inline uint16_t readw(uint64_t addr) in readw() 250 static inline uint32_t readl(uint64_t addr) in readl() [all …]
|
/openbmc/u-boot/arch/mips/include/asm/ |
H A D | bitops.h | 65 set_bit(int nr, volatile void *addr) in set_bit() 107 clear_bit(int nr, volatile void *addr) in clear_bit() 131 change_bit(int nr, volatile void *addr) in change_bit() 170 test_and_set_bit(int nr, volatile void *addr) in test_and_set_bit() 221 test_and_clear_bit(int nr, volatile void *addr) in test_and_clear_bit() 273 test_and_change_bit(int nr, volatile void *addr) in test_and_change_bit() 782 #define find_first_zero_bit(addr, size) \ argument 828 #define ext2_find_first_zero_bit(addr, size) \ argument 887 #define ext2_find_next_zero_bit(addr, size, offset) \ argument 898 #define minix_set_bit(nr,addr) set_bit(nr,addr) argument [all …]
|
/openbmc/u-boot/arch/m68k/include/asm/ |
H A D | io.h | 18 #define __raw_readb(addr) (*(volatile u8 *)(addr)) argument 19 #define __raw_readw(addr) (*(volatile u16 *)(addr)) argument 20 #define __raw_readl(addr) (*(volatile u32 *)(addr)) argument 26 #define readb(addr) in_8((volatile u8 *)(addr)) argument 29 #define readw(addr) (*(volatile u16 *) (addr)) argument 30 #define readl(addr) (*(volatile u32 *) (addr)) argument 161 static inline int in_8(volatile u8 * addr) in in_8() 171 static inline int in_le16(volatile u16 * addr) in in_le16() 218 #define clrbits(type, addr, clear) \ argument 221 #define setbits(type, addr, set) \ argument [all …]
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | bitops.h | 52 arch_set_bit(long nr, volatile unsigned long *addr) in arch_set_bit() 66 arch___set_bit(unsigned long nr, volatile unsigned long *addr) in arch___set_bit() 72 arch_clear_bit(long nr, volatile unsigned long *addr) in arch_clear_bit() 85 arch_clear_bit_unlock(long nr, volatile unsigned long *addr) in arch_clear_bit_unlock() 92 arch___clear_bit(unsigned long nr, volatile unsigned long *addr) in arch___clear_bit() 111 arch___clear_bit_unlock(long nr, volatile unsigned long *addr) in arch___clear_bit_unlock() 117 arch___change_bit(unsigned long nr, volatile unsigned long *addr) in arch___change_bit() 123 arch_change_bit(long nr, volatile unsigned long *addr) in arch_change_bit() 136 arch_test_and_set_bit(long nr, volatile unsigned long *addr) in arch_test_and_set_bit() 160 arch_test_and_clear_bit(long nr, volatile unsigned long *addr) in arch_test_and_clear_bit() [all …]
|
/openbmc/qemu/tests/qtest/fuzz/ |
H A D | qtest_wrappers.c | 26 WRAP(uint8_t , qtest_inb(QTestState *s, uint16_t addr)) in WRAP() 61 uint16_t __wrap_qtest_inw(QTestState *s, uint16_t addr) in __wrap_qtest_inw() 70 uint32_t __wrap_qtest_inl(QTestState *s, uint16_t addr) in __wrap_qtest_inl() 79 void __wrap_qtest_outb(QTestState *s, uint16_t addr, uint8_t value) in __wrap_qtest_outb() 88 void __wrap_qtest_outw(QTestState *s, uint16_t addr, uint16_t value) in __wrap_qtest_outw() 106 uint8_t __wrap_qtest_readb(QTestState *s, uint64_t addr) in __wrap_qtest_readb() 118 uint16_t __wrap_qtest_readw(QTestState *s, uint64_t addr) in __wrap_qtest_readw() 130 uint32_t __wrap_qtest_readl(QTestState *s, uint64_t addr) in __wrap_qtest_readl() 142 uint64_t __wrap_qtest_readq(QTestState *s, uint64_t addr) in __wrap_qtest_readq() 225 void __wrap_qtest_bufwrite(QTestState *s, uint64_t addr, in __wrap_qtest_bufwrite() [all …]
|
/openbmc/u-boot/arch/arc/include/asm/ |
H A D | io.h | 57 static inline u8 __raw_readb(const volatile void __iomem *addr) in __raw_readb() 251 #define clrbits(type, addr, clear) \ argument 254 #define setbits(type, addr, set) \ argument 257 #define clrsetbits(type, addr, clear, set) \ argument 260 #define clrbits_be32(addr, clear) clrbits(be32, addr, clear) argument 261 #define setbits_be32(addr, set) setbits(be32, addr, set) argument 265 #define setbits_le32(addr, set) setbits(le32, addr, set) argument 269 #define setbits_be16(addr, set) setbits(be16, addr, set) argument 273 #define setbits_le16(addr, set) setbits(le16, addr, set) argument 276 #define clrbits_8(addr, clear) clrbits(8, addr, clear) argument [all …]
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | io.h | 309 #define PCI_FIX_ADDR(addr) \ argument 311 #define PCI_GET_ADDR_TOKEN(addr) \ argument 322 #define PCI_FIX_ADDR(addr) (addr) argument 616 #define __do_memset_io(addr, c, n) \ argument 721 #define readb_relaxed(addr) readb(addr) argument 722 #define readw_relaxed(addr) readw(addr) argument 723 #define readl_relaxed(addr) readl(addr) argument 724 #define readq_relaxed(addr) readq(addr) argument 904 #define ioremap_cache(addr, size) \ argument 928 #define mmio_read16be(addr) readw_be(addr) argument [all …]
|
/openbmc/linux/arch/csky/kernel/probes/ |
H A D | simulate-insn.c | 69 simulate_br16(u32 opcode, long addr, struct pt_regs *regs) in simulate_br16() 76 simulate_br32(u32 opcode, long addr, struct pt_regs *regs) in simulate_br32() 83 simulate_bt16(u32 opcode, long addr, struct pt_regs *regs) in simulate_bt16() 93 simulate_bt32(u32 opcode, long addr, struct pt_regs *regs) in simulate_bt32() 103 simulate_bf16(u32 opcode, long addr, struct pt_regs *regs) in simulate_bf16() 113 simulate_bf32(u32 opcode, long addr, struct pt_regs *regs) in simulate_bf32() 123 simulate_jmp16(u32 opcode, long addr, struct pt_regs *regs) in simulate_jmp16() 133 simulate_jmp32(u32 opcode, long addr, struct pt_regs *regs) in simulate_jmp32() 143 simulate_jsr16(u32 opcode, long addr, struct pt_regs *regs) in simulate_jsr16() 155 simulate_jsr32(u32 opcode, long addr, struct pt_regs *regs) in simulate_jsr32() [all …]
|
/openbmc/u-boot/drivers/usb/musb-new/ |
H A D | musb_io.h | 27 static inline void readsl(const void __iomem *addr, void *buf, int len) in readsl() 29 static inline void readsw(const void __iomem *addr, void *buf, int len) in readsw() 31 static inline void readsb(const void __iomem *addr, void *buf, int len) in readsb() 34 static inline void writesl(const void __iomem *addr, const void *buf, int len) in writesl() 36 static inline void writesw(const void __iomem *addr, const void *buf, int len) in writesw() 45 static inline u16 musb_readw(const void __iomem *addr, unsigned offset) in musb_readw() 48 static inline u32 musb_readl(const void __iomem *addr, unsigned offset) in musb_readl() 52 static inline void musb_writew(void __iomem *addr, unsigned offset, u16 data) in musb_writew() 64 static inline u8 musb_readb(const void __iomem *addr, unsigned offset) in musb_readb() 78 static inline void musb_writeb(void __iomem *addr, unsigned offset, u8 data) in musb_writeb() [all …]
|
/openbmc/u-boot/arch/microblaze/include/asm/ |
H A D | bitops.h | 36 static inline void set_bit(int nr, volatile void *addr) in set_bit() 49 static inline void __set_bit(int nr, volatile void *addr) in __set_bit() 66 static inline void clear_bit(int nr, volatile void *addr) in clear_bit() 79 #define __clear_bit(nr, addr) clear_bit(nr, addr) argument 82 static inline void change_bit(int nr, volatile void *addr) in change_bit() 197 static inline int __test_bit(int nr, volatile void *addr) in __test_bit() 207 #define test_bit(nr,addr) \ argument 212 #define find_first_zero_bit(addr, size) \ argument 301 #define ext2_find_first_zero_bit(addr, size) \ argument 357 #define minix_set_bit(nr,addr) set_bit(nr,addr) argument [all …]
|