Home
last modified time | relevance | path

Searched refs:bits (Results 1 – 25 of 50) sorted by relevance

12

/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/common/
Dfsl_common_arm.h133 static inline void _SDK_AtomicLocalSet1Byte(volatile uint8_t *addr, uint8_t bits) in _SDK_AtomicLocalSet1Byte() argument
137 _SDK_ATOMIC_LOCAL_OPS_1BYTE(addr, s_val, s_val |= bits); in _SDK_AtomicLocalSet1Byte()
140 static inline void _SDK_AtomicLocalSet2Byte(volatile uint16_t *addr, uint16_t bits) in _SDK_AtomicLocalSet2Byte() argument
144 _SDK_ATOMIC_LOCAL_OPS_2BYTE(addr, s_val, s_val |= bits); in _SDK_AtomicLocalSet2Byte()
147 static inline void _SDK_AtomicLocalSet4Byte(volatile uint32_t *addr, uint32_t bits) in _SDK_AtomicLocalSet4Byte() argument
151 _SDK_ATOMIC_LOCAL_OPS_4BYTE(addr, s_val, s_val |= bits); in _SDK_AtomicLocalSet4Byte()
154 static inline void _SDK_AtomicLocalClear1Byte(volatile uint8_t *addr, uint8_t bits) in _SDK_AtomicLocalClear1Byte() argument
158 _SDK_ATOMIC_LOCAL_OPS_1BYTE(addr, s_val, s_val &= ~bits); in _SDK_AtomicLocalClear1Byte()
161 static inline void _SDK_AtomicLocalClear2Byte(volatile uint16_t *addr, uint16_t bits) in _SDK_AtomicLocalClear2Byte() argument
165 _SDK_ATOMIC_LOCAL_OPS_2BYTE(addr, s_val, s_val &= ~bits); in _SDK_AtomicLocalClear2Byte()
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/components/css_pkc/src/comps/mcuxClCss/src/
DmcuxClCss_Aead.c45 …UXCLCSS_AEAD_INTERN_KEY == options.bits.extkey && CSS_KS_CNT <= keyIdx) || ((MCUXCLCSS_AEAD_EXTERN… in MCUX_CSSL_FP_FUNCTION_DEF()
51 options.bits.acpmod = MCUXCLCSS_AEAD_ACPMOD_INIT; in MCUX_CSSL_FP_FUNCTION_DEF()
52 options.bits.lastinit = MCUXCLCSS_AEAD_LASTINIT_TRUE; in MCUX_CSSL_FP_FUNCTION_DEF()
54 options.bits.acpsie = MCUXCLCSS_AEAD_STATE_IN_DISABLE; in MCUX_CSSL_FP_FUNCTION_DEF()
55 options.bits.acpsoe = MCUXCLCSS_AEAD_STATE_OUT_ENABLE; in MCUX_CSSL_FP_FUNCTION_DEF()
84 …UXCLCSS_AEAD_INTERN_KEY == options.bits.extkey && CSS_KS_CNT <= keyIdx) || ((MCUXCLCSS_AEAD_EXTERN… in MCUX_CSSL_FP_FUNCTION_DEF()
90 options.bits.acpmod = MCUXCLCSS_AEAD_ACPMOD_INIT; in MCUX_CSSL_FP_FUNCTION_DEF()
92 options.bits.acpsoe = MCUXCLCSS_AEAD_STATE_OUT_ENABLE; in MCUX_CSSL_FP_FUNCTION_DEF()
125 options.bits.acpmod = MCUXCLCSS_AEAD_ACPMOD_AADPROC; in MCUX_CSSL_FP_FUNCTION_DEF()
127 options.bits.acpsie = MCUXCLCSS_AEAD_STATE_IN_ENABLE; in MCUX_CSSL_FP_FUNCTION_DEF()
[all …]
DmcuxClCss_Hash.c37 …|| ((MCUXCLCSS_HASH_MODE_SHA_224 == options.bits.hashmd) && (0u != (inputLength % MCUXCLCSS_HASH_B… in MCUX_CSSL_FP_FUNCTION_DEF()
38 …|| ((MCUXCLCSS_HASH_MODE_SHA_256 == options.bits.hashmd) && (0u != (inputLength % MCUXCLCSS_HASH_B… in MCUX_CSSL_FP_FUNCTION_DEF()
39 …((MCUXCLCSS_HASH_RTF_UPDATE_ENABLE == options.bits.rtfupd) && (MCUXCLCSS_HASH_MODE_SHA_256 != opti… in MCUX_CSSL_FP_FUNCTION_DEF()
40 …MCUXCLCSS_HASH_RTF_UPDATE_ENABLE != options.bits.rtfupd) && (MCUXCLCSS_HASH_RTF_OUTPUT_ENABLE == o… in MCUX_CSSL_FP_FUNCTION_DEF()
41 …| ((MCUXCLCSS_HASH_OUTPUT_ENABLE != options.bits.hashoe) && (MCUXCLCSS_HASH_RTF_OUTPUT_ENABLE == o… in MCUX_CSSL_FP_FUNCTION_DEF()
42 …|| ((MCUXCLCSS_HASH_MODE_SHA_384 == options.bits.hashmd) && (0u != (inputLength % MCUXCLCSS_HASH_B… in MCUX_CSSL_FP_FUNCTION_DEF()
43 …|| ((MCUXCLCSS_HASH_MODE_SHA_512 == options.bits.hashmd) && (0u != (inputLength % MCUXCLCSS_HASH_B… in MCUX_CSSL_FP_FUNCTION_DEF()
105 …|| ((MCUXCLCSS_HASH_MODE_SHA_224 == options.bits.hashmd) && (0u != (inputLength % MCUXCLCSS_HASH_B… in MCUX_CSSL_FP_FUNCTION_DEF()
106 …|| ((MCUXCLCSS_HASH_MODE_SHA_256 == options.bits.hashmd) && (0u != (inputLength % MCUXCLCSS_HASH_B… in MCUX_CSSL_FP_FUNCTION_DEF()
107 …|| ((MCUXCLCSS_HASH_MODE_SHA_384 == options.bits.hashmd) && (0u != (inputLength % MCUXCLCSS_HASH_B… in MCUX_CSSL_FP_FUNCTION_DEF()
[all …]
DmcuxClCss_Cmac.c37 …XTERNAL_KEY_DISABLE == options.bits.extkey && CSS_KS_CNT <= keyIdx) || (MCUXCLCSS_CMAC_EXTERNAL_KE… in MCUX_CSSL_FP_FUNCTION_DEF()
46 if(MCUXCLCSS_CMAC_INITIALIZE_ENABLE == options.bits.initialize) in MCUX_CSSL_FP_FUNCTION_DEF()
48 options.bits.sie = MCUXCLCSS_CMAC_STATE_IN_DISABLE; in MCUX_CSSL_FP_FUNCTION_DEF()
52 options.bits.sie = MCUXCLCSS_CMAC_STATE_IN_ENABLE; in MCUX_CSSL_FP_FUNCTION_DEF()
54 if(MCUXCLCSS_CMAC_FINALIZE_ENABLE == options.bits.finalize) in MCUX_CSSL_FP_FUNCTION_DEF()
56 options.bits.soe = MCUXCLCSS_CMAC_STATE_OUT_DISABLE; in MCUX_CSSL_FP_FUNCTION_DEF()
60 options.bits.soe = MCUXCLCSS_CMAC_STATE_OUT_ENABLE; in MCUX_CSSL_FP_FUNCTION_DEF()
63 if (0U == options.bits.extkey) in MCUX_CSSL_FP_FUNCTION_DEF()
DmcuxClCss_Cipher.c40 (MCUXCLCSS_CIPHER_INTERNAL_KEY == options.bits.extkey && CSS_KS_CNT <= keyIdx) || in MCUX_CSSL_FP_FUNCTION_DEF()
41 ((MCUXCLCSS_CIPHER_EXTERNAL_KEY == options.bits.extkey) && in MCUX_CSSL_FP_FUNCTION_DEF()
44 (MCUXCLCSS_CIPHERPARAM_ALGORITHM_AES_CTR < options.bits.cphmde) in MCUX_CSSL_FP_FUNCTION_DEF()
46 || ((MCUXCLCSS_CIPHERPARAM_ALGORITHM_AES_ECB == options.bits.cphmde) && in MCUX_CSSL_FP_FUNCTION_DEF()
47 ((MCUXCLCSS_CIPHER_STATE_IN_ENABLE == options.bits.cphsie) || in MCUX_CSSL_FP_FUNCTION_DEF()
48 (MCUXCLCSS_CIPHER_STATE_OUT_ENABLE == options.bits.cphsoe)))); in MCUX_CSSL_FP_FUNCTION_DEF()
57 if (0U == options.bits.extkey) in MCUX_CSSL_FP_FUNCTION_DEF()
DmcuxClCss_Ecc.c45 } bits; ///< Access #mcuxClCss_EccKeyExchOption_t bit-wise member
67 options.bits.revf = MCUXCLCSS_REVERSEFETCH_ENABLE; in MCUX_CSSL_FP_FUNCTION_DEF()
97 options.bits.revf = MCUXCLCSS_REVERSEFETCH_ENABLE; in MCUX_CSSL_FP_FUNCTION_DEF()
130 options.bits.revf = MCUXCLCSS_REVERSEFETCH_ENABLE; in MCUX_CSSL_FP_FUNCTION_DEF()
133 …MCUXCLCSS_SETCSSINPUT0((options.bits.echashchl == 0u) ? pInputHash : pInputMessage, inputMessageLe… in MCUX_CSSL_FP_FUNCTION_DEF()
157 options.bits.revf = MCUXCLCSS_REVERSEFETCH_ENABLE; in MCUX_CSSL_FP_FUNCTION_DEF()
159 …MCUXCLCSS_SETCSSINPUT0((options.bits.echashchl == 0u) ? pInputHash : pInputMessage, inputMessageLe… in MCUX_CSSL_FP_FUNCTION_DEF()
DmcuxClCss_Kdf.c43 option.bits.ckdf_algo = MCUXCLCSS_CKDF_ALGO_SP800108 ; in MCUX_CSSL_FP_FUNCTION_DEF()
73 options.bits.hkdf_algo = MCUXCLCSS_HKDF_ALGO_RFC5869; in MCUX_CSSL_FP_FUNCTION_DEF()
101 options.bits.hkdf_algo = MCUXCLCSS_HKDF_ALGO_SP80056C; in MCUX_CSSL_FP_FUNCTION_DEF()
127 options.bits.mode = MCUXCLCSS_TLS_INIT; in MCUX_CSSL_FP_FUNCTION_DEF()
153 options.bits.mode = MCUXCLCSS_TLS_FINALIZE; in MCUX_CSSL_FP_FUNCTION_DEF()
DmcuxClCss_KeyManagement.c62 … || ((options.bits.kfmt == MCUXCLCSS_KEYIMPORT_KFMT_RFC3394) && (importKeyLength == 0u))); in MCUX_CSSL_FP_FUNCTION_DEF()
83 interrupt_options_1.bits.cssint = MCUXCLCSS_CSS_RESET_CLEAR; in handleKeyExportError()
135 interrupt_state_new.bits.cssint = MCUXCLCSS_CSS_INTERRUPT_DISABLE; in MCUX_CSSL_FP_FUNCTION_DEF()
185 …size_t key_length = (key_properties.bits.ksize == MCUXCLCSS_KEYPROPERTY_KEY_SIZE_128) ? MCUXCLCSS_… in MCUX_CSSL_FP_FUNCTION_DEF()
210 import_options.bits.kfmt = MCUXCLCSS_KEYIMPORT_KFMT_RFC3394; in MCUX_CSSL_FP_FUNCTION_DEF()
DmcuxClCss_Hmac.c34 …c, (0U == inputLength) || (MCUXCLCSS_HMAC_EXTERNAL_KEY_DISABLE == options.bits.extkey && CSS_KS_CN… in MCUX_CSSL_FP_FUNCTION_DEF()
42 if (0U == options.bits.extkey) in MCUX_CSSL_FP_FUNCTION_DEF()
/hal_nxp-3.6.0/mcux/mcux-sdk/components/css_pkc/src/comps/mcuxClHash/src/
DmcuxClHash_Algorithms.c26 hashOptions->bits.hashmd = MCUXCLCSS_HASH_MODE_SHA_224; in selectHashMode()
29 hashOptions->bits.hashmd = MCUXCLCSS_HASH_MODE_SHA_256; in selectHashMode()
32 hashOptions->bits.hashmd = MCUXCLCSS_HASH_MODE_SHA_384; in selectHashMode()
35 hashOptions->bits.hashmd = MCUXCLCSS_HASH_MODE_SHA_512; in selectHashMode()
49 hashOptions->bits.rtfupd = MCUXCLCSS_HASH_RTF_UPDATE_ENABLE; in selectRtfFlags()
53 hashOptions->bits.rtfupd = MCUXCLCSS_HASH_RTF_UPDATE_DISABLE; in selectRtfFlags()
95 hash_options.bits.hashoe = MCUXCLCSS_HASH_OUTPUT_DISABLE; in MCUX_CSSL_FP_FUNCTION_DEF()
96 hash_options.bits.hashini = MCUXCLCSS_HASH_INIT_ENABLE; in MCUX_CSSL_FP_FUNCTION_DEF()
97 hash_options.bits.hashld = MCUXCLCSS_HASH_LOAD_DISABLE; in MCUX_CSSL_FP_FUNCTION_DEF()
128 hash_options.bits.hashini = MCUXCLCSS_HASH_INIT_DISABLE; in MCUX_CSSL_FP_FUNCTION_DEF()
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/components/css_pkc/src/comps/mcuxClMac/src/
DmcuxClCMac.c44 context->cmac_options.bits.initialize = MCUXCLCSS_CMAC_INITIALIZE_ENABLE; in MCUX_CSSL_FP_FUNCTION_DEF()
47 context->cmac_options.bits.extkey = MCUXCLCSS_CMAC_EXTERNAL_KEY_ENABLE; in MCUX_CSSL_FP_FUNCTION_DEF()
51 context->cmac_options.bits.extkey = MCUXCLCSS_CMAC_EXTERNAL_KEY_DISABLE; in MCUX_CSSL_FP_FUNCTION_DEF()
65 context->cmac_options.bits.finalize = MCUXCLCSS_CMAC_FINALIZE_ENABLE; in MCUX_CSSL_FP_FUNCTION_DEF()
93 context->cmac_options.bits.initialize = MCUXCLCSS_CMAC_INITIALIZE_DISABLE; in MCUX_CSSL_FP_FUNCTION_DEF()
139 context->cmac_options.bits.finalize = MCUXCLCSS_CMAC_FINALIZE_ENABLE; in MCUX_CSSL_FP_FUNCTION_DEF()
199 context->cmac_options.bits.initialize = MCUXCLCSS_CMAC_INITIALIZE_ENABLE; in MCUX_CSSL_FP_FUNCTION_DEF()
202 context->cmac_options.bits.extkey = MCUXCLCSS_CMAC_EXTERNAL_KEY_ENABLE; in MCUX_CSSL_FP_FUNCTION_DEF()
206 context->cmac_options.bits.extkey = MCUXCLCSS_CMAC_EXTERNAL_KEY_DISABLE; in MCUX_CSSL_FP_FUNCTION_DEF()
268 context->cmac_options.bits.initialize = MCUXCLCSS_CMAC_INITIALIZE_DISABLE; in MCUX_CSSL_FP_FUNCTION_DEF()
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/components/css_pkc/src/comps/mcuxClCss/inc/
DmcuxClCss_Common.h58 .bits = { \
192 } bits; ///< Access #mcuxClCss_HwVersion_t bit-wise member
220 } bits; ///< Access #mcuxClCss_HwState_t bit-wise member
253 } bits; ///< Access #mcuxClCss_InterruptOptionEn_t bit-wise member
270 } bits; ///< Access #mcuxClCss_InterruptOptionRst_t bit-wise member
287 } bits; ///< Access #mcuxClCss_InterruptOptionSet_t bit-wise member
326 } bits; ///< Access #mcuxClCss_InterruptOptionSet_t bit-wise member
DmcuxClCss_Kdf.h116 } bits; member
133 } bits; member
150 } bits; member
DmcuxClCss_Ecc.h175 } bits; ///< Access #mcuxClCss_EccSignOption_t bit-wise member
194 } bits; ///< Access #mcuxClCss_EccVerifyOption_t bit-wise member
216 } bits; ///< Access #mcuxClCss_EccKeyGenOption_t bit-wise member
DmcuxClCss_Hmac.h86 } bits; ///< Access #mcuxClCss_CipherOption_t word-wise member
DmcuxClCss_Cmac.h105 } bits; ///< Access #mcuxClCss_CmacOption_t bit-wise member
DmcuxClCss_Cipher.h129 } bits; ///< Access #mcuxClCss_CipherOption_t bit-wise member
/hal_nxp-3.6.0/mcux/mcux-sdk/CMSIS/RTOS2/RTX/Source/
Drtx_core_ca.h475 static __asm uint32_t atomic_set32 (uint32_t *mem, uint32_t bits) { in atomic_set32() argument
486 __STATIC_INLINE uint32_t atomic_set32 (uint32_t *mem, uint32_t bits) { in atomic_set32() argument
510 [bits] "l" (bits) in atomic_set32()
523 static __asm uint32_t atomic_clr32 (uint32_t *mem, uint32_t bits) { in atomic_clr32() argument
535 __STATIC_INLINE uint32_t atomic_clr32 (uint32_t *mem, uint32_t bits) { in atomic_clr32() argument
559 [bits] "l" (bits) in atomic_clr32()
572 static __asm uint32_t atomic_chk32_all (uint32_t *mem, uint32_t bits) { in atomic_chk32_all() argument
591 __STATIC_INLINE uint32_t atomic_chk32_all (uint32_t *mem, uint32_t bits) { in atomic_chk32_all() argument
623 [bits] "l" (bits) in atomic_chk32_all()
636 static __asm uint32_t atomic_chk32_any (uint32_t *mem, uint32_t bits) { in atomic_chk32_any() argument
[all …]
Drtx_core_cm.h512 static __asm uint32_t atomic_set32 (uint32_t *mem, uint32_t bits) { in atomic_set32() argument
524 __STATIC_INLINE uint32_t atomic_set32 (uint32_t *mem, uint32_t bits) { in atomic_set32() argument
554 [bits] "l" (bits) in atomic_set32()
571 static __asm uint32_t atomic_clr32 (uint32_t *mem, uint32_t bits) { in atomic_clr32() argument
584 __STATIC_INLINE uint32_t atomic_clr32 (uint32_t *mem, uint32_t bits) { in atomic_clr32() argument
614 [bits] "l" (bits) in atomic_clr32()
631 static __asm uint32_t atomic_chk32_all (uint32_t *mem, uint32_t bits) { in atomic_chk32_all() argument
651 __STATIC_INLINE uint32_t atomic_chk32_all (uint32_t *mem, uint32_t bits) { in atomic_chk32_all() argument
693 [bits] "l" (bits) in atomic_chk32_all()
706 static __asm uint32_t atomic_chk32_any (uint32_t *mem, uint32_t bits) { in atomic_chk32_any() argument
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/middleware/issdk/algorithms/pedometer/source/
Dpedometer.c67 .bits = {.config = 1},
73 .bits =
149 … debounce_count(pPedometer->config.bits.activity_dbcntm, !(events & KEYNETIK_ACTIVITYCHANGED), in status_update()
152 …vel_t activity = activity_stable ? keynetikActivityLevel : pPedometer->status.status.bits.activity; in status_update()
195 …bool suspend = debounce_count(pPedometer->config.bits.sleep_dbcntm, stationary, &pPedometer->statu… in suspend_compute()
/hal_nxp-3.6.0/mcux/mcux-sdk/middleware/issdk/algorithms/pedometer/include/
Dpedometer.h60 } bits; member
87 } bits; member
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/prince/
Dfsl_prince.c1044 if (status != kStatus_Success || key_properties.bits.kactv != 1u) in PRINCE_CSS_enable()
1051 if (status != kStatus_Success || key_properties.bits.kactv != 1u) in PRINCE_CSS_enable()
1065 cipherOptions.bits.cphmde = MCUXCLCSS_CIPHERPARAM_ALGORITHM_AES_ECB; in PRINCE_CSS_calculate_iv()
1066 cipherOptions.bits.dcrpt = MCUXCLCSS_CIPHER_ENCRYPT; in PRINCE_CSS_calculate_iv()
1067 cipherOptions.bits.extkey = MCUXCLCSS_CIPHER_INTERNAL_KEY; in PRINCE_CSS_calculate_iv()
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/csi/
Dfsl_csi.h75 #error CSI_CR1_INT_EN_MASK could not cover all interrupt bits in CSICR1.
79 #error CSI_CR3_INT_EN_MASK could not cover all interrupt bits in CSICR3.
85 #error CSI_CR18_INT_EN_MASK could not cover all interrupt bits in CSICR18.
/hal_nxp-3.6.0/mcux/mcux-sdk/middleware/mmcau/asm-cm4-cm7/src/
Dmmcau_des_functions.s42 # *key pointer to 64-bit DES key with parity bits
163 # *key pointer to 64-bit DES key with parity bits
/hal_nxp-3.6.0/mcux/mcux-sdk/middleware/issdk/algorithms/pedometer/include/libinclude/
DKeynetikPedometer.h33 } bits; member

12