Home
last modified time | relevance | path

Searched refs:srcWord (Results 1 – 2 of 2) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/aes/
Dfsl_aes.c114 static inline void aes_set_unaligned_from_word(uint32_t srcWord, uint8_t *dstAddr) in aes_set_unaligned_from_word() argument
121 *dst++ = (srcWord & 0x000000FFU); in aes_set_unaligned_from_word()
122 *dst++ = (srcWord & 0x0000FF00U) >> 8; in aes_set_unaligned_from_word()
123 *dst++ = (srcWord & 0x00FF0000U) >> 16; in aes_set_unaligned_from_word()
124 *dst++ = (srcWord & 0xFF000000U) >> 24; in aes_set_unaligned_from_word()
128 … *((uint32_t *)dstAddr) = srcWord; /* addr aligned to 0-modulo-4 so it is safe to type cast */ in aes_set_unaligned_from_word()
132 ret = srcWord; in aes_set_unaligned_from_word()
136 *((uint32_t *)(uint32_t)dstAddr) = srcWord; in aes_set_unaligned_from_word()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/ltc/
Dfsl_ltc.c345 static inline void ltc_set_unaligned_from_word(uint32_t srcWord, uint8_t *dstAddr) in ltc_set_unaligned_from_word() argument
352 *dst++ = (uint8_t)(srcWord & 0x000000FFU); in ltc_set_unaligned_from_word()
353 *dst++ = (uint8_t)((srcWord & 0x0000FF00U) >> 8U); in ltc_set_unaligned_from_word()
354 *dst++ = (uint8_t)((srcWord & 0x00FF0000U) >> 16U); in ltc_set_unaligned_from_word()
355 *dst++ = (uint8_t)((srcWord & 0xFF000000U) >> 24U); in ltc_set_unaligned_from_word()
359 …*((uint32_t *)(uint32_t)dstAddr) = srcWord; /* addr aligned to 0-modulo-4 so it is safe to type ca… in ltc_set_unaligned_from_word()
362 *((uint32_t *)(uint32_t)dstAddr) = srcWord; in ltc_set_unaligned_from_word()