/btstack/port/msp432p401lp-cc256x/ti/devices/msp432p4xx/inc/ |
H A D | msp_compatibility.h | 40 #define HWREG8(x) (*((volatile uint8_t *)(x))) argument 41 #define HWREG16(x) (*((volatile uint16_t *)(x))) argument 42 #define HWREG32(x) (*((volatile uint32_t *)(x))) argument 43 #define HWREG(x) (HWREG16(x)) argument 44 #define HWREG8_L(x) (*((volatile uint8_t *)((uint8_t *)&x))) argument 45 #define HWREG8_H(x) (*((volatile uint8_t *)(((uint8_t *)&x)+1))) argument 46 #define HWREG16_L(x) (*((volatile uint16_t *)((uint16_t *)&x))) argument 47 #define HWREG16_H(x) (*((volatile uint16_t *)(((uint16_t *)&x)+1))) argument 52 #define HWREGBIT8(x, b) (HWREG8(((uint32_t)(x) & 0xF0000000) | 0x02000000 | (((uint32_t)(x) & 0x0… argument 53 #define HWREGBIT16(x, b) (HWREG16(((uint32_t)(x) & 0xF0000000) | 0x02000000 | (((uint32_t)(x) & 0x… argument [all …]
|
/btstack/3rd-party/lwip/core/src/include/lwip/ |
H A D | def.h | 58 #define PERF_STOP(x) /* null definition */ argument 65 #define LWIP_MAX(x , y) (((x) > (y)) ? (x) : (y)) argument 66 #define LWIP_MIN(x , y) (((x) < (y)) ? (x) : (y)) argument 69 #define LWIP_ARRAYSIZE(x) (sizeof(x)/sizeof((x)[0])) argument 86 #define lwip_htons(x) ((u16_t)(x)) argument 87 #define lwip_ntohs(x) ((u16_t)(x)) argument 88 #define lwip_htonl(x) ((u32_t)(x)) argument 89 #define lwip_ntohl(x) ((u32_t)(x)) argument 90 #define PP_HTONS(x) ((u16_t)(x)) argument 91 #define PP_NTOHS(x) ((u16_t)(x)) argument [all …]
|
H A D | stats.h | 309 #define STATS_INC(x) ++lwip_stats.x argument 310 #define STATS_DEC(x) --lwip_stats.x argument 311 #define STATS_INC_USED(x, y, type) do { lwip_stats.x.used = (type)(lwip_stats.x.used + y); \ argument 316 #define STATS_GET(x) lwip_stats.x argument 325 #define TCP_STATS_INC(x) STATS_INC(x) argument 328 #define TCP_STATS_INC(x) argument 333 #define UDP_STATS_INC(x) STATS_INC(x) argument 336 #define UDP_STATS_INC(x) argument 341 #define ICMP_STATS_INC(x) STATS_INC(x) argument 344 #define ICMP_STATS_INC(x) argument [all …]
|
/btstack/3rd-party/yxml/ |
H A D | yxml.c | 150 static inline yxml_ret_t yxml_datacontent(yxml_t *x, unsigned ch) { in yxml_datacontent() 157 static inline yxml_ret_t yxml_datapi1(yxml_t *x, unsigned ch) { in yxml_datapi1() 164 static inline yxml_ret_t yxml_datapi2(yxml_t *x, unsigned ch) { in yxml_datapi2() 172 static inline yxml_ret_t yxml_datacd1(yxml_t *x, unsigned ch) { in yxml_datacd1() 180 static inline yxml_ret_t yxml_datacd2(yxml_t *x, unsigned ch) { in yxml_datacd2() 189 static inline yxml_ret_t yxml_dataattr(yxml_t *x, unsigned ch) { in yxml_dataattr() 197 static yxml_ret_t yxml_pushstack(yxml_t *x, char **res, unsigned ch) { in yxml_pushstack() 209 static yxml_ret_t yxml_pushstackc(yxml_t *x, unsigned ch) { in yxml_pushstackc() 219 static void yxml_popstack(yxml_t *x) { in yxml_popstack() 226 static inline yxml_ret_t yxml_elemstart (yxml_t *x, unsigned ch) { return yxml_pushstack(x, &x->el… in yxml_elemstart() [all …]
|
/btstack/port/msp432p401lp-cc256x/ti/devices/msp432p4xx/driverlib/ |
H A D | driverlib.h | 86 #define HWREG8(x) (*((volatile uint8_t *)(x))) argument 87 #define HWREG16(x) (*((volatile uint16_t *)(x))) argument 88 #define HWREG32(x) (*((volatile uint32_t *)(x))) argument 89 #define HWREG(x) (HWREG16(x)) argument 90 #define HWREG8_L(x) (*((volatile uint8_t *)((uint8_t *)&x))) argument 91 #define HWREG8_H(x) (*((volatile uint8_t *)(((uint8_t *)&x)+1))) argument 92 #define HWREG16_L(x) (*((volatile uint16_t *)((uint16_t *)&x))) argument 93 #define HWREG16_H(x) (*((volatile uint16_t *)(((uint16_t *)&x)+1))) argument
|
/btstack/3rd-party/lc3-google/src/ |
H A D | ltpf.c | 214 struct lc3_ltpf_hp50_state *hp50, const int16_t *x, int16_t *y, int n) in resample_x64k_12k8() 259 struct lc3_ltpf_hp50_state *hp50, const int16_t *x, int16_t *y, int n) in resample_x192k_12k8() 304 struct lc3_ltpf_hp50_state *hp50, const int16_t *x, int16_t *y, int n) in resample_8k_12k8() 320 struct lc3_ltpf_hp50_state *hp50, const int16_t *x, int16_t *y, int n) in resample_16k_12k8() 336 struct lc3_ltpf_hp50_state *hp50, const int16_t *x, int16_t *y, int n) in resample_32k_12k8() 352 struct lc3_ltpf_hp50_state *hp50, const int16_t *x, int16_t *y, int n) in resample_24k_12k8() 368 struct lc3_ltpf_hp50_state *hp50, const int16_t *x, int16_t *y, int n) in resample_48k_12k8() 384 struct lc3_ltpf_hp50_state *hp50, const int16_t *x, int16_t *y, int n) in resample_96k_12k8() 398 LC3_HOT static void resample_6k4(const int16_t *x, int16_t *y, int n) in resample_6k4() 474 LC3_HOT static int argmax(const float *x, int n, float *x_max) in argmax() [all …]
|
H A D | mdct.c | 36 const struct lc3_complex *x, struct lc3_complex *y, int n) in fft_5() 96 const struct lc3_complex *x, struct lc3_complex *y, int n) in fft_bf3() 138 const struct lc3_complex *x, struct lc3_complex *y, int n) in fft_bf2() 168 static struct lc3_complex *fft(const struct lc3_complex *x, int n, in fft() 209 const float *x, float *d, float *y) in mdct_window() 246 const float *x, struct lc3_complex *y) in mdct_pre_fft() 276 const struct lc3_complex *x, float *y) in mdct_post_fft() 308 const float *x, struct lc3_complex *y) in imdct_pre_fft() 340 const struct lc3_complex *x, float *y) in imdct_post_fft() 369 const float *x, float *d, float *y) in imdct_window() [all …]
|
H A D | fastmath.h | 46 union { float f; int32_t s; } x = { .f = _x }; in lc3_ldexpf() local 61 union { float f; uint32_t u; } x = { .f = _x }; in lc3_frexpf() local 77 static inline float lc3_exp2f(float x) in lc3_exp2f() 127 static inline float lc3_log2f(float x) in lc3_log2f() 155 static inline float lc3_log10f(float x) in lc3_log10f() 168 static inline int32_t lc3_db_q16(float x) in lc3_db_q16()
|
H A D | ltpf_arm.h | 49 struct lc3_ltpf_hp50_state *hp50, const int16x2_t *x, int16_t *y, int n) in arm_resample_x64k_12k8() 80 struct lc3_ltpf_hp50_state *hp50, const int16x2_t *x, int16_t *y, int n) in arm_resample_x192k_12k8() 122 struct lc3_ltpf_hp50_state *hp50, const int16_t *x, int16_t *y, int n) in arm_resample_8k_12k8() 159 struct lc3_ltpf_hp50_state *hp50, const int16_t *x, int16_t *y, int n) in arm_resample_16k_12k8() 217 struct lc3_ltpf_hp50_state *hp50, const int16_t *x, int16_t *y, int n) in arm_resample_32k_12k8() 266 struct lc3_ltpf_hp50_state *hp50, const int16_t *x, int16_t *y, int n) in arm_resample_24k_12k8() 367 struct lc3_ltpf_hp50_state *hp50, const int16_t *x, int16_t *y, int n) in arm_resample_48k_12k8()
|
H A D | spec.c | 83 enum lc3_dt dt, enum lc3_srate sr, const float *x, in estimate_gain() 252 enum lc3_dt dt, enum lc3_srate sr, int g_int, float *x, int *n) in quantize() 279 int g_int, float *x, int nq) in unquantize() 325 const float *x, int *n, int nbits_budget, bool *p_lsb_mode) in compute_nbits() 421 const float *x, int nq, bool lsb_mode) in put_quantized() 499 int nq, bool lsb_mode, float *x, uint16_t *nf_seed) in get_quantized() 575 int nbits, bool hrmode, float *x, int n) in put_residual() 606 int nbits, bool hrmode, float *x, int n) in get_residual() 638 int nbits, bool hrmode, const float *x, int n) in put_lsb() 671 int nbits, float *x, int nq, uint16_t *nf_seed) in get_lsb() [all …]
|
/btstack/port/samv71-xplained-atwilc3000/ASF/sam/utils/ |
H A D | compiler.h | 898 #define BE16(x) Swap16(x) argument 899 #define LE16(x) (x) argument 901 #define le16_to_cpu(x) (x) argument 902 #define cpu_to_le16(x) (x) argument 903 #define LE16_TO_CPU(x) (x) argument 904 #define CPU_TO_LE16(x) (x) argument 906 #define be16_to_cpu(x) Swap16(x) argument 907 #define cpu_to_be16(x) Swap16(x) argument 908 #define BE16_TO_CPU(x) Swap16(x) argument 909 #define CPU_TO_BE16(x) Swap16(x) argument [all …]
|
/btstack/port/renesas-tb-s1ja-cc256x/template/btstack_example/synergy/ssp/src/bsp/mcu/all/ |
H A D | bsp_compiler_support.h | 65 #define BSP_PLACE_IN_SECTION(x) __attribute__ ((section(x))) __attribute__ ((__used__)) argument 69 #define BSP_ALIGN_VARIABLE(x) __attribute__ ((aligned (x))) argument 81 #define BSP_PLACE_IN_SECTION(x) @ x argument 83 #define BSP_ALIGN_VARIABLE(x) argument 90 #define BSP_PLACE_IN_SECTION_V2(x) __attribute__ ((section(x))) __attribute__ ((__used__)) argument 93 #define BSP_ALIGN_VARIABLE_V2(x) __attribute__ ((aligned (x))) argument
|
/btstack/3rd-party/lwip/core/src/netif/ppp/polarssl/ |
H A D | md4.c | 107 #define S(x,n) ((x << n) | ((x & 0xFFFFFFFF) >> (32 - n))) in md4_process() argument 114 #define F(x, y, z) ((x & y) | ((~x) & z)) in md4_process() argument 115 #define P(a,b,c,d,x,s) { a += F(b,c,d) + x; a = S(a,s); } in md4_process() argument 137 #define F(x,y,z) ((x & y) | (x & z) | (y & z)) in md4_process() argument 138 #define P(a,b,c,d,x,s) { a += F(b,c,d) + x + 0x5A827999; a = S(a,s); } in md4_process() argument 160 #define F(x,y,z) (x ^ y ^ z) in md4_process() argument 161 #define P(a,b,c,d,x,s) { a += F(b,c,d) + x + 0x6ED9EBA1; a = S(a,s); } in md4_process() argument
|
H A D | sha1.c | 107 #define S(x,n) ((x << n) | ((x & 0xFFFFFFFF) >> (32 - n))) in sha1_process() argument 116 #define P(a,b,c,d,e,x) \ in sha1_process() argument 127 #define F(x,y,z) (z ^ (x & (y ^ z))) in sha1_process() argument 154 #define F(x,y,z) (x ^ y ^ z) in sha1_process() argument 181 #define F(x,y,z) ((x & y) | (z & (x | y))) in sha1_process() argument 208 #define F(x,y,z) (x ^ y ^ z) in sha1_process() argument
|
/btstack/port/stm32-wb55xx-nucleo-freertos/Middlewares/STM32_WPAN/ble/ |
H A D | ble_common.h | 65 #define MAX( x, y ) (((x)>(y))?(x):(y)) argument 67 #define MIN( x, y ) (((x)<(y))?(x):(y)) argument 88 #define DIVF( x, y ) ((x)/(y)) argument 90 #define DIVC( x, y ) (((x)+(y)-1)/(y)) argument 92 #define DIVR( x, y ) (((x)+((y)/2))/(y)) argument 94 #define SHRR( x, n ) ((((x)>>((n)-1))+1)>>1) argument
|
/btstack/port/stm32-f4discovery-usb/Drivers/CMSIS/Core_A/Include/ |
H A D | cmsis_compiler.h | 93 #define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v) argument 96 #define __ALIGNED(x) __attribute__((aligned(x))) argument 139 #define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v) argument 142 #define __ALIGNED(x) __align(x) argument 184 #define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v) argument 188 #define __ALIGNED(x) argument
|
/btstack/port/stm32-wb55xx-nucleo-freertos/Middlewares/STM32_WPAN/ |
H A D | stm32_wpan_common.h | 88 #define MAX( x, y ) (((x)>(y))?(x):(y)) argument 91 #define MIN( x, y ) (((x)<(y))?(x):(y)) argument 118 #define DIVF( x, y ) ((x)/(y)) argument 121 #define DIVC( x, y ) (((x)+(y)-1)/(y)) argument 124 #define DIVR( x, y ) (((x)+((y)/2))/(y)) argument 127 #define SHRR( x, n ) ((((x)>>((n)-1))+1)>>1) argument
|
/btstack/port/stm32-wb55xx-nucleo-freertos/Middlewares/STM32_WPAN/utilities/ |
H A D | utilities_common.h | 75 #define MAX( x, y ) (((x)>(y))?(x):(y)) argument 78 #define MIN( x, y ) (((x)<(y))?(x):(y)) argument 105 #define DIVF( x, y ) ((x)/(y)) argument 108 #define DIVC( x, y ) (((x)+(y)-1)/(y)) argument 111 #define DIVR( x, y ) (((x)+((y)/2))/(y)) argument 114 #define SHRR( x, n ) ((((x)>>((n)-1))+1)>>1) argument
|
/btstack/3rd-party/md5/ |
H A D | md5.c | 51 #define F(x, y, z) ((z) ^ ((x) & ((y) ^ (z)))) argument 52 #define G(x, y, z) ((y) ^ ((z) & ((x) ^ (y)))) argument 53 #define H(x, y, z) (((x) ^ (y)) ^ (z)) argument 54 #define H2(x, y, z) ((x) ^ ((y) ^ (z))) argument 55 #define I(x, y, z) ((y) ^ ((x) | ~(z))) argument 60 #define STEP(f, a, b, c, d, x, t, s) \ argument
|
/btstack/3rd-party/bluedroid/decoder/include/ |
H A D | oi_codec_sbc_private.h | 46 #define ERROR(x) do { printf x; printf("\n"); } while (0) argument 48 #define ERROR(x) argument 53 #define TRACE(x) do { printf x; printf("\n"); } while (0) argument 55 #define TRACE(x) argument 113 #define VALID_INT16(x) (((x) >= OI_INT16_MIN) && ((x) <= OI_INT16_MAX)) argument 114 #define VALID_INT32(x) (((x) >= OI_INT32_MIN) && ((x) <= OI_INT32_MAX)) argument
|
/btstack/port/renesas-ek-ra6m4a-da14531/e2-project/ra/fsp/src/bsp/mcu/all/ |
H A D | bsp_tfu.h | 211 #define sinf(x) __sinf(x) argument 212 #define cosf(x) __cosf(x) argument 213 #define atan2f(y, x) __atan2f(y, x) argument 214 #define hypotf(x, y) __hypotf(x, y) argument 215 #define atan2hypotf(y, x, a, h) __atan2hypotf(y, x, a, h) argument
|
/btstack/port/renesas-tb-s1ja-cc256x/template/btstack_example/synergy/ssp/inc/bsp/cmsis/Include/ |
H A D | cmsis_compiler.h | 111 #define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v) argument 131 #define __ALIGNED(x) argument 196 #define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v) argument 215 #define __ALIGNED(x) __attribute__((aligned(x))) argument 262 #define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v) argument 281 #define __ALIGNED(x) __align(x) argument 326 #define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v) argument 346 #define __ALIGNED(x) argument
|
/btstack/3rd-party/bluedroid/decoder/srce/ |
H A D | synthesis-dct8.c | 50 #define SCALE(x, y) (((x) + (1 <<((y)-1))) >> (y)) argument 85 #define FIX(x,bits) (((int)floor(0.5f+((x)*((float)(1<<bits)))))/((float)(1<<bits))) in float_dct2_8() argument 86 #define FLOAT_BUTTERFLY(x,y) x += y; y = x - (y*2); OI_ASSERT(VALID_INT32(x)); OI_ASSERT(VALID_INT3… in float_dct2_8() argument 88 #define FLOAT_SCALE(x, y) (((x) / (double)(1 << (y)))) in float_dct2_8() argument 213 #define BUTTERFLY(x,y) x += y; y = x - (y<<1); in dct2_8() argument 214 #define FIX_MULT_DCT(K, x) (MUL_32S_32S_HI(K,x)<<2) in dct2_8() argument
|
/btstack/3rd-party/lc3-google/test/ |
H A D | ltpf.py | 40 def resample(self, x): argument 98 def resample(self, x): argument 163 def correlate(self, x, i0, n, k0, k1): argument 169 def norm_corr(self, x, i0, n, k): argument 176 def run(self, x): argument 332 def run(self, x, nbytes): argument
|
/btstack/port/archive/msp-exp430f5438-cc2564b/firmware/ |
H A D | hal_lcd.c | 465 void halLcdPixel( int x, int y, unsigned char GrayScale) in halLcdPixel() 535 void halLcdImage(const unsigned int Image[], int Columns, int Rows, int x, int y) in halLcdImage() 563 void halLcdClearImage(int Columns, int Rows, int x, int y) in halLcdClearImage() 709 void halLcdPrintXY( char String[], int x, int y, unsigned char TextStyle) in halLcdPrintXY() 783 int x_dir, x; in halLcdHLine() local 809 void halLcdVLine( int x, int y1, int y2, unsigned char GrayScale) in halLcdVLine() 843 int x, y, deltay, deltax, d; in halLcdLine() local 916 void halLcdCircle(int x, int y, int Radius, int GrayScale) in halLcdCircle()
|