/openbmc/linux/arch/mips/include/asm/ |
H A D | bitops.h | 88 static inline void set_bit(unsigned long nr, volatile unsigned long *addr) in set_bit() 116 static inline void clear_bit(unsigned long nr, volatile unsigned long *addr) in clear_bit() 142 static inline void clear_bit_unlock(unsigned long nr, volatile unsigned long *addr) in clear_bit_unlock() 157 static inline void change_bit(unsigned long nr, volatile unsigned long *addr) in change_bit() 179 volatile unsigned long *addr) in test_and_set_bit_lock() 208 volatile unsigned long *addr) in test_and_set_bit() 223 volatile unsigned long *addr) in test_and_clear_bit() 260 volatile unsigned long *addr) in test_and_change_bit() 296 static inline void __clear_bit_unlock(unsigned long nr, volatile unsigned long *addr) in __clear_bit_unlock()
|
/openbmc/linux/sound/ppc/ |
H A D | burgundy.c | 59 snd_pmac_burgundy_rcw(struct snd_pmac *chip, unsigned addr) in snd_pmac_burgundy_rcw() 92 snd_pmac_burgundy_wcb(struct snd_pmac *chip, unsigned int addr, in snd_pmac_burgundy_wcb() 100 snd_pmac_burgundy_rcb(struct snd_pmac *chip, unsigned int addr) in snd_pmac_burgundy_rcb() 118 #define ADDR2BASE(addr) ((addr) >> 12) argument 176 unsigned int addr = BASE2ADDR(kcontrol->private_value & 0xff); in snd_pmac_burgundy_get_volume() local 187 unsigned int addr = BASE2ADDR(kcontrol->private_value & 0xff); in snd_pmac_burgundy_put_volume() local 198 #define BURGUNDY_VOLUME_W(xname, xindex, addr, shift) \ argument 252 unsigned int addr = BASE2ADDR(kcontrol->private_value & 0xff); in snd_pmac_burgundy_get_volume_2b() local 263 unsigned int addr = BASE2ADDR(kcontrol->private_value & 0xff); in snd_pmac_burgundy_put_volume_2b() local 274 #define BURGUNDY_VOLUME_2B(xname, xindex, addr, off) \ argument [all …]
|
/openbmc/linux/include/linux/ |
H A D | bit_spinlock.h | 16 static inline void bit_spin_lock(int bitnum, unsigned long *addr) in bit_spin_lock() 41 static inline int bit_spin_trylock(int bitnum, unsigned long *addr) in bit_spin_trylock() 57 static inline void bit_spin_unlock(int bitnum, unsigned long *addr) in bit_spin_unlock() 74 static inline void __bit_spin_unlock(int bitnum, unsigned long *addr) in __bit_spin_unlock() 89 static inline int bit_spin_is_locked(int bitnum, unsigned long *addr) in bit_spin_is_locked()
|
/openbmc/linux/arch/s390/boot/ |
H A D | vmem.c | 123 static bool kasan_pgd_populate_zero_shadow(pgd_t *pgd, unsigned long addr, in kasan_pgd_populate_zero_shadow() 134 static bool kasan_p4d_populate_zero_shadow(p4d_t *p4d, unsigned long addr, in kasan_p4d_populate_zero_shadow() 145 static bool kasan_pud_populate_zero_shadow(pud_t *pud, unsigned long addr, in kasan_pud_populate_zero_shadow() 156 static bool kasan_pmd_populate_zero_shadow(pmd_t *pmd, unsigned long addr, in kasan_pmd_populate_zero_shadow() 181 static inline bool kasan_pgd_populate_zero_shadow(pgd_t *pgd, unsigned long addr, in kasan_pgd_populate_zero_shadow() 187 static inline bool kasan_p4d_populate_zero_shadow(p4d_t *p4d, unsigned long addr, in kasan_p4d_populate_zero_shadow() 193 static inline bool kasan_pud_populate_zero_shadow(pud_t *pud, unsigned long addr, in kasan_pud_populate_zero_shadow() 199 static inline bool kasan_pmd_populate_zero_shadow(pmd_t *pmd, unsigned long addr, in kasan_pmd_populate_zero_shadow() 271 static bool can_large_pud(pud_t *pu_dir, unsigned long addr, unsigned long end) in can_large_pud() 277 static bool can_large_pmd(pmd_t *pm_dir, unsigned long addr, unsigned long end) in can_large_pmd() [all …]
|
/openbmc/linux/arch/powerpc/kernel/trace/ |
H A D | ftrace_64_pg.c | 40 unsigned long ftrace_call_adjust(unsigned long addr) in ftrace_call_adjust() 46 ftrace_call_replace(unsigned long ip, unsigned long addr, int link) in ftrace_call_replace() 89 static int test_24bit_addr(unsigned long ip, unsigned long addr) in test_24bit_addr() 121 struct dyn_ftrace *rec, unsigned long addr) in __ftrace_make_nop() 348 struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_nop() 409 __ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) in __ftrace_make_call() 514 int ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_call() 553 unsigned long addr) in __ftrace_modify_call() 645 unsigned long addr) in ftrace_modify_call() 740 unsigned long addr; in ftrace_dyn_arch_init() local [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/ |
H A D | sp_private.h | 79 hrt_address addr, in sp_dmem_store() 91 const hrt_address addr, in sp_dmem_load() 103 hrt_address addr, in sp_dmem_store_uint8() 115 hrt_address addr, in sp_dmem_store_uint16() 127 hrt_address addr, in sp_dmem_store_uint32() 139 const hrt_address addr) in sp_dmem_load_uint8() 149 const hrt_address addr) in sp_dmem_load_uint16() 159 const hrt_address addr) in sp_dmem_load_uint32()
|
/openbmc/linux/arch/arm64/mm/ |
H A D | fixmap.c | 26 #define __BM_TABLE_IDX(addr, shift) \ argument 29 #define BM_PTE_TABLE_IDX(addr) __BM_TABLE_IDX(addr, PMD_SHIFT) argument 35 static inline pte_t *fixmap_pte(unsigned long addr) in fixmap_pte() 40 static void __init early_fixmap_init_pte(pmd_t *pmdp, unsigned long addr) in early_fixmap_init_pte() 51 static void __init early_fixmap_init_pmd(pud_t *pudp, unsigned long addr, in early_fixmap_init_pmd() 69 static void __init early_fixmap_init_pud(p4d_t *p4dp, unsigned long addr, in early_fixmap_init_pud() 100 unsigned long addr = FIXADDR_TOT_START; in early_fixmap_init() local 116 unsigned long addr = __fix_to_virt(idx); in __set_fixmap() local
|
/openbmc/u-boot/board/gdsys/common/ |
H A D | dp501.c | 24 static void dp501_setbits(u8 addr, u8 reg, u8 mask) in dp501_setbits() 33 static void dp501_clrbits(u8 addr, u8 reg, u8 mask) in dp501_clrbits() 42 static int dp501_detect_cable_adapter(u8 addr) in dp501_detect_cable_adapter() 49 static void dp501_link_training(u8 addr) in dp501_link_training() 81 void dp501_powerup(u8 addr) in dp501_powerup() 133 void dp501_powerdown(u8 addr) in dp501_powerdown()
|
/openbmc/linux/drivers/media/dvb-frontends/drx39xyj/ |
H A D | drx_dap_fasi.h | 246 #define DRXDAP_FASI_ADDR2BLOCK(addr) (((addr)>>22)&0x3F) argument 247 #define DRXDAP_FASI_ADDR2BANK(addr) (((addr)>>16)&0x3F) argument 248 #define DRXDAP_FASI_ADDR2OFFSET(addr) ((addr)&0x7FFF) argument 250 #define DRXDAP_FASI_SHORT_FORMAT(addr) (((addr) & 0xFC30FF80) == 0) argument 251 #define DRXDAP_FASI_LONG_FORMAT(addr) (((addr) & 0xFC30FF80) != 0) argument 252 #define DRXDAP_FASI_OFFSET_TOO_LARGE(addr) (((addr) & 0x00008000) != 0) argument
|
/openbmc/linux/net/netlabel/ |
H A D | netlabel_addrlist.c | 46 struct netlbl_af4list *netlbl_af4list_search(__be32 addr, in netlbl_af4list_search() 70 struct netlbl_af4list *netlbl_af4list_search_exact(__be32 addr, in netlbl_af4list_search_exact() 96 struct netlbl_af6list *netlbl_af6list_search(const struct in6_addr *addr, in netlbl_af6list_search() 121 struct netlbl_af6list *netlbl_af6list_search_exact(const struct in6_addr *addr, in netlbl_af6list_search_exact() 239 struct netlbl_af4list *netlbl_af4list_remove(__be32 addr, __be32 mask, in netlbl_af4list_remove() 279 struct netlbl_af6list *netlbl_af6list_remove(const struct in6_addr *addr, in netlbl_af6list_remove() 312 __be32 addr, __be32 mask) in netlbl_af4list_audit_addr() 346 const struct in6_addr *addr, in netlbl_af6list_audit_addr()
|
/openbmc/linux/arch/sparc/include/asm/ |
H A D | upa.h | 28 static inline unsigned char _upa_readb(unsigned long addr) in _upa_readb() 39 static inline unsigned short _upa_readw(unsigned long addr) in _upa_readw() 50 static inline unsigned int _upa_readl(unsigned long addr) in _upa_readl() 61 static inline unsigned long _upa_readq(unsigned long addr) in _upa_readq() 72 static inline void _upa_writeb(unsigned char b, unsigned long addr) in _upa_writeb() 79 static inline void _upa_writew(unsigned short w, unsigned long addr) in _upa_writew() 86 static inline void _upa_writel(unsigned int l, unsigned long addr) in _upa_writel() 93 static inline void _upa_writeq(unsigned long q, unsigned long addr) in _upa_writeq()
|
H A D | bitops_32.h | 32 static inline int test_and_set_bit(unsigned long nr, volatile unsigned long *addr) in test_and_set_bit() 42 static inline void set_bit(unsigned long nr, volatile unsigned long *addr) in set_bit() 52 static inline int test_and_clear_bit(unsigned long nr, volatile unsigned long *addr) in test_and_clear_bit() 62 static inline void clear_bit(unsigned long nr, volatile unsigned long *addr) in clear_bit() 72 static inline int test_and_change_bit(unsigned long nr, volatile unsigned long *addr) in test_and_change_bit() 82 static inline void change_bit(unsigned long nr, volatile unsigned long *addr) in change_bit()
|
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()
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | patching.c | 18 static bool is_exit_text(unsigned long addr) in is_exit_text() 26 static bool is_image_text(unsigned long addr) in is_image_text() 31 static void __kprobes *patch_map(void *addr, int fixmap) in patch_map() 57 int __kprobes aarch64_insn_read(void *addr, u32 *insnp) in aarch64_insn_read() 69 static int __kprobes __aarch64_insn_write(void *addr, __le32 insn) in __aarch64_insn_write() 86 int __kprobes aarch64_insn_write(void *addr, u32 insn) in aarch64_insn_write() 91 noinstr int aarch64_insn_write_literal_u64(void *addr, u64 val) in aarch64_insn_write_literal_u64() 108 int __kprobes aarch64_insn_patch_text_nosync(void *addr, u32 insn) in aarch64_insn_patch_text_nosync()
|
/openbmc/linux/drivers/net/ethernet/8390/ |
H A D | mcf8390.c | 47 static inline u32 NE_PTR(u32 addr) in NE_PTR() 54 static inline u32 NE_DATA_PTR(u32 addr) in NE_DATA_PTR() 59 void ei_outb(u32 val, u32 addr) in ei_outb() 68 u8 ei_inb(u32 addr) in ei_inb() 77 void ei_insb(u32 addr, void *vbuf, int len) in ei_insb() 90 void ei_insw(u32 addr, void *vbuf, int len) in ei_insw() 152 u32 addr = dev->base_addr; in mcf8390_reset_8390() local 193 u32 addr = dev->base_addr; in mcf8390_get_8390_hdr() local 228 u32 addr = dev->base_addr; in mcf8390_block_input() local 258 u32 addr = dev->base_addr; in mcf8390_block_output() local [all …]
|
/openbmc/linux/arch/s390/mm/ |
H A D | pageattr.c | 17 static inline unsigned long sske_frame(unsigned long addr, unsigned char skey) in sske_frame() 59 static void pgt_set(unsigned long *old, unsigned long new, unsigned long addr, in pgt_set() 86 static int walk_pte_level(pmd_t *pmdp, unsigned long addr, unsigned long end, in walk_pte_level() 122 static int split_pmd_page(pmd_t *pmdp, unsigned long addr) in split_pmd_page() 151 static void modify_pmd_page(pmd_t *pmdp, unsigned long addr, in modify_pmd_page() 175 static int walk_pmd_level(pud_t *pudp, unsigned long addr, unsigned long end, in walk_pmd_level() 211 static int split_pud_page(pud_t *pudp, unsigned long addr) in split_pud_page() 240 static void modify_pud_page(pud_t *pudp, unsigned long addr, in modify_pud_page() 264 static int walk_pud_level(p4d_t *p4d, unsigned long addr, unsigned long end, in walk_pud_level() 320 static int change_page_attr(unsigned long addr, unsigned long end, in change_page_attr() [all …]
|
/openbmc/u-boot/arch/sh/include/asm/ |
H A D | io.h | 182 #define readb(addr) __raw_readb(addr) argument 183 #define readw(addr) __raw_readw(addr) argument 184 #define readl(addr) __raw_readl(addr) argument 185 #define writeb(v, addr) __raw_writeb(v, addr) argument 186 #define writew(v, addr) __raw_writew(v, addr) argument 187 #define writel(v, addr) __raw_writel(v, addr) argument 205 #define clrbits(type, addr, clear) \ argument 208 #define setbits(type, addr, set) \ argument 211 #define clrsetbits(type, addr, clear, set) \ argument 230 #define clrbits_8(addr, clear) clrbits(8, addr, clear) argument [all …]
|
/openbmc/qemu/hw/alpha/ |
H A D | pci.c | 18 static uint64_t ignore_read(void *opaque, hwaddr addr, unsigned size) in ignore_read() 23 static void ignore_write(void *opaque, hwaddr addr, uint64_t v, unsigned size) in ignore_write() 43 static uint64_t bw_conf1_read(void *opaque, hwaddr addr, in bw_conf1_read() 50 static void bw_conf1_write(void *opaque, hwaddr addr, in bw_conf1_write() 69 static uint64_t iack_read(void *opaque, hwaddr addr, unsigned size) in iack_read() 74 static void special_write(void *opaque, hwaddr addr, in special_write()
|
/openbmc/linux/lib/ |
H A D | find_bit.c | 99 unsigned long _find_first_bit(const unsigned long *addr, unsigned long size) in _find_first_bit() 123 unsigned long _find_first_zero_bit(const unsigned long *addr, unsigned long size) in _find_first_zero_bit() 131 unsigned long _find_next_bit(const unsigned long *addr, unsigned long nbits, unsigned long start) in _find_next_bit() 138 unsigned long __find_nth_bit(const unsigned long *addr, unsigned long size, unsigned long n) in __find_nth_bit() 195 unsigned long _find_next_zero_bit(const unsigned long *addr, unsigned long nbits, in _find_next_zero_bit() 204 unsigned long _find_last_bit(const unsigned long *addr, unsigned long size) in _find_last_bit() 223 unsigned long find_next_clump8(unsigned long *clump, const unsigned long *addr, in find_next_clump8() 243 unsigned long _find_first_zero_bit_le(const unsigned long *addr, unsigned long size) in _find_first_zero_bit_le() 252 unsigned long _find_next_zero_bit_le(const unsigned long *addr, in _find_next_zero_bit_le() 261 unsigned long _find_next_bit_le(const unsigned long *addr, in _find_next_bit_le()
|
/openbmc/linux/arch/alpha/kernel/ |
H A D | core_irongate.c | 85 unsigned long addr; in mk_conf_addr() local 106 unsigned long addr; in irongate_read_config() local 131 unsigned long addr; in irongate_write_config() local 306 #define GET_PAGE_DIR_OFF(addr) (addr >> 22) argument 307 #define GET_PAGE_DIR_IDX(addr) (GET_PAGE_DIR_OFF(addr)) argument 309 #define GET_GATT_OFF(addr) ((addr & 0x003ff000) >> 12) argument 310 #define GET_GATT(addr) (gatt_pages[GET_PAGE_DIR_IDX(addr)]) argument 313 irongate_ioremap(unsigned long addr, unsigned long size) in irongate_ioremap() 411 unsigned long addr = (unsigned long) xaddr; in irongate_iounmap() local
|
/openbmc/linux/net/core/ |
H A D | dev_addr_lists.c | 51 __hw_addr_create(const unsigned char *addr, int addr_len, in __hw_addr_create() 74 const unsigned char *addr, int addr_len, in __hw_addr_add_ex() 132 const unsigned char *addr, int addr_len, in __hw_addr_add() 167 const unsigned char *addr, int addr_len, in __hw_addr_lookup() 193 const unsigned char *addr, int addr_len, in __hw_addr_del_ex() 204 const unsigned char *addr, int addr_len, in __hw_addr_del() 550 unsigned char addr[MAX_ADDR_LEN]; in dev_addr_init() local 573 const void *addr, size_t len) in dev_addr_mod() 684 int dev_uc_add(struct net_device *dev, const unsigned char *addr) in dev_uc_add() 706 int dev_uc_del(struct net_device *dev, const unsigned char *addr) in dev_uc_del() [all …]
|
/openbmc/linux/arch/arm/mm/ |
H A D | pageattr.c | 16 static int change_page_range(pte_t *ptep, unsigned long addr, void *data) in change_page_range() 54 static int change_memory_common(unsigned long addr, int numpages, in change_memory_common() 73 int set_memory_ro(unsigned long addr, int numpages) in set_memory_ro() 80 int set_memory_rw(unsigned long addr, int numpages) in set_memory_rw() 87 int set_memory_nx(unsigned long addr, int numpages) in set_memory_nx() 94 int set_memory_x(unsigned long addr, int numpages) in set_memory_x() 101 int set_memory_valid(unsigned long addr, int numpages, int enable) in set_memory_valid()
|
/openbmc/linux/arch/riscv/mm/ |
H A D | fault.c | 25 static void die_kernel_fault(const char *msg, unsigned long addr, in die_kernel_fault() 38 static inline void no_context(struct pt_regs *regs, unsigned long addr) in no_context() 62 static inline void mm_fault_error(struct pt_regs *regs, unsigned long addr, vm_fault_t fault) in mm_fault_error() 89 bad_area_nosemaphore(struct pt_regs *regs, int code, unsigned long addr) in bad_area_nosemaphore() 106 unsigned long addr) in bad_area() 113 static inline void vmalloc_fault(struct pt_regs *regs, int code, unsigned long addr) in vmalloc_fault() 228 unsigned long addr, cause; in handle_page_fault() local
|
/openbmc/linux/arch/powerpc/lib/ |
H A D | code-patching.c | 44 int raw_patch_instruction(u32 *addr, ppc_inst_t instr) in raw_patch_instruction() 54 unsigned long addr; member 105 unsigned long addr; in text_area_cpu_up() local 151 unsigned long addr; in text_area_cpu_up_mm() local 228 static unsigned long get_patch_pfn(void *addr) in get_patch_pfn() 246 static void unmap_patch_area(unsigned long addr) in unmap_patch_area() 281 static int __do_patch_instruction_mm(u32 *addr, ppc_inst_t instr) in __do_patch_instruction_mm() 331 static int __do_patch_instruction(u32 *addr, ppc_inst_t instr) in __do_patch_instruction() 356 int patch_instruction(u32 *addr, ppc_inst_t instr) in patch_instruction() 381 int patch_branch(u32 *addr, unsigned long target, int flags) in patch_branch() [all …]
|
/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()
|