/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/drivers/net/ethernet/wiznet/ |
H A D | w5100.c | 225 static int w5100_read16_direct(struct net_device *ndev, u32 addr) in w5100_read16_direct() 299 static int w5100_read_indirect(struct net_device *ndev, u32 addr) in w5100_read_indirect() 414 static int w5100_read(struct w5100_priv *priv, u32 addr) in w5100_read() 419 static int w5100_write(struct w5100_priv *priv, u32 addr, u8 data) in w5100_write() 424 static int w5100_read16(struct w5100_priv *priv, u32 addr) in w5100_read16() 447 static int w5100_read(struct w5100_priv *priv, u32 addr) in w5100_read() 457 static int w5100_read16(struct w5100_priv *priv, u32 addr) in w5100_read16() 480 static int w5100_read(struct w5100_priv *priv, u32 addr) in w5100_read() 490 static int w5100_read16(struct w5100_priv *priv, u32 addr) in w5100_read16() 515 u32 addr; in w5100_readbuf() local [all …]
|
/openbmc/qemu/accel/tcg/ |
H A D | cputlb.c | 136 vaddr addr) in tlb_index() 145 vaddr addr) in tlb_entry() 578 vaddr addr = addr_and_idxmap & TARGET_PAGE_MASK; in tlb_flush_page_by_mmuidx_async_1() local 585 vaddr addr; member 620 void tlb_flush_page(CPUState *cpu, vaddr addr) in tlb_flush_page() 722 vaddr addr; member 899 uintptr_t addr = tlb_entry->addr_write; in tlb_reset_dirty_range_locked() local 1215 void tlb_set_page(CPUState *cpu, vaddr addr, in tlb_set_page() 1608 vaddr addr; member 1636 vaddr addr = data->addr; in mmu_lookup1() local [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/qemu/hw/net/ |
H A D | ne2000.c | 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() 534 static uint32_t ne2000_asic_ioport_read(void *opaque, uint32_t addr) in ne2000_asic_ioport_read() 568 static uint32_t ne2000_asic_ioport_readl(void *opaque, uint32_t addr) in ne2000_asic_ioport_readl() 587 static uint32_t ne2000_reset_ioport_read(void *opaque, uint32_t addr) in ne2000_reset_ioport_read() 633 static uint64_t ne2000_read(void *opaque, hwaddr addr, in ne2000_read() [all …]
|
/openbmc/qemu/hw/misc/ |
H A D | slavio_misc.c | 126 static void slavio_cfg_mem_writeb(void *opaque, hwaddr addr, in slavio_cfg_mem_writeb() 136 static uint64_t slavio_cfg_mem_readb(void *opaque, hwaddr addr, in slavio_cfg_mem_readb() 157 static void slavio_diag_mem_writeb(void *opaque, hwaddr addr, in slavio_diag_mem_writeb() 166 static uint64_t slavio_diag_mem_readb(void *opaque, hwaddr addr, in slavio_diag_mem_readb() 187 static void slavio_mdm_mem_writeb(void *opaque, hwaddr addr, in slavio_mdm_mem_writeb() 196 static uint64_t slavio_mdm_mem_readb(void *opaque, hwaddr addr, in slavio_mdm_mem_readb() 217 static void slavio_aux1_mem_writeb(void *opaque, hwaddr addr, in slavio_aux1_mem_writeb() 255 static void slavio_aux2_mem_writeb(void *opaque, hwaddr addr, in slavio_aux2_mem_writeb() 292 static void apc_mem_writeb(void *opaque, hwaddr addr, in apc_mem_writeb() 301 static uint64_t apc_mem_readb(void *opaque, hwaddr addr, in apc_mem_readb() [all …]
|
/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/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 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 379 #define STORE(reg, addr) EXC(sd, ST_INSN, reg, addr) argument 392 #define LOAD(reg, addr) EXC(lw, LD_INSN, reg, addr) argument 394 #define LOADL(reg, addr) EXC(lwl, LD_INSN, reg, addr) argument 395 #define LOADR(reg, addr) EXC(lwr, LD_INSN, reg, addr) argument 396 #define STOREB(reg, addr) EXC(sb, ST_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/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/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/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/arch/arm/mm/ |
H A D | alignment.c | 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 320 #define put32_unaligned_check(val,addr) \ argument [all …]
|
/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/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/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/drivers/net/ethernet/qlogic/netxen/ |
H A D | netxen_nic_hw.c | 351 #define MAC_HI(addr) \ argument 353 #define MAC_LO(addr) \ argument 490 int index, u8 *addr) in netxen_nic_set_mcast_addr() 971 int i, v, addr; in netxen_get_flash_block() local 1143 void __iomem *addr; in netxen_nic_map_indirect_address_128M() local 1290 void __iomem *addr) in netxen_nic_io_read_128M() 1308 void __iomem *addr) in netxen_nic_io_read_2M() 1334 u64 addr, u32 *start) in netxen_nic_pci_set_window_128M() 1350 u64 addr, u32 *start) in netxen_nic_pci_set_window_2M() 2071 u64 addr, value = 0; in netxen_md_rdmem() local [all …]
|
/openbmc/linux/include/asm-generic/bitops/ |
H A D | instrumented-lock.h | 23 static inline void clear_bit_unlock(long nr, volatile unsigned long *addr) in clear_bit_unlock() 39 static inline void __clear_bit_unlock(long nr, volatile unsigned long *addr) in __clear_bit_unlock() 55 static inline bool test_and_set_bit_lock(long nr, volatile unsigned long *addr) in test_and_set_bit_lock() 74 clear_bit_unlock_is_negative_byte(long nr, volatile unsigned long *addr) in clear_bit_unlock_is_negative_byte()
|
/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
|
/openbmc/linux/arch/sh/include/asm/ |
H A D | bitops-op32.h | 22 arch___set_bit(unsigned long nr, volatile unsigned long *addr) in arch___set_bit() 40 arch___clear_bit(unsigned long nr, volatile unsigned long *addr) in arch___clear_bit() 68 arch___change_bit(unsigned long nr, volatile unsigned long *addr) in arch___change_bit() 96 arch___test_and_set_bit(unsigned long nr, volatile unsigned long *addr) in arch___test_and_set_bit() 116 arch___test_and_clear_bit(unsigned long nr, volatile unsigned long *addr) in arch___test_and_clear_bit() 128 arch___test_and_change_bit(unsigned long nr, volatile unsigned long *addr) in arch___test_and_change_bit()
|
/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/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 …]
|