| /components/drivers/usb/cherryusb/port/chipidea/ |
| A D | usb_chipidea_reg.h | 430 #define USB_USBCMD_RS_SET(x) (((uint32_t)(x) << USB_USBCMD_RS_SHIFT) & USB_USBCMD_RS_MASK) argument 431 #define USB_USBCMD_RS_GET(x) (((uint32_t)(x) & USB_USBCMD_RS_MASK) >> USB_USBCMD_RS_SHIFT) argument 515 #define USB_USBSTS_AS_GET(x) (((uint32_t)(x) & USB_USBSTS_AS_MASK) >> USB_USBSTS_AS_SHIFT) argument 529 #define USB_USBSTS_PS_GET(x) (((uint32_t)(x) & USB_USBSTS_PS_MASK) >> USB_USBSTS_PS_SHIFT) argument 689 #define USB_USBSTS_UI_SET(x) (((uint32_t)(x) << USB_USBSTS_UI_SHIFT) & USB_USBSTS_UI_MASK) argument 690 #define USB_USBSTS_UI_GET(x) (((uint32_t)(x) & USB_USBSTS_UI_MASK) >> USB_USBSTS_UI_SHIFT) argument 1589 #define USB_OTGSC_ID_GET(x) (((uint32_t)(x) & USB_OTGSC_ID_MASK) >> USB_OTGSC_ID_SHIFT) argument 1613 #define USB_OTGSC_VC_SET(x) (((uint32_t)(x) << USB_OTGSC_VC_SHIFT) & USB_OTGSC_VC_MASK) argument 1614 #define USB_OTGSC_VC_GET(x) (((uint32_t)(x) & USB_OTGSC_VC_MASK) >> USB_OTGSC_VC_SHIFT) argument 1625 #define USB_OTGSC_VD_SET(x) (((uint32_t)(x) << USB_OTGSC_VD_SHIFT) & USB_OTGSC_VD_MASK) argument [all …]
|
| /components/drivers/include/drivers/ |
| A D | byteorder.h | 29 #define rt_cpu_to_be16(x) (x) argument 30 #define rt_cpu_to_be32(x) (x) argument 31 #define rt_cpu_to_be64(x) (x) argument 32 #define rt_be16_to_cpu(x) (x) argument 33 #define rt_be32_to_cpu(x) (x) argument 34 #define rt_be64_to_cpu(x) (x) argument 48 #define rt_le16_to_cpu(x) (x) argument 49 #define rt_le32_to_cpu(x) (x) argument 50 #define rt_le64_to_cpu(x) (x) argument 51 #define rt_cpu_to_le16(x) (x) argument [all …]
|
| /components/net/lwip/lwip-2.0.3/src/include/lwip/ |
| A D | def.h | 75 #define lwip_htons(x) (x) argument 76 #define lwip_ntohs(x) (x) argument 77 #define lwip_htonl(x) (x) argument 78 #define lwip_ntohl(x) (x) argument 79 #define PP_HTONS(x) (x) argument 80 #define PP_NTOHS(x) (x) argument 81 #define PP_HTONL(x) (x) argument 82 #define PP_NTOHL(x) (x) argument 108 #define htons(x) lwip_htons(x) argument 109 #define ntohs(x) lwip_ntohs(x) argument [all …]
|
| A D | stats.h | 328 #define TCP_STATS_INC(x) argument 336 #define UDP_STATS_INC(x) argument 344 #define ICMP_STATS_INC(x) argument 352 #define IGMP_STATS_INC(x) argument 360 #define IP_STATS_INC(x) argument 384 #define LINK_STATS_INC(x) argument 396 #define MEM_STATS_INC(x) argument 418 #define SYS_STATS_INC(x) argument 419 #define SYS_STATS_DEC(x) argument 428 #define IP6_STATS_INC(x) argument [all …]
|
| A D | arch.h | 79 #define LWIP_PLATFORM_DIAG(x) do {printf x;} while(0) argument 90 #define LWIP_PLATFORM_ASSERT(x) do {printf("Assertion \"%s\" failed at line %d in %s\n", \ argument 273 #define PACK_STRUCT_FIELD(x) x argument 282 #define PACK_STRUCT_FLD_8(x) PACK_STRUCT_FIELD(x) argument 291 #define PACK_STRUCT_FLD_S(x) PACK_STRUCT_FIELD(x) argument 308 #define LWIP_UNUSED_ARG(x) (void)x argument
|
| /components/net/lwip/lwip-2.1.2/src/include/lwip/ |
| A D | def.h | 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 92 #define PP_HTONL(x) ((u32_t)(x)) argument 119 #define htons(x) lwip_htons(x) argument 120 #define ntohs(x) lwip_ntohs(x) argument 121 #define htonl(x) lwip_htonl(x) argument [all …]
|
| A D | stats.h | 328 #define TCP_STATS_INC(x) argument 336 #define UDP_STATS_INC(x) argument 344 #define ICMP_STATS_INC(x) argument 352 #define IGMP_STATS_INC(x) argument 360 #define IP_STATS_INC(x) argument 384 #define LINK_STATS_INC(x) argument 396 #define MEM_STATS_INC(x) argument 418 #define SYS_STATS_INC(x) argument 419 #define SYS_STATS_DEC(x) argument 428 #define IP6_STATS_INC(x) argument [all …]
|
| /components/net/lwip/lwip-1.4.1/src/include/lwip/ |
| 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 …]
|
| 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 …]
|
| /components/drivers/usb/cherryusb/port/kinetis/ |
| A D | usb_kinetis_reg.h | 88 #define USB_PERID_ID(x) (((uint8_t)(((uint8_t)(x)) << USB_PERID_ID_SHIFT)) & USB_PERID_ID_MASK) argument 97 #define USB_IDCOMP_NID(x) (((uint8_t)(((uint8_t)(x)) << USB_IDCOMP_NID_SHIFT)) & USB_IDCOMP_NID_MAS… argument 106 #define USB_REV_REV(x) (((uint8_t)(((uint8_t)(x)) << USB_REV_REV_SHIFT)) & USB_REV_REV_MASK) argument 532 #define USB_STAT_ODD(x) (((uint8_t)(((uint8_t)(x)) << USB_STAT_ODD_SHIFT)) & USB_STAT_ODD_MASK) argument 540 #define USB_STAT_TX(x) (((uint8_t)(((uint8_t)(x)) << USB_STAT_TX_SHIFT)) & USB_STAT_TX_MASK) argument 545 #define USB_STAT_ENDP(x) (((uint8_t)(((uint8_t)(x)) << USB_STAT_ENDP_SHIFT)) & USB_STAT_ENDP_MASK) argument 562 #define USB_CTL_ODDRST(x) (((uint8_t)(((uint8_t)(x)) << USB_CTL_ODDRST_SHIFT)) & USB_CTL_ODDRST_MAS… argument 583 #define USB_CTL_RESET(x) (((uint8_t)(((uint8_t)(x)) << USB_CTL_RESET_SHIFT)) & USB_CTL_RESET_MASK) argument 593 #define USB_CTL_SE0(x) (((uint8_t)(((uint8_t)(x)) << USB_CTL_SE0_SHIFT)) & USB_CTL_SE0_MASK) argument 607 #define USB_ADDR_ADDR(x) (((uint8_t)(((uint8_t)(x)) << USB_ADDR_ADDR_SHIFT)) & USB_ADDR_ADDR_MASK) argument [all …]
|
| /components/legacy/fdt/libfdt/ |
| A D | libfdt_env.h | 73 #define EXTRACT_BYTE(x, n) ((unsigned long long)((uint8_t *)&x)[n]) argument 74 #define CPU_TO_FDT16(x) ((EXTRACT_BYTE(x, 0) << 8) | EXTRACT_BYTE(x, 1)) argument 75 #define CPU_TO_FDT32(x) ((EXTRACT_BYTE(x, 0) << 24) | (EXTRACT_BYTE(x, 1) << 16) | \ argument 77 #define CPU_TO_FDT64(x) ((EXTRACT_BYTE(x, 0) << 56) | (EXTRACT_BYTE(x, 1) << 48) | \ argument 82 static inline uint16_t fdt16_to_cpu(fdt16_t x) in fdt16_to_cpu() 86 static inline fdt16_t cpu_to_fdt16(uint16_t x) in cpu_to_fdt16() 91 static inline uint32_t fdt32_to_cpu(fdt32_t x) in fdt32_to_cpu() 95 static inline fdt32_t cpu_to_fdt32(uint32_t x) in cpu_to_fdt32() 100 static inline uint64_t fdt64_to_cpu(fdt64_t x) in fdt64_to_cpu() 104 static inline fdt64_t cpu_to_fdt64(uint64_t x) in cpu_to_fdt64()
|
| /components/drivers/ofw/libfdt/ |
| A D | libfdt_env.h | 33 #define EXTRACT_BYTE(x, n) ((unsigned long long)((uint8_t *)&x)[n]) argument 34 #define CPU_TO_FDT16(x) ((EXTRACT_BYTE(x, 0) << 8) | EXTRACT_BYTE(x, 1)) argument 35 #define CPU_TO_FDT32(x) ((EXTRACT_BYTE(x, 0) << 24) | (EXTRACT_BYTE(x, 1) << 16) | \ argument 37 #define CPU_TO_FDT64(x) ((EXTRACT_BYTE(x, 0) << 56) | (EXTRACT_BYTE(x, 1) << 48) | \ argument 42 static inline uint16_t fdt16_to_cpu(fdt16_t x) in fdt16_to_cpu() 46 static inline fdt16_t cpu_to_fdt16(uint16_t x) in cpu_to_fdt16() 51 static inline uint32_t fdt32_to_cpu(fdt32_t x) in fdt32_to_cpu() 55 static inline fdt32_t cpu_to_fdt32(uint32_t x) in cpu_to_fdt32() 60 static inline uint64_t fdt64_to_cpu(fdt64_t x) in fdt64_to_cpu() 64 static inline fdt64_t cpu_to_fdt64(uint64_t x) in cpu_to_fdt64()
|
| /components/legacy/usb/usbdevice/class/ |
| A D | hid.h | 113 #define HID_Input(x) 0x81,x argument 114 #define HID_Output(x) 0x91,x argument 115 #define HID_Feature(x) 0xB1,x argument 116 #define HID_Collection(x) 0xA1,x argument 120 #define HID_Usage(x) 0x09,x argument 121 #define HID_UsageMin(x) 0x19,x argument 122 #define HID_UsageMax(x) 0x29,x argument 125 #define HID_UsagePage(x) 0x05,x argument 127 #define HID_LogicalMin(x) 0x15,x argument 130 #define HID_LogicalMax(x) 0x25,x argument [all …]
|
| /components/net/lwip/lwip-2.1.2/test/unit/ |
| A D | lwip_check.h | 11 #define EXPECT(x) fail_unless(x) argument 12 #define EXPECT_RET(x) do { fail_unless(x); if(!(x)) { return; }} while(0) argument 13 #define EXPECT_RETX(x, y) do { fail_unless(x); if(!(x)) { return y; }} while(0) argument 14 #define EXPECT_RETNULL(x) EXPECT_RETX(x, NULL) argument 21 #define TESTFUNC(x) {(x), "" # x "" } argument 38 #define SKIP_POOL(x) (1 << x) argument
|
| /components/drivers/sdio/sdhci/include/ |
| A D | sdhci_misc.h | 15 #define __bf_shf(x) (__builtin_ffsll(x) - 1) argument 30 #define min_t(type, x, y) (((type)x < (type)y) ? x : y) argument 31 #define max_t(type, x, y) (((type)x > (type)y) ? x : y) argument 32 #define min(x, y) ((x) < (y) ? (x) : (y)) argument 38 #define le32_to_cpu(x) (x) argument 39 #define le16_to_cpu(x) (x) argument 40 #define cpu_to_le16(x) (x) argument 41 #define cpu_to_le32(x) (x) argument
|
| /components/net/lwip/lwip-2.0.3/test/unit/ |
| A D | lwip_check.h | 11 #define EXPECT(x) fail_unless(x) argument 12 #define EXPECT_RET(x) do { fail_unless(x); if(!(x)) { return; }} while(0) argument 13 #define EXPECT_RETX(x, y) do { fail_unless(x); if(!(x)) { return y; }} while(0) argument 14 #define EXPECT_RETNULL(x) EXPECT_RETX(x, NULL) argument 21 #define TESTFUNC(x) {(x), "" # x "" } argument
|
| /components/net/lwip/lwip-1.4.1/src/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 …]
|
| /components/net/lwip/port/arch/ |
| A D | cc.h | 78 #define PACK_STRUCT_FIELD(x) x argument 83 #define PACK_STRUCT_FIELD(x) x argument 91 #define PACK_STRUCT_FIELD(x) x argument 94 #define PACK_STRUCT_FIELD(x) x argument 99 #define PACK_STRUCT_FIELD(x) x argument 107 #define LWIP_PLATFORM_DIAG(x) do {rt_kprintf x;} while(0) argument 108 #define LWIP_PLATFORM_ASSERT(x) do {rt_kprintf(x); sys_arch_assert(__FILE__, __LINE__);}while(0) argument
|
| /components/net/lwip/lwip-1.4.1/test/unit/ |
| A D | lwip_check.h | 11 #define EXPECT(x) fail_unless(x) argument 12 #define EXPECT_RET(x) do { fail_unless(x); if(!(x)) { return; }} while(0) argument 13 #define EXPECT_RETX(x, y) do { fail_unless(x); if(!(x)) { return y; }} while(0) argument 14 #define EXPECT_RETNULL(x) EXPECT_RETX(x, NULL) argument
|
| /components/lwp/vdso/user/arch/risc-v/ |
| A D | vdso_sys.h | 24 #define likely(x) __builtin_expect(!!(x), 1) argument 25 #define unlikely(x) __builtin_expect(!!(x), 0) argument 58 #define __RT_STRINGIFY(x...) #x argument 59 #define RT_STRINGIFY(x...) __RT_STRINGIFY(x) argument 107 #define __READ_ONCE(x, check) \ argument 118 #define READ_ONCE(x) __READ_ONCE(x, 1) argument
|
| /components/lwp/vdso/user/arch/aarch64/ |
| A D | vdso_sys.h | 23 #define likely(x) __builtin_expect(!!(x), 1) argument 24 #define unlikely(x) __builtin_expect(!!(x), 0) argument 75 #define __RT_STRINGIFY(x...) #x argument 76 #define RT_STRINGIFY(x...) __RT_STRINGIFY(x) argument 116 #define __READ_ONCE(x, check) \ argument 124 #define READ_ONCE(x) __READ_ONCE(x, 1) argument
|
| /components/dfs/dfs_v1/filesystems/nfs/rpc/ |
| A D | auth_none.c | 117 static void authnone_verf(AUTH *x) in authnone_verf() 121 static bool_t authnone_validate(AUTH *x, struct opaque_auth *x1) in authnone_validate() 127 static bool_t authnone_refresh(AUTH *x) in authnone_refresh() 133 static void authnone_destroy(AUTH *x) in authnone_destroy()
|
| /components/net/lwip/lwip-2.1.2/src/netif/ppp/polarssl/ |
| 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
|
| /components/net/lwip/lwip-2.0.3/src/netif/ppp/polarssl/ |
| 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
|
| /components/drivers/usb/cherryusb/common/ |
| A D | usb_util.h | 26 #define __ALIGNED(x) __attribute__((aligned(x))) argument 45 #define __ALIGNED(x) __attribute__((aligned(x))) argument 99 #define __ALIGNED(x) __attribute__((aligned(x))) argument 102 #define __ALIGNED(x) __attribute__((aligned(x))) argument 105 #define __ALIGNED(x) argument 119 #define ARG_UNUSED(x) (void)(x) argument 123 #define LO_BYTE(x) ((uint8_t)(x & 0x00FF)) argument 127 #define HI_BYTE(x) ((uint8_t)((x & 0xFF00) >> 8)) argument 139 #define BCD(x) ((((x) / 10) << 4) | ((x) % 10)) argument 188 #define WBVAL(x) (x & 0xFF), ((x >> 8) & 0xFF) argument [all …]
|