/openbmc/u-boot/arch/riscv/include/asm/ |
H A D | bitops.h | 35 static inline void __set_bit(int nr, void *addr) in __set_bit() 47 static inline void __clear_bit(int nr, void *addr) in __clear_bit() 59 static inline void __change_bit(int nr, void *addr) in __change_bit() 69 static inline int __test_and_set_bit(int nr, void *addr) in __test_and_set_bit() 81 static inline int __test_and_clear_bit(int nr, void *addr) in __test_and_clear_bit() 93 static inline int __test_and_change_bit(int nr, void *addr) in __test_and_change_bit() 108 static inline int test_bit(int nr, const void *addr) in test_bit() 168 #define minix_test_and_set_bit(nr, addr) test_and_set_bit(nr, addr) argument 169 #define minix_set_bit(nr, addr) set_bit(nr, addr) argument 170 #define minix_test_and_clear_bit(nr, addr) test_and_clear_bit(nr, addr) argument [all …]
|
H A D | io.h | 95 static inline u8 readb(const volatile void __iomem *addr) in readb() 170 #define clrbits(type, addr, clear) \ argument 173 #define setbits(type, addr, set) \ argument 176 #define clrsetbits(type, addr, clear, set) \ argument 180 #define setbits_be32(addr, set) setbits(be32, addr, set) argument 184 #define setbits_le32(addr, set) setbits(le32, addr, set) argument 195 #define clrbits_8(addr, clear) clrbits(8, addr, clear) argument 196 #define setbits_8(addr, set) setbits(8, addr, set) argument 410 #define isa_readb(addr) __raw_readb(__mem_isa(addr)) argument 411 #define isa_readw(addr) __raw_readw(__mem_isa(addr)) argument [all …]
|
/openbmc/u-boot/arch/sandbox/include/asm/ |
H A D | bitops.h | 43 static inline void __change_bit(int nr, void *addr) in __change_bit() 51 static inline int __test_and_set_bit(int nr, void *addr) in __test_and_set_bit() 61 static inline int test_and_set_bit(int nr, void *addr) in test_and_set_bit() 73 static inline int __test_and_clear_bit(int nr, void *addr) in __test_and_clear_bit() 83 static inline int test_and_clear_bit(int nr, void *addr) in test_and_clear_bit() 97 static inline int __test_and_change_bit(int nr, void *addr) in __test_and_change_bit() 113 static inline int test_bit(int nr, const void *addr) in test_bit() 161 #define minix_test_and_set_bit(nr, addr) test_and_set_bit(nr, addr) argument 162 #define minix_set_bit(nr, addr) set_bit(nr, addr) argument 163 #define minix_test_and_clear_bit(nr, addr) test_and_clear_bit(nr, addr) argument [all …]
|
/openbmc/linux/drivers/net/dsa/mv88e6xxx/ |
H A D | global2_avb.c | 93 int port, int addr, u16 *data, in mv88e6352_g2_avb_port_ptp_read() 105 int port, int addr, u16 data) in mv88e6352_g2_avb_port_ptp_write() 113 static int mv88e6352_g2_avb_ptp_read(struct mv88e6xxx_chip *chip, int addr, in mv88e6352_g2_avb_ptp_read() 121 static int mv88e6352_g2_avb_ptp_write(struct mv88e6xxx_chip *chip, int addr, in mv88e6352_g2_avb_ptp_write() 129 static int mv88e6352_g2_avb_tai_read(struct mv88e6xxx_chip *chip, int addr, in mv88e6352_g2_avb_tai_read() 137 static int mv88e6352_g2_avb_tai_write(struct mv88e6xxx_chip *chip, int addr, in mv88e6352_g2_avb_tai_write() 154 static int mv88e6165_g2_avb_tai_read(struct mv88e6xxx_chip *chip, int addr, in mv88e6165_g2_avb_tai_read() 180 int port, int addr, u16 *data, in mv88e6390_g2_avb_port_ptp_read() 192 int port, int addr, u16 data) in mv88e6390_g2_avb_port_ptp_write() 200 static int mv88e6390_g2_avb_ptp_read(struct mv88e6xxx_chip *chip, int addr, in mv88e6390_g2_avb_ptp_read() [all …]
|
/openbmc/linux/arch/m68k/include/asm/ |
H A D | raw_io.h | 19 #define in_8(addr) \ argument 21 #define in_be16(addr) \ argument 23 #define in_be32(addr) \ argument 25 #define in_le16(addr) \ argument 27 #define in_le32(addr) \ argument 75 #define rom_in_8(addr) \ argument 77 #define rom_in_be16(addr) \ argument 79 #define rom_in_le16(addr) \ argument 82 #define rom_out_8(addr, b) \ argument 85 #define rom_out_be16(addr, w) \ argument [all …]
|
/openbmc/linux/arch/x86/kernel/cpu/sgx/ |
H A D | encls.h | 146 static inline int __eextend(void *secs, void *addr) in __eextend() 155 static inline int __eadd(struct sgx_pageinfo *pginfo, void *addr) in __eadd() 167 static inline int __eremove(void *addr) in __eremove() 173 static inline int __edbgwr(void *addr, unsigned long *data) in __edbgwr() 179 static inline int __edbgrd(void *addr, unsigned long *data) in __edbgrd() 185 static inline int __etrack(void *addr) in __etrack() 191 static inline int __eldu(struct sgx_pageinfo *pginfo, void *addr, in __eldu() 198 static inline int __eblock(void *addr) in __eblock() 204 static inline int __epa(void *addr) in __epa() 212 static inline int __ewb(struct sgx_pageinfo *pginfo, void *addr, in __ewb() [all …]
|
/openbmc/u-boot/arch/powerpc/include/asm/ |
H A D | byteorder.h | 8 static __inline__ unsigned ld_le16(const volatile unsigned short *addr) in ld_le16() 16 static __inline__ void st_le16(volatile unsigned short *addr, const unsigned val) in st_le16() 21 static __inline__ unsigned ld_le32(const volatile unsigned *addr) in ld_le32() 29 static __inline__ void st_le32(volatile unsigned *addr, const unsigned val) in st_le32() 70 #define __arch__swab16p(addr) ld_le16(addr) argument 71 #define __arch__swab32p(addr) ld_le32(addr) argument 74 #define __arch__swab16s(addr) st_le16(addr,*addr) argument 75 #define __arch__swab32s(addr) st_le32(addr,*addr) argument
|
/openbmc/linux/include/linux/ |
H A D | find.h | 425 unsigned long find_next_bit_wrap(const unsigned long *addr, in find_next_bit_wrap() 537 unsigned long find_next_bit_le(const void *addr, unsigned in find_next_bit_le() 558 #define for_each_set_bit(bit, addr, size) \ argument 577 #define for_each_set_bit_from(bit, addr, size) \ argument 580 #define for_each_clear_bit(bit, addr, size) \ argument 586 #define for_each_clear_bit_from(bit, addr, size) \ argument 596 #define for_each_set_bitrange(b, e, addr, size) \ argument 610 #define for_each_set_bitrange_from(b, e, addr, size) \ argument 624 #define for_each_clear_bitrange(b, e, addr, size) \ argument 638 #define for_each_clear_bitrange_from(b, e, addr, size) \ argument [all …]
|
H A D | kallsyms.h | 27 static inline int is_kernel_text(unsigned long addr) in is_kernel_text() 34 static inline int is_kernel(unsigned long addr) in is_kernel() 41 static inline int is_ksym_addr(unsigned long addr) in is_ksym_addr() 107 static inline int kallsyms_lookup_size_offset(unsigned long addr, in kallsyms_lookup_size_offset() 114 static inline const char *kallsyms_lookup(unsigned long addr, in kallsyms_lookup() 122 static inline int sprint_symbol(char *buffer, unsigned long addr) in sprint_symbol() 134 static inline int sprint_symbol_no_offset(char *buffer, unsigned long addr) in sprint_symbol_no_offset() 140 static inline int sprint_backtrace(char *buffer, unsigned long addr) in sprint_backtrace() 146 static inline int sprint_backtrace_build_id(char *buffer, unsigned long addr) in sprint_backtrace_build_id() 152 static inline int lookup_symbol_name(unsigned long addr, char *symname) in lookup_symbol_name()
|
H A D | kfence.h | 51 static __always_inline bool is_kfence_address(const void *addr) in is_kfence_address() 183 static __always_inline __must_check bool kfence_free(void *addr) in kfence_free() 226 static inline bool is_kfence_address(const void *addr) { return false; } in is_kfence_address() 231 static inline size_t kfence_ksize(const void *addr) { return 0; } in kfence_ksize() 232 static inline void *kfence_object_start(const void *addr) { return NULL; } in kfence_object_start() 233 static inline void __kfence_free(void *addr) { } in __kfence_free() 234 static inline bool __must_check kfence_free(void *addr) { return false; } in kfence_free() 235 static inline bool __must_check kfence_handle_page_fault(unsigned long addr, bool is_write, in kfence_handle_page_fault()
|
/openbmc/linux/drivers/staging/rtl8712/ |
H A D | rtl8712_io.c | 25 u8 r8712_read8(struct _adapter *adapter, u32 addr) in r8712_read8() 32 u16 r8712_read16(struct _adapter *adapter, u32 addr) in r8712_read16() 39 u32 r8712_read32(struct _adapter *adapter, u32 addr) in r8712_read32() 46 void r8712_write8(struct _adapter *adapter, u32 addr, u8 val) in r8712_write8() 53 void r8712_write16(struct _adapter *adapter, u32 addr, u16 val) in r8712_write16() 60 void r8712_write32(struct _adapter *adapter, u32 addr, u32 val) in r8712_write32() 67 void r8712_read_mem(struct _adapter *adapter, u32 addr, u32 cnt, u8 *pmem) in r8712_read_mem() 77 void r8712_write_mem(struct _adapter *adapter, u32 addr, u32 cnt, u8 *pmem) in r8712_write_mem() 84 void r8712_read_port(struct _adapter *adapter, u32 addr, u32 cnt, u8 *pmem) in r8712_read_port() 94 void r8712_write_port(struct _adapter *adapter, u32 addr, u32 cnt, u8 *pmem) in r8712_write_port()
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | sync_bitops.h | 32 static inline void sync_set_bit(long nr, volatile unsigned long *addr) in sync_set_bit() 50 static inline void sync_clear_bit(long nr, volatile unsigned long *addr) in sync_clear_bit() 67 static inline void sync_change_bit(long nr, volatile unsigned long *addr) in sync_change_bit() 83 static inline bool sync_test_and_set_bit(long nr, volatile unsigned long *addr) in sync_test_and_set_bit() 96 static inline int sync_test_and_clear_bit(long nr, volatile unsigned long *addr) in sync_test_and_clear_bit() 109 static inline int sync_test_and_change_bit(long nr, volatile unsigned long *addr) in sync_test_and_change_bit() 114 #define sync_test_bit(nr, addr) test_bit(nr, addr) argument
|
/openbmc/linux/arch/s390/include/asm/ |
H A D | ebcdic.h | 23 codepage_convert(const __u8 *codepage, volatile char *addr, unsigned long nr) in codepage_convert() 39 #define ASCEBC(addr,nr) codepage_convert(_ascebc, addr, nr) argument 40 #define EBCASC(addr,nr) codepage_convert(_ebcasc, addr, nr) argument 41 #define ASCEBC_500(addr,nr) codepage_convert(_ascebc_500, addr, nr) argument 42 #define EBCASC_500(addr,nr) codepage_convert(_ebcasc_500, addr, nr) argument 43 #define EBC_TOLOWER(addr,nr) codepage_convert(_ebc_tolower, addr, nr) argument 44 #define EBC_TOUPPER(addr,nr) codepage_convert(_ebc_toupper, addr, nr) argument
|
/openbmc/linux/arch/sparc/include/asm/ |
H A D | io_64.h | 22 static inline u8 __raw_readb(const volatile void __iomem *addr) in __raw_readb() 107 static inline u8 readb(const volatile void __iomem *addr) in readb() 119 static inline u16 readw(const volatile void __iomem *addr) in readw() 132 static inline u32 readl(const volatile void __iomem *addr) in readl() 197 static inline u8 inb(unsigned long addr) in inb() 203 static inline u16 inw(unsigned long addr) in inw() 209 static inline u32 inl(unsigned long addr) in inl() 215 static inline void outb(u8 b, unsigned long addr) in outb() 221 static inline void outw(u16 w, unsigned long addr) in outw() 227 static inline void outl(u32 l, unsigned long addr) in outl() [all …]
|
/openbmc/u-boot/arch/nds32/include/asm/ |
H A D | io.h | 117 static inline u8 readb(const volatile void __iomem *addr) in readb() 183 #define clrbits(type, addr, clear) \ argument 186 #define setbits(type, addr, set) \ argument 189 #define clrsetbits(type, addr, clear, set) \ argument 193 #define setbits_be32(addr, set) setbits(be32, addr, set) argument 197 #define setbits_le32(addr, set) setbits(le32, addr, set) argument 208 #define clrbits_8(addr, clear) clrbits(8, addr, clear) argument 209 #define setbits_8(addr, set) setbits(8, addr, set) argument 405 #define isa_readb(addr) __raw_readb(__mem_isa(addr)) argument 406 #define isa_readw(addr) __raw_readw(__mem_isa(addr)) argument [all …]
|
/openbmc/linux/drivers/char/ipmi/ |
H A D | ipmi_si_port_io.c | 8 unsigned int addr = io->addr_data; in port_inb() local 16 unsigned int addr = io->addr_data; in port_outb() local 23 unsigned int addr = io->addr_data; in port_inw() local 31 unsigned int addr = io->addr_data; in port_outw() local 38 unsigned int addr = io->addr_data; in port_inl() local 46 unsigned int addr = io->addr_data; in port_outl() local 53 unsigned int addr = io->addr_data; in port_cleanup() local 65 unsigned int addr = io->addr_data; in ipmi_si_port_setup() local
|
/openbmc/linux/arch/riscv/kernel/ |
H A D | patch.c | 20 void *addr; member 30 static inline bool is_kernel_exittext(uintptr_t addr) in is_kernel_exittext() 66 static int __patch_insn_set(void *addr, u8 c, size_t len) in __patch_insn_set() 103 static int __patch_insn_write(void *addr, const void *insn, size_t len) in __patch_insn_write() 149 static int __patch_insn_set(void *addr, u8 c, size_t len) in __patch_insn_set() 157 static int __patch_insn_write(void *addr, const void *insn, size_t len) in __patch_insn_write() 164 static int patch_insn_set(void *addr, u8 c, size_t len) in patch_insn_set() 185 int patch_text_set_nosync(void *addr, u8 c, size_t len) in patch_text_set_nosync() 199 static int patch_insn_write(void *addr, const void *insn, size_t len) in patch_insn_write() 220 int patch_text_nosync(void *addr, const void *insns, size_t len) in patch_text_nosync() [all …]
|
/openbmc/linux/drivers/net/ethernet/wiznet/ |
H A D | w5100-spi.c | 26 static int w5100_spi_read(struct net_device *ndev, u32 addr) in w5100_spi_read() 38 static int w5100_spi_write(struct net_device *ndev, u32 addr, u8 data) in w5100_spi_write() 46 static int w5100_spi_read16(struct net_device *ndev, u32 addr) in w5100_spi_read16() 60 static int w5100_spi_write16(struct net_device *ndev, u32 addr, u16 data) in w5100_spi_write16() 139 static int w5200_spi_read(struct net_device *ndev, u32 addr) in w5200_spi_read() 151 static int w5200_spi_write(struct net_device *ndev, u32 addr, u8 data) in w5200_spi_write() 159 static int w5200_spi_read16(struct net_device *ndev, u32 addr) in w5200_spi_read16() 255 #define W5500_SPI_BLOCK_SELECT(addr) (((addr) >> 16) & 0x1f) argument 257 #define W5500_SPI_WRITE_CONTROL(addr) \ argument 284 static int w5500_spi_read(struct net_device *ndev, u32 addr) in w5500_spi_read() [all …]
|
/openbmc/linux/drivers/net/phy/ |
H A D | mdio_bus.c | 120 struct phy_device *mdiobus_get_phy(struct mii_bus *bus, int addr) in mdiobus_get_phy() 135 bool mdiobus_is_registered_device(struct mii_bus *bus, int addr) in mdiobus_is_registered_device() 200 int addr; member 258 int addr = mdiodev->addr; in mdio_bus_device_stat_field_show() local 295 #define MDIO_BUS_STATS_ADDR_ATTR_DECL(field, addr, file) \ argument 305 #define MDIO_BUS_STATS_ADDR_ATTR(field, addr) \ argument 309 #define MDIO_BUS_STATS_ADDR_ATTR_GROUP_DECL(addr) \ argument 348 #define MDIO_BUS_STATS_ADDR_ATTR_GROUP(addr) \ argument 469 int addr; in of_mdiobus_link_mdiodev() local 847 int __mdiobus_read(struct mii_bus *bus, int addr, u32 regnum) in __mdiobus_read() [all …]
|
/openbmc/u-boot/include/linux/ |
H A D | iopoll.h | 27 #define readx_poll_timeout(op, addr, val, cond, timeout_us) \ argument 43 #define readb_poll_timeout(addr, val, cond, timeout_us) \ argument 46 #define readw_poll_timeout(addr, val, cond, timeout_us) \ argument 49 #define readl_poll_timeout(addr, val, cond, timeout_us) \ argument 52 #define readq_poll_timeout(addr, val, cond, timeout_us) \ argument 55 #define readb_relaxed_poll_timeout(addr, val, cond, timeout_us) \ argument 58 #define readw_relaxed_poll_timeout(addr, val, cond, timeout_us) \ argument 61 #define readl_relaxed_poll_timeout(addr, val, cond, timeout_us) \ argument 64 #define readq_relaxed_poll_timeout(addr, val, cond, timeout_us) \ argument
|
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/ |
H A D | mem_protect.c | 84 static void host_s2_get_page(void *addr) in host_s2_get_page() 192 void *addr; in guest_s2_zalloc_page() local 271 void *addr; in reclaim_guest_pages() local 330 u64 addr = 0; in host_stage2_unmap_dev_all() local 532 u64 esr, addr; in handle_host_mem_abort() local 549 u64 addr; member 636 u64 addr = tx->initiator.addr; in host_request_owned_transition() local 646 u64 addr = tx->initiator.addr; in host_request_unshare() local 656 u64 addr = tx->initiator.addr; in host_initiate_share() local 666 u64 addr = tx->initiator.addr; in host_initiate_unshare() local [all …]
|
/openbmc/linux/net/sctp/ |
H A D | bind_addr.c | 48 struct sctp_sockaddr_entry *addr; in sctp_bind_addr_copy() local 98 struct sctp_sockaddr_entry *addr; in sctp_bind_addr_dup() local 126 struct sctp_sockaddr_entry *addr, *temp; in sctp_bind_addr_clean() local 147 struct sctp_sockaddr_entry *addr; in sctp_add_bind_addr() local 220 struct sctp_sockaddr_entry *addr; in sctp_bind_addrs_to_raw() local 268 union sctp_addr addr; in sctp_raw_to_bind_addrs() local 314 const union sctp_addr *addr, in sctp_bind_addr_match() 366 const union sctp_addr *addr, in sctp_bind_addr_conflict() 401 const union sctp_addr *addr) in sctp_bind_addr_state() 429 union sctp_addr *addr; in sctp_find_unmatch_addr() local [all …]
|
/openbmc/linux/arch/mips/lib/ |
H A D | memcpy.S | 115 #define EXC(insn, type, reg, addr, handler) \ argument 149 #define LOAD(reg, addr, handler) EXC(ld, LD_INSN, reg, addr, handler) argument 150 #define LOADL(reg, addr, handler) EXC(ldl, LD_INSN, reg, addr, handler) argument 154 #define STORE(reg, addr, handler) EXC(sd, ST_INSN, reg, addr, handler) argument 186 #define LOAD(reg, addr, handler) EXC(lw, LD_INSN, reg, addr, handler) argument 191 #define STORE(reg, addr, handler) EXC(sw, ST_INSN, reg, addr, handler) argument 204 #define LOADB(reg, addr, handler) EXC(lb, LD_INSN, reg, addr, handler) argument 208 # define _PREF(hint, addr, type) \ argument 229 # define _PREF(hint, addr, type) argument 232 #define PREFS(hint, addr) _PREF(hint, addr, SRC_PREFETCH) argument [all …]
|
/openbmc/linux/arch/alpha/include/asm/ |
H A D | uaccess.h | 85 #define __get_user_64(addr) \ argument 92 #define __get_user_32(addr) \ argument 102 #define __get_user_16(addr) \ argument 109 #define __get_user_8(addr) \ argument 119 #define __get_user_16(addr) \ argument 134 #define __get_user_8(addr) \ argument 181 #define __put_user_64(x, addr) \ argument 188 #define __put_user_32(x, addr) \ argument 198 #define __put_user_16(x, addr) \ argument 205 #define __put_user_8(x, addr) \ argument [all …]
|
/openbmc/linux/arch/parisc/include/asm/ |
H A D | io.h | 11 static inline unsigned long isa_bus_to_virt(unsigned long addr) { in isa_bus_to_virt() 16 static inline unsigned long isa_virt_to_bus(void *addr) { in isa_virt_to_bus() 30 static inline unsigned char gsc_readb(unsigned long addr) in gsc_readb() 44 static inline unsigned short gsc_readw(unsigned long addr) in gsc_readw() 58 static inline unsigned int gsc_readl(unsigned long addr) in gsc_readl() 69 static inline unsigned long long gsc_readq(unsigned long addr) in gsc_readq() 133 #define ioremap_wc(addr, size) \ argument 135 #define ioremap_uc(addr, size) \ argument 184 static inline char inb(unsigned long addr) in inb() 190 static inline short inw(unsigned long addr) in inw() [all …]
|