/openbmc/linux/arch/alpha/include/asm/ |
H A D | bitops.h | 29 set_bit(unsigned long nr, volatile void * addr) in set_bit() 50 arch___set_bit(unsigned long nr, volatile unsigned long *addr) in arch___set_bit() 58 clear_bit(unsigned long nr, volatile void * addr) in clear_bit() 76 clear_bit_unlock(unsigned long nr, volatile void * addr) in clear_bit_unlock() 86 arch___clear_bit(unsigned long nr, volatile unsigned long *addr) in arch___clear_bit() 94 __clear_bit_unlock(unsigned long nr, volatile void * addr) in __clear_bit_unlock() 101 change_bit(unsigned long nr, volatile void * addr) in change_bit() 130 test_and_set_bit(unsigned long nr, volatile void *addr) in test_and_set_bit() 160 test_and_set_bit_lock(unsigned long nr, volatile void *addr) in test_and_set_bit_lock() 201 test_and_clear_bit(unsigned long nr, volatile void * addr) in test_and_clear_bit() [all …]
|
/openbmc/linux/arch/arm64/kvm/vgic/ |
H A D | vgic-mmio.c | 20 gpa_t addr, unsigned int len) in vgic_mmio_read_raz() 26 gpa_t addr, unsigned int len) in vgic_mmio_read_rao() 45 gpa_t addr, unsigned int len) in vgic_mmio_read_group() 97 gpa_t addr, unsigned int len) in vgic_mmio_read_enable() 117 gpa_t addr, unsigned int len, in vgic_mmio_write_senable() 293 gpa_t addr, unsigned int len) in vgic_uaccess_read_pending() 347 gpa_t addr, unsigned int len, in vgic_uaccess_write_spending() 441 gpa_t addr, unsigned int len, in vgic_uaccess_write_cpending() 935 gpa_t addr, int len) in check_region() 966 gpa_t addr, int len) in vgic_get_mmio_region() [all …]
|
/openbmc/u-boot/arch/microblaze/include/asm/ |
H A D | io.h | 24 #define readb(addr) \ argument 27 #define readw(addr) \ argument 30 #define readl(addr) \ argument 33 #define writeb(b, addr) \ argument 36 #define writew(b, addr) \ argument 39 #define writel(b, addr) \ argument 46 #define inb(addr) readb(addr) argument 47 #define inw(addr) readw(addr) argument 48 #define inl(addr) readl(addr) argument 54 #define in_8(addr) readb(addr) argument [all …]
|
/openbmc/linux/net/vmw_vsock/ |
H A D | vsock_addr.c | 14 void vsock_addr_init(struct sockaddr_vm *addr, u32 cid, u32 port) in vsock_addr_init() 23 int vsock_addr_validate(const struct sockaddr_vm *addr) in vsock_addr_validate() 40 bool vsock_addr_bound(const struct sockaddr_vm *addr) in vsock_addr_bound() 46 void vsock_addr_unbind(struct sockaddr_vm *addr) in vsock_addr_unbind() 52 bool vsock_addr_equals_addr(const struct sockaddr_vm *addr, in vsock_addr_equals_addr() 60 int vsock_addr_cast(const struct sockaddr *addr, in vsock_addr_cast()
|
/openbmc/qemu/hw/i2c/ |
H A D | smbus_master.c | 19 int smbus_quick_command(I2CBus *bus, uint8_t addr, int read) in smbus_quick_command() 28 int smbus_receive_byte(I2CBus *bus, uint8_t addr) in smbus_receive_byte() 41 int smbus_send_byte(I2CBus *bus, uint8_t addr, uint8_t data) in smbus_send_byte() 51 int smbus_read_byte(I2CBus *bus, uint8_t addr, uint8_t command) in smbus_read_byte() 68 int smbus_write_byte(I2CBus *bus, uint8_t addr, uint8_t command, uint8_t data) in smbus_write_byte() 79 int smbus_read_word(I2CBus *bus, uint8_t addr, uint8_t command) in smbus_read_word() 97 int smbus_write_word(I2CBus *bus, uint8_t addr, uint8_t command, uint16_t data) in smbus_write_word() 109 int smbus_read_block(I2CBus *bus, uint8_t addr, uint8_t command, uint8_t *data, in smbus_read_block() 143 int smbus_write_block(I2CBus *bus, uint8_t addr, uint8_t command, uint8_t *data, in smbus_write_block()
|
/openbmc/linux/drivers/net/wireless/ti/wl1251/ |
H A D | io.c | 27 static int wl1251_translate_reg_addr(struct wl1251 *wl, int addr) in wl1251_translate_reg_addr() 44 static int wl1251_translate_mem_addr(struct wl1251 *wl, int addr) in wl1251_translate_mem_addr() 49 void wl1251_mem_read(struct wl1251 *wl, int addr, void *buf, size_t len) in wl1251_mem_read() 58 void wl1251_mem_write(struct wl1251 *wl, int addr, void *buf, size_t len) in wl1251_mem_write() 67 u32 wl1251_mem_read32(struct wl1251 *wl, int addr) in wl1251_mem_read32() 72 void wl1251_mem_write32(struct wl1251 *wl, int addr, u32 val) in wl1251_mem_write32() 77 u32 wl1251_reg_read32(struct wl1251 *wl, int addr) in wl1251_reg_read32() 82 void wl1251_reg_write32(struct wl1251 *wl, int addr, u32 val) in wl1251_reg_write32()
|
/openbmc/linux/arch/powerpc/platforms/52xx/ |
H A D | lite5200_sleep.S | 25 #define SAVE_SPRN(reg, addr) \ argument 29 #define LOAD_SPRN(reg, addr) \ argument 262 #define SAVE_BAT(n, addr) \ argument 268 #define SAVE_SR(n, addr) \ argument 272 #define SAVE_4SR(n, addr) \ argument 328 #define LOAD_BAT(n, addr) \ argument 334 #define LOAD_SR(n, addr) \ argument 338 #define LOAD_4SR(n, addr) \ argument
|
/openbmc/linux/include/asm-generic/bitops/ |
H A D | instrumented-atomic.h | 26 static __always_inline void set_bit(long nr, volatile unsigned long *addr) in set_bit() 39 static __always_inline void clear_bit(long nr, volatile unsigned long *addr) in clear_bit() 55 static __always_inline void change_bit(long nr, volatile unsigned long *addr) in change_bit() 68 static __always_inline bool test_and_set_bit(long nr, volatile unsigned long *addr) in test_and_set_bit() 82 static __always_inline bool test_and_clear_bit(long nr, volatile unsigned long *addr) in test_and_clear_bit() 96 static __always_inline bool test_and_change_bit(long nr, volatile unsigned long *addr) in test_and_change_bit()
|
H A D | generic-non-atomic.h | 28 generic___set_bit(unsigned long nr, volatile unsigned long *addr) in generic___set_bit() 37 generic___clear_bit(unsigned long nr, volatile unsigned long *addr) in generic___clear_bit() 55 generic___change_bit(unsigned long nr, volatile unsigned long *addr) in generic___change_bit() 73 generic___test_and_set_bit(unsigned long nr, volatile unsigned long *addr) in generic___test_and_set_bit() 93 generic___test_and_clear_bit(unsigned long nr, volatile unsigned long *addr) in generic___test_and_clear_bit() 105 generic___test_and_change_bit(unsigned long nr, volatile unsigned long *addr) in generic___test_and_change_bit() 121 generic_test_bit(unsigned long nr, const volatile unsigned long *addr) in generic_test_bit() 137 generic_test_bit_acquire(unsigned long nr, const volatile unsigned long *addr) in generic_test_bit_acquire() 166 const_test_bit(unsigned long nr, const volatile unsigned long *addr) in const_test_bit()
|
/openbmc/u-boot/arch/arm/include/asm/ |
H A D | io.h | 171 #define clrbits(type, addr, clear) \ argument 174 #define setbits(type, addr, set) \ argument 177 #define clrsetbits(type, addr, clear, set) \ argument 189 #define setbits_32(addr, set) setbits(32, addr, set) argument 205 #define setbits_8(addr, set) setbits(8, addr, set) argument 343 #define readb(addr) (__readwrite_bug("readb"),0) argument 344 #define readw(addr) (__readwrite_bug("readw"),0) argument 345 #define readl(addr) (__readwrite_bug("readl"),0) argument 346 #define writeb(v,addr) __readwrite_bug("writeb") argument 347 #define writew(v,addr) __readwrite_bug("writew") argument [all …]
|
/openbmc/qemu/target/sh4/ |
H A D | translate.c | 496 TCGv addr = tcg_temp_new(); in _decode_opc() local 504 TCGv addr = tcg_temp_new(); in _decode_opc() local 584 TCGv addr = tcg_temp_new(); in _decode_opc() local 593 TCGv addr = tcg_temp_new(); in _decode_opc() local 602 TCGv addr = tcg_temp_new(); in _decode_opc() local 628 TCGv addr = tcg_temp_new(); in _decode_opc() local 635 TCGv addr = tcg_temp_new(); in _decode_opc() local 1135 TCGv addr, val; in _decode_opc() local 1248 TCGv addr, val; in _decode_opc() local 1288 TCGv addr, val; in _decode_opc() local [all …]
|
/openbmc/linux/arch/s390/mm/ |
H A D | pgtable.c | 88 unsigned long addr, pte_t *ptep, in ptep_flush_direct() 107 unsigned long addr, pte_t *ptep, in ptep_flush_lazy() 240 unsigned long addr, in pgste_pte_notify() 256 unsigned long addr, pte_t *ptep) in ptep_xchg_start() 268 unsigned long addr, pte_t *ptep, in ptep_xchg_commit() 386 unsigned long addr, pmd_t *pmdp) in pmdp_idte_local() 398 unsigned long addr, pmd_t *pmdp) in pmdp_idte_global() 417 unsigned long addr, pmd_t *pmdp) in pmdp_flush_direct() 435 unsigned long addr, pmd_t *pmdp) in pmdp_flush_lazy() 517 unsigned long addr, pud_t *pudp) in pudp_idte_local() [all …]
|
/openbmc/linux/include/asm-generic/ |
H A D | fb.h | 44 static inline u8 fb_readb(const volatile void __iomem *addr) in fb_readb() 52 static inline u16 fb_readw(const volatile void __iomem *addr) in fb_readw() 60 static inline u32 fb_readl(const volatile void __iomem *addr) in fb_readl() 69 static inline u64 fb_readq(const volatile void __iomem *addr) in fb_readq() 78 static inline void fb_writeb(u8 b, volatile void __iomem *addr) in fb_writeb() 86 static inline void fb_writew(u16 b, volatile void __iomem *addr) in fb_writew() 94 static inline void fb_writel(u32 b, volatile void __iomem *addr) in fb_writel() 103 static inline void fb_writeq(u64 b, volatile void __iomem *addr) in fb_writeq() 128 static inline void fb_memset_io(volatile void __iomem *addr, int c, size_t n) in fb_memset_io()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce110/ |
H A D | dce110_opp_csc_v.c | 128 uint32_t addr = mmOUTPUT_CSC_C11_C12_A; in program_color_matrix_v() local 146 uint32_t addr = mmOUTPUT_CSC_C13_C14_A; in program_color_matrix_v() local 164 uint32_t addr = mmOUTPUT_CSC_C21_C22_A; in program_color_matrix_v() local 182 uint32_t addr = mmOUTPUT_CSC_C23_C24_A; in program_color_matrix_v() local 200 uint32_t addr = mmOUTPUT_CSC_C31_C32_A; in program_color_matrix_v() local 218 uint32_t addr = mmOUTPUT_CSC_C33_C34_A; in program_color_matrix_v() local 242 uint32_t addr = mmOUTPUT_CSC_C11_C12_B; in program_color_matrix_v() local 260 uint32_t addr = mmOUTPUT_CSC_C13_C14_B; in program_color_matrix_v() local 278 uint32_t addr = mmOUTPUT_CSC_C21_C22_B; in program_color_matrix_v() local 296 uint32_t addr = mmOUTPUT_CSC_C23_C24_B; in program_color_matrix_v() local [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | get_func_ip_test.c | 30 __u64 addr = bpf_get_func_ip(ctx); in BPF_PROG() local 40 __u64 addr = bpf_get_func_ip(ctx); in BPF_PROG() local 50 __u64 addr = bpf_get_func_ip(ctx); in test3() local 60 __u64 addr = bpf_get_func_ip(ctx); in BPF_KRETPROBE() local 70 __u64 addr = bpf_get_func_ip(ctx); in BPF_PROG() local 80 __u64 addr = bpf_get_func_ip(ctx); in test6() local 92 __u64 addr = bpf_get_func_ip(ctx); in BPF_UPROBE() local 102 __u64 addr = bpf_get_func_ip(ctx); in BPF_URETPROBE() local
|
/openbmc/linux/arch/openrisc/mm/ |
H A D | tlb.c | 35 #define DTLB_OFFSET(addr) (((addr) >> PAGE_SHIFT) & (NUM_DTLB_SETS-1)) argument 36 #define ITLB_OFFSET(addr) (((addr) >> PAGE_SHIFT) & (NUM_ITLB_SETS-1)) argument 75 #define flush_dtlb_page_eir(addr) mtspr(SPR_DTLBEIR, addr) argument 76 #define flush_dtlb_page_no_eir(addr) \ argument 79 #define flush_itlb_page_eir(addr) mtspr(SPR_ITLBEIR, addr) argument 80 #define flush_itlb_page_no_eir(addr) \ argument 83 void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long addr) in local_flush_tlb_page() 99 int addr; in local_flush_tlb_range() local
|
/openbmc/qemu/hw/ppc/ |
H A D | prep_systemio.c | 66 static void prep_port0092_write(void *opaque, uint32_t addr, uint32_t val) in prep_port0092_write() 84 static uint32_t prep_port0092_read(void *opaque, uint32_t addr) in prep_port0092_read() 97 static void prep_port0808_write(void *opaque, uint32_t addr, uint32_t val) in prep_port0808_write() 105 static void prep_port0810_write(void *opaque, uint32_t addr, uint32_t val) in prep_port0810_write() 131 static uint32_t prep_port0818_read(void *opaque, uint32_t addr) in prep_port0818_read() 148 static uint32_t prep_port080c_read(void *opaque, uint32_t addr) in prep_port080c_read() 175 static uint32_t prep_port081c_read(void *opaque, uint32_t addr) in prep_port081c_read() 184 static uint32_t prep_port0852_read(void *opaque, uint32_t addr) in prep_port0852_read() 197 static uint32_t prep_port0850_read(void *opaque, uint32_t addr) in prep_port0850_read() 231 static uint64_t ppc_parity_error_readl(void *opaque, hwaddr addr, in ppc_parity_error_readl() [all …]
|
/openbmc/u-boot/include/ |
H A D | iotrace.h | 35 phys_addr_t addr; member 49 #define readl(addr) iotrace_readl((const void *)(addr)) argument 52 #define writel(val, addr) iotrace_writel(val, (const void *)(addr)) argument 55 #define readw(addr) iotrace_readw((const void *)(addr)) argument 58 #define writew(val, addr) iotrace_writew(val, (const void *)(addr)) argument 61 #define readb(addr) iotrace_readb((const void *)(uintptr_t)addr) argument 64 #define writeb(val, addr) \ argument
|
/openbmc/linux/arch/powerpc/kvm/ |
H A D | book3s_paired_singles.c | 173 int rs, ulong addr, int ls_type) in kvmppc_emulate_fpr_load() 217 int rs, ulong addr, int ls_type) in kvmppc_emulate_fpr_store() 263 int rs, ulong addr, bool w, int i) in kvmppc_emulate_psq_load() 306 int rs, ulong addr, bool w, int i) in kvmppc_emulate_psq_store() 690 ulong addr = kvmppc_get_gpr(vcpu, ax_ra); in kvmppc_emulate_paired_single() local 713 ulong addr = kvmppc_get_gpr(vcpu, ax_ra); in kvmppc_emulate_paired_single() local 747 ulong addr = kvmppc_get_gpr(vcpu, ax_ra); in kvmppc_emulate_paired_single() local 834 ulong addr = kvmppc_get_gpr(vcpu, ax_ra); in kvmppc_emulate_paired_single() local 1012 ulong addr = kvmppc_get_gpr(vcpu, ax_ra) + in kvmppc_emulate_paired_single() local 1033 ulong addr = kvmppc_get_gpr(vcpu, ax_ra) + in kvmppc_emulate_paired_single() local [all …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtw88/ |
H A D | hci.h | 87 static inline u8 rtw_read8(struct rtw_dev *rtwdev, u32 addr) in rtw_read8() 92 static inline u16 rtw_read16(struct rtw_dev *rtwdev, u32 addr) in rtw_read16() 97 static inline u32 rtw_read32(struct rtw_dev *rtwdev, u32 addr) in rtw_read32() 102 static inline void rtw_write8(struct rtw_dev *rtwdev, u32 addr, u8 val) in rtw_write8() 167 u32 addr, u32 mask) in rtw_read_rf() 180 u32 addr, u32 mask, u32 data) in rtw_write_rf() 188 rtw_read32_mask(struct rtw_dev *rtwdev, u32 addr, u32 mask) in rtw_read32_mask() 201 rtw_read16_mask(struct rtw_dev *rtwdev, u32 addr, u32 mask) in rtw_read16_mask() 214 rtw_read8_mask(struct rtw_dev *rtwdev, u32 addr, u32 mask) in rtw_read8_mask() 227 rtw_write32_mask(struct rtw_dev *rtwdev, u32 addr, u32 mask, u32 data) in rtw_write32_mask() [all …]
|
/openbmc/linux/mm/kasan/ |
H A D | report.c | 272 static inline struct page *addr_to_page(const void *addr) in addr_to_page() 343 static inline bool kernel_or_module_addr(const void *addr) in kernel_or_module_addr() 352 static inline bool init_task_stack_addr(const void *addr) in init_task_stack_addr() 359 static void print_address_description(void *addr, u8 tag, in print_address_description() 408 static bool meta_row_is_guilty(const void *row, const void *addr) in meta_row_is_guilty() 413 static int meta_pointer_offset(const void *row, const void *addr) in meta_pointer_offset() 429 static void print_memory_metadata(const void *addr) in print_memory_metadata() 466 void *addr = kasan_reset_tag((void *)info->access_addr); in print_report() local 484 void *addr = kasan_reset_tag((void *)info->access_addr); in complete_report_info() local 564 bool kasan_report(const void *addr, size_t size, bool is_write, in kasan_report() [all …]
|
/openbmc/linux/arch/ia64/include/asm/ |
H A D | bitops.h | 40 set_bit (int nr, volatile void *addr) in set_bit() 65 arch___set_bit(unsigned long nr, volatile unsigned long *addr) in arch___set_bit() 81 clear_bit (int nr, volatile void *addr) in clear_bit() 105 clear_bit_unlock (int nr, volatile void *addr) in clear_bit_unlock() 129 __clear_bit_unlock(int nr, void *addr) in __clear_bit_unlock() 147 arch___clear_bit(unsigned long nr, volatile unsigned long *addr) in arch___clear_bit() 162 change_bit (int nr, volatile void *addr) in change_bit() 187 arch___change_bit(unsigned long nr, volatile unsigned long *addr) in arch___change_bit() 201 test_and_set_bit (int nr, volatile void *addr) in test_and_set_bit() 255 test_and_clear_bit (int nr, volatile void *addr) in test_and_clear_bit() [all …]
|
/openbmc/linux/include/linux/ |
H A D | bitops.h | 48 #define bitop(op, nr, addr) \ argument 55 #define __set_bit(nr, addr) bitop(___set_bit, nr, addr) argument 56 #define __clear_bit(nr, addr) bitop(___clear_bit, nr, addr) argument 57 #define __change_bit(nr, addr) bitop(___change_bit, nr, addr) argument 58 #define __test_and_set_bit(nr, addr) bitop(___test_and_set_bit, nr, addr) argument 59 #define __test_and_clear_bit(nr, addr) bitop(___test_and_clear_bit, nr, addr) argument 61 #define test_bit(nr, addr) bitop(_test_bit, nr, addr) argument 62 #define test_bit_acquire(nr, addr) bitop(_test_bit_acquire, nr, addr) argument 303 #define __ptr_set_bit(nr, addr) \ argument 318 #define __ptr_clear_bit(nr, addr) \ argument [all …]
|
/openbmc/linux/arch/m68k/include/asm/ |
H A D | tlbflush.h | 11 static inline void flush_tlb_kernel_page(void *addr) in flush_tlb_kernel_page() 42 static inline void __flush_tlb040_one(unsigned long addr) in __flush_tlb040_one() 50 static inline void __flush_tlb_one(unsigned long addr) in __flush_tlb_one() 84 static inline void flush_tlb_page(struct vm_area_struct *vma, unsigned long addr) in flush_tlb_page() 115 unsigned long addr; in flush_tlb_all() local 167 unsigned long addr) in flush_tlb_page() 219 static inline void flush_tlb_kernel_page (unsigned long addr) in flush_tlb_kernel_page() 236 static inline void __flush_tlb_one(unsigned long addr) in __flush_tlb_one() 256 static inline void flush_tlb_page(struct vm_area_struct *vma, unsigned long addr) in flush_tlb_page() 267 static inline void flush_tlb_kernel_page(unsigned long addr) in flush_tlb_kernel_page()
|
/openbmc/linux/arch/nios2/include/asm/ |
H A D | io.h | 20 #define readb_relaxed(addr) readb(addr) argument 21 #define readw_relaxed(addr) readw(addr) argument 22 #define readl_relaxed(addr) readl(addr) argument 24 #define writeb_relaxed(x, addr) writeb(x, addr) argument 25 #define writew_relaxed(x, addr) writew(x, addr) argument 26 #define writel_relaxed(x, addr) writel(x, addr) argument
|