/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/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/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/qemu/target/ppc/ |
H A D | mem_helper.c | 44 static inline target_ulong addr_add(CPUPPCState *env, target_ulong addr, in addr_add() 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() 310 void helper_dcbz(CPUPPCState *env, target_ulong addr, uint32_t opcode) in helper_dcbz() 320 void helper_icbi(CPUPPCState *env, target_ulong addr) in helper_icbi() [all …]
|
/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/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() 178 static void tcg_gen_qemu_ld_i32_int(TCGv_i32 val, TCGTemp *addr, in tcg_gen_qemu_ld_i32_int() 232 static void tcg_gen_qemu_st_i32_int(TCGv_i32 val, TCGTemp *addr, in tcg_gen_qemu_st_i32_int() 289 static void tcg_gen_qemu_ld_i64_int(TCGv_i64 val, TCGTemp *addr, in tcg_gen_qemu_ld_i64_int() 357 static void tcg_gen_qemu_st_i64_int(TCGv_i64 val, TCGTemp *addr, in tcg_gen_qemu_st_i64_int() 488 static TCGv_i64 maybe_extend_addr64(TCGTemp *addr) in maybe_extend_addr64() 505 static void tcg_gen_qemu_ld_i128_int(TCGv_i128 val, TCGTemp *addr, in tcg_gen_qemu_ld_i128_int() 621 static void tcg_gen_qemu_st_i128_int(TCGv_i128 val, TCGTemp *addr, in tcg_gen_qemu_st_i128_int() 884 void tcg_gen_atomic_cmpxchg_i32_chk(TCGv_i32 retv, TCGTemp *addr, in tcg_gen_atomic_cmpxchg_i32_chk() [all …]
|
/openbmc/u-boot/cmd/ |
H A D | elf.c | 35 static unsigned long load_elf64_image_phdr(unsigned long addr) in load_elf64_image_phdr() 68 uintptr_t addr = ehdr->e_entry; in load_elf64_image_phdr() local 76 static unsigned long load_elf64_image_shdr(unsigned long addr) in load_elf64_image_shdr() 132 uintptr_t addr = ehdr->e_entry; in load_elf64_image_shdr() local 147 static unsigned long load_elf_image_phdr(unsigned long addr) in load_elf_image_phdr() 179 static unsigned long load_elf_image_shdr(unsigned long addr) in load_elf_image_shdr() 253 int valid_elf_image(unsigned long addr) in valid_elf_image() 275 unsigned long addr; /* Address of the ELF image */ in do_bootelf() local 331 unsigned long addr; /* Address of image */ in do_bootvx() local
|
/openbmc/linux/arch/parisc/mm/ |
H A D | hugetlbpage.c | 25 hugetlb_get_unmapped_area(struct file *file, unsigned long addr, in hugetlb_get_unmapped_area() 48 unsigned long addr, unsigned long sz) in huge_pte_alloc() 75 unsigned long addr, unsigned long sz) in huge_pte_offset() 104 static inline void purge_tlb_entries_huge(struct mm_struct *mm, unsigned long addr) in purge_tlb_entries_huge() 122 static void __set_huge_pte_at(struct mm_struct *mm, unsigned long addr, in __set_huge_pte_at() 142 void set_huge_pte_at(struct mm_struct *mm, unsigned long addr, in set_huge_pte_at() 149 pte_t huge_ptep_get_and_clear(struct mm_struct *mm, unsigned long addr, in huge_ptep_get_and_clear() 162 unsigned long addr, pte_t *ptep) in huge_ptep_set_wrprotect() 171 unsigned long addr, pte_t *ptep, in huge_ptep_set_access_flags()
|