/openbmc/linux/arch/sparc/include/asm/ |
H A D | uaccess_32.h | 51 #define __put_user_check(x, addr, size) ({ \ argument 77 #define __put_user_nocheck(x, addr, size) ({ \ argument 89 #define __put_user_asm(x, size, addr, ret) \ argument 110 #define __get_user_check(x, addr, size, type) ({ \ argument 140 #define __get_user_nocheck(x, addr, size, type) ({ \ argument 157 #define __get_user_asm(x, size, addr, ret) \ argument 194 static inline unsigned long __clear_user(void __user *addr, unsigned long size) in __clear_user() 210 static inline unsigned long clear_user(void __user *addr, unsigned long n) in clear_user()
|
H A D | uaccess_64.h | 30 static inline bool __chk_range_not_ok(unsigned long addr, unsigned long size, unsigned long limit) in __chk_range_not_ok() 42 #define __range_not_ok(addr, size, limit) \ argument 93 #define __put_kernel_asm(x, size, addr, ret) \ argument 113 #define __put_user_nocheck(data, addr, size) ({ \ argument 125 #define __put_user_asm(x, size, addr, ret) \ argument 166 #define __get_kernel_asm(x, size, addr, ret) \ argument 187 #define __get_user_nocheck(data, addr, size, type) ({ \ argument 204 #define __get_user_asm(x, size, addr, ret) \ argument
|
/openbmc/linux/drivers/net/wireless/st/cw1200/ |
H A D | hwio.c | 30 static int __cw1200_reg_read(struct cw1200_common *priv, u16 addr, in __cw1200_reg_read() 51 static int __cw1200_reg_write(struct cw1200_common *priv, u16 addr, in __cw1200_reg_write() 67 u16 addr, u32 *val) in __cw1200_reg_read_32() 76 u16 addr, u32 val) in __cw1200_reg_write_32() 83 u16 addr, u16 *val) in __cw1200_reg_read_16() 92 u16 addr, u16 val) in __cw1200_reg_write_16() 98 int cw1200_reg_read(struct cw1200_common *priv, u16 addr, void *buf, in cw1200_reg_read() 108 int cw1200_reg_write(struct cw1200_common *priv, u16 addr, const void *buf, in cw1200_reg_write() 171 int cw1200_indirect_read(struct cw1200_common *priv, u32 addr, void *buf, in cw1200_indirect_read() 235 int cw1200_apb_write(struct cw1200_common *priv, u32 addr, const void *buf, in cw1200_apb_write()
|
/openbmc/qemu/tests/qtest/libqos/ |
H A D | pci-pc.c | 24 static uint8_t qpci_pc_pio_readb(QPCIBus *bus, uint32_t addr) in qpci_pc_pio_readb() 29 static void qpci_pc_pio_writeb(QPCIBus *bus, uint32_t addr, uint8_t val) in qpci_pc_pio_writeb() 34 static uint16_t qpci_pc_pio_readw(QPCIBus *bus, uint32_t addr) in qpci_pc_pio_readw() 39 static void qpci_pc_pio_writew(QPCIBus *bus, uint32_t addr, uint16_t val) in qpci_pc_pio_writew() 44 static uint32_t qpci_pc_pio_readl(QPCIBus *bus, uint32_t addr) in qpci_pc_pio_readl() 49 static void qpci_pc_pio_writel(QPCIBus *bus, uint32_t addr, uint32_t val) in qpci_pc_pio_writel() 54 static uint64_t qpci_pc_pio_readq(QPCIBus *bus, uint32_t addr) in qpci_pc_pio_readq() 60 static void qpci_pc_pio_writeq(QPCIBus *bus, uint32_t addr, uint64_t val) in qpci_pc_pio_writeq() 66 static void qpci_pc_memread(QPCIBus *bus, uint32_t addr, void *buf, size_t len) in qpci_pc_memread() 71 static void qpci_pc_memwrite(QPCIBus *bus, uint32_t addr, in qpci_pc_memwrite()
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | bitops.h | 134 static inline void arch_clear_bit(int nr, volatile unsigned long *addr) in arch_clear_bit() 139 static inline void arch_clear_bit_unlock(int nr, volatile unsigned long *addr) in arch_clear_bit_unlock() 144 static inline void arch_change_bit(int nr, volatile unsigned long *addr) in arch_change_bit() 212 volatile unsigned long *addr) in arch_test_and_set_bit() 218 volatile unsigned long *addr) in arch_test_and_set_bit_lock() 225 volatile unsigned long *addr) in arch_test_and_clear_bit() 231 volatile unsigned long *addr) in arch_test_and_change_bit() 238 clear_bit_unlock_return_word(int nr, volatile unsigned long *addr) in clear_bit_unlock_return_word() 261 #define arch_clear_bit_unlock_is_negative_byte(nr, addr) \ argument 268 static inline void arch___clear_bit_unlock(int nr, volatile unsigned long *addr) in arch___clear_bit_unlock()
|
/openbmc/linux/drivers/misc/cardreader/ |
H A D | alcor_pci.c | 56 void alcor_write8(struct alcor_pci_priv *priv, u8 val, unsigned int addr) in alcor_write8() 62 void alcor_write16(struct alcor_pci_priv *priv, u16 val, unsigned int addr) in alcor_write16() 68 void alcor_write32(struct alcor_pci_priv *priv, u32 val, unsigned int addr) in alcor_write32() 74 void alcor_write32be(struct alcor_pci_priv *priv, u32 val, unsigned int addr) in alcor_write32be() 80 u8 alcor_read8(struct alcor_pci_priv *priv, unsigned int addr) in alcor_read8() 86 u32 alcor_read32(struct alcor_pci_priv *priv, unsigned int addr) in alcor_read32() 92 u32 alcor_read32be(struct alcor_pci_priv *priv, unsigned int addr) in alcor_read32be()
|
/openbmc/linux/drivers/net/wireless/silabs/wfx/ |
H A D | hwio.c | 146 static int wfx_indirect_write(struct wfx_dev *wdev, int reg, u32 addr, in wfx_indirect_write() 160 static int wfx_indirect_read_locked(struct wfx_dev *wdev, int reg, u32 addr, in wfx_indirect_read_locked() 172 static int wfx_indirect_write_locked(struct wfx_dev *wdev, int reg, u32 addr, in wfx_indirect_write_locked() 244 int wfx_sram_buf_read(struct wfx_dev *wdev, u32 addr, void *buf, size_t len) in wfx_sram_buf_read() 249 int wfx_ahb_buf_read(struct wfx_dev *wdev, u32 addr, void *buf, size_t len) in wfx_ahb_buf_read() 254 int wfx_sram_buf_write(struct wfx_dev *wdev, u32 addr, const void *buf, size_t len) in wfx_sram_buf_write() 259 int wfx_ahb_buf_write(struct wfx_dev *wdev, u32 addr, const void *buf, size_t len) in wfx_ahb_buf_write() 264 int wfx_sram_reg_read(struct wfx_dev *wdev, u32 addr, u32 *val) in wfx_sram_reg_read() 269 int wfx_ahb_reg_read(struct wfx_dev *wdev, u32 addr, u32 *val) in wfx_ahb_reg_read() 274 int wfx_sram_reg_write(struct wfx_dev *wdev, u32 addr, u32 val) in wfx_sram_reg_write() [all …]
|
/openbmc/linux/drivers/media/usb/em28xx/ |
H A D | em28xx-i2c.c | 73 static int em2800_i2c_send_bytes(struct em28xx *dev, u8 addr, u8 *buf, u16 len) in em2800_i2c_send_bytes() 125 static int em2800_i2c_recv_bytes(struct em28xx *dev, u8 addr, u8 *buf, u16 len) in em2800_i2c_recv_bytes() 185 static int em2800_i2c_check_for_device(struct em28xx *dev, u8 addr) in em2800_i2c_check_for_device() 199 static int em28xx_i2c_send_bytes(struct em28xx *dev, u16 addr, u8 *buf, in em28xx_i2c_send_bytes() 335 static int em28xx_i2c_check_for_device(struct em28xx *dev, u16 addr) in em28xx_i2c_check_for_device() 350 static int em25xx_bus_B_send_bytes(struct em28xx *dev, u16 addr, u8 *buf, in em25xx_bus_B_send_bytes() 403 static int em25xx_bus_B_recv_bytes(struct em28xx *dev, u16 addr, u8 *buf, in em25xx_bus_B_recv_bytes() 458 static int em25xx_bus_B_check_for_device(struct em28xx *dev, u16 addr) in em25xx_bus_B_check_for_device() 492 u16 addr = msg.addr << 1; in i2c_recv_bytes() local 508 u16 addr = msg.addr << 1; in i2c_send_bytes() local [all …]
|
/openbmc/linux/mm/ |
H A D | sparse-vmemmap.c | 144 pte_t * __meminit vmemmap_pte_populate(pmd_t *pmd, unsigned long addr, int node, in vmemmap_pte_populate() 199 void __weak __meminit pmd_init(void *addr) in pmd_init() 216 void __weak __meminit pud_init(void *addr) in pud_init() 233 pgd_t * __meminit vmemmap_pgd_populate(unsigned long addr, int node) in vmemmap_pgd_populate() 245 static pte_t * __meminit vmemmap_populate_address(unsigned long addr, int node, in vmemmap_populate_address() 280 unsigned long addr = start; in vmemmap_populate_range() local 299 unsigned long addr, unsigned long next) in vmemmap_set_pmd() 304 unsigned long addr, unsigned long next) in vmemmap_check_pmd() 312 unsigned long addr; in vmemmap_populate_hugepages() local 382 static pte_t * __meminit compound_section_tail_page(unsigned long addr) in compound_section_tail_page() [all …]
|
H A D | ptdump.c | 16 unsigned long addr) in note_kasan_page_table() 28 static int ptdump_pgd_entry(pgd_t *pgd, unsigned long addr, in ptdump_pgd_entry() 51 static int ptdump_p4d_entry(p4d_t *p4d, unsigned long addr, in ptdump_p4d_entry() 74 static int ptdump_pud_entry(pud_t *pud, unsigned long addr, in ptdump_pud_entry() 97 static int ptdump_pmd_entry(pmd_t *pmd, unsigned long addr, in ptdump_pmd_entry() 118 static int ptdump_pte_entry(pte_t *pte, unsigned long addr, in ptdump_pte_entry() 132 static int ptdump_hole(unsigned long addr, unsigned long next, in ptdump_hole()
|
/openbmc/linux/arch/arm64/mm/ |
H A D | pageattr.c | 36 static int change_page_range(pte_t *ptep, unsigned long addr, void *data) in change_page_range() 67 static int change_memory_common(unsigned long addr, int numpages, in change_memory_common() 125 int set_memory_ro(unsigned long addr, int numpages) in set_memory_ro() 132 int set_memory_rw(unsigned long addr, int numpages) in set_memory_rw() 139 int set_memory_nx(unsigned long addr, int numpages) in set_memory_nx() 146 int set_memory_x(unsigned long addr, int numpages) in set_memory_x() 153 int set_memory_valid(unsigned long addr, int numpages, int enable) in set_memory_valid() 220 unsigned long addr = (unsigned long)page_address(page); in kernel_page_present() local
|
H A D | hugetlbpage.c | 182 unsigned long addr, in get_clear_contig() 208 unsigned long addr, in get_clear_contig_flush() 230 unsigned long addr, in clear_flush() 244 void set_huge_pte_at(struct mm_struct *mm, unsigned long addr, in set_huge_pte_at() 277 unsigned long addr, unsigned long sz) in huge_pte_alloc() 315 unsigned long addr, unsigned long sz) in huge_pte_offset() 394 void huge_pte_clear(struct mm_struct *mm, unsigned long addr, in huge_pte_clear() 407 unsigned long addr, pte_t *ptep) in huge_ptep_get_and_clear() 451 unsigned long addr, pte_t *ptep, in huge_ptep_set_access_flags() 487 unsigned long addr, pte_t *ptep) in huge_ptep_set_wrprotect() [all …]
|
/openbmc/linux/net/sctp/ |
H A D | ipv6.c | 79 struct sctp_sockaddr_entry *addr = NULL; in sctp_inet6addr_event() local 463 struct sctp_sockaddr_entry *addr; in sctp_v6_copy_addrlist() local 546 static void sctp_v6_from_sk(union sctp_addr *addr, struct sock *sk) in sctp_v6_from_sk() 581 static bool sctp_v6_from_addr_param(union sctp_addr *addr, in sctp_v6_from_addr_param() 600 static int sctp_v6_to_addr_param(const union sctp_addr *addr, in sctp_v6_to_addr_param() 667 static void sctp_v6_inaddr_any(union sctp_addr *addr, __be16 port) in sctp_v6_inaddr_any() 675 static int sctp_v6_is_any(const union sctp_addr *addr) in sctp_v6_is_any() 725 static int sctp_v6_addr_valid(union sctp_addr *addr, in sctp_v6_addr_valid() 750 static enum sctp_scope sctp_v6_scope(union sctp_addr *addr) in sctp_v6_scope() 879 union sctp_addr *addr; in sctp_inet6_event_msgname() local [all …]
|
/openbmc/linux/include/asm-generic/ |
H A D | sections.h | 71 unsigned long addr; member 157 static inline bool is_kernel_core_data(unsigned long addr) in is_kernel_core_data() 177 static inline bool is_kernel_rodata(unsigned long addr) in is_kernel_rodata() 191 static inline bool is_kernel_inittext(unsigned long addr) in is_kernel_inittext() 206 static inline bool __is_kernel_text(unsigned long addr) in __is_kernel_text() 222 static inline bool __is_kernel(unsigned long addr) in __is_kernel()
|
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) 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/drivers/s390/cio/ |
H A D | ioasm.c | 18 static inline int __stsch(struct subchannel_id schid, struct schib *addr) in __stsch() 36 int stsch(struct subchannel_id schid, struct schib *addr) in stsch() 47 static inline int __msch(struct subchannel_id schid, struct schib *addr) in __msch() 65 int msch(struct subchannel_id schid, struct schib *addr) in msch() 75 static inline int __tsch(struct subchannel_id schid, struct irb *addr) in __tsch() 91 int tsch(struct subchannel_id schid, struct irb *addr) in tsch() 101 static inline int __ssch(struct subchannel_id schid, union orb *addr) in __ssch() 119 int ssch(struct subchannel_id schid, union orb *addr) in ssch() 157 int tpi(struct tpi_info *addr) in tpi()
|
/openbmc/qemu/hw/pci/ |
H A D | pci_host.c | 49 static inline PCIDevice *pci_dev_find_by_addr(PCIBus *bus, uint32_t addr) in pci_dev_find_by_addr() 76 void pci_host_config_write_common(PCIDevice *pci_dev, uint32_t addr, in pci_host_config_write_common() 99 uint32_t pci_host_config_read_common(PCIDevice *pci_dev, uint32_t addr, in pci_host_config_read_common() 126 void pci_data_write(PCIBus *s, uint32_t addr, uint32_t val, unsigned len) in pci_data_write() 142 uint32_t pci_data_read(PCIBus *s, uint32_t addr, unsigned len) in pci_data_read() 158 static void pci_host_config_write(void *opaque, hwaddr addr, in pci_host_config_write() 171 static uint64_t pci_host_config_read(void *opaque, hwaddr addr, in pci_host_config_read() 182 static void pci_host_data_write(void *opaque, hwaddr addr, in pci_host_data_write() 192 hwaddr addr, unsigned len) in pci_host_data_read()
|
/openbmc/linux/arch/riscv/mm/ |
H A D | pageattr.c | 29 static int pageattr_p4d_entry(p4d_t *p4d, unsigned long addr, in pageattr_p4d_entry() 42 static int pageattr_pud_entry(pud_t *pud, unsigned long addr, in pageattr_pud_entry() 55 static int pageattr_pmd_entry(pmd_t *pmd, unsigned long addr, in pageattr_pmd_entry() 68 static int pageattr_pte_entry(pte_t *pte, unsigned long addr, in pageattr_pte_entry() 79 static int pageattr_pte_hole(unsigned long addr, unsigned long next, in pageattr_pte_hole() 349 int set_memory_rw_nx(unsigned long addr, int numpages) in set_memory_rw_nx() 355 int set_memory_ro(unsigned long addr, int numpages) in set_memory_ro() 361 int set_memory_rw(unsigned long addr, int numpages) in set_memory_rw() 367 int set_memory_x(unsigned long addr, int numpages) in set_memory_x() 372 int set_memory_nx(unsigned long addr, int numpages) in set_memory_nx() [all …]
|
/openbmc/linux/lib/ |
H A D | debugobjects.c | 189 static struct debug_obj *lookup_object(void *addr, struct debug_bucket *b) in lookup_object() 489 static struct debug_bucket *get_bucket(unsigned long addr) in get_bucket() 528 debug_object_fixup(bool (*fixup)(void *addr, enum debug_obj_state state), in debug_object_fixup() 538 static void debug_object_is_on_stack(void *addr, int onstack) in debug_object_is_on_stack() 665 void debug_object_init(void *addr, const struct debug_obj_descr *descr) in debug_object_init() 842 void debug_object_free(void *addr, const struct debug_obj_descr *descr) in debug_object_free() 1079 static bool __init is_static_object(void *addr) in is_static_object() 1090 static bool __init fixup_init(void *addr, enum debug_obj_state state) in fixup_init() 1109 static bool __init fixup_activate(void *addr, enum debug_obj_state state) in fixup_activate() 1130 static bool __init fixup_destroy(void *addr, enum debug_obj_state state) in fixup_destroy() [all …]
|
/openbmc/linux/mm/kasan/ |
H A D | sw_tags.c | 73 bool kasan_check_range(const void *addr, size_t size, bool write, in kasan_check_range() 122 bool kasan_byte_accessible(const void *addr) in kasan_byte_accessible() 153 void __hwasan_loadN_noabort(void *addr, ssize_t size) in __hwasan_loadN_noabort() 159 void __hwasan_storeN_noabort(void *addr, ssize_t size) in __hwasan_storeN_noabort() 165 void __hwasan_tag_memory(void *addr, u8 tag, ssize_t size) in __hwasan_tag_memory() 171 void kasan_tag_mismatch(void *addr, unsigned long access_info, in kasan_tag_mismatch()
|
/openbmc/linux/arch/m68k/kernel/ |
H A D | traps.c | 153 unsigned long addr = fp->un.fmt4.effaddr; in access_error060() local 183 static inline unsigned long probe040(int iswrite, unsigned long addr, int wbs) in probe040() 305 unsigned long addr = fp->un.fmt7.faddr; in access_error040() local 375 unsigned long addr, errorcode; in bus_error030() local 501 unsigned long addr, errorcode; in bus_error030() local 701 unsigned long mmusr, addr; in access_errorcf() local 814 unsigned long addr; in show_trace() local 847 unsigned long addr; in show_registers() local 1006 void __user *addr; in trap_c() local 1155 asmlinkage void fpemu_signal(int signal, int code, void *addr) in fpemu_signal()
|
/openbmc/qemu/include/sysemu/ |
H A D | dma.h | 73 dma_addr_t addr, dma_addr_t len, in dma_memory_valid() 82 dma_addr_t addr, in dma_memory_rw_relaxed() 92 dma_addr_t addr, in dma_memory_read_relaxed() 101 dma_addr_t addr, in dma_memory_write_relaxed() 124 static inline MemTxResult dma_memory_rw(AddressSpace *as, dma_addr_t addr, in dma_memory_rw() 146 static inline MemTxResult dma_memory_read(AddressSpace *as, dma_addr_t addr, in dma_memory_read() 167 static inline MemTxResult dma_memory_write(AddressSpace *as, dma_addr_t addr, in dma_memory_write() 206 dma_addr_t addr, dma_addr_t *len, in dma_memory_map() 258 static inline MemTxResult ldub_dma(AddressSpace *as, dma_addr_t addr, in ldub_dma() 264 static inline MemTxResult stb_dma(AddressSpace *as, dma_addr_t addr, in stb_dma()
|
/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-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()
|
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()
|