Home
last modified time | relevance | path

Searched refs:v (Results 1 – 25 of 33) sorted by relevance

12

/lk-master/top/include/lk/
A Dpow2.h43 static inline __ALWAYS_INLINE uint32_t round_up_pow2_u32(uint32_t v) { in round_up_pow2_u32() argument
44 v--; in round_up_pow2_u32()
45 v |= v >> 1; in round_up_pow2_u32()
46 v |= v >> 2; in round_up_pow2_u32()
47 v |= v >> 4; in round_up_pow2_u32()
48 v |= v >> 8; in round_up_pow2_u32()
49 v |= v >> 16; in round_up_pow2_u32()
50 v++; in round_up_pow2_u32()
51 return v; in round_up_pow2_u32()
A Dreg.h23 #define writel(v, a) (*REG32(a) = (v)) argument
25 #define writeb(v, a) (*REG8(a) = (v)) argument
/lk-master/external/arch/arm/arm-m/CMSIS/Include/
A Dcmsis_compiler.h105 __PACKED_STRUCT T_UINT16_WRITE { uint16_t v; }; variable
109 __PACKED_STRUCT T_UINT16_READ { uint16_t v; }; variable
113 __PACKED_STRUCT T_UINT32_WRITE { uint32_t v; }; variable
117 __PACKED_STRUCT T_UINT32_READ { uint32_t v; }; variable
173 struct __packed__ T_UINT32 { uint32_t v; }; member
177 __PACKED_STRUCT T_UINT16_WRITE { uint16_t v; }; variable
181 __PACKED_STRUCT T_UINT16_READ { uint16_t v; }; variable
189 __PACKED_STRUCT T_UINT32_READ { uint32_t v; }; variable
244 @packed struct T_UINT32 { uint32_t v; }; member
252 __PACKED_STRUCT T_UINT16_READ { uint16_t v; }; variable
[all …]
A Dcmsis_armclang.h67 struct __attribute__((packed)) T_UINT32 { uint32_t v; }; member
69 #define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v)
75 __PACKED_STRUCT T_UINT16_WRITE { uint16_t v; }; variable
77 …UNALIGNED_UINT16_WRITE(addr, val) (void)((((struct T_UINT16_WRITE *)(void *)(addr))->v) = (val))
83 __PACKED_STRUCT T_UINT16_READ { uint16_t v; }; variable
85 …ne __UNALIGNED_UINT16_READ(addr) (((const struct T_UINT16_READ *)(const void *)(addr))->v)
91 __PACKED_STRUCT T_UINT32_WRITE { uint32_t v; }; variable
93 …UNALIGNED_UINT32_WRITE(addr, val) (void)((((struct T_UINT32_WRITE *)(void *)(addr))->v) = (val))
99 __PACKED_STRUCT T_UINT32_READ { uint32_t v; }; variable
101 …ne __UNALIGNED_UINT32_READ(addr) (((const struct T_UINT32_READ *)(const void *)(addr))->v)
A Dcmsis_iccarm.h228 __packed struct __iar_u32 { uint32_t v; }; member
230 #define __UNALIGNED_UINT32(PTR) (((struct __iar_u32 *)(PTR))->v)
573 __STATIC_INLINE uint32_t __RBIT(uint32_t v) in __RBIT() argument
576 uint32_t r = v; in __RBIT()
577 for (v >>= 1U; v; v >>= 1U) in __RBIT()
580 r |= v & 1U; in __RBIT()
A Dcmsis_armclang_ltm.h67 struct __attribute__((packed)) T_UINT32 { uint32_t v; }; member
69 #define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v)
75 __PACKED_STRUCT T_UINT16_WRITE { uint16_t v; }; variable
77 …UNALIGNED_UINT16_WRITE(addr, val) (void)((((struct T_UINT16_WRITE *)(void *)(addr))->v) = (val))
83 __PACKED_STRUCT T_UINT16_READ { uint16_t v; }; variable
85 …ne __UNALIGNED_UINT16_READ(addr) (((const struct T_UINT16_READ *)(const void *)(addr))->v)
91 __PACKED_STRUCT T_UINT32_WRITE { uint32_t v; }; variable
93 …UNALIGNED_UINT32_WRITE(addr, val) (void)((((struct T_UINT32_WRITE *)(void *)(addr))->v) = (val))
99 __PACKED_STRUCT T_UINT32_READ { uint32_t v; }; variable
101 …ne __UNALIGNED_UINT32_READ(addr) (((const struct T_UINT32_READ *)(const void *)(addr))->v)
/lk-master/platform/mediatek/common/include/
A Dsync_write.h14 #define mt_reg_sync_writel(v, a) \ argument
16 *(volatile unsigned int *)(a) = (v); \
20 #define mt_reg_sync_writew(v, a) \ argument
22 *(volatile unsigned short *)(a) = (v); \
26 #define mt_reg_sync_writeb(v, a) \ argument
28 *(volatile unsigned char *)(a) = (v); \
/lk-master/platform/pc/
A Dconsole.c167 w = *((unsigned short *) (v + 2*(y*80+x))); in _scroll()
168 *((unsigned short *)(v + 2*((y-1)*80+x))) = w; in _scroll()
223 *(v + 2*(x + y*80)) = ' '; in cputc()
227 *(v + 2*(x + y*80)) = c; in cputc()
254 *v = *s; in puts_xy()
256 v++; in puts_xy()
257 *v = attr; in puts_xy()
258 v++; in puts_xy()
264 *v = c; in putc_xy()
265 v++; in putc_xy()
[all …]
/lk-master/external/lib/libm/
A Dk_tan.c81 double z, r, v, w, s; in __kernel_tan() local
105 v = z * (T[2] + w * (T[4] + w * (T[6] + w * (T[8] + w * (T[10] + in __kernel_tan()
108 r = y + z * (s * (r + v) + y); in __kernel_tan()
112 v = (double) iy; in __kernel_tan()
114 (v - 2.0 * (x - (w * w / (w + v) - r))); in __kernel_tan()
127 v = r - (z - x); /* z+v = r+x */ in __kernel_tan()
131 return t + a * (s + t * v); in __kernel_tan()
A Dk_sin.c62 double z,r,v,w; in __kernel_sin() local
67 v = z*x; in __kernel_sin()
68 if (iy==0) return x+v*(S1+z*r); in __kernel_sin()
69 else return x-((z*(half*y-v*r)-y)-v*S1); in __kernel_sin()
A Dmath_private.h137 #define SET_HIGH_WORD(d,v) \ argument
141 sh_u.parts.msw = (v); \
147 #define SET_LOW_WORD(d,v) \ argument
151 sl_u.parts.lsw = (v); \
249 #define SET_LDBL_EXPSIGN(d,v) \ argument
253 se_u.xbits.expsign = (v); \
259 #define LD80C(m, ex, v) { \ argument
265 #define LD80C(m, ex, v) { .e = (v), } argument
308 #define RETURNF(v) return (v) argument
554 #define DOPRINT_END1(v) \ argument
[all …]
A De_powf.c60 float y1,t1,t2,r,s,sn,t,u,v,w; in __ieee754_powf() local
141 v = t*ivln2_l-w*ivln2; in __ieee754_powf()
142 t1 = u+v; in __ieee754_powf()
145 t2 = v-(t1-u); in __ieee754_powf()
163 v = one/(ax+bp[k]); in __ieee754_powf()
164 s = u*v; in __ieee754_powf()
184 v = s_l*t_h+t_l*s; in __ieee754_powf()
186 p_h = u+v; in __ieee754_powf()
189 p_l = v-(p_h-u); in __ieee754_powf()
236 z = u+v; in __ieee754_powf()
[all …]
A De_pow.c101 double y1,t1,t2,r,s,t,u,v,w; in __ieee754_pow() local
200 v = t*ivln2_l-w*ivln2; in __ieee754_pow()
201 t1 = u+v; in __ieee754_pow()
203 t2 = v-(t1-u); in __ieee754_pow()
221 v = one/(ax+bp[k]); in __ieee754_pow()
222 ss = u*v; in __ieee754_pow()
240 v = s_l*t_h+t_l*ss; in __ieee754_pow()
242 p_h = u+v; in __ieee754_pow()
244 p_l = v-(p_h-u); in __ieee754_pow()
293 z = u+v; in __ieee754_pow()
[all …]
/lk-master/lib/libc/
A Datoi.c135 int v = -1; in strtoul() local
139 v = c - 'A' + 10; in strtoul()
141 v = c - 'a' + 10; in strtoul()
143 v = c - '0'; in strtoul()
146 if (v < 0 || v >= base) { in strtoul()
155 new_ret + v < new_ret || in strtoul()
160 ret = new_ret + v; in strtoul()
/lk-master/lib/buildsig/
A Dbuildsig.c116 const lk_version_t *v; in cmd_buildsig() local
117 status_t err = buildsig_search(offset, DEFAULT_BUILDSIG_SEARCH_LEN, 256*1024, &v); in cmd_buildsig()
125 v->arch, v->platform, v->target, v->project, v->buildid); in cmd_buildsig()
/lk-master/arch/arm/arm-m/
A Dvectab.c36 #define ARMV7M_VECTOR(v) (v) argument
38 #define ARMV7M_VECTOR(v) 0 argument
/lk-master/external/platform/pico/rp2_common/hardware_gpio/include/hardware/
A Dgpio.h525 #define DEBUG_PINS_SET(p, v) if (DEBUG_PINS_ENABLED(p)) gpio_set_mask((unsigned)(v)<<PICO_DEBUG_PIN… argument
526 #define DEBUG_PINS_CLR(p, v) if (DEBUG_PINS_ENABLED(p)) gpio_clr_mask((unsigned)(v)<<PICO_DEBUG_PIN… argument
527 #define DEBUG_PINS_XOR(p, v) if (DEBUG_PINS_ENABLED(p)) gpio_xor_mask((unsigned)(v)<<PICO_DEBUG_PIN… argument
/lk-master/external/platform/stm32f7xx/STM32F7xx_HAL_Driver/Src/
A Dstm32f7xx_ll_usb.c834 uint32_t v = 0; in USB_ReadInterrupts() local
836 v = USBx->GINTSTS; in USB_ReadInterrupts()
837 v &= USBx->GINTMSK; in USB_ReadInterrupts()
838 return v; in USB_ReadInterrupts()
848 uint32_t v; in USB_ReadDevAllOutEpInterrupt() local
861 uint32_t v; in USB_ReadDevAllInEpInterrupt() local
864 return ((v & 0xFFFF)); in USB_ReadDevAllInEpInterrupt()
876 uint32_t v; in USB_ReadDevOutEPInterrupt() local
879 return v; in USB_ReadDevOutEPInterrupt()
891 uint32_t v, msk, emp; in USB_ReadDevInEPInterrupt() local
[all …]
/lk-master/app/mdebug/
A Djtag.c87 unsigned v; in jtag_tick() local
92 v = readl(SGPIO_IN); in jtag_tick()
101 return (v >> POS_TDO) & 1; in jtag_tick()
/lk-master/external/lib/lwip/include/ipv6/lwip/
A Dip.h86 u8_t tclass1:4, v:4; member
89 u8_t v:4, tclass1:4;
/lk-master/external/platform/lpc15xx/lpcopen/lpc_chip_15xx/inc/
A Dlpc_types.h112 #define _SBF(f, v) ((v) << (f)) argument
/lk-master/platform/lpc43xx/include/platform/
A Dlpc43xx-gpdma.h83 #define DMAMUX_P(n,v) (((v) & 3) << (((n) & 15) << 1)) argument
/lk-master/make/
A Dmacros.mk21 …t P,p,$(subst Q,q,$(subst R,r,$(subst S,s,$(subst T,t,$(subst U,u,$(subst V,v,$(subst W,w,$(subst …
22 …bst p,P,$(subst q,Q,$(subst r,R,$(subst s,S,$(subst t,T,$(subst u,U,$(subst v,V,$(subst w,W,$(subs…
/lk-master/kernel/include/kernel/
A Dthread.h211 #define tls_set(e,v) \ argument
214 __tls_set(e, v); \
/lk-master/external/lib/lwip/include/ipv4/lwip/
A Dip.h156 #define IPH_VHL_SET(hdr, v, hl) (hdr)->_v_hl = (((v) << 4) | (hl)) argument

Completed in 105 milliseconds

12