/u-boot/arch/arm/mach-omap2/am33xx/ |
A D | ddr.c | 41 static inline u32 get_mr(int nr, u32 cs, u32 mr_addr) in get_mr() 58 static inline void set_mr(int nr, u32 cs, u32 mr_addr, u32 mr_val) in set_mr() 65 static void configure_mr(int nr, u32 cs) in configure_mr() 84 void config_sdram_emif4d5(const struct emif_regs *regs, int nr) in config_sdram_emif4d5() 183 void config_sdram(const struct emif_regs *regs, int nr) in config_sdram() 220 void set_sdram_timings(const struct emif_regs *regs, int nr) in set_sdram_timings() 233 static void ext_phy_settings_swlvl(const struct emif_regs *regs, int nr) in ext_phy_settings_swlvl() 273 static void ext_phy_settings_hwlvl(const struct emif_regs *regs, int nr) in ext_phy_settings_hwlvl() 332 void config_ddr_phy(const struct emif_regs *regs, int nr) in config_ddr_phy() 360 void config_cmd_ctrl(const struct cmd_control *cmd, int nr) in config_cmd_ctrl() [all …]
|
A D | emif4.c | 51 static void config_vtp(int nr) in config_vtp() 72 const struct emif_regs *regs, int nr) in config_ddr()
|
/u-boot/arch/x86/include/asm/ |
A D | bitops.h | 39 static __inline__ void set_bit(int nr, volatile void * addr) in set_bit() 56 static __inline__ void __set_bit(int nr, volatile void * addr) in __set_bit() 76 static __inline__ void clear_bit(int nr, volatile void * addr) in clear_bit() 95 static __inline__ void __change_bit(int nr, volatile void * addr) in __change_bit() 112 static __inline__ void change_bit(int nr, volatile void * addr) in change_bit() 128 static __inline__ int test_and_set_bit(int nr, volatile void * addr) in test_and_set_bit() 148 static __inline__ int __test_and_set_bit(int nr, volatile void * addr) in __test_and_set_bit() 254 #define test_bit(nr,addr) \ argument 402 #define minix_test_and_set_bit(nr,addr) __test_and_set_bit(nr,addr) argument 403 #define minix_set_bit(nr,addr) __set_bit(nr,addr) argument [all …]
|
/u-boot/include/asm-generic/ |
A D | ioctl.h | 65 #define _IOC(dir,type,nr,size) \ argument 83 #define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0) argument 84 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size))) argument 85 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) argument 87 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) argument 88 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) argument 89 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) argument 92 #define _IOC_DIR(nr) (((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK) argument 93 #define _IOC_TYPE(nr) (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK) argument 94 #define _IOC_NR(nr) (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK) argument [all …]
|
/u-boot/arch/mips/include/asm/ |
A D | bitops.h | 65 set_bit(int nr, volatile void *addr) in set_bit() 107 clear_bit(int nr, volatile void *addr) in clear_bit() 131 change_bit(int nr, volatile void *addr) in change_bit() 170 test_and_set_bit(int nr, volatile void *addr) in test_and_set_bit() 221 test_and_clear_bit(int nr, volatile void *addr) in test_and_clear_bit() 273 test_and_change_bit(int nr, volatile void *addr) in test_and_change_bit() 790 static __inline__ int ext2_set_bit(int nr, void * addr) in ext2_set_bit() 804 static __inline__ int ext2_clear_bit(int nr, void * addr) in ext2_clear_bit() 885 #define ext2_test_bit(nr, addr) test_bit((nr), (addr)) argument 898 #define minix_set_bit(nr,addr) set_bit(nr,addr) argument [all …]
|
/u-boot/arch/microblaze/include/asm/ |
A D | bitops.h | 36 static inline void set_bit(int nr, volatile void *addr) in set_bit() 49 static inline void __set_bit(int nr, volatile void *addr) in __set_bit() 66 static inline void clear_bit(int nr, volatile void *addr) in clear_bit() 79 #define __clear_bit(nr, addr) clear_bit(nr, addr) argument 82 static inline void change_bit(int nr, volatile void *addr) in change_bit() 95 static inline void __change_bit(int nr, volatile void *addr) in __change_bit() 197 static inline int __test_bit(int nr, volatile void *addr) in __test_bit() 207 #define test_bit(nr,addr) \ argument 261 static inline int ext2_set_bit(int nr, volatile void *addr) in ext2_set_bit() 357 #define minix_set_bit(nr,addr) set_bit(nr,addr) argument [all …]
|
/u-boot/arch/nds32/include/asm/ |
A D | bitops.h | 37 static inline void __set_bit(int nr, void *addr) in __set_bit() 51 static inline void __clear_bit(int nr, void *addr) in __clear_bit() 68 static inline void __change_bit(int nr, void *addr) in __change_bit() 80 static inline int __test_and_set_bit(int nr, void *addr) in __test_and_set_bit() 94 static inline int __test_and_clear_bit(int nr, void *addr) in __test_and_clear_bit() 108 static inline int __test_and_change_bit(int nr, void *addr) in __test_and_change_bit() 126 static inline int test_bit(int nr, const void *addr) in test_bit() 186 #define minix_test_and_set_bit(nr, addr) test_and_set_bit(nr, addr) argument 187 #define minix_set_bit(nr, addr) set_bit(nr, addr) argument 188 #define minix_test_and_clear_bit(nr, addr) test_and_clear_bit(nr, addr) argument [all …]
|
/u-boot/arch/riscv/include/asm/ |
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 …]
|
/u-boot/arch/sandbox/include/asm/ |
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 …]
|
/u-boot/arch/nios2/include/asm/bitops/ |
A D | non-atomic.h | 15 static inline void __set_bit(int nr, volatile unsigned long *addr) in __set_bit() 25 static inline void __clear_bit(int nr, volatile unsigned long *addr) in __clear_bit() 44 static inline void __change_bit(int nr, volatile unsigned long *addr) in __change_bit() 61 static inline int __test_and_set_bit(int nr, volatile unsigned long *addr) in __test_and_set_bit() 80 static inline int __test_and_clear_bit(int nr, volatile unsigned long *addr) in __test_and_clear_bit() 91 static inline int __test_and_change_bit(int nr, in __test_and_change_bit() 107 static inline int test_bit(int nr, const volatile unsigned long *addr) in test_bit()
|
A D | atomic.h | 65 static inline void set_bit(int nr, volatile unsigned long *addr) in set_bit() 86 static inline void clear_bit(int nr, volatile unsigned long *addr) in clear_bit() 107 static inline void change_bit(int nr, volatile unsigned long *addr) in change_bit() 127 static inline int test_and_set_bit(int nr, volatile unsigned long *addr) in test_and_set_bit() 151 static inline int test_and_clear_bit(int nr, volatile unsigned long *addr) in test_and_clear_bit() 174 static inline int test_and_change_bit(int nr, volatile unsigned long *addr) in test_and_change_bit()
|
/u-boot/arch/arm/include/asm/ |
A D | bitops.h | 42 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() 60 static inline int test_and_set_bit(int nr, volatile void * addr) in test_and_set_bit() 72 static inline int __test_and_clear_bit(int nr, volatile void *addr) in __test_and_clear_bit() 82 static inline int test_and_clear_bit(int nr, volatile void * addr) in test_and_clear_bit() 96 static inline int __test_and_change_bit(int nr, volatile void *addr) in __test_and_change_bit() 109 static inline int test_bit(int nr, const void * addr) in test_bit() 177 #define minix_test_and_set_bit(nr,addr) test_and_set_bit(nr,addr) argument 178 #define minix_set_bit(nr,addr) set_bit(nr,addr) argument 179 #define minix_test_and_clear_bit(nr,addr) test_and_clear_bit(nr,addr) argument [all …]
|
/u-boot/include/linux/ |
A D | bitops.h | 11 #define BIT(nr) (1UL << (nr)) argument 12 #define BIT_ULL(nr) (1ULL << (nr)) argument 13 #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) argument 14 #define BIT_WORD(nr) ((nr) / BITS_PER_LONG) argument 15 #define BIT_ULL_MASK(nr) (1ULL << ((nr) % BITS_PER_LONG_LONG)) argument 16 #define BIT_ULL_WORD(nr) ((nr) / BITS_PER_LONG_LONG) argument 18 #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) argument 207 static inline void generic_set_bit(int nr, volatile unsigned long *addr) in generic_set_bit() 215 static inline void generic_clear_bit(int nr, volatile unsigned long *addr) in generic_clear_bit()
|
/u-boot/arch/powerpc/include/asm/ |
A D | bitops.h | 31 static __inline__ void set_bit(int nr, volatile void * addr) in set_bit() 48 static __inline__ void clear_bit(int nr, volatile void *addr) in clear_bit() 65 static __inline__ void change_bit(int nr, volatile void *addr) in change_bit() 82 static __inline__ int test_and_set_bit(int nr, volatile void *addr) in test_and_set_bit() 285 static __inline__ int ext2_set_bit(int nr, void * addr) in ext2_set_bit() 298 static __inline__ int ext2_clear_bit(int nr, void * addr) in ext2_clear_bit() 312 static __inline__ int ext2_test_bit(int nr, __const__ void * addr) in ext2_test_bit() 364 #define minix_test_and_set_bit(nr,addr) ext2_set_bit(nr,addr) argument 365 #define minix_set_bit(nr,addr) ((void)ext2_set_bit(nr,addr)) argument 366 #define minix_test_and_clear_bit(nr,addr) ext2_clear_bit(nr,addr) argument [all …]
|
/u-boot/arch/powerpc/cpu/mpc86xx/ |
A D | mp.c | 18 int cpu_reset(u32 nr) in cpu_reset() 28 int cpu_status(u32 nr) in cpu_status() 34 int cpu_disable(u32 nr) in cpu_disable() 54 int is_core_disabled(int nr) { in is_core_disabled() 71 int cpu_release(u32 nr, int argc, char *const argv[]) in cpu_release()
|
/u-boot/arch/arm/mach-imx/mx6/ |
A D | mp.c | 33 int cpu_reset(u32 nr) in cpu_reset() 40 int cpu_status(u32 nr) in cpu_status() 46 int cpu_release(u32 nr, int argc, char *const argv[]) in cpu_release() 82 int cpu_disable(u32 nr) in cpu_disable()
|
/u-boot/arch/sh/include/asm/ |
A D | bitops.h | 14 static inline void set_bit(int nr, volatile void * addr) in set_bit() 32 static inline void clear_bit(int nr, volatile void * addr) in clear_bit() 45 static inline void change_bit(int nr, volatile void * addr) in change_bit() 58 static inline int test_and_set_bit(int nr, volatile void * addr) in test_and_set_bit() 74 static inline int test_and_clear_bit(int nr, volatile void * addr) in test_and_clear_bit() 90 static inline int test_and_change_bit(int nr, volatile void * addr) in test_and_change_bit()
|
/u-boot/arch/powerpc/cpu/mpc85xx/ |
A D | mp.c | 51 int cpu_reset(u32 nr) in cpu_reset() 62 int cpu_status(u32 nr) in cpu_status() 88 int cpu_disable(u32 nr) in cpu_disable() 97 int is_core_disabled(int nr) { in is_core_disabled() 104 int cpu_disable(u32 nr) in cpu_disable() 123 int is_core_disabled(int nr) { in is_core_disabled() 146 int cpu_release(u32 nr, int argc, char *const argv[]) in cpu_release()
|
/u-boot/arch/arm/cpu/armv8/fsl-layerscape/ |
A D | mp.c | 234 int cpu_reset(u32 nr) in cpu_reset() 241 int cpu_disable(u32 nr) in cpu_disable() 248 static int core_to_pos(int nr) in core_to_pos() 274 int cpu_status(u32 nr) in cpu_status() 298 int cpu_release(u32 nr, int argc, char *const argv[]) in cpu_release()
|
/u-boot/arch/arm/include/asm/xen/ |
A D | system.h | 22 static inline int synch_test_and_clear_bit(int nr, volatile void *addr) in synch_test_and_clear_bit() 34 static inline int synch_test_and_set_bit(int nr, volatile void *base) in synch_test_and_set_bit() 46 static inline void synch_set_bit(int nr, volatile void *addr) in synch_set_bit() 52 static inline void synch_clear_bit(int nr, volatile void *addr) in synch_clear_bit() 59 static inline int synch_test_bit(int nr, const void *addr) in synch_test_bit()
|
/u-boot/arch/xtensa/include/asm/ |
A D | bitops.h | 16 static inline int test_bit(int nr, const void *addr) in test_bit() 21 static inline int test_and_set_bit(int nr, volatile void *addr) in test_and_set_bit()
|
/u-boot/fs/btrfs/ |
A D | ctree.h | 298 int nr) in btrfs_stripe_nr() 312 struct btrfs_chunk *c, int nr) in btrfs_stripe_offset_nr() 318 struct btrfs_chunk *c, int nr, in btrfs_set_stripe_offset_nr() 325 struct btrfs_chunk *c, int nr) in btrfs_stripe_devid_nr() 331 struct btrfs_chunk *c, int nr, in btrfs_set_stripe_devid_nr() 547 int nr, u64 val) in btrfs_set_node_blockptr() 564 int nr, u64 val) in btrfs_set_node_ptr_generation() 579 struct btrfs_disk_key *disk_key, int nr) in btrfs_node_key() 633 struct btrfs_disk_key *disk_key, int nr) in btrfs_item_key() 729 struct btrfs_key *key, int nr) in btrfs_node_key_to_cpu() [all …]
|
/u-boot/arch/arm/mach-mvebu/ |
A D | efuse.c | 48 static struct mvebu_hd_efuse *get_efuse_line(int nr) in get_efuse_line() 96 static int prog_efuse(int nr, struct efuse_val *new_val, u32 mask0, u32 mask1) in prog_efuse() 150 int mvebu_read_efuse(int nr, struct efuse_val *val) in mvebu_read_efuse() 172 int mvebu_write_efuse(int nr, struct efuse_val *val) in mvebu_write_efuse() 177 int mvebu_lock_efuse(int nr) in mvebu_lock_efuse()
|
/u-boot/include/ |
A D | sh_pfc.h | 143 #define PORT_DATA_I(nr) \ argument 146 #define PORT_DATA_I_PD(nr) \ argument 150 #define PORT_DATA_I_PU(nr) \ argument 154 #define PORT_DATA_I_PU_PD(nr) \ argument 158 #define PORT_DATA_O(nr) \ argument 161 #define PORT_DATA_IO(nr) \ argument 165 #define PORT_DATA_IO_PD(nr) \ argument 169 #define PORT_DATA_IO_PU(nr) \ argument 173 #define PORT_DATA_IO_PU_PD(nr) \ argument 184 #define PORTCR(nr, reg) \ argument
|
/u-boot/arch/m68k/include/asm/ |
A D | bitops.h | 23 static inline int test_bit(int nr, __const__ volatile void *addr) in test_bit() 30 static inline int test_and_set_bit(int nr, volatile void *vaddr) in test_and_set_bit()
|