/lk-master/external/lib/lwip/include/lwip/ |
A D | stats.h | 171 #define TCP_STATS_INC(x) argument 179 #define UDP_STATS_INC(x) argument 187 #define ICMP_STATS_INC(x) argument 195 #define IGMP_STATS_INC(x) argument 203 #define IP_STATS_INC(x) argument 211 #define IPFRAG_STATS_INC(x) argument 219 #define ETHARP_STATS_INC(x) argument 227 #define LINK_STATS_INC(x) argument 239 #define MEM_STATS_INC(x) argument 265 #define SYS_STATS_INC(x) argument [all …]
|
A D | def.h | 77 #define htons(x) lwip_htons(x) argument 78 #define ntohs(x) lwip_ntohs(x) argument 79 #define htonl(x) lwip_htonl(x) argument 84 #define lwip_htons(x) (x) argument 85 #define lwip_ntohs(x) (x) argument 86 #define lwip_htonl(x) (x) argument 87 #define lwip_ntohl(x) (x) argument 88 #define PP_HTONS(x) (x) argument 89 #define PP_NTOHS(x) (x) argument 90 #define PP_HTONL(x) (x) argument [all …]
|
/lk-master/top/include/lk/ |
A D | bits.h | 16 #define clz(x) __builtin_clz(x) argument 17 #define ctz(x) __builtin_ctz(x) argument 18 #define ffs(x) __builtin_ffs(x) argument 20 #define BIT(x, bit) ((x) & (1UL << (bit))) argument 21 #define BIT_SHIFT(x, bit) (((x) >> (bit)) & 1) argument 24 #define BIT_SET(x, bit) (((x) & (1UL << (bit))) ? 1 : 0) argument 28 #define BITMAP_WORD(x) ((x) / BITMAP_BITS_PER_WORD) argument 29 #define BITMAP_BIT_IN_WORD(x) ((x) & (BITMAP_BITS_PER_WORD - 1)) argument 32 #define BITMAP_BIT_IN_INT(x) ((x) & (BITMAP_BITS_PER_INT - 1)) argument 33 #define BITMAP_INT(x) ((x) / BITMAP_BITS_PER_INT) argument [all …]
|
A D | compiler.h | 17 #define likely(x) __builtin_expect(!!(x), 1) argument 22 #define __ALIGNED(x) __attribute__((aligned(x))) argument 80 #define __NONNULL(x) argument 138 #define __THREAD_ANNOTATION(x) argument 139 #define __has_feature(x) 0 argument 142 #define __OPTIMIZE(x) argument 163 #define likely(x) (x) argument 164 #define unlikely(x) (x) argument 167 #define __ALIGNED(x) argument 170 #define __SECTION(x) argument [all …]
|
A D | asm.h | 10 #define FUNCTION(x) .global x; .type x,STT_FUNC; x: argument 11 #define DATA(x) .global x; .type x,STT_OBJECT; x: argument 13 #define LOCAL_FUNCTION(x) .type x,STT_FUNC; x: argument 14 #define LOCAL_DATA(x) .type x,STT_OBJECT; x: argument 16 #define END_FUNCTION(x) .size x, . - x argument 17 #define END_DATA(x) .size x, . - x argument
|
/lk-master/lib/bytes/include/lib/ |
A D | bytes.h | 14 #define bytes_read_u16(x) bytes_read_u16_be(x) argument 15 #define bytes_read_u24(x) bytes_read_u24_be(x) argument 16 #define bytes_read_u32(x) bytes_read_u32_be(x) argument 17 #define bytes_write_u16(x, y) bytes_write_u16_be(x, y) argument 18 #define bytes_write_u24(x, y) bytes_write_u24_be(x, y) argument 19 #define bytes_write_u32(x, y) bytes_write_u32_be(x, y) argument 21 #define bytes_read_u16(x) bytes_read_u16_le(x) argument 22 #define bytes_read_u24(x) bytes_read_u24_le(x) argument 23 #define bytes_read_u32(x) bytes_read_u32_le(x) argument 24 #define bytes_write_u16(x, y) bytes_write_u16_le(x, y) argument [all …]
|
/lk-master/external/platform/pico/rp2_common/pico_double/ |
A D | double_math.c | 42 static inline bool disnan(double x) { in disnan() 52 #define check_nan_d1(x) ((void)0) argument 53 #define check_nan_d2(x,y) ((void)0) argument 56 static inline int dgetsignexp(double x) { in dgetsignexp() 61 static inline int dgetexp(double x) { in dgetexp() 101 static inline int disint(double x) { in disint() 114 static inline int disoddint(double x) { in disoddint() 133 static inline int disneg(double x) { in disneg() 138 static inline double dneg(double x) { in dneg() 144 static inline int dispo2(double x) { in dispo2() [all …]
|
/lk-master/external/lib/libm/include/ |
A D | math.h | 85 #define fpclassify(x) \ argument 90 #define isfinite(x) \ argument 94 #define isinf(x) \ argument 98 #define isnan(x) \ argument 102 #define isnormal(x) \ argument 108 #define isgreater(x, y) __builtin_isgreater((x), (y)) argument 110 #define isless(x, y) __builtin_isless((x), (y)) argument 111 #define islessequal(x, y) __builtin_islessequal((x), (y)) argument 119 #define islessgreater(x, y) (!isunordered((x), (y)) && \ argument 121 #define isunordered(x, y) (isnan(x) || isnan(y)) argument [all …]
|
/lk-master/external/platform/pico/rp2_common/pico_float/ |
A D | float_math.c | 40 static inline bool fisnan(float x) { in fisnan() 49 #define check_nan_f1(x) ((void)0) argument 50 #define check_nan_f2(x,y) ((void)0) argument 53 static inline int fgetsignexp(float x) { in fgetsignexp() 58 static inline int fgetexp(float x) { in fgetexp() 98 static inline int fisint(float x) { in fisint() 111 static inline int fisoddint(float x) { in fisoddint() 130 static inline int fisneg(float x) { in fisneg() 135 static inline float fneg(float x) { in fneg() 141 static inline int fispo2(float x) { in fispo2() [all …]
|
/lk-master/external/lib/fdt/include/ |
A D | libfdt_env.h | 29 #define EXTRACT_BYTE(x, n) ((unsigned long long)((uint8_t *)&x)[n]) argument 30 #define CPU_TO_FDT16(x) ((EXTRACT_BYTE(x, 0) << 8) | EXTRACT_BYTE(x, 1)) argument 31 #define CPU_TO_FDT32(x) ((EXTRACT_BYTE(x, 0) << 24) | (EXTRACT_BYTE(x, 1) << 16) | \ argument 33 #define CPU_TO_FDT64(x) ((EXTRACT_BYTE(x, 0) << 56) | (EXTRACT_BYTE(x, 1) << 48) | \ argument 38 static inline uint16_t fdt16_to_cpu(fdt16_t x) in fdt16_to_cpu() 42 static inline fdt16_t cpu_to_fdt16(uint16_t x) in cpu_to_fdt16() 47 static inline uint32_t fdt32_to_cpu(fdt32_t x) in fdt32_to_cpu() 51 static inline fdt32_t cpu_to_fdt32(uint32_t x) in cpu_to_fdt32() 56 static inline uint64_t fdt64_to_cpu(fdt64_t x) in fdt64_to_cpu() 60 static inline fdt64_t cpu_to_fdt64(uint64_t x) in cpu_to_fdt64()
|
/lk-master/lib/libc/include/ |
A D | assert.h | 17 #define ASSERT(x) \ argument 27 #define ASSERT_MSG(x, msg, msgargs...) \ argument 44 #define DEBUG_ASSERT(x) \ argument 55 #define DEBUG_ASSERT_MSG(x, msg, msgargs...) \ argument 65 #define DEBUG_ASSERT_COND(x) DEBUG_ASSERT(x) argument 66 #define DEBUG_ASSERT_MSG_COND(x, msg, msgargs...) DEBUG_ASSERT_MSG(x, msg, msgargs) argument 68 #define DEBUG_ASSERT_COND(x) \ argument 71 #define DEBUG_ASSERT_MSG_COND(x, msg, msgargs...) \ argument 84 #define assert(x) DEBUG_ASSERT(x) argument
|
/lk-master/external/platform/lpc15xx/lpcopen/lpc_chip_15xx/inc/usbd/ |
A D | usbd_hid.h | 364 #define HID_Input(x) 0x81,x argument 365 #define HID_Output(x) 0x91,x argument 366 #define HID_Feature(x) 0xB1,x argument 367 #define HID_Collection(x) 0xA1,x argument 398 #define HID_UsagePage(x) 0x05,x argument 400 #define HID_LogicalMin(x) 0x15,x argument 403 #define HID_LogicalMax(x) 0x25,x argument 406 #define HID_PhysicalMin(x) 0x35,x argument 409 #define HID_PhysicalMax(x) 0x45,x argument 412 #define HID_UnitExponent(x) 0x55,x argument [all …]
|
/lk-master/external/lib/lwip/netif/ppp/ |
A D | md5.c | 73 #define F(x, y, z) (((x) & (y)) | ((~x) & (z))) argument 74 #define G(x, y, z) (((x) & (z)) | ((y) & (~z))) argument 75 #define H(x, y, z) ((x) ^ (y) ^ (z)) argument 76 #define I(x, y, z) ((y) ^ ((x) | (~z))) argument 83 #define FF(a, b, c, d, x, s, ac) \ argument 88 #define GG(a, b, c, d, x, s, ac) \ argument 93 #define HH(a, b, c, d, x, s, ac) \ argument 98 #define II(a, b, c, d, x, s, ac) \ argument 105 #define UL(x) x##UL argument 108 #define UL(x) x##UL argument [all …]
|
/lk-master/platform/mediatek/mt6735/include/platform/ |
A D | mt_typedefs.h | 112 #define INREG8(x) READ_REGISTER_UINT8((unsigned char *)(x)) argument 114 #define SETREG8(x, y) OUTREG8(x, INREG8(x)|(y)) argument 115 #define CLRREG8(x, y) OUTREG8(x, INREG8(x)&~(y)) argument 116 #define MASKREG8(x, y, z) OUTREG8(x, (INREG8(x)&~(y))|(z)) argument 120 #define SETREG16(x, y) OUTREG16(x, INREG16(x)|(y)) argument 121 #define CLRREG16(x, y) OUTREG16(x, INREG16(x)&~(y)) argument 122 #define MASKREG16(x, y, z) OUTREG16(x, (INREG16(x)&~(y))|(z)) argument 124 #define INREG32(x) READ_REGISTER_UINT32((unsigned int *)(x)) argument 126 #define SETREG32(x, y) OUTREG32(x, INREG32(x)|(y)) argument 127 #define CLRREG32(x, y) OUTREG32(x, INREG32(x)&~(y)) argument [all …]
|
/lk-master/platform/mediatek/mt6797/include/platform/ |
A D | mt_typedefs.h | 113 #define INREG8(x) READ_REGISTER_UINT8((unsigned char *)(x)) argument 115 #define SETREG8(x, y) OUTREG8(x, INREG8(x)|(y)) argument 116 #define CLRREG8(x, y) OUTREG8(x, INREG8(x)&~(y)) argument 117 #define MASKREG8(x, y, z) OUTREG8(x, (INREG8(x)&~(y))|(z)) argument 121 #define SETREG16(x, y) OUTREG16(x, INREG16(x)|(y)) argument 122 #define CLRREG16(x, y) OUTREG16(x, INREG16(x)&~(y)) argument 123 #define MASKREG16(x, y, z) OUTREG16(x, (INREG16(x)&~(y))|(z)) argument 125 #define INREG32(x) READ_REGISTER_UINT32((unsigned int *)(x)) argument 127 #define SETREG32(x, y) OUTREG32(x, INREG32(x)|(y)) argument 128 #define CLRREG32(x, y) OUTREG32(x, INREG32(x)&~(y)) argument [all …]
|
/lk-master/external/platform/cc13xx/cc13xxware/inc/ |
A D | hw_types.h | 81 #define HWREG(x) \ argument 87 #define HWREGH(x) \ argument 93 #define HWREGB(x) \ argument 107 #define HWREGBITW(x, b) \ argument 112 #define HWREGBITH(x, b) \ argument 117 #define HWREGBITB(x, b) \ argument
|
/lk-master/external/platform/pico/rp2_common/pico_platform/include/pico/ |
A D | platform.h | 26 #define __not_in_flash_func(x) __not_in_flash(__STRING(x)) x argument 27 #define __no_inline_not_in_flash_func(x) __attribute__((noinline)) __not_in_flash_func(x) argument 35 #define __time_critical_func(x) __not_in_flash_func(x) argument 60 #define host_safe_hw_ptr(x) ((uintptr_t)(x)) argument 89 #define native_safe_hw_ptr(x) ((uintptr_t)(x)) argument 97 #define WRAPPER_FUNC(x) __wrap_ ## x argument 98 #define REAL_FUNC(x) __real_ ## x argument
|
A D | asm_helper.S | 10 #define WRAPPER_FUNC_NAME(x) __wrap_##x argument 11 #define SECTION_NAME(x) .text.##x argument 12 #define RAM_SECTION_NAME(x) .time_critical.##x argument
|
/lk-master/lib/gfx/ |
A D | gfx.c | 112 void gfx_fillrect(gfx_surface *surface, uint x, uint y, uint width, uint height, uint color) { in gfx_fillrect() 136 void gfx_putpixel(gfx_surface *surface, uint x, uint y, uint color) { in gfx_putpixel() 145 static void putpixel16(gfx_surface *surface, uint x, uint y, uint color) { in putpixel16() 152 static void putpixel32(gfx_surface *surface, uint x, uint y, uint color) { in putpixel32() 158 static void putpixel8(gfx_surface *surface, uint x, uint y, uint color) { in putpixel8() 336 uint x = dyabs >> 1; in gfx_line() local 682 uint x, y; in gfx_draw_pattern() local 710 uint x, y; in gfx_draw_pattern_white() local 732 uint32_t color,iter,x,y; in gfx_draw_mandelbrot() local 772 uint x, y; in gfx_draw_rgb_bars() local [all …]
|
/lk-master/external/platform/stellaris/ti-driverlib/inc/ |
A D | hw_types.h | 63 #define HWREG(x) \ argument 65 #define HWREGH(x) \ argument 67 #define HWREGB(x) \ argument 69 #define HWREGBITW(x, b) \ argument 72 #define HWREGBITH(x, b) \ argument 75 #define HWREGBITB(x, b) \ argument
|
/lk-master/external/platform/pico/common/pico_base/include/pico/ |
A D | assert.h | 32 #define PARAM_ASSERTIONS_ENABLED(x) ((PARAM_ASSERTIONS_ENABLED_ ## x || PARAM_ASSERTIONS_ENABLE_ALL… argument 34 #define invalid_params_if(x, test) ({if (PARAM_ASSERTIONS_ENABLED(x)) assert(!(test));}) argument 35 #define valid_params_if(x, test) ({if (PARAM_ASSERTIONS_ENABLED(x)) assert(test);}) argument 36 #define hard_assert_if(x, test) ({if (PARAM_ASSERTIONS_ENABLED(x)) hard_assert(!(test));}) argument
|
/lk-master/external/lib/libm/ |
A D | math_private.h | 303 #define ENTERI(x) argument 304 #define RETURNI(x) RETURNF(x) argument 452 cpackf(float x, float y) in cpackf() 462 cpack(double x, double y) in cpack() 488 irint(double x) in irint() 500 irint(double x) in irint() 512 irintl(long double x) in irintl() 622 #define RETURNP(x) do { \ argument 626 #define RETURNPI(x) do { \ argument 630 #define RETURN2P(x, y) do { \ argument [all …]
|
/lk-master/platform/pc/include/platform/pc/ |
A D | memmap.h | 11 #define REG(x) ((volatile unsigned int *)(x)) argument 12 #define REG_H(x) ((volatile unsigned short *)(x)) argument 13 #define REG_B(x) ((volatile unsigned char *)(x)) argument
|
/lk-master/platform/zynq/include/platform/ |
A D | zynq.h | 356 #define DDRC_CTRL_RDRW_IDLE_GAP(x) ((x & BIT_MASK(7) << 7) argument 358 #define DDRC_STS_OPER_MODE(x) (x & BIT_MASK(3)) argument 365 #define PLL_CFG_PLL_RES(x) ((x & BIT_MASK(4)) << 4) argument 366 #define PLL_CFG_PLL_CP(x) ((x & BIT_MASK(4)) << 8) argument 379 #define ARM_CLK_CTRL_SRCSEL(x) ((x & BIT_MASK(2)) << 4) argument 380 #define ARM_CLK_CTRL_DIVISOR(x) ((x & BIT_MASK(6)) << 8) argument 404 #define CLK_CTRL_SRCSEL(x) ((x & BIT_MASK(2)) << 4) argument 405 #define CLK_CTRL_DIVISOR0(x) ((x & BIT_MASK(6)) << 8) argument 449 #define SDIO0_WP_SEL(x) (x & BIT_MASK(6)) argument 506 #define UART_BRG_DIV(x) (x & BIT_MASK(16)) argument [all …]
|
/lk-master/external/lib/libm/include/sys/ |
A D | cdefs.h | 111 #define __GNUC_PREREQ__(x, y) \ argument 115 #define __GNUC_PREREQ__(x, y) 0 argument 121 #define __static_cast(x,y) static_cast<x>(y) argument 125 #define __static_cast(x,y) (x)y argument
|