/openbmc/linux/arch/sh/include/asm/ |
H A D | uaccess_32.h | 39 #define __get_user_asm(x, addr, err, insn) \ argument 60 #define __get_user_asm(x, addr, err, insn) \ argument 73 #define __get_user_u64(x, addr, err) \ argument 97 #define __get_user_u64(x, addr, err) \ argument 144 #define __put_user_asm(x, addr, err, insn) \ argument 168 #define __put_user_asm(x, addr, err, insn) \ argument 180 #define __put_user_u64(val,addr,retval) \ argument 202 #define __put_user_u64(val,addr,retval) \ argument
|
H A D | cache_insns_32.h | 8 #define __icbi(addr) __asm__ __volatile__ ( "icbi @%0\n\t" : : "r" (addr)) argument 10 #define __icbi(addr) mb() argument 13 #define __ocbp(addr) __asm__ __volatile__ ( "ocbp @%0\n\t" : : "r" (addr)) argument 14 #define __ocbi(addr) __asm__ __volatile__ ( "ocbi @%0\n\t" : : "r" (addr)) argument 15 #define __ocbwb(addr) __asm__ __volatile__ ( "ocbwb @%0\n\t" : : "r" (addr)) argument
|
/openbmc/linux/include/linux/ |
H A D | io-64-nonatomic-hi-lo.h | 8 static inline __u64 hi_lo_readq(const volatile void __iomem *addr) in hi_lo_readq() 19 static inline void hi_lo_writeq(__u64 val, volatile void __iomem *addr) in hi_lo_writeq() 25 static inline __u64 hi_lo_readq_relaxed(const volatile void __iomem *addr) in hi_lo_readq_relaxed() 36 static inline void hi_lo_writeq_relaxed(__u64 val, volatile void __iomem *addr) in hi_lo_writeq_relaxed() 60 static inline u64 ioread64_hi_lo(const void __iomem *addr) in ioread64_hi_lo() 73 static inline void iowrite64_hi_lo(u64 val, void __iomem *addr) in iowrite64_hi_lo() 82 static inline u64 ioread64be_hi_lo(const void __iomem *addr) in ioread64be_hi_lo() 95 static inline void iowrite64be_hi_lo(u64 val, void __iomem *addr) in iowrite64be_hi_lo()
|
H A D | io-64-nonatomic-lo-hi.h | 8 static inline __u64 lo_hi_readq(const volatile void __iomem *addr) in lo_hi_readq() 19 static inline void lo_hi_writeq(__u64 val, volatile void __iomem *addr) in lo_hi_writeq() 25 static inline __u64 lo_hi_readq_relaxed(const volatile void __iomem *addr) in lo_hi_readq_relaxed() 36 static inline void lo_hi_writeq_relaxed(__u64 val, volatile void __iomem *addr) in lo_hi_writeq_relaxed() 60 static inline u64 ioread64_lo_hi(const void __iomem *addr) in ioread64_lo_hi() 73 static inline void iowrite64_lo_hi(u64 val, void __iomem *addr) in iowrite64_lo_hi() 82 static inline u64 ioread64be_lo_hi(const void __iomem *addr) in ioread64be_lo_hi() 95 static inline void iowrite64be_lo_hi(u64 val, void __iomem *addr) in iowrite64be_lo_hi()
|
H A D | set_memory.h | 11 static inline int set_memory_ro(unsigned long addr, int numpages) { return 0; } in set_memory_ro() 12 static inline int set_memory_rw(unsigned long addr, int numpages) { return 0; } in set_memory_rw() 13 static inline int set_memory_x(unsigned long addr, int numpages) { return 0; } in set_memory_x() 14 static inline int set_memory_nx(unsigned long addr, int numpages) { return 0; } in set_memory_nx() 18 static inline int set_memory_rox(unsigned long addr, int numpages) in set_memory_rox() 70 static inline int set_memory_encrypted(unsigned long addr, int numpages) in set_memory_encrypted() 75 static inline int set_memory_decrypted(unsigned long addr, int numpages) in set_memory_decrypted()
|
/openbmc/qemu/include/qemu/ |
H A D | bitops.h | 67 static inline void set_bit(long nr, unsigned long *addr) in set_bit() 80 static inline void set_bit_atomic(long nr, unsigned long *addr) in set_bit_atomic() 93 static inline void clear_bit(long nr, unsigned long *addr) in clear_bit() 119 static inline void change_bit(long nr, unsigned long *addr) in change_bit() 177 static inline int test_bit(long nr, const unsigned long *addr) in test_bit() 270 static inline void set_bit32(long nr, uint32_t *addr) in set_bit32() 283 static inline void set_bit32_atomic(long nr, uint32_t *addr) in set_bit32_atomic() 296 static inline void clear_bit32(long nr, uint32_t *addr) in clear_bit32() 322 static inline void change_bit32(long nr, uint32_t *addr) in change_bit32() 335 static inline int test_and_set_bit32(long nr, uint32_t *addr) in test_and_set_bit32() [all …]
|
/openbmc/linux/drivers/staging/rtl8723bs/hal/ |
H A D | sdio_ops.c | 20 u32 addr, in hal_sdio_get_cmd_addr_8723b() 54 static u8 get_deviceid(u32 addr) in get_deviceid() 133 static u8 sdio_read8(struct intf_hdl *intfhdl, u32 addr) in sdio_read8() 351 u32 addr, in sdio_read_mem() 361 u32 addr, in sdio_write_mem() 387 u32 addr, in sdio_read_port() 431 u32 addr, in sdio_write_port() 486 u32 addr, in _sdio_local_read() 524 u32 addr, in sdio_local_read() 565 u32 addr, in sdio_local_write() [all …]
|
/openbmc/linux/arch/arm64/kvm/vgic/ |
H A D | vgic-mmio-v2.c | 26 gpa_t addr, unsigned int len) in vgic_mmio_read_v2_misc() 53 gpa_t addr, unsigned int len, in vgic_mmio_write_v2_misc() 73 gpa_t addr, unsigned int len, in vgic_mmio_uaccess_write_v2_misc() 111 gpa_t addr, unsigned int len, in vgic_mmio_uaccess_write_v2_group() 121 gpa_t addr, unsigned int len, in vgic_mmio_write_sgir() 163 gpa_t addr, unsigned int len) in vgic_mmio_read_target() 181 gpa_t addr, unsigned int len, in vgic_mmio_write_target() 323 gpa_t addr, unsigned int len, in vgic_mmio_write_vcpuif() 363 gpa_t addr, unsigned int len) in vgic_mmio_read_apr() 388 gpa_t addr, unsigned int len, in vgic_mmio_write_apr() [all …]
|
/openbmc/linux/arch/arm/mm/ |
H A D | fault.c | 34 void show_pte(const char *lvl, struct mm_struct *mm, unsigned long addr) in show_pte() 102 void show_pte(const char *lvl, struct mm_struct *mm, unsigned long addr) in show_pte() 125 unsigned long addr, unsigned int fsr, in die_kernel_fault() 175 __do_user_fault(unsigned long addr, unsigned int fsr, unsigned int sig, in __do_user_fault() 239 do_page_fault(unsigned long addr, unsigned int fsr, struct pt_regs *regs) in do_page_fault() 370 do_page_fault(unsigned long addr, unsigned int fsr, struct pt_regs *regs) in do_page_fault() 395 do_translation_fault(unsigned long addr, unsigned int fsr, in do_translation_fault() 462 do_translation_fault(unsigned long addr, unsigned int fsr, in do_translation_fault() 475 do_sect_fault(unsigned long addr, unsigned int fsr, struct pt_regs *regs) in do_sect_fault() 486 do_bad(unsigned long addr, unsigned int fsr, struct pt_regs *regs) in do_bad() [all …]
|
/openbmc/u-boot/arch/sandbox/lib/ |
H A D | pci_io.c | 51 static int pci_io_read(unsigned int addr, ulong *valuep, pci_size_t size) in pci_io_read() 73 static int pci_io_write(unsigned int addr, ulong value, pci_size_t size) in pci_io_write() 94 int inl(unsigned int addr) in inl() 104 int inw(unsigned int addr) in inw() 114 int inb(unsigned int addr) in inb() 124 void outl(unsigned int value, unsigned int addr) in outl() 129 void outw(unsigned int value, unsigned int addr) in outw() 134 void outb(unsigned int value, unsigned int addr) in outb()
|
/openbmc/qemu/target/i386/tcg/ |
H A D | access.c | 55 static void *access_ptr(X86Access *ac, vaddr addr, unsigned len) in access_ptr() 86 uint8_t access_ldb(X86Access *ac, vaddr addr) in access_ldb() 96 uint16_t access_ldw(X86Access *ac, vaddr addr) in access_ldw() 106 uint32_t access_ldl(X86Access *ac, vaddr addr) in access_ldl() 116 uint64_t access_ldq(X86Access *ac, vaddr addr) in access_ldq() 126 void access_stb(X86Access *ac, vaddr addr, uint8_t val) in access_stb() 137 void access_stw(X86Access *ac, vaddr addr, uint16_t val) in access_stw() 148 void access_stl(X86Access *ac, vaddr addr, uint32_t val) in access_stl() 159 void access_stq(X86Access *ac, vaddr addr, uint64_t val) in access_stq()
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | set_memory.h | 14 static inline int set_memory_ro(unsigned long addr, int numpages) in set_memory_ro() 19 static inline int set_memory_rw(unsigned long addr, int numpages) in set_memory_rw() 24 static inline int set_memory_nx(unsigned long addr, int numpages) in set_memory_nx() 29 static inline int set_memory_x(unsigned long addr, int numpages) in set_memory_x() 34 static inline int set_memory_np(unsigned long addr, int numpages) in set_memory_np() 39 static inline int set_memory_p(unsigned long addr, int numpages) in set_memory_p()
|
/openbmc/linux/kernel/ |
H A D | extable.c | 47 struct exception_table_entry *search_kernel_exception_table(unsigned long addr) in search_kernel_exception_table() 54 const struct exception_table_entry *search_exception_tables(unsigned long addr) in search_exception_tables() 66 int notrace core_kernel_text(unsigned long addr) in core_kernel_text() 77 int __kernel_text_address(unsigned long addr) in __kernel_text_address() 94 int kernel_text_address(unsigned long addr) in kernel_text_address() 165 unsigned long addr; in func_ptr_is_kernel_text() local
|
/openbmc/linux/drivers/sh/intc/ |
H A D | access.c | 75 static unsigned long test_8(unsigned long addr, unsigned long h, in test_8() 82 static unsigned long test_16(unsigned long addr, unsigned long h, in test_16() 89 static unsigned long test_32(unsigned long addr, unsigned long h, in test_32() 96 static unsigned long write_8(unsigned long addr, unsigned long h, in write_8() 105 static unsigned long write_16(unsigned long addr, unsigned long h, in write_16() 114 static unsigned long write_32(unsigned long addr, unsigned long h, in write_32() 123 static unsigned long modify_8(unsigned long addr, unsigned long h, in modify_8() 137 static unsigned long modify_16(unsigned long addr, unsigned long h, in modify_16() 165 static unsigned long intc_mode_field(unsigned long addr, in intc_mode_field() 175 static unsigned long intc_mode_zero(unsigned long addr, in intc_mode_zero() [all …]
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | loongson.h | 40 #define xconf_readl(addr) readl(addr) argument 41 #define xconf_readq(addr) readq(addr) argument 43 static inline void xconf_writel(u32 val, volatile void __iomem *addr) in xconf_writel() 53 static inline void xconf_writeq(u64 val64, volatile void __iomem *addr) in xconf_writeq() 130 #define ls7a_readb(addr) (*(volatile unsigned char *)TO_UNCACHE(addr)) argument 131 #define ls7a_readw(addr) (*(volatile unsigned short *)TO_UNCACHE(addr)) argument 132 #define ls7a_readl(addr) (*(volatile unsigned int *)TO_UNCACHE(addr)) argument 133 #define ls7a_readq(addr) (*(volatile unsigned long *)TO_UNCACHE(addr)) argument 134 #define ls7a_writeb(val, addr) *(volatile unsigned char *)TO_UNCACHE(addr) = (val) argument 135 #define ls7a_writew(val, addr) *(volatile unsigned short *)TO_UNCACHE(addr) = (val) argument [all …]
|
/openbmc/linux/arch/sparc/include/asm/ |
H A D | swift.h | 31 static inline void swift_inv_insn_tag(unsigned long addr) in swift_inv_insn_tag() 40 static inline void swift_inv_data_tag(unsigned long addr) in swift_inv_data_tag() 50 unsigned long addr; in swift_flush_dcache() local 58 unsigned long addr; in swift_flush_icache() local 66 unsigned long addr; in swift_idflash_clear() local 83 static inline void swift_flush_segment(unsigned long addr) in swift_flush_segment() 91 static inline void swift_flush_region(unsigned long addr) in swift_flush_region()
|
/openbmc/linux/tools/include/asm-generic/bitops/ |
H A D | non-atomic.h | 17 ___set_bit(unsigned long nr, volatile unsigned long *addr) in ___set_bit() 26 ___clear_bit(unsigned long nr, volatile unsigned long *addr) in ___clear_bit() 44 ___change_bit(unsigned long nr, volatile unsigned long *addr) in ___change_bit() 62 ___test_and_set_bit(unsigned long nr, volatile unsigned long *addr) in ___test_and_set_bit() 82 ___test_and_clear_bit(unsigned long nr, volatile unsigned long *addr) in ___test_and_clear_bit() 94 ___test_and_change_bit(unsigned long nr, volatile unsigned long *addr) in ___test_and_change_bit() 110 _test_bit(unsigned long nr, const volatile unsigned long *addr) in _test_bit()
|
/openbmc/linux/mm/kasan/ |
H A D | generic.c | 43 static __always_inline bool memory_is_poisoned_1(const void *addr) in memory_is_poisoned_1() 70 static __always_inline bool memory_is_poisoned_16(const void *addr) in memory_is_poisoned_16() 162 static __always_inline bool check_region_inline(const void *addr, in check_region_inline() 184 bool kasan_check_range(const void *addr, size_t size, bool write, in kasan_check_range() 190 bool kasan_byte_accessible(const void *addr) in kasan_byte_accessible() 263 void __asan_loadN(void *addr, ssize_t size) in __asan_loadN() 273 void __asan_storeN(void *addr, ssize_t size) in __asan_storeN() 288 void __asan_alloca_poison(void *addr, ssize_t size) in __asan_alloca_poison() 475 static void __kasan_record_aux_stack(void *addr, bool can_alloc) in __kasan_record_aux_stack() 495 void kasan_record_aux_stack(void *addr) in kasan_record_aux_stack() [all …]
|
/openbmc/linux/arch/s390/include/asm/ |
H A D | bitops.h | 47 unsigned long addr; in __bitops_word() local 60 unsigned long *addr = __bitops_word(nr, ptr); in arch_set_bit() local 68 unsigned long *addr = __bitops_word(nr, ptr); in arch_clear_bit() local 77 unsigned long *addr = __bitops_word(nr, ptr); in arch_change_bit() local 86 unsigned long *addr = __bitops_word(nr, ptr); in arch_test_and_set_bit() local 97 unsigned long *addr = __bitops_word(nr, ptr); in arch_test_and_clear_bit() local 108 unsigned long *addr = __bitops_word(nr, ptr); in arch_test_and_change_bit() local 117 arch___set_bit(unsigned long nr, volatile unsigned long *addr) in arch___set_bit() 126 arch___clear_bit(unsigned long nr, volatile unsigned long *addr) in arch___clear_bit() 135 arch___change_bit(unsigned long nr, volatile unsigned long *addr) in arch___change_bit() [all …]
|
/openbmc/linux/drivers/mmc/core/ |
H A D | sdio_io.c | 316 unsigned addr, int incr_addr, u8 *buf, unsigned size) in sdio_io_rw_ext_helper() 380 u8 sdio_readb(struct sdio_func *func, unsigned int addr, int *err_ret) in sdio_readb() 412 void sdio_writeb(struct sdio_func *func, u8 b, unsigned int addr, int *err_ret) in sdio_writeb() 442 unsigned int addr, int *err_ret) in sdio_writeb_readb() 469 unsigned int addr, int count) in sdio_memcpy_fromio() 485 int sdio_memcpy_toio(struct sdio_func *func, unsigned int addr, in sdio_memcpy_toio() 502 int sdio_readsb(struct sdio_func *func, void *dst, unsigned int addr, in sdio_readsb() 519 int sdio_writesb(struct sdio_func *func, unsigned int addr, void *src, in sdio_writesb() 536 u16 sdio_readw(struct sdio_func *func, unsigned int addr, int *err_ret) in sdio_readw() 584 u32 sdio_readl(struct sdio_func *func, unsigned int addr, int *err_ret) in sdio_readl() [all …]
|
/openbmc/qemu/target/ppc/ |
H A D | mem_helper.c | 83 void helper_lmw(CPUPPCState *env, target_ulong addr, uint32_t reg) in helper_lmw() 105 void helper_stmw(CPUPPCState *env, target_ulong addr, uint32_t reg) in helper_stmw() 127 static void do_lsw(CPUPPCState *env, target_ulong addr, uint32_t nb, in do_lsw() 187 void helper_lsw(CPUPPCState *env, target_ulong addr, in helper_lsw() 199 void helper_lswx(CPUPPCState *env, target_ulong addr, uint32_t reg, in helper_lswx() 215 void helper_stsw(CPUPPCState *env, target_ulong addr, uint32_t nb, in helper_stsw() 273 static void dcbz_common(CPUPPCState *env, target_ulong addr, in dcbz_common() 306 void helper_dcbz(CPUPPCState *env, target_ulong addr, int mmu_idx) in helper_dcbz() 312 void helper_dcbzl(CPUPPCState *env, target_ulong addr) in helper_dcbzl() 328 void helper_icbi(CPUPPCState *env, target_ulong addr) in helper_icbi() [all …]
|
/openbmc/u-boot/arch/nios2/include/asm/bitops/ |
H A D | non-atomic.h | 15 static inline void __set_bit(int nr, volatile unsigned long *addr) in __set_bit() 25 static inline void __clear_bit(int nr, volatile unsigned long *addr) in __clear_bit() 44 static inline void __change_bit(int nr, volatile unsigned long *addr) in __change_bit() 61 static inline int __test_and_set_bit(int nr, volatile unsigned long *addr) in __test_and_set_bit() 80 static inline int __test_and_clear_bit(int nr, volatile unsigned long *addr) in __test_and_clear_bit() 92 volatile unsigned long *addr) in __test_and_change_bit() 107 static inline int test_bit(int nr, const volatile unsigned long *addr) in test_bit()
|
/openbmc/linux/arch/riscv/kernel/probes/ |
H A D | simulate-insn.c | 36 bool __kprobes simulate_jal(u32 opcode, unsigned long addr, struct pt_regs *regs) in simulate_jal() 61 bool __kprobes simulate_jalr(u32 opcode, unsigned long addr, struct pt_regs *regs) in simulate_jalr() 101 bool __kprobes simulate_auipc(u32 opcode, unsigned long addr, struct pt_regs *regs) in simulate_auipc() 139 bool __kprobes simulate_branch(u32 opcode, unsigned long addr, struct pt_regs *regs) in simulate_branch() 192 bool __kprobes simulate_c_j(u32 opcode, unsigned long addr, struct pt_regs *regs) in simulate_c_j() 216 static bool __kprobes simulate_c_jr_jalr(u32 opcode, unsigned long addr, struct pt_regs *regs, in simulate_c_jr_jalr() 243 bool __kprobes simulate_c_jr(u32 opcode, unsigned long addr, struct pt_regs *regs) in simulate_c_jr() 248 bool __kprobes simulate_c_jalr(u32 opcode, unsigned long addr, struct pt_regs *regs) in simulate_c_jalr() 253 static bool __kprobes simulate_c_bnez_beqz(u32 opcode, unsigned long addr, struct pt_regs *regs, in simulate_c_bnez_beqz() 287 bool __kprobes simulate_c_bnez(u32 opcode, unsigned long addr, struct pt_regs *regs) in simulate_c_bnez() [all …]
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | io.h | 25 static __always_inline void __raw_writeb(u8 val, volatile void __iomem *addr) in __raw_writeb() 31 static __always_inline void __raw_writew(u16 val, volatile void __iomem *addr) in __raw_writew() 37 static __always_inline void __raw_writel(u32 val, volatile void __iomem *addr) in __raw_writel() 43 static __always_inline void __raw_writeq(u64 val, volatile void __iomem *addr) in __raw_writeq() 49 static __always_inline u8 __raw_readb(const volatile void __iomem *addr) in __raw_readb() 60 static __always_inline u16 __raw_readw(const volatile void __iomem *addr) in __raw_readw() 72 static __always_inline u32 __raw_readl(const volatile void __iomem *addr) in __raw_readl() 83 static __always_inline u64 __raw_readq(const volatile void __iomem *addr) in __raw_readq() 146 #define ioremap_wc(addr, size) \ argument 148 #define ioremap_np(addr, size) \ argument [all …]
|
/openbmc/qemu/tcg/ |
H A D | tcg-op-ldst.c | 91 TCGTemp *addr, MemOpIdx oi) in gen_ldst() 134 static TCGv_i64 plugin_maybe_preserve_addr(TCGTemp *addr) in plugin_maybe_preserve_addr() 226 static void tcg_gen_qemu_ld_i32_int(TCGv_i32 val, TCGTemp *addr, in tcg_gen_qemu_ld_i32_int() 281 static void tcg_gen_qemu_st_i32_int(TCGv_i32 val, TCGTemp *addr, in tcg_gen_qemu_st_i32_int() 338 static void tcg_gen_qemu_ld_i64_int(TCGv_i64 val, TCGTemp *addr, in tcg_gen_qemu_ld_i64_int() 407 static void tcg_gen_qemu_st_i64_int(TCGv_i64 val, TCGTemp *addr, in tcg_gen_qemu_st_i64_int() 538 static TCGv_i64 maybe_extend_addr64(TCGTemp *addr) in maybe_extend_addr64() 555 static void tcg_gen_qemu_ld_i128_int(TCGv_i128 val, TCGTemp *addr, in tcg_gen_qemu_ld_i128_int() 672 static void tcg_gen_qemu_st_i128_int(TCGv_i128 val, TCGTemp *addr, in tcg_gen_qemu_st_i128_int() 936 void tcg_gen_atomic_cmpxchg_i32_chk(TCGv_i32 retv, TCGTemp *addr, in tcg_gen_atomic_cmpxchg_i32_chk() [all …]
|