Searched refs:x (Results 1 – 7 of 7) sorted by relevance
/hal_telink-3.7.0/tlsr9/ble/common/ |
D | assert.h | 39 #define _STRINGIFY(x) #x argument 40 #define STRINGIFY(x) _STRINGIFY(x) argument 43 #define COMPILE_MESSAGE(x) _Pragma (#x) argument 48 #define TODO(x) COMPILE_MESSAGE(message ("--TODO-- " #x)) argument 50 #define TODO(x) __pragma(message("--TODO-- "_STRINGIFY(x) " ::function: " __FUNCTION__ "@"STRINGIFY… argument 53 #define TODO(x) argument 58 #define WARN(x) COMPILE_MESSAGE(message ("--WARN-- " #x)) argument 60 #define WARN(x) __pragma(message("--WARN-- "_STRINGIFY(x) " ::function: " __FUNCTION__ "@"STRINGIFY… argument 63 #define WARN(x) argument 68 #define NOTE(x) COMPILE_MESSAGE(message ("--NOTE-- " #x)) argument [all …]
|
D | utility.h | 51 #define ROUND_INT(x, r) (((x) + (r) - 1) / (r) * (r)) argument 52 #define ROUND_TO_POW2(x, r) (((x) + (r) - 1) & ~((r) - 1)) argument 79 #define BOUND(x, l, m) ((x) < (l) ? (l) : ((x) > (m) ? (m) : (x))) argument 80 #define SET_BOUND(x, l, m) ((x) = BOUND(x, l, m)) argument 81 #define BOUND_INC(x, m) do{++(x); (x) = (x) < (m) ? (x) :0;} while(0) argument 82 #define BOUND_INC_POW2(x, m) do{ \ argument 83 (x) = ((x)+1) & (m-1); \ 86 #define IS_POWER_OF_2(x) (!(x & (x-1))) argument 88 #define IS_4BYTE_ALIGN(x) (!(x & 3)) argument 90 #define IMPLIES(x, y) (!(x) || (y)) argument [all …]
|
D | macro_trick.h | 37 #define MACRO_GLUE(x, y) x y argument
|
/hal_telink-3.7.0/tlsr9/ble/vendor/controller/ |
D | b91_bt_buffer.h | 37 #define ALIGN(x, order) \ argument 38 (((x) % (1 << (order))) == 0 ? (x) : ((((x) >> (order)) << (order)) + (1 << order))) 42 #define NPOT2(x) ((x) | ((x) >> 1)) argument 43 #define NPOT4(x) (NPOT2(x) | (NPOT2(x) >> 2)) argument 44 #define NPOT8(x) (NPOT4(x) | (NPOT4(x) >> 4)) argument 45 #define NPOT16(x) (NPOT8(x) | (NPOT8(x) >> 8)) argument 46 #define NPOT32(x) (NPOT16(x) | (NPOT16(x) >> 16)) argument 47 #define NEXT_POWER_OF_2(x) (NPOT32(x - 1) + 1) argument 51 #define CAL_LL_ACL_BUF_NUM(x) (x <= 9 ? 9 : x <= 17 ? 17 : 33) argument
|
/hal_telink-3.7.0/tlsr9/common/ |
D | bit.h | 36 #define BM_CLR_MASK_V(x, mask) ( (x) & ~(mask) ) argument 39 #define BM_SET(x, mask) ( (x) |= (mask) ) argument 40 #define BM_CLR(x, mask) ( (x) &= ~(mask) ) argument 41 #define BM_IS_SET(x, mask) ( (x) & (mask) ) argument 42 #define BM_IS_CLR(x, mask) ( (~x) & (mask) ) argument 43 #define BM_FLIP(x, mask) ( (x) ^= (mask) ) argument 79 #define MACRO_GLUE(x, y) x y argument
|
/hal_telink-3.7.0/tlsr9/ble/algorithm/crypto/ |
D | crypto_alg.h | 77 … (unsigned char *r, unsigned char u[32], unsigned char v[32], unsigned char x[16], unsigned char z… 88 unsigned int blt_crypto_alg_g2 (unsigned char u[32], unsigned char v[32], unsigned char x[16], unsi…
|
/hal_telink-3.7.0/tlsr9/drivers/B91/ext_driver/ |
D | ext_misc.h | 185 #define sleep_us(x) delay_us(x) argument 186 #define sleep_ms(x) delay_ms(x) argument
|