| /hal_ti-latest/simplelink/source/ti/devices/msp432p4xx/inc/ |
| 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 …]
|
| /hal_ti-latest/simplelink/source/ti/devices/cc13x2x7_cc26x2x7/driverlib/ |
| D | sw_chacha.c | 20 x[a] = PLUS(x[a],x[b]); x[d] = ROTATE(XOR(x[d],x[a]),16); \ 21 x[c] = PLUS(x[c],x[d]); x[b] = ROTATE(XOR(x[b],x[c]),12); \ 22 x[a] = PLUS(x[a],x[b]); x[d] = ROTATE(XOR(x[d],x[a]), 8); \ 23 x[c] = PLUS(x[c],x[d]); x[b] = ROTATE(XOR(x[b],x[c]), 7); 27 u32 x[16]; in salsa20_wordtobyte() local 30 for (i = 0;i < 16;++i) x[i] = input[i]; in salsa20_wordtobyte() 41 for (i = 0;i < 16;++i) x[i] = PLUS(x[i],input[i]); in salsa20_wordtobyte() 42 for (i = 0;i < 16;++i) U32TO8_LITTLE(output + 4 * i,x[i]); in salsa20_wordtobyte() 53 void ECRYPT_keysetup(ECRYPT_ctx *x,const u8 *k,u32 kbits,u32 ivbits) in ECRYPT_keysetup() argument 57 x->input[4] = U8TO32_LITTLE(k + 0); in ECRYPT_keysetup() [all …]
|
| D | pka.c | 104 #define MAX(x,y) (((x) > (y)) ? (x) : (y)) argument 105 #define MIN(x,y) (((x) < (y)) ? (x) : (y)) argument 106 #define INRANGE(x,y,z) ((x) > (y) && (x) < (z)) argument 143 .x = {.byte = {0x21, 0x1D, 0x5C, 0x11, 0xD6, 0x80, 0x32, 0x34, 181 .x = {.byte = {0x96, 0xc2, 0x98, 0xd8, 0x45, 0x39, 0xa1, 0xf4, 219 .x = {.byte = {0xb7, 0x0a, 0x76, 0x72, 0x38, 0x5e, 0x54, 0x3a, 270 .x = {.byte = {0x66, 0xbd, 0xe5, 0xc2, 0x31, 0x7e, 0x7e, 0xf9, 339 .x = {.byte = {0x62, 0x32, 0xCE, 0x9A, 0xBD, 0x53, 0x44, 0x3A, 377 .x = {.byte = {0x1E, 0xAF, 0xD4, 0x47, 0xE2, 0xB2, 0x87, 0xEF, 427 .x = {.byte = {0x22, 0xF8, 0xB9, 0xBC, 0x09, 0x22, 0x35, 0x8B, [all …]
|
| /hal_ti-latest/simplelink/source/ti/devices/cc13x2_cc26x2/driverlib/ |
| D | sw_chacha.c | 22 x[a] = PLUS(x[a],x[b]); x[d] = ROTATE(XOR(x[d],x[a]),16); \ 23 x[c] = PLUS(x[c],x[d]); x[b] = ROTATE(XOR(x[b],x[c]),12); \ 24 x[a] = PLUS(x[a],x[b]); x[d] = ROTATE(XOR(x[d],x[a]), 8); \ 25 x[c] = PLUS(x[c],x[d]); x[b] = ROTATE(XOR(x[b],x[c]), 7); 29 u32 x[16]; in salsa20_wordtobyte() local 32 for (i = 0;i < 16;++i) x[i] = input[i]; in salsa20_wordtobyte() 43 for (i = 0;i < 16;++i) x[i] = PLUS(x[i],input[i]); in salsa20_wordtobyte() 44 for (i = 0;i < 16;++i) U32TO8_LITTLE(output + 4 * i,x[i]); in salsa20_wordtobyte() 55 void ECRYPT_keysetup(ECRYPT_ctx *x,const u8 *k,u32 kbits,u32 ivbits) in ECRYPT_keysetup() argument 59 x->input[4] = U8TO32_LITTLE(k + 0); in ECRYPT_keysetup() [all …]
|
| D | pka.c | 102 #define MAX(x,y) (((x) > (y)) ? (x) : (y)) argument 103 #define MIN(x,y) (((x) < (y)) ? (x) : (y)) argument 104 #define INRANGE(x,y,z) ((x) > (y) && (x) < (z)) argument 141 .x = {.byte = {0x21, 0x1D, 0x5C, 0x11, 0xD6, 0x80, 0x32, 0x34, 179 .x = {.byte = {0x96, 0xc2, 0x98, 0xd8, 0x45, 0x39, 0xa1, 0xf4, 217 .x = {.byte = {0xb7, 0x0a, 0x76, 0x72, 0x38, 0x5e, 0x54, 0x3a, 268 .x = {.byte = {0x66, 0xbd, 0xe5, 0xc2, 0x31, 0x7e, 0x7e, 0xf9, 337 .x = {.byte = {0x62, 0x32, 0xCE, 0x9A, 0xBD, 0x53, 0x44, 0x3A, 375 .x = {.byte = {0x1E, 0xAF, 0xD4, 0x47, 0xE2, 0xB2, 0x87, 0xEF, 425 .x = {.byte = {0x22, 0xF8, 0xB9, 0xBC, 0x09, 0x22, 0x35, 0x8B, [all …]
|
| /hal_ti-latest/simplelink_lpf3/source/ti/devices/cc23x0r5/driverlib/ |
| D | sw_chacha.c | 20 x[a] = PLUS(x[a], x[b]); \ 21 x[d] = ROTATE(XOR(x[d], x[a]), 16); \ 22 x[c] = PLUS(x[c], x[d]); \ 23 x[b] = ROTATE(XOR(x[b], x[c]), 12); \ 24 x[a] = PLUS(x[a], x[b]); \ 25 x[d] = ROTATE(XOR(x[d], x[a]), 8); \ 26 x[c] = PLUS(x[c], x[d]); \ 27 x[b] = ROTATE(XOR(x[b], x[c]), 7); 31 u32 x[16]; in salsa20_wordtobyte() local 36 x[i] = input[i]; in salsa20_wordtobyte() [all …]
|
| D | hapi.h | 93 uint32_t (*clz)(uint32_t x); 485 #define HapiClz(x) HAPI_TABLE_POINTER->clz((x)) argument
|
| /hal_ti-latest/simplelink_lpf3/source/ti/devices/cc23x0r5/inc/ |
| D | hw_types.h | 79 #define HWREG(x) \ argument 80 (*((volatile unsigned long *)(x))) 85 #define HWREGH(x) \ argument 86 (*((volatile unsigned short *)(x))) 91 #define HWREGB(x) \ argument 92 (*((volatile unsigned char *)(x))) 96 #define HWREG_READ_LRF(x) HWREG(x) argument 100 #define HWREGH_READ_LRF(x) HWREGH(x) argument 104 #define HWREGB_READ_LRF(x) HWREGB(x) argument 108 #define HWREG_WRITE_LRF(x) HWREG(x) argument [all …]
|
| D | hw_ccfg.h | 54 #define CCFG_BC_PBLDR_VALID(x) ((x) < CCFG_BC_PBLDR_USE_FCFG) argument 164 #define CPYLST_WAIT(x) ( 0x10000000 + (((x)<<2)&0x000FFFFC) ) argument
|
| /hal_ti-latest/simplelink/source/ti/devices/msp432p4xx/driverlib/ |
| 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
|
| D | eusci.h | 37 #define EUSCI_A_CMSIS(x) ((EUSCI_A_Type *) x) argument 38 #define EUSCI_B_CMSIS(x) ((EUSCI_B_Type *) x) argument
|
| D | timer32.h | 61 #define TIMER32_CMSIS(x) ((Timer32_Type *) x) argument
|
| D | aes256.h | 58 #define AES256_CMSIS(x) ((AES256_Type *) x) argument
|
| /hal_ti-latest/simplelink/source/ti/devices/cc32xx/inc/ |
| D | hw_types.h | 57 #define HWREG(x) \ argument 58 (*((volatile unsigned long *)(x))) 59 #define HWREGH(x) \ argument 60 (*((volatile unsigned short *)(x))) 61 #define HWREGB(x) \ argument 62 (*((volatile unsigned char *)(x))) 63 #define HWREGBITW(x, b) \ argument 64 HWREG(((unsigned long)(x) & 0xF0000000) | 0x02000000 | \ 65 (((unsigned long)(x) & 0x000FFFFF) << 5) | ((b) << 2)) 66 #define HWREGBITH(x, b) \ argument [all …]
|
| /hal_ti-latest/simplelink/source/ti/devices/cc13x2x7_cc26x2x7/inc/ |
| D | hw_types.h | 80 #define HWREG(x) \ argument 81 (*((volatile unsigned long *)(x))) 86 #define HWREGH(x) \ argument 87 (*((volatile unsigned short *)(x))) 92 #define HWREGB(x) \ argument 93 (*((volatile unsigned char *)(x))) 106 #define HWREGBITW(x, b) \ argument 107 HWREG(((unsigned long)(x) & 0xF0000000) | 0x02000000 | \ 108 (((unsigned long)(x) & 0x000FFFFF) << 5) | ((b) << 2)) 111 #define HWREGBITH(x, b) \ argument [all …]
|
| /hal_ti-latest/simplelink/source/ti/devices/cc13x2_cc26x2/inc/ |
| D | hw_types.h | 82 #define HWREG(x) \ argument 83 (*((volatile unsigned long *)(x))) 88 #define HWREGH(x) \ argument 89 (*((volatile unsigned short *)(x))) 94 #define HWREGB(x) \ argument 95 (*((volatile unsigned char *)(x))) 108 #define HWREGBITW(x, b) \ argument 109 HWREG(((unsigned long)(x) & 0xF0000000) | 0x02000000 | \ 110 (((unsigned long)(x) & 0x000FFFFF) << 5) | ((b) << 2)) 113 #define HWREGBITH(x, b) \ argument [all …]
|
| /hal_ti-latest/simplelink_lpf3/source/ti/drivers/rcl/ |
| D | RCL_Command.h | 127 #define RCL_CommandStatus_isAnyStop(x) (((x) >= RCL_CommandStatus_DescheduledApi) && ((x)… argument 128 #define RCL_CommandStatus_isAnyDescheduled(x) (((x) >= RCL_CommandStatus_DescheduledApi) && ((x)… argument 129 #define RCL_CommandStatus_isAnyGracefulStop(x) (((x) >= RCL_CommandStatus_GracefulStopTimeout) &&… argument 130 #define RCL_CommandStatus_isAnyHardStop(x) (((x) >= RCL_CommandStatus_HardStopTimeout) && ((x… argument 131 #define RCL_CommandStatus_isAnyTimeoutStop(x) (((x) == RCL_CommandStatus_GracefulStopTimeout) ||… argument 132 …mandStatus_isAnyApiStop(x) (((x) == RCL_CommandStatus_DescheduledApi) || ((x) == RCL_Comman… argument 133 …isAnySchedulingStop(x) (((x) == RCL_CommandStatus_DescheduledScheduling) || ((x) == RCL_CommandSta… argument
|
| D | RCL_Scheduler.h | 45 #define RCL_SCHEDULER_SYSTIM_US(x) (((uint32_t) (x)) * 4U) argument 49 #define RCL_SCHEDULER_SYSTIM_MS(x) (((uint32_t) (x)) * 4U * 1000U) argument
|
| /hal_ti-latest/simplelink_lpf3/source/ti/drivers/utils/ |
| D | Math.h | 59 #define Math_MIN(x, y) (((x) < (y)) ? (x) : (y)) argument 72 #define Math_MAX(x, y) (((x) > (y)) ? (x) : (y)) argument 85 #define Math_ABS(x) ((x) < 0 ? -(x) : (x)) argument
|
| /hal_ti-latest/simplelink_lpf3/source/ti/devices/cc23x0r5/cmsis/core/ |
| D | cmsis_compiler.h | 102 #define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v) argument 121 #define __ALIGNED(x) __attribute__((aligned(x))) argument 174 #define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v) argument 193 #define __ALIGNED(x) __align(x) argument 245 #define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v) argument 265 #define __ALIGNED(x) argument
|
| /hal_ti-latest/simplelink_lpf3/source/ti/log/ |
| D | Log.h | 588 #define _Log_GUARD_MACRO(x) do{ x }while(0) argument 612 #define _Log_CONCAT2_A(x,y) x ## _ ## y argument 613 #define _Log_CONCAT2(x,y) _Log_CONCAT2_A(x,y) argument 614 #define _Log_CONCAT3(x,y,z) _Log_CONCAT2(x,_Log_CONCAT2(y,z)) argument 617 #define _Log__TOKEN2STRING_A(x) #x argument 618 #define _Log_TOKEN2STRING(x) _Log__TOKEN2STRING_A(x) argument 683 #define _Log_VARIANT(x, module, level, ...) \ argument 684 …_Log_CONCAT2(x, _Log_NUMARGS_B(__VA_ARGS__, _arg8, _arg7, _arg6, _arg5, _arg4, _arg3, _arg2, _arg1… 693 #define _Log_SECOND_ARG(x, y, ...) y argument 707 #define _Log_DEFINED(x) _Log_DEFINED_A(x) argument
|
| /hal_ti-latest/simplelink_lpf3/source/ti/drivers/rcl/commands/ |
| D | ble_cs.h | 82 #define RCL_BLE_CS_US_TO_MCE_TIMER(x) ((x)*48) argument 83 #define RCL_BLE_CS_US_TO_PBE_TIMER(x) ((x)*4) argument 84 #define RCL_BLE_CS_MCE_TIMER_TO_US(x) ((x)/48) argument 85 #define RCL_BLE_CS_PBE_TIMER_TO_US(x) ((x)/4) argument 86 #define RCL_BLE_CS_MCE_TIMER_TO_PBE_TIMER(x) ((x)/12) argument
|
| /hal_ti-latest/simplelink/source/ti/drivers/temperature/ |
| D | TemperatureCC26X2.c | 54 #define MIN(x,y) (((x) < (y)) ? (x) : (y)) argument 55 #define MAX(x,y) (((x) > (y)) ? (x) : (y)) argument
|
| /hal_ti-latest/simplelink/source/ti/drivers/power/ |
| D | PowerCC26X2_calibrateRCOSC.c | 100 #define Abs(x) ((x) < 0 ? -(x) : (x)) argument 101 #define Scale_rndInf(x) ((3 * (x) + (((x) < 0) ? -2 : 2)) / 4) argument
|
| /hal_ti-latest/simplelink/source/ti/net/ |
| D | slnetif.h | 85 #define ONLY_ONE_BIT_IS_SET(x) (((x > 0) && ((x & (x - 1)) == 0))?true:false) argument
|