Home
last modified time | relevance | path

Searched defs:v (Results 1 – 25 of 178) sorted by relevance

12345678

/u-boot/include/asm-generic/
A Datomic-long.h29 atomic64_t *v = (atomic64_t *)l; in atomic_long_read() local
148 atomic_t *v = (atomic_t *)l; in atomic_long_read() local
155 atomic_t *v = (atomic_t *)l; in atomic_long_set() local
162 atomic_t *v = (atomic_t *)l; in atomic_long_inc() local
169 atomic_t *v = (atomic_t *)l; in atomic_long_dec() local
176 atomic_t *v = (atomic_t *)l; in atomic_long_add() local
183 atomic_t *v = (atomic_t *)l; in atomic_long_sub() local
191 atomic_t *v = (atomic_t *)l; in atomic_long_sub_and_test() local
198 atomic_t *v = (atomic_t *)l; in atomic_long_dec_and_test() local
205 atomic_t *v = (atomic_t *)l; in atomic_long_inc_and_test() local
[all …]
A Datomic.h15 #define atomic_read(v) ((v)->counter) argument
16 #define atomic_set(v, i) ((v)->counter = (i)) argument
17 #define atomic64_read(v) atomic_read(v) argument
18 #define atomic64_set(v, i) atomic_set(v, i) argument
20 static inline void atomic_add(int i, atomic_t *v) in atomic_add()
29 static inline void atomic_sub(int i, atomic_t *v) in atomic_sub()
38 static inline void atomic_inc(atomic_t *v) in atomic_inc()
47 static inline void atomic_dec(atomic_t *v) in atomic_dec()
56 static inline int atomic_dec_and_test(volatile atomic_t *v) in atomic_dec_and_test()
132 static inline void atomic64_inc(volatile atomic64_t *v) in atomic64_inc()
[all …]
/u-boot/arch/arm/include/asm/arch-mx5/
A Dcrm_regs.h80 #define MXC_CCM_CCR_OSCNT(v) ((v) & 0xFF) argument
92 #define MXC_CCM_CCSR_STEP_SEL(v) (((v) & 0x3) << 7) argument
109 #define MXC_CCM_CACRR_ARM_PODF(v) ((v) & 0x7) argument
116 #define MXC_CCM_CBCDR_DDR_PODF(v) (((v) & 0x7) << 27) argument
142 #define MXC_CCM_CBCDR_IPG_PODF(v) (((v) & 0x3) << 8) argument
154 #define MXC_CCM_CBCDR_PERCLK_PODF(v) ((v) & 0x7) argument
333 #define MXC_CCM_CCGR0_DAP(v) (((v) & 0x3) << 8) argument
504 #define MXC_CCM_CCGR5_GPU(v) (((v) & 0x3) << 2) argument
508 #define MXC_CCM_CCGR5_VPU(v) (((v) & 0x3) << 6) argument
587 #define MXC_CCM_CCGR7_MLB(v) (((v) & 0x3) << 4) argument
[all …]
/u-boot/arch/mips/mach-ath79/qca953x/
A Dlowlevel_init.S25 #define SET_FIELD(name, v) (((v) & QCA953X_##name##_MASK) << \ argument
28 #define DPLL2_KI(v) SET_FIELD(SRIF_DPLL2_KI, v) argument
29 #define DPLL2_KD(v) SET_FIELD(SRIF_DPLL2_KD, v) argument
33 #define PLL_CPU_NFRAC(v) SET_FIELD(PLL_CPU_CONFIG_NFRAC, v) argument
34 #define PLL_CPU_NINT(v) SET_FIELD(PLL_CPU_CONFIG_NINT, v) argument
35 #define PLL_CPU_REFDIV(v) SET_FIELD(PLL_CPU_CONFIG_REFDIV, v) argument
36 #define PLL_CPU_OUTDIV(v) SET_FIELD(PLL_CPU_CONFIG_OUTDIV, v) argument
43 #define PLL_DDR_NFRAC(v) SET_FIELD(PLL_DDR_CONFIG_NFRAC, v) argument
44 #define PLL_DDR_NINT(v) SET_FIELD(PLL_DDR_CONFIG_NINT, v) argument
45 #define PLL_DDR_REFDIV(v) SET_FIELD(PLL_DDR_CONFIG_REFDIV, v) argument
[all …]
/u-boot/arch/powerpc/include/asm/
A Datomic.h16 #define atomic_read(v) ((v)->counter) argument
17 #define atomic_set(v,i) (((v)->counter) = (i)) argument
22 static __inline__ int atomic_add_return(int a, atomic_t *v) in atomic_add_return()
38 static __inline__ int atomic_sub_return(int a, atomic_t *v) in atomic_sub_return()
54 static __inline__ int atomic_inc_return(atomic_t *v) in atomic_inc_return()
70 static __inline__ int atomic_dec_return(atomic_t *v) in atomic_dec_return()
86 #define atomic_add(a, v) ((void) atomic_add_return((a), (v))) argument
87 #define atomic_sub(a, v) ((void) atomic_sub_return((a), (v))) argument
89 #define atomic_inc(v) ((void) atomic_inc_return((v))) argument
90 #define atomic_dec(v) ((void) atomic_dec_return((v))) argument
[all …]
/u-boot/arch/arm/include/asm/arch-vf610/
A Dimx-regs.h132 #define DDRMC_CR10_TRST_PWRON(v) (v) argument
133 #define DDRMC_CR11_CKE_INACTIVE(v) (v) argument
147 #define DDRMC_CR17_TMOD(v) ((v) & 0xff) argument
149 #define DDRMC_CR18_TCKE(v) ((v) & 0x7) argument
156 #define DDRMC_CR23_TDLL(v) ((v) & 0xffff) argument
157 #define DDRMC_CR24_TRP_AB(v) ((v) & 0x1f) argument
160 #define DDRMC_CR26_TRFC(v) ((v) & 0x3ff) argument
178 #define DDRMC_CR67_ZQCS(v) ((v) & 0xfff) argument
180 #define DDRMC_CR70_REF_PER_ZQ(v) (v) argument
268 #define DDRMC_CR146_PHY_RDLVL_RESP(v) (v) argument
[all …]
A Dcrm_regs.h118 #define CCM_CCR_OSCNT(v) ((v) & 0xff) argument
137 #define CCM_CCSR_DDRC_CLK_SEL(v) ((v) << 6) argument
138 #define CCM_CCSR_FAST_CLK_SEL(v) ((v) << 5) argument
142 #define CCM_CCSR_SYS_CLK_SEL(v) ((v) & 0x7) argument
149 #define CCM_CACRR_BUS_CLK_DIV(v) (((v) & 0x7) << 3) argument
152 #define CCM_CACRR_ARM_CLK_DIV(v) ((v) & 0x7) argument
183 #define CCM_CSCDR3_DCU1_DIV(v) (((v) & 0x7) << 20) argument
186 #define CCM_CSCDR3_DCU0_DIV(v) (((v) & 0x7) << 16) argument
192 #define CCM_CSCDR3_QSPI0_DIV(v) ((v) << 3) argument
193 #define CCM_CSCDR3_QSPI0_X2_DIV(v) ((v) << 2) argument
[all …]
/u-boot/drivers/memory/
A Dti-aemif.c18 #define AEMIF_CFG_SELECT_STROBE(v) ((v) ? 1 << 31 : 0) argument
19 #define AEMIF_CFG_EXTEND_WAIT(v) ((v) ? 1 << 30 : 0) argument
20 #define AEMIF_CFG_WR_SETUP(v) (((v) & 0x0f) << 26) argument
21 #define AEMIF_CFG_WR_STROBE(v) (((v) & 0x3f) << 20) argument
22 #define AEMIF_CFG_WR_HOLD(v) (((v) & 0x07) << 17) argument
23 #define AEMIF_CFG_RD_SETUP(v) (((v) & 0x0f) << 13) argument
24 #define AEMIF_CFG_RD_STROBE(v) (((v) & 0x3f) << 7) argument
25 #define AEMIF_CFG_RD_HOLD(v) (((v) & 0x07) << 4) argument
26 #define AEMIF_CFG_TURN_AROUND(v) (((v) & 0x03) << 2) argument
27 #define AEMIF_CFG_WIDTH(v) (((v) & 0x03) << 0) argument
/u-boot/arch/x86/include/asm/
A Datomic.h24 static inline int atomic_read(const atomic_t *v) in atomic_read()
36 static inline void atomic_set(atomic_t *v, int i) in atomic_set()
48 static inline void atomic_add(int i, atomic_t *v) in atomic_add()
62 static inline void atomic_sub(int i, atomic_t *v) in atomic_sub()
75 static inline void atomic_inc(atomic_t *v) in atomic_inc()
87 static inline void atomic_dec(atomic_t *v) in atomic_dec()
100 static inline short int atomic_inc_short(short int *v) in atomic_inc_short()
/u-boot/arch/arm/include/asm/arch-s32v234/
A Dsiul.h78 #define SIUL2_MSCR_OBE(v) ((v) & 0x00200000) argument
81 #define SIUL2_MSCR_ODE(v) ((v) & 0x00100000) argument
84 #define SIUL2_MSCR_IBE(v) ((v) & 0x00010000) argument
87 #define SIUL2_MSCR_HYS(v) ((v) & 0x00400000) argument
90 #define SIUL2_MSCR_INV(v) ((v) & 0x00020000) argument
93 #define SIUL2_MSCR_PKE(v) ((v) & 0x00010000) argument
96 #define SIUL2_MSCR_SRE(v) ((v) & 0x0000C000) argument
102 #define SIUL2_MSCR_PUE(v) ((v) & 0x00002000) argument
105 #define SIUL2_MSCR_PUS(v) ((v) & 0x00001800) argument
111 #define SIUL2_MSCR_DSE(v) ((v) & 0x00000700) argument
[all …]
/u-boot/arch/arc/include/asm/
A Dio.h86 #define __raw_writeb(v, c) ({ __iowmb(); __arch_putb(v, c); }) argument
170 #define writeb_relaxed(v, c) ((void)__arch_putb((v), (c))) argument
192 #define writeb(v, c) ({ __iowmb(); writeb_relaxed(v, c); }) argument
193 #define writew(v, c) ({ __iowmb(); writew_relaxed(v, c); }) argument
194 #define writel(v, c) ({ __iowmb(); writel_relaxed(v, c); }) argument
195 #define writeq(v, c) ({ __iowmb(); writeq_relaxed(v, c); }) argument
200 #define out_le32(a, v) out_arch(l, le32, a, v) argument
201 #define out_le16(a, v) out_arch(w, le16, a, v) argument
206 #define out_be32(a, v) out_arch(l, be32, a, v) argument
207 #define out_be16(a, v) out_arch(w, be16, a, v) argument
[all …]
/u-boot/drivers/net/
A Dfsl_ls_mdio.c14 #define memac_out_32(a, v) out_le32(a, v) argument
15 #define memac_clrbits_32(a, v) clrbits_le32(a, v) argument
16 #define memac_setbits_32(a, v) setbits_le32(a, v) argument
18 #define memac_out_32(a, v) out_be32(a, v) argument
19 #define memac_clrbits_32(a, v) clrbits_be32(a, v) argument
20 #define memac_setbits_32(a, v) setbits_be32(a, v) argument
/u-boot/drivers/cache/
A Dcache-ncore.c24 #define CAIUIDR_CA_GET(v) (((v) & 0x00008000) >> 15) argument
25 #define CAIUIDR_TYPE_GET(v) (((v) & 0x000f0000) >> 16) argument
34 #define CSUIDR_NUMCAIUS_GET(v) (((v) & 0x0000007f) >> 0) argument
35 #define CSUIDR_NUMDIRUS_GET(v) (((v) & 0x003f0000) >> 16) argument
36 #define CSUIDR_NUMCMIUS_GET(v) (((v) & 0x3f000000) >> 24) argument
38 #define CSIDR_NUMSFS_GET(v) (((v) & 0x007c0000) >> 18) argument
/u-boot/drivers/net/phy/
A Dmiiphybb.c21 #define BB_MII_RELOCATE(v,off) (v += (v?off:0)) argument
59 static int bb_set_mdio_wrap(struct bb_miiphy_bus *bus, int v) in bb_set_mdio_wrap()
68 static int bb_get_mdio_wrap(struct bb_miiphy_bus *bus, int *v) in bb_get_mdio_wrap()
77 static int bb_set_mdc_wrap(struct bb_miiphy_bus *bus, int v) in bb_set_mdc_wrap()
238 int v; in bb_miiphy_read() local
/u-boot/drivers/bios_emulator/include/x86emu/
A Dx86emui.h58 #define X86EMU_UNUSED(v) argument
60 #define X86EMU_UNUSED(v) v argument
/u-boot/include/
A Dfsl_ddr.h24 #define ddr_out32(a, v) out_le32(a, v) argument
25 #define ddr_setbits32(a, v) setbits_le32(a, v) argument
26 #define ddr_clrbits32(a, v) clrbits_le32(a, v) argument
30 #define ddr_out32(a, v) out_be32(a, v) argument
31 #define ddr_setbits32(a, v) setbits_be32(a, v) argument
32 #define ddr_clrbits32(a, v) clrbits_be32(a, v) argument
/u-boot/fs/btrfs/
A Dcompat.h28 #define le8_to_cpu(v) (v) argument
29 #define cpu_to_le8(v) (v) argument
37 #define le8_to_cpu(v) (v) argument
38 #define cpu_to_le8(v) (v) argument
/u-boot/arch/arm/include/asm/arch-fsl-layerscape/
A Dsoc.h23 #define gur_out32(a, v) out_le32(a, v) argument
26 #define gur_out32(a, v) out_be32(a, v) argument
31 #define scfg_out32(a, v) out_le32(a, v) argument
36 #define scfg_out32(a, v) out_be32(a, v) argument
43 #define pex_lut_out32(a, v) out_le32(a, v) argument
46 #define pex_lut_out32(a, v) out_be32(a, v) argument
55 #define CPU_TYPE_ENTRY(n, v, nc) \ argument
/u-boot/drivers/net/fm/
A Dmemac_phy.c16 #define memac_out_32(a, v) out_le32(a, v) argument
17 #define memac_clrbits_32(a, v) clrbits_le32(a, v) argument
18 #define memac_setbits_32(a, v) setbits_le32(a, v) argument
20 #define memac_out_32(a, v) out_be32(a, v) argument
21 #define memac_clrbits_32(a, v) clrbits_be32(a, v) argument
22 #define memac_setbits_32(a, v) setbits_be32(a, v) argument
/u-boot/arch/arm/include/asm/
A Dio.h98 #define __raw_writeb(v,a) __arch_putb(v,a) argument
99 #define __raw_writew(v,a) __arch_putw(v,a) argument
100 #define __raw_writel(v,a) __arch_putl(v,a) argument
101 #define __raw_writeq(v,a) __arch_putq(v,a) argument
175 #define out_le64(a,v) out_arch(q,le64,a,v) argument
176 #define out_le32(a,v) out_arch(l,le32,a,v) argument
177 #define out_le16(a,v) out_arch(w,le16,a,v) argument
191 #define out_64(a,v) __raw_writeq(v,a) argument
192 #define out_32(a,v) __raw_writel(v,a) argument
193 #define out_16(a,v) __raw_writew(v,a) argument
[all …]
/u-boot/arch/sh/include/asm/
A Dio.h37 #define __arch_putb(v, a) (*(volatile unsigned char *)(a) = (v)) argument
38 #define __arch_putw(v, a) (*(volatile unsigned short *)(a) = (v)) argument
39 #define __arch_putl(v, a) (*(volatile unsigned int *)(a) = (v)) argument
49 #define __raw_writeb(v, a) __arch_putb(v, a) argument
50 #define __raw_writew(v, a) __arch_putw(v, a) argument
51 #define __raw_writel(v, a) __arch_putl(v, a) argument
84 #define outb(v, p) __raw_writeb(v, p) argument
152 #define writeb(v, c) __raw_writeb(v, __mem_pci(c)) argument
185 #define writeb(v, addr) __raw_writeb(v, addr) argument
186 #define writew(v, addr) __raw_writew(v, addr) argument
[all …]
/u-boot/drivers/bios_emulator/
A Dbiosemui.h71 #define writeb_le(base, v) *((u8*)(base)) = (v) argument
72 #define writew_le(base, v) writeb_le(base + 0, (v >> 0) & 0xff), \ argument
74 #define writel_le(base, v) writeb_le(base + 0, (v >> 0) & 0xff), \ argument
82 #define writeb_le(base, v) *((u8*)(base)) = (v) argument
83 #define writew_le(base, v) *((u16*)(base)) = (v) argument
84 #define writel_le(base, v) *((u32*)(base)) = (v) argument
/u-boot/arch/m68k/lib/
A Dmuldi3.c15 #define umul_ppmm(w1, w0, u, v) \ argument
39 #define __umulsidi3(u, v) \ argument
57 DItype __muldi3 (DItype u, DItype v) in __muldi3()
/u-boot/arch/microblaze/lib/
A Dmuldi3.c17 #define umul_ppmm(w1, w0, u, v) \ argument
43 #define __umulsidi3(u, v) \ argument
62 DItype __muldi3(DItype u, DItype v) in __muldi3()
/u-boot/arch/sandbox/include/asm/
A Dio.h75 #define out_le64(a,v) out_arch(q,le64,a,v) argument
76 #define out_le32(a,v) out_arch(l,le32,a,v) argument
77 #define out_le16(a,v) out_arch(w,le16,a,v) argument
83 #define out_be32(a,v) out_arch(l,be32,a,v) argument
84 #define out_be16(a,v) out_arch(w,be16,a,v) argument
89 #define out_8(a,v) writeb(v,a) argument
141 #define out_le32(a,v) out_arch(l,le32,a,v) argument
142 #define out_le16(a,v) out_arch(w,le16,a,v) argument
147 #define out_be32(a,v) out_arch(l,be32,a,v) argument
148 #define out_be16(a,v) out_arch(w,be16,a,v) argument
[all …]

Completed in 62 milliseconds

12345678