/openbmc/qemu/hw/net/ |
H A D | ne2000.c | 260 static void ne2000_ioport_write(void *opaque, uint32_t addr, uint32_t val) in ne2000_ioport_write() 364 static uint32_t ne2000_ioport_read(void *opaque, uint32_t addr) in ne2000_ioport_read() 433 static inline void ne2000_mem_writeb(NE2000State *s, uint32_t addr, in ne2000_mem_writeb() 442 static inline void ne2000_mem_writew(NE2000State *s, uint32_t addr, in ne2000_mem_writew() 452 static inline void ne2000_mem_writel(NE2000State *s, uint32_t addr, in ne2000_mem_writel() 463 static inline uint32_t ne2000_mem_readb(NE2000State *s, uint32_t addr) in ne2000_mem_readb() 473 static inline uint32_t ne2000_mem_readw(NE2000State *s, uint32_t addr) in ne2000_mem_readw() 484 static inline uint32_t ne2000_mem_readl(NE2000State *s, uint32_t addr) in ne2000_mem_readl() 514 static void ne2000_asic_ioport_write(void *opaque, uint32_t addr, uint32_t val) in ne2000_asic_ioport_write() 534 static uint32_t ne2000_asic_ioport_read(void *opaque, uint32_t addr) in ne2000_asic_ioport_read() [all …]
|
/openbmc/linux/arch/mips/lib/ |
H A D | csum_partial.S | 346 #define EXC(insn, type, reg, addr) \ argument 372 #define LOAD(reg, addr) EXC(ld, LD_INSN, reg, addr) argument 373 #define LOADBU(reg, addr) EXC(lbu, LD_INSN, reg, addr) argument 374 #define LOADL(reg, addr) EXC(ldl, LD_INSN, reg, addr) argument 375 #define LOADR(reg, addr) EXC(ldr, LD_INSN, reg, addr) argument 376 #define STOREB(reg, addr) EXC(sb, ST_INSN, reg, addr) argument 377 #define STOREL(reg, addr) EXC(sdl, ST_INSN, reg, addr) argument 378 #define STORER(reg, addr) EXC(sdr, ST_INSN, reg, addr) argument 379 #define STORE(reg, addr) EXC(sd, ST_INSN, reg, addr) argument 392 #define LOAD(reg, addr) EXC(lw, LD_INSN, reg, addr) argument [all …]
|
H A D | bitops.c | 21 void __mips_set_bit(unsigned long nr, volatile unsigned long *addr) in __mips_set_bit() 42 void __mips_clear_bit(unsigned long nr, volatile unsigned long *addr) in __mips_clear_bit() 63 void __mips_change_bit(unsigned long nr, volatile unsigned long *addr) in __mips_change_bit() 85 volatile unsigned long *addr) in __mips_test_and_set_bit_lock() 109 int __mips_test_and_clear_bit(unsigned long nr, volatile unsigned long *addr) in __mips_test_and_clear_bit() 133 int __mips_test_and_change_bit(unsigned long nr, volatile unsigned long *addr) in __mips_test_and_change_bit()
|
/openbmc/linux/arch/sh/include/asm/ |
H A D | bitops-llsc.h | 5 static inline void set_bit(int nr, volatile void *addr) in set_bit() 26 static inline void clear_bit(int nr, volatile void *addr) in clear_bit() 47 static inline void change_bit(int nr, volatile void *addr) in change_bit() 68 static inline int test_and_set_bit(int nr, volatile void *addr) in test_and_set_bit() 93 static inline int test_and_clear_bit(int nr, volatile void *addr) in test_and_clear_bit() 119 static inline int test_and_change_bit(int nr, volatile void *addr) in test_and_change_bit()
|
H A D | bitops-cas.h | 14 static inline void set_bit(int nr, volatile void *addr) in set_bit() 26 static inline void clear_bit(int nr, volatile void *addr) in clear_bit() 38 static inline void change_bit(int nr, volatile void *addr) in change_bit() 50 static inline int test_and_set_bit(int nr, volatile void *addr) in test_and_set_bit() 64 static inline int test_and_clear_bit(int nr, volatile void *addr) in test_and_clear_bit() 78 static inline int test_and_change_bit(int nr, volatile void *addr) in test_and_change_bit()
|
H A D | bitops-grb.h | 5 static inline void set_bit(int nr, volatile void * addr) in set_bit() 29 static inline void clear_bit(int nr, volatile void * addr) in clear_bit() 52 static inline void change_bit(int nr, volatile void * addr) in change_bit() 75 static inline int test_and_set_bit(int nr, volatile void * addr) in test_and_set_bit() 106 static inline int test_and_clear_bit(int nr, volatile void * addr) in test_and_clear_bit() 140 static inline int test_and_change_bit(int nr, volatile void * addr) in test_and_change_bit()
|
/openbmc/linux/arch/openrisc/include/asm/bitops/ |
H A D | atomic.h | 12 static inline void set_bit(int nr, volatile unsigned long *addr) in set_bit() 29 static inline void clear_bit(int nr, volatile unsigned long *addr) in clear_bit() 46 static inline void change_bit(int nr, volatile unsigned long *addr) in change_bit() 63 static inline int test_and_set_bit(int nr, volatile unsigned long *addr) in test_and_set_bit() 83 static inline int test_and_clear_bit(int nr, volatile unsigned long *addr) in test_and_clear_bit() 103 static inline int test_and_change_bit(int nr, volatile unsigned long *addr) in test_and_change_bit()
|
/openbmc/linux/mm/kasan/ |
H A D | init.c | 92 static void __ref zero_pte_populate(pmd_t *pmd, unsigned long addr, in zero_pte_populate() 109 static int __ref zero_pmd_populate(pud_t *pud, unsigned long addr, in zero_pmd_populate() 142 void __weak __meminit pmd_init(void *addr) in pmd_init() 146 static int __ref zero_pud_populate(p4d_t *p4d, unsigned long addr, in zero_pud_populate() 184 void __weak __meminit pud_init(void *addr) in pud_init() 188 static int __ref zero_p4d_populate(pgd_t *pgd, unsigned long addr, in zero_p4d_populate() 239 unsigned long addr = (unsigned long)shadow_start; in kasan_populate_early_shadow() local 352 static void kasan_remove_pte_table(pte_t *pte, unsigned long addr, in kasan_remove_pte_table() 374 static void kasan_remove_pmd_table(pmd_t *pmd, unsigned long addr, in kasan_remove_pmd_table() 400 static void kasan_remove_pud_table(pud_t *pud, unsigned long addr, in kasan_remove_pud_table() [all …]
|
/openbmc/linux/kernel/ |
H A D | cfi.c | 10 enum bug_trap_type report_cfi_failure(struct pt_regs *regs, unsigned long addr, in report_cfi_failure() 34 static bool is_trap(unsigned long addr, s32 *start, s32 *end) in is_trap() 69 static bool is_module_cfi_trap(unsigned long addr) in is_module_cfi_trap() 85 static inline bool is_module_cfi_trap(unsigned long addr) in is_module_cfi_trap() 94 bool is_cfi_trap(unsigned long addr) in is_cfi_trap()
|
/openbmc/linux/arch/arm/mm/ |
H A D | alignment.c | 196 #define __get8_unaligned_check(ins,val,addr,err) \ argument 214 #define __get16_unaligned_check(ins,val,addr) \ argument 225 #define get16_unaligned_check(val,addr) \ argument 228 #define get16t_unaligned_check(val,addr) \ argument 231 #define __get32_unaligned_check(ins,val,addr) \ argument 246 #define get32_unaligned_check(val,addr) \ argument 249 #define get32t_unaligned_check(val,addr) \ argument 252 #define __put16_unaligned_check(ins,val,addr) \ argument 278 #define put16_unaligned_check(val,addr) \ argument 281 #define put16t_unaligned_check(val,addr) \ argument [all …]
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | madv_populate.c | 32 char *addr; in sense_support() local 53 char *addr; in test_prot_read() local 74 char *addr; in test_prot_write() local 95 char *addr; in test_holes() local 165 char *addr; in test_populate_read() local 187 char *addr; in test_populate_write() local 237 char *addr; in test_softdirty() local
|
/openbmc/qemu/target/mips/sysemu/ |
H A D | addr.c | 26 uint64_t cpu_mips_kseg0_to_phys(void *opaque, uint64_t addr) in cpu_mips_kseg0_to_phys() 31 uint64_t cpu_mips_phys_to_kseg0(void *opaque, uint64_t addr) in cpu_mips_phys_to_kseg0() 36 uint64_t cpu_mips_kseg1_to_phys(void *opaque, uint64_t addr) in cpu_mips_kseg1_to_phys() 41 uint64_t cpu_mips_phys_to_kseg1(void *opaque, uint64_t addr) in cpu_mips_phys_to_kseg1()
|
/openbmc/linux/arch/parisc/kernel/ |
H A D | patch.c | 19 void *addr; member 26 static void __kprobes *patch_map(void *addr, int fixmap, unsigned long *flags, in patch_map() 55 void __kprobes __patch_text_multiple(void *addr, u32 *insn, unsigned int len) in __patch_text_multiple() 96 void __kprobes __patch_text(void *addr, u32 insn) in __patch_text() 109 void __kprobes patch_text(void *addr, unsigned int insn) in patch_text() 120 void __kprobes patch_text_multiple(void *addr, u32 *insn, unsigned int len) in patch_text_multiple()
|
/openbmc/linux/drivers/net/ethernet/qlogic/netxen/ |
H A D | netxen_nic_hw.c | 16 #define MN_WIN(addr) (((addr & 0x1fc0000) >> 1) | ((addr >> 25) & 0x3ff)) argument 17 #define OCM_WIN(addr) (((addr & 0x1ff0000) >> 1) | ((addr >> 25) & 0x3ff)) argument 18 #define MS_WIN(addr) (addr & 0x0ffc0000) argument 20 #define GET_MEM_OFFS_2M(addr) (addr & MASK(18)) argument 351 #define MAC_HI(addr) \ argument 353 #define MAC_LO(addr) \ argument 407 static int netxen_p2_nic_set_mac_addr(struct netxen_adapter *adapter, u8 *addr) in netxen_p2_nic_set_mac_addr() 438 u8 *addr = adapter->mac_addr; in netxen_nic_enable_mcast_filter() local 467 u8 *addr = adapter->mac_addr; in netxen_nic_disable_mcast_filter() local 490 int index, u8 *addr) in netxen_nic_set_mcast_addr() [all …]
|
/openbmc/linux/arch/nios2/mm/ |
H A D | tlb.c | 36 static unsigned long pteaddr_invalid(unsigned long addr) in pteaddr_invalid() 45 static void replace_tlb_one_pid(unsigned long addr, unsigned long mmu_pid, unsigned long tlbacc) in replace_tlb_one_pid() 88 static void flush_tlb_one_pid(unsigned long addr, unsigned long mmu_pid) in flush_tlb_one_pid() 95 static void reload_tlb_one_pid(unsigned long addr, unsigned long mmu_pid, pte_t pte) in reload_tlb_one_pid() 113 void reload_tlb_page(struct vm_area_struct *vma, unsigned long addr, pte_t pte) in reload_tlb_page() 124 static void flush_tlb_one(unsigned long addr) in flush_tlb_one() 218 unsigned long addr = 0; in flush_tlb_pid() local 267 unsigned long addr = 0; in flush_tlb_all() local
|
/openbmc/linux/include/asm-generic/ |
H A D | hugetlb.h | 61 static inline void huge_pte_clear(struct mm_struct *mm, unsigned long addr, in huge_pte_clear() 70 unsigned long addr, unsigned long end, in hugetlb_free_pgd_range() 78 static inline void set_huge_pte_at(struct mm_struct *mm, unsigned long addr, in set_huge_pte_at() 87 unsigned long addr, pte_t *ptep, unsigned long sz) in huge_ptep_get_and_clear() 95 unsigned long addr, pte_t *ptep) in huge_ptep_clear_flush() 116 unsigned long addr, unsigned long len) in prepare_hugepage_range() 131 unsigned long addr, pte_t *ptep) in huge_ptep_set_wrprotect() 139 unsigned long addr, pte_t *ptep, in huge_ptep_set_access_flags()
|
/openbmc/linux/fs/minix/ |
H A D | minix.h | 109 #define minix_test_and_set_bit(nr, addr) \ argument 111 #define minix_set_bit(nr, addr) \ argument 113 #define minix_test_and_clear_bit(nr, addr) \ argument 115 #define minix_test_bit(nr, addr) \ argument 117 #define minix_find_first_zero_bit(addr, size) \ argument 128 const unsigned short *p = vaddr, *addr = vaddr; in minix_find_first_zero_bit() local 144 #define minix_test_and_set_bit(nr, addr) \ argument 146 #define minix_set_bit(nr, addr) \ argument 148 #define minix_test_and_clear_bit(nr, addr) \ argument
|
/openbmc/linux/lib/ |
H A D | logic_iomem.c | 79 static void real_iounmap(volatile void __iomem *addr) in real_iounmap() 136 get_area(const volatile void __iomem *addr) in get_area() 152 void iounmap(volatile void __iomem *addr) in iounmap() 195 static void real_memset_io(volatile void __iomem *addr, int value, size_t size) in real_memset_io() 201 static void real_memcpy_fromio(void *buffer, const volatile void __iomem *addr, in real_memcpy_fromio() 210 static void real_memcpy_toio(volatile void __iomem *addr, const void *buffer, in real_memcpy_toio() 254 void memset_io(volatile void __iomem *addr, int value, size_t size) in memset_io() 276 void memcpy_fromio(void *buffer, const volatile void __iomem *addr, in memcpy_fromio() 300 void memcpy_toio(volatile void __iomem *addr, const void *buffer, size_t size) in memcpy_toio()
|
/openbmc/linux/arch/arm/include/asm/ |
H A D | set_memory.h | 16 static inline int set_memory_ro(unsigned long addr, int numpages) { return 0; } in set_memory_ro() 17 static inline int set_memory_rw(unsigned long addr, int numpages) { return 0; } in set_memory_rw() 18 static inline int set_memory_x(unsigned long addr, int numpages) { return 0; } in set_memory_x() 19 static inline int set_memory_nx(unsigned long addr, int numpages) { return 0; } in set_memory_nx()
|
/openbmc/linux/mm/ |
H A D | nommu.c | 136 void vfree(const void *addr) in vfree() 190 struct page *vmalloc_to_page(const void *addr) in vmalloc_to_page() 196 unsigned long vmalloc_to_pfn(const void *addr) in vmalloc_to_pfn() 202 long vread_iter(struct iov_iter *iter, const char *addr, size_t count) in vread_iter() 323 void vunmap(const void *addr) in vunmap() 353 int vm_insert_page(struct vm_area_struct *vma, unsigned long addr, in vm_insert_page() 360 int vm_insert_pages(struct vm_area_struct *vma, unsigned long addr, in vm_insert_pages() 632 struct vm_area_struct *find_vma(struct mm_struct *mm, unsigned long addr) in find_vma() 645 unsigned long addr, struct pt_regs *regs) in lock_mm_and_find_vma() 660 int expand_stack_locked(struct vm_area_struct *vma, unsigned long addr) in expand_stack_locked() [all …]
|
/openbmc/qemu/tests/qtest/libqos/ |
H A D | pci-spapr.c | 25 static uint8_t qpci_spapr_pio_readb(QPCIBus *bus, uint32_t addr) in qpci_spapr_pio_readb() 31 static void qpci_spapr_pio_writeb(QPCIBus *bus, uint32_t addr, uint8_t val) in qpci_spapr_pio_writeb() 37 static uint16_t qpci_spapr_pio_readw(QPCIBus *bus, uint32_t addr) in qpci_spapr_pio_readw() 43 static void qpci_spapr_pio_writew(QPCIBus *bus, uint32_t addr, uint16_t val) in qpci_spapr_pio_writew() 49 static uint32_t qpci_spapr_pio_readl(QPCIBus *bus, uint32_t addr) in qpci_spapr_pio_readl() 55 static void qpci_spapr_pio_writel(QPCIBus *bus, uint32_t addr, uint32_t val) in qpci_spapr_pio_writel() 61 static uint64_t qpci_spapr_pio_readq(QPCIBus *bus, uint32_t addr) in qpci_spapr_pio_readq() 67 static void qpci_spapr_pio_writeq(QPCIBus *bus, uint32_t addr, uint64_t val) in qpci_spapr_pio_writeq() 73 static void qpci_spapr_memread(QPCIBus *bus, uint32_t addr, in qpci_spapr_memread() 80 static void qpci_spapr_memwrite(QPCIBus *bus, uint32_t addr, in qpci_spapr_memwrite()
|
/openbmc/phosphor-power/tools/i2c/ |
H A D | i2c.cpp | 154 void I2CDevice::processCallSMBus(uint8_t addr, uint8_t writeSize, in processCallSMBus() 178 void I2CDevice::processCallI2C(uint8_t addr, uint8_t writeSize, in processCallI2C() 320 void I2CDevice::read(uint8_t addr, uint8_t& data) in read() 339 void I2CDevice::read(uint8_t addr, uint16_t& data) in read() 358 void I2CDevice::read(uint8_t addr, uint8_t& size, uint8_t* data, Mode mode) in read() 411 void I2CDevice::write(uint8_t addr, uint8_t data) in write() 428 void I2CDevice::write(uint8_t addr, uint16_t data) in write() 445 void I2CDevice::write(uint8_t addr, uint8_t size, const uint8_t* data, in write() 476 void I2CDevice::processCall(uint8_t addr, uint16_t writeData, in processCall() 497 void I2CDevice::processCall(uint8_t addr, uint8_t writeSize, in processCall()
|
/openbmc/linux/arch/loongarch/mm/ |
H A D | kasan_init.c | 45 void *kasan_mem_to_shadow(const void *addr) in kasan_mem_to_shadow() 79 unsigned long addr = (unsigned long)shadow_addr; in kasan_shadow_to_mem() local 113 static pte_t *__init kasan_pte_offset(pmd_t *pmdp, unsigned long addr, int node, bool early) in kasan_pte_offset() 126 static pmd_t *__init kasan_pmd_offset(pud_t *pudp, unsigned long addr, int node, bool early) in kasan_pmd_offset() 139 static pud_t *__init kasan_pud_offset(p4d_t *p4dp, unsigned long addr, int node, bool early) in kasan_pud_offset() 152 static p4d_t *__init kasan_p4d_offset(pgd_t *pgdp, unsigned long addr, int node, bool early) in kasan_p4d_offset() 165 static void __init kasan_pte_populate(pmd_t *pmdp, unsigned long addr, in kasan_pte_populate() 180 static void __init kasan_pmd_populate(pud_t *pudp, unsigned long addr, in kasan_pmd_populate() 192 static void __init kasan_pud_populate(p4d_t *p4dp, unsigned long addr, in kasan_pud_populate() 204 static void __init kasan_p4d_populate(pgd_t *pgdp, unsigned long addr, in kasan_p4d_populate() [all …]
|
/openbmc/linux/arch/parisc/include/asm/ |
H A D | bitops.h | 21 static __inline__ void set_bit(int nr, volatile unsigned long * addr) in set_bit() 32 static __inline__ void clear_bit(int nr, volatile unsigned long * addr) in clear_bit() 43 static __inline__ void change_bit(int nr, volatile unsigned long * addr) in change_bit() 54 static __inline__ int test_and_set_bit(int nr, volatile unsigned long * addr) in test_and_set_bit() 72 static __inline__ int test_and_clear_bit(int nr, volatile unsigned long * addr) in test_and_clear_bit() 90 static __inline__ int test_and_change_bit(int nr, volatile unsigned long * addr) in test_and_change_bit()
|
/openbmc/linux/arch/sparc/lib/ |
H A D | PeeCeeI.c | 15 void __iomem *addr = (void __iomem *) __addr; in outsb() local 25 void __iomem *addr = (void __iomem *) __addr; in outsw() local 36 void __iomem *addr = (void __iomem *) __addr; in outsl() local 90 void __iomem *addr = (void __iomem *) __addr; in insb() local 118 void __iomem *addr = (void __iomem *) __addr; in insw() local 146 void __iomem *addr = (void __iomem *) __addr; in insl() local
|