/openbmc/linux/tools/testing/selftests/mm/ |
H A D | hugepage-mmap.c | 38 static void check_bytes(char *addr) in check_bytes() 43 static void write_bytes(char *addr) in write_bytes() 51 static int read_bytes(char *addr) in read_bytes() 66 void *addr; in main() local
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | uaccess.h | 77 #define __put_user_asm_goto(x, addr, label, op) \ argument 86 #define __put_user_asm_goto(x, addr, label, op) \ argument 101 #define __put_user_asm2_goto(x, addr, label) \ argument 110 #define __put_user_asm2_goto(x, addr, label) \ argument 159 #define __get_user_asm_goto(x, addr, label, op) \ argument 168 #define __get_user_asm_goto(x, addr, label, op) \ argument 179 #define __get_user_asm2_goto(x, addr, label) \ argument 182 #define __get_user_asm2_goto(x, addr, label) \ argument 220 #define __get_user_asm(x, addr, err, op) \ argument 234 #define __get_user_asm2(x, addr, err) \ argument [all …]
|
/openbmc/linux/drivers/net/ethernet/apm/xgene/ |
H A D | xgene_enet_xgmac.c | 18 void __iomem *addr = pdata->eth_csr_addr + offset; in xgene_enet_wr_csr() local 26 void __iomem *addr = pdata->eth_ring_if_addr + offset; in xgene_enet_wr_ring_if() local 34 void __iomem *addr = pdata->eth_diag_csr_addr + offset; in xgene_enet_wr_diag_csr() local 39 static bool xgene_enet_wr_indirect(void __iomem *addr, void __iomem *wr, in xgene_enet_wr_indirect() 65 void __iomem *addr, *wr, *cmd, *cmd_done; in xgene_enet_wr_pcs() local 80 void __iomem *addr = pdata->mcx_mac_csr_addr + offset; in xgene_enet_wr_axg_csr() local 88 void __iomem *addr = pdata->eth_csr_addr + offset; in xgene_enet_rd_csr() local 96 void __iomem *addr = pdata->eth_diag_csr_addr + offset; in xgene_enet_rd_diag_csr() local 127 void __iomem *addr, *rd, *cmd, *cmd_done; in xgene_enet_rd_pcs() local 146 void __iomem *addr = pdata->mcx_mac_csr_addr + offset; in xgene_enet_rd_axg_csr() local [all …]
|
/openbmc/qemu/hw/ppc/ |
H A D | pnv_homer.c | 33 static bool core_max_array(PnvHomer *homer, hwaddr addr) in core_max_array() 67 static uint64_t pnv_power8_homer_read(void *opaque, hwaddr addr, in pnv_power8_homer_read() 103 static void pnv_power8_homer_write(void *opaque, hwaddr addr, in pnv_power8_homer_write() 130 static uint64_t pnv_homer_power8_pba_read(void *opaque, hwaddr addr, in pnv_homer_power8_pba_read() 158 static void pnv_homer_power8_pba_write(void *opaque, hwaddr addr, in pnv_homer_power8_pba_write() 216 static uint64_t pnv_power9_homer_read(void *opaque, hwaddr addr, in pnv_power9_homer_read() 256 static void pnv_power9_homer_write(void *opaque, hwaddr addr, in pnv_power9_homer_write() 273 static uint64_t pnv_homer_power9_pba_read(void *opaque, hwaddr addr, in pnv_homer_power9_pba_read() 301 static void pnv_homer_power9_pba_write(void *opaque, hwaddr addr, in pnv_homer_power9_pba_write() 336 static uint64_t pnv_homer_power10_pba_read(void *opaque, hwaddr addr, in pnv_homer_power10_pba_read() [all …]
|
/openbmc/u-boot/arch/nios2/include/asm/bitops/ |
H A D | atomic.h | 65 static inline void set_bit(int nr, volatile unsigned long *addr) in set_bit() 86 static inline void clear_bit(int nr, volatile unsigned long *addr) in clear_bit() 107 static inline void change_bit(int nr, volatile unsigned long *addr) in change_bit() 127 static inline int test_and_set_bit(int nr, volatile unsigned long *addr) in test_and_set_bit() 151 static inline int test_and_clear_bit(int nr, volatile unsigned long *addr) in test_and_clear_bit() 174 static inline int test_and_change_bit(int nr, volatile unsigned long *addr) in test_and_change_bit()
|
/openbmc/u-boot/arch/sh/include/asm/ |
H A D | bitops.h | 14 static inline void set_bit(int nr, volatile void * addr) in set_bit() 32 static inline void clear_bit(int nr, volatile void * addr) in clear_bit() 45 static inline void change_bit(int nr, volatile void * addr) in change_bit() 58 static inline int test_and_set_bit(int nr, volatile void * addr) in test_and_set_bit() 74 static inline int test_and_clear_bit(int nr, volatile void * addr) in test_and_clear_bit() 90 static inline int test_and_change_bit(int nr, volatile void * addr) in test_and_change_bit()
|
/openbmc/linux/drivers/net/wireless/ti/wlcore/ |
H A D | io.h | 44 static inline int __must_check wlcore_raw_write(struct wl1271 *wl, int addr, in wlcore_raw_write() 62 static inline int __must_check wlcore_raw_read(struct wl1271 *wl, int addr, in wlcore_raw_read() 94 static inline int __must_check wlcore_raw_read32(struct wl1271 *wl, int addr, in wlcore_raw_read32() 110 static inline int __must_check wlcore_raw_write32(struct wl1271 *wl, int addr, in wlcore_raw_write32() 118 static inline int __must_check wlcore_read(struct wl1271 *wl, int addr, in wlcore_read() 128 static inline int __must_check wlcore_write(struct wl1271 *wl, int addr, in wlcore_write() 157 int addr; in wlcore_read_hwaddr() local 167 static inline int __must_check wlcore_read32(struct wl1271 *wl, int addr, in wlcore_read32() 173 static inline int __must_check wlcore_write32(struct wl1271 *wl, int addr, in wlcore_write32()
|
/openbmc/qemu/hw/pci-host/ |
H A D | dino.c | 47 uint32_t addr = 0xf0000000 + i * DINO_MEM_CHUNK_SIZE; in gsc_to_pci_forwarding() local 57 static bool dino_chip_mem_valid(void *opaque, hwaddr addr, in dino_chip_mem_valid() 93 static MemTxResult dino_chip_read_with_attrs(void *opaque, hwaddr addr, in dino_chip_read_with_attrs() 186 static MemTxResult dino_chip_write_with_attrs(void *opaque, hwaddr addr, in dino_chip_write_with_attrs() 307 static uint64_t dino_config_data_read(void *opaque, hwaddr addr, unsigned len) in dino_config_data_read() 313 static void dino_config_data_write(void *opaque, hwaddr addr, in dino_config_data_write() 326 static uint64_t dino_config_addr_read(void *opaque, hwaddr addr, unsigned len) in dino_config_addr_read() 332 static void dino_config_addr_write(void *opaque, hwaddr addr, in dino_config_addr_write() 480 uint32_t addr = 0xf0000000 + i * DINO_MEM_CHUNK_SIZE; in dino_pcihost_init() local
|
/openbmc/linux/arch/powerpc/boot/ |
H A D | page.h | 21 #define _ALIGN_UP(addr, size) (((addr)+((size)-1))&(~((typeof(addr))(size)-1))) argument 22 #define _ALIGN_DOWN(addr, size) ((addr)&(~((typeof(addr))(size)-1))) argument 25 #define _ALIGN(addr,size) _ALIGN_UP(addr,size) argument 28 #define PAGE_ALIGN(addr) _ALIGN(addr, PAGE_SIZE) argument
|
/openbmc/qemu/include/qemu/ |
H A D | tsan.h | 27 #define QEMU_TSAN_ANNOTATE_HAPPENS_BEFORE(addr) \ argument 29 #define QEMU_TSAN_ANNOTATE_HAPPENS_AFTER(addr) \ argument 55 #define QEMU_TSAN_ANNOTATE_HAPPENS_BEFORE(addr) argument 56 #define QEMU_TSAN_ANNOTATE_HAPPENS_AFTER(addr) argument
|
/openbmc/u-boot/board/micronas/vct/ |
H A D | ebi_smc911x.c | 35 u32 smc911x_reg_read(struct eth_device *dev, u32 addr) in smc911x_reg_read() 49 void smc911x_reg_write(struct eth_device *dev, u32 addr, u32 data) in smc911x_reg_write() 60 void pkt_data_push(struct eth_device *dev, u32 addr, u32 data) in pkt_data_push() 73 u32 pkt_data_pull(struct eth_device *dev, u32 addr) in pkt_data_pull()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | alternative.c | 670 void *addr = (void *)s + *s; in apply_retpolines() local 830 void *addr = (void *)s + *s; in apply_seal_endbr() local 1006 void *addr = (void *)s + *s; in cfi_disable_callers() local 1029 void *addr = (void *)s + *s; in cfi_enable_callers() local 1049 void *addr = (void *)s + *s; in cfi_rand_preamble() local 1069 void *addr = (void *)s + *s; in cfi_rewrite_preamble() local 1090 void *addr = (void *)s + *s; in cfi_rewrite_endbr() local 1102 void *addr = (void *)s + *s; in cfi_rand_callers() local 1121 void *addr = (void *)s + *s; in cfi_rewrite_callers() local 1220 static void poison_cfi(void *addr) in poison_cfi() [all …]
|
/openbmc/linux/include/linux/ |
H A D | highmem-internal.h | 28 static inline void kmap_flush_tlb(unsigned long addr) { } in kmap_flush_tlb() 42 void *addr; in kmap() local 61 static inline struct page *kmap_to_page(void *addr) in kmap_to_page() 124 static inline void __kunmap_atomic(const void *addr) in __kunmap_atomic() 154 unsigned long addr = (unsigned long)x; in is_kmap_addr() local 162 static inline struct page *kmap_to_page(void *addr) in kmap_to_page() 203 static inline void __kunmap_local(const void *addr) in __kunmap_local() 230 static inline void __kunmap_atomic(const void *addr) in __kunmap_atomic()
|
H A D | virtio_pci_modern.h | 57 static inline u8 vp_ioread8(const u8 __iomem *addr) in vp_ioread8() 61 static inline u16 vp_ioread16 (const __le16 __iomem *addr) in vp_ioread16() 66 static inline u32 vp_ioread32(const __le32 __iomem *addr) in vp_ioread32() 71 static inline void vp_iowrite8(u8 value, u8 __iomem *addr) in vp_iowrite8() 76 static inline void vp_iowrite16(u16 value, __le16 __iomem *addr) in vp_iowrite16() 81 static inline void vp_iowrite32(u32 value, __le32 __iomem *addr) in vp_iowrite32()
|
/openbmc/linux/arch/s390/mm/ |
H A D | hugetlbpage.c | 145 void __set_huge_pte_at(struct mm_struct *mm, unsigned long addr, in __set_huge_pte_at() 166 void set_huge_pte_at(struct mm_struct *mm, unsigned long addr, in set_huge_pte_at() 178 unsigned long addr, pte_t *ptep) in huge_ptep_get_and_clear() 192 unsigned long addr, unsigned long sz) in huge_pte_alloc() 214 unsigned long addr, unsigned long sz) in huge_pte_offset() 257 unsigned long addr, unsigned long len, in hugetlb_get_unmapped_area_bottomup() 278 unsigned long addr; in hugetlb_get_unmapped_area_topdown() local 305 unsigned long hugetlb_get_unmapped_area(struct file *file, unsigned long addr, in hugetlb_get_unmapped_area()
|
/openbmc/qemu/hw/intc/ |
H A D | loongson_ipi_common.c | 18 MemTxResult loongson_ipi_core_readl(void *opaque, hwaddr addr, uint64_t *data, in loongson_ipi_core_readl() 54 static MemTxResult loongson_ipi_iocsr_readl(void *opaque, hwaddr addr, in loongson_ipi_iocsr_readl() 70 uint64_t val, hwaddr addr, MemTxAttrs attrs) in send_ipi_data() 106 hwaddr addr; in mail_send() local 126 hwaddr addr; in any_send() local 141 MemTxResult loongson_ipi_core_writel(void *opaque, hwaddr addr, uint64_t val, in loongson_ipi_core_writel() 196 static MemTxResult loongson_ipi_iocsr_writel(void *opaque, hwaddr addr, in loongson_ipi_iocsr_writel() 222 static MemTxResult loongson_ipi_writeq(void *opaque, hwaddr addr, uint64_t val, in loongson_ipi_writeq()
|
/openbmc/qemu/monitor/ |
H A D | hmp-cmds-target.c | 124 hwaddr addr, int is_physical) in memory_dump() 237 target_long addr = qdict_get_int(qdict, "addr"); in hmp_memory_dump() local 247 hwaddr addr = qdict_get_int(qdict, "addr"); in hmp_physical_memory_dump() local 252 void *gpa2hva(MemoryRegion **p_mr, hwaddr addr, uint64_t size, Error **errp) in gpa2hva() 283 hwaddr addr = qdict_get_int(qdict, "addr"); in hmp_gpa2hva() local 303 target_ulong addr = qdict_get_int(qdict, "addr"); in hmp_gva2gpa() local 327 uintptr_t addr = (uintptr_t) ptr; in vtop() local 358 hwaddr addr = qdict_get_int(qdict, "addr"); in hmp_gpa2hpa() local
|
/openbmc/linux/drivers/mtd/tests/ |
H A D | speedtest.c | 47 loff_t addr = (loff_t)ebnum * mtd->erasesize; in multiblock_erase() local 65 loff_t addr = (loff_t)ebnum * mtd->erasesize; in write_eraseblock() local 73 loff_t addr = (loff_t)ebnum * mtd->erasesize; in write_eraseblock_by_page() local 91 loff_t addr = (loff_t)ebnum * mtd->erasesize; in write_eraseblock_by_2pages() local 109 loff_t addr = (loff_t)ebnum * mtd->erasesize; in read_eraseblock() local 117 loff_t addr = (loff_t)ebnum * mtd->erasesize; in read_eraseblock_by_page() local 135 loff_t addr = (loff_t)ebnum * mtd->erasesize; in read_eraseblock_by_2pages() local
|
/openbmc/linux/arch/powerpc/mm/book3s64/ |
H A D | radix_pgtable.c | 298 unsigned long vaddr, addr, mapping_size = 0; in create_physical_mapping() local 833 unsigned long addr, next; in remove_pagetable() local 925 unsigned long addr, unsigned long next) in vmemmap_check_pmd() 936 unsigned long addr, unsigned long next) in vmemmap_set_pmd() 1051 unsigned long addr; in radix__vmemmap_populate() local 1230 unsigned long addr; in vmemmap_populate_compound_pages() local 1345 unsigned long addr; in radix__kernel_map_pages() local 1458 unsigned long addr, pmd_t *pmdp) in radix__pmdp_huge_get_and_clear() 1469 unsigned long addr, pud_t *pudp) in radix__pudp_huge_get_and_clear() 1524 unsigned long addr, pte_t *ptep, in radix__ptep_modify_prot_commit() [all …]
|
/openbmc/linux/arch/arc/kernel/ |
H A D | unaligned.c | 26 #define __get8_unaligned_check(val, addr, err) \ argument 42 #define get16_unaligned_check(val, addr) \ argument 53 #define get32_unaligned_check(val, addr) \ argument 68 #define put16_unaligned_check(val, addr) \ argument 95 #define put32_unaligned_check(val, addr) \ argument
|
/openbmc/linux/drivers/net/wireless/realtek/rtw88/ |
H A D | sdio.c | 23 static bool rtw_sdio_is_bus_addr(u32 addr) in rtw_sdio_is_bus_addr() 34 static u32 rtw_sdio_to_bus_offset(struct rtw_dev *rtwdev, u32 addr) in rtw_sdio_to_bus_offset() 55 static bool rtw_sdio_use_memcpy_io(struct rtw_dev *rtwdev, u32 addr, in rtw_sdio_use_memcpy_io() 62 static void rtw_sdio_writel(struct rtw_dev *rtwdev, u32 val, u32 addr, in rtw_sdio_writel() 132 static u32 rtw_sdio_to_io_address(struct rtw_dev *rtwdev, u32 addr, in rtw_sdio_to_io_address() 144 static bool rtw_sdio_use_direct_io(struct rtw_dev *rtwdev, u32 addr) in rtw_sdio_use_direct_io() 174 static u8 rtw_sdio_indirect_read8(struct rtw_dev *rtwdev, u32 addr, in rtw_sdio_indirect_read8() 249 static u8 rtw_sdio_read8(struct rtw_dev *rtwdev, u32 addr) in rtw_sdio_read8() 277 static u16 rtw_sdio_read16(struct rtw_dev *rtwdev, u32 addr) in rtw_sdio_read16() 305 static u32 rtw_sdio_read32(struct rtw_dev *rtwdev, u32 addr) in rtw_sdio_read32() [all …]
|
/openbmc/qemu/accel/tcg/ |
H A D | user-exec.c | 749 target_ulong addr = start + i; in page_unprotect() local 779 static int probe_access_internal(CPUArchState *env, vaddr addr, in probe_access_internal() 833 void *probe_access(CPUArchState *env, vaddr addr, int size, in probe_access() 954 static void *cpu_mmu_lookup(CPUState *cpu, vaddr addr, in cpu_mmu_lookup() 1039 static Int128 do_ld16_mmu(CPUState *cpu, abi_ptr addr, in do_ld16_mmu() 1058 static void do_st1_mmu(CPUState *cpu, vaddr addr, uint8_t val, in do_st1_mmu() 1117 static void do_st16_mmu(CPUState *cpu, vaddr addr, Int128 val, in do_st16_mmu() 1173 uint8_t cpu_ldb_code_mmu(CPUArchState *env, abi_ptr addr, in cpu_ldb_code_mmu() 1185 uint16_t cpu_ldw_code_mmu(CPUArchState *env, abi_ptr addr, in cpu_ldw_code_mmu() 1200 uint32_t cpu_ldl_code_mmu(CPUArchState *env, abi_ptr addr, in cpu_ldl_code_mmu() [all …]
|
/openbmc/linux/tools/testing/selftests/mincore/ |
H A D | mincore_selftest.c | 35 char *addr; in TEST() local 86 char *addr; in TEST() local 142 char *addr; in TEST() local 191 char *addr; in TEST() local 296 char *addr; in TEST() local
|
/openbmc/qemu/target/arm/ |
H A D | hyp_gdbstub.c | 57 int insert_hw_breakpoint(target_ulong addr) in insert_hw_breakpoint() 128 int insert_hw_watchpoint(target_ulong addr, target_ulong len, int type) in insert_hw_watchpoint() 185 bool check_watchpoint_in_range(int i, target_ulong addr) in check_watchpoint_in_range() 217 int delete_hw_watchpoint(target_ulong addr, target_ulong len, int type) in delete_hw_watchpoint() 242 CPUWatchpoint *find_hw_watchpoint(CPUState *cpu, target_ulong addr) in find_hw_watchpoint()
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | hugetlb.h | 15 unsigned long addr, in prepare_hugepage_range() 33 static inline void huge_pte_clear(struct mm_struct *mm, unsigned long addr, in huge_pte_clear() 44 unsigned long addr, pte_t *ptep) in huge_ptep_get_and_clear() 56 unsigned long addr, pte_t *ptep) in huge_ptep_clear_flush() 74 unsigned long addr, in huge_ptep_set_access_flags()
|