Home
last modified time | relevance | path

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

12

/hal_rpi_pico-latest/src/host/pico_bit_ops/
Dbit_ops.c9 uint32_t __rev(uint32_t v) { in __rev() argument
10 v = ((v & 0x55555555u) << 1u) | ((v >> 1u) & 0x55555555u); in __rev()
11 v = ((v & 0x33333333u) << 2u) | ((v >> 2u) & 0x33333333u); in __rev()
12 v = ((v & 0x0f0f0f0fu) << 4u) | ((v >> 4u) & 0x0f0f0f0fu); in __rev()
13 return (v << 24u) | ((v & 0xff00u) << 8u) | ((v >> 8u) & 0xff00u) | (v >> 24u); in __rev()
16 uint64_t __revll(uint64_t v) { in __revll() argument
17 v = ((v & 0x5555555555555555u) << 1u) | ((v >> 1u) & 0x5555555555555555u); in __revll()
18 v = ((v & 0x3333333333333333u) << 2u) | ((v >> 2u) & 0x3333333333333333u); in __revll()
19 v = ((v & 0x0f0f0f0f0f0f0f0fu) << 4u) | ((v >> 4u) & 0x0f0f0f0f0f0f0f0fu); in __revll()
20 v = ((v & 0x00ff00ff00ff00ffu) << 8u) | ((v >> 8u) & 0x00ff00ff00ff00ffu); in __revll()
[all …]
/hal_rpi_pico-latest/src/rp2_common/cmsis/stub/CMSIS/Core/Include/
Dcmsis_compiler.h107 __PACKED_STRUCT T_UINT16_WRITE { uint16_t v; }; variable
108 …_UNALIGNED_UINT16_WRITE(addr, val) (void)((((struct T_UINT16_WRITE *)(void*)(addr))->v) = (val))
111 __PACKED_STRUCT T_UINT16_READ { uint16_t v; }; variable
112 …ne __UNALIGNED_UINT16_READ(addr) (((const struct T_UINT16_READ *)(const void *)(addr))->v)
115 __PACKED_STRUCT T_UINT32_WRITE { uint32_t v; }; variable
116 …UNALIGNED_UINT32_WRITE(addr, val) (void)((((struct T_UINT32_WRITE *)(void *)(addr))->v) = (val))
119 __PACKED_STRUCT T_UINT32_READ { uint32_t v; }; variable
120 …ne __UNALIGNED_UINT32_READ(addr) (((const struct T_UINT32_READ *)(const void *)(addr))->v)
180 __PACKED_STRUCT T_UINT16_WRITE { uint16_t v; }; variable
181 …UNALIGNED_UINT16_WRITE(addr, val) (void)((((struct T_UINT16_WRITE *)(void *)(addr))->v) = (val))
[all …]
Dcmsis_armclang.h73 __PACKED_STRUCT T_UINT16_WRITE { uint16_t v; }; variable
75 …UNALIGNED_UINT16_WRITE(addr, val) (void)((((struct T_UINT16_WRITE *)(void *)(addr))->v) = (val))
80 __PACKED_STRUCT T_UINT16_READ { uint16_t v; }; variable
82 …ne __UNALIGNED_UINT16_READ(addr) (((const struct T_UINT16_READ *)(const void *)(addr))->v)
87 __PACKED_STRUCT T_UINT32_WRITE { uint32_t v; }; variable
89 …UNALIGNED_UINT32_WRITE(addr, val) (void)((((struct T_UINT32_WRITE *)(void *)(addr))->v) = (val))
94 __PACKED_STRUCT T_UINT32_READ { uint32_t v; }; variable
96 …ne __UNALIGNED_UINT32_READ(addr) (((const struct T_UINT32_READ *)(const void *)(addr))->v)
Dcmsis_clang.h78 __PACKED_STRUCT T_UINT16_WRITE { uint16_t v; }; variable
80 #define __UNALIGNED_UINT16_WRITE(addr, val) (void)((((struct T_UINT16_WRITE *)(void *)(addr))->v
85 __PACKED_STRUCT T_UINT16_READ { uint16_t v; }; variable
87 …ne __UNALIGNED_UINT16_READ(addr) (((const struct T_UINT16_READ *)(const void *)(addr))->v)
92 __PACKED_STRUCT T_UINT32_WRITE { uint32_t v; }; variable
94 #define __UNALIGNED_UINT32_WRITE(addr, val) (void)((((struct T_UINT32_WRITE *)(void *)(addr))->v
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)
Dcmsis_gcc.h75 __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)
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()
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)
/hal_rpi_pico-latest/tools/pioasm/gen/
Dparser.hpp873 basic_symbol (typename Base::kind_type t, bool&& v, location_type&& l) in basic_symbol()
875 , value (std::move (v)) in basic_symbol()
879 basic_symbol (typename Base::kind_type t, const bool& v, const location_type& l) in basic_symbol()
881 , value (v) in basic_symbol()
886 basic_symbol (typename Base::kind_type t, enum condition&& v, location_type&& l) in basic_symbol()
888 , value (std::move (v)) in basic_symbol()
892 basic_symbol (typename Base::kind_type t, const enum condition& v, const location_type& l) in basic_symbol()
894 , value (v) in basic_symbol()
899 basic_symbol (typename Base::kind_type t, enum fifo_config&& v, location_type&& l) in basic_symbol()
901 , value (std::move (v)) in basic_symbol()
[all …]
/hal_rpi_pico-latest/test/pico_divider_test/
Dpico_divider_test.c54 unsigned int v=*pv; in odig() local
55 while(v>=d) v-=d,c++; in odig()
58 *pv=v; in odig()
63 unsigned int v=u; in odec() local
65 if(u<0) o1ch('-'),v=-v; in odec()
66 zf=odig(&v,1000000000,zf); in odec()
67 zf=odig(&v,100000000,zf); in odec()
68 zf=odig(&v,10000000,zf); in odec()
69 zf=odig(&v,1000000,zf); in odec()
70 zf=odig(&v,100000,zf); in odec()
[all …]
/hal_rpi_pico-latest/test/hardware_pwm_test/
Dhardware_pwm_test.c77 int v = 100 + pwm * 10; in main() local
79 pwm_set_wrap(pwm, v); in main()
80 PICOTEST_CHECK_CHANNEL(pwm, slice->top == v, "pwm_set_wrap() failed to set register"); in main()
82 pwm_set_both_levels(pwm, v + 1, v); in main()
83 …PICOTEST_CHECK_CHANNEL(pwm, slice->cc == (((v) << PWM_CH0_CC_B_LSB) | ((v + 1) << PWM_CH0_CC_A_LSB… in main()
/hal_rpi_pico-latest/src/host/hardware_gpio/include/hardware/
Dgpio.h162 #define DEBUG_PINS_SET(p, v) ((void)0) argument
163 #define DEBUG_PINS_CLR(p, v) ((void)0) argument
164 #define DEBUG_PINS_XOR(p, v) ((void)0) argument
/hal_rpi_pico-latest/tools/pioasm/
Dpio_assembler.cpp314 uint v = index.fifo_index->resolve(program); in get_push_get_index() local
315 if (v > 7) { in get_push_get_index()
318 return v | 8; in get_push_get_index()
371 int v = value->resolve(program); in raw_encode() local
372 if (v < 1 || v > 32) { in raw_encode()
375 return {inst_type::in, (uint) src, (uint) v & 0x1fu}; in raw_encode()
379 int v = value->resolve(program); in raw_encode() local
380 if (v < 1 || v > 32) { in raw_encode()
383 return {inst_type::out, (uint) dest, (uint) v & 0x1fu}; in raw_encode()
387 int v = value->resolve(program); in raw_encode() local
[all …]
Dpio_types.h173 static inline rvalue resolvable_int(const yy::location &l, int v) { in resolvable_int() argument
174 return std::shared_ptr<resolvable>(new int_value(l, v)); in resolvable_int()
255 rvalue_loc(const rvalue &v, const yy::location &l) : value(v), location(l) {} in rvalue_loc()
329 void set_out(const yy::location &l, rvalue v, bool right, bool autop, rvalue threshold) { in set_out()
331 out.pin_count = std::move(v); in set_out()
337 void set_in(const yy::location &l, rvalue v, bool right, bool autop, rvalue threshold) { in set_in()
339 in.pin_count = std::move(v); in set_in()
345 void set_set_count(const yy::location &l, rvalue v) { in set_set_count()
346 set_count = rvalue_loc(v, l); in set_set_count()
Doutput_format.h30 simple_optional<T> &operator=(const T &v) {
31 value = v;
/hal_rpi_pico-latest/src/host/hardware_divider/include/hardware/
Ddivider.h18 static inline int __sign_of(int32_t v) { in __sign_of() argument
19 return v > 0 ? 1 : (v < 0 ? -1 : 0); in __sign_of()
/hal_rpi_pico-latest/src/rp2_common/pico_divider/
Ddivider_compiler.c26 static inline int __sign_of_64(int64_t v) { in __sign_of_64() argument
27 return v > 0 ? 1 : (v < 0 ? -1 : 0); in __sign_of_64()
/hal_rpi_pico-latest/src/host/pico_divider/
Ddivider.c26 static inline int __sign_of_64(int32_t v) { in __sign_of_64() argument
27 return v > 0 ? 1 : (v < 0 ? -1 : 0); in __sign_of_64()
/hal_rpi_pico-latest/src/rp2_common/cmsis/stub/CMSIS/Core/Include/m-profile/
Dcmsis_tiarmclang_m.h68 __PACKED_STRUCT T_UINT16_WRITE { uint16_t v; }; variable
70 …UNALIGNED_UINT16_WRITE(addr, val) (void)((((struct T_UINT16_WRITE *)(void *)(addr))->v) = (val))
75 __PACKED_STRUCT T_UINT16_READ { uint16_t v; }; variable
77 …ne __UNALIGNED_UINT16_READ(addr) (((const struct T_UINT16_READ *)(const void *)(addr))->v)
82 __PACKED_STRUCT T_UINT32_WRITE { uint32_t v; }; variable
84 …UNALIGNED_UINT32_WRITE(addr, val) (void)((((struct T_UINT32_WRITE *)(void *)(addr))->v) = (val))
89 __PACKED_STRUCT T_UINT32_READ { uint32_t v; }; variable
91 …ne __UNALIGNED_UINT32_READ(addr) (((const struct T_UINT32_READ *)(const void *)(addr))->v)
Dcmsis_iccarm_m.h235 __packed struct __iar_u32 { uint32_t v; }; member
237 #define __UNALIGNED_UINT32(PTR) (((struct __iar_u32 *)(PTR))->v)
601 __STATIC_INLINE uint32_t __RBIT(uint32_t v) in __RBIT() argument
604 uint32_t r = v; in __RBIT()
605 for (v >>= 1U; v; v >>= 1U) in __RBIT()
608 r |= v & 1U; in __RBIT()
/hal_rpi_pico-latest/src/rp2_common/hardware_divider/include/hardware/
Ddivider.h57 static inline int __sign_of(int32_t v) { in __sign_of() argument
58 return v > 0 ? 1 : (v < 0 ? -1 : 0); in __sign_of()
/hal_rpi_pico-latest/test/pico_float_test/llvm/
Dcall_apsr.h26 uint32_t v: 1; member
/hal_rpi_pico-latest/src/rp2_common/hardware_gpio/include/hardware/
Dgpio.h1431 #define DEBUG_PINS_SET(p, v) if (DEBUG_PINS_ENABLED(p)) gpio_set_mask((unsigned)(v)<<PICO_DEBUG_PIN… argument
1432 #define DEBUG_PINS_CLR(p, v) if (DEBUG_PINS_ENABLED(p)) gpio_clr_mask((unsigned)(v)<<PICO_DEBUG_PIN… argument
1433 #define DEBUG_PINS_XOR(p, v) if (DEBUG_PINS_ENABLED(p)) gpio_xor_mask((unsigned)(v)<<PICO_DEBUG_PIN… argument
/hal_rpi_pico-latest/tools/
Dextract_build_defines.py138 k, v = (i.strip() for i in item.split('='))
141 config_attrs[k] = v.replace('\0', ',')
Dextract_cmake_configs.py140 k, v = (i.strip() for i in item.split('='))
143 config_attrs[k] = v.replace('\0', ',')
/hal_rpi_pico-latest/src/rp2_common/pico_double/
Ddouble_math.c354 double t,rt,u,v,v0,v1,w,ry; in dpow_1() local
369 v=y-ry; in dpow_1()
370 v0=dldexp(round(ldexp(v,26)),-26); in dpow_1()
371 v1=v-v0; in dpow_1()
385 w+=u*v; in dpow_1()

12