Home
last modified time | relevance | path

Searched refs:r (Results 1 – 25 of 32) sorted by relevance

12

/loramac-node-latest/src/peripherals/atecc608a-tnglora-se/
Datecc608a-tnglora-se-hal.c178 int r = -1; in hal_i2c_receive() local
180 while (--retries > 0 && r != 1) in hal_i2c_receive()
182r = I2cMcuReadBuffer((I2c_t *)NULL, iface->mIfaceCFG->atcai2c.slave_address, lengthPackage, 1); in hal_i2c_receive()
185 if (r != 1) in hal_i2c_receive()
201 r = -1; in hal_i2c_receive()
203 while (--retries > 0 && r != 1) in hal_i2c_receive()
205r = I2cMcuReadBuffer((I2c_t *)NULL, iface->mIfaceCFG->atcai2c.slave_address, rxdata + 1, bytesToRe… in hal_i2c_receive()
208 if (r != 1) in hal_i2c_receive()
237 int r = I2cMcuWriteBuffer((I2c_t *)NULL, 0x00, emptybuff, (size_t)0); in hal_i2c_wake() local
245 r = -1; in hal_i2c_wake()
[all …]
/loramac-node-latest/src/peripherals/soft-se/
Dcmac.c40 #define LSHIFT( v, r ) \ argument
45 ( r )[i] = ( v )[i] << 1 | ( v )[i + 1] >> 7; \
46 ( r )[15] = ( v )[15] << 1; \
49 #define XOR( v, r ) \ argument
55 ( r )[i] = ( r )[i] ^ ( v )[i]; \
Daes.c230 { uint8_t r = (uint8_t)((x >> 1) | (x >> 2)); in hibit() local
232 r |= (r >> 2); in hibit()
233 r |= (r >> 4); in hibit()
234 return (r + 1) >> 1; in hibit()
572 uint8_t s1[N_BLOCK], r; local
575 for( r = 1 ; r < ctx->rnd ; ++r )
579 add_round_key( s1, ctx->ksch + r * N_BLOCK);
584 copy_and_key( s1, s2, ctx->ksch + r * N_BLOCK);
588 copy_and_key( out, s1, ctx->ksch + r * N_BLOCK );
624 uint8_t s1[N_BLOCK], r; local
[all …]
/loramac-node-latest/src/boards/mcu/saml21/cmsis/
Dcore_cmInstr.h377 #define __CMSIS_GCC_OUT_REG(r) "=l" (r) argument
378 #define __CMSIS_GCC_USE_REG(r) "l" (r) argument
380 #define __CMSIS_GCC_OUT_REG(r) "=r" (r) argument
381 #define __CMSIS_GCC_USE_REG(r) "r" (r) argument
Darm_math.h705 q7_t r, s, t, u; in __QADD8() local
707 r = (q7_t) x; in __QADD8()
710 r = __SSAT((q31_t) (r + s), 8); in __QADD8()
717 (((q31_t) s << 8) & 0x0000FF00) | (r & 0x000000FF); in __QADD8()
732 q31_t r, s, t, u; in __QSUB8() local
734 r = (q7_t) x; in __QSUB8()
737 r = __SSAT((r - s), 8); in __QSUB8()
743 (u & 0xFF000000) | (t & 0x00FF0000) | (s & 0x0000FF00) | (r & in __QSUB8()
762 q31_t r, s; in __QADD16() local
764 r = (q15_t) x; in __QADD16()
[all …]
/loramac-node-latest/src/boards/mcu/stm32/cmsis/
Darm_math.h714 q31_t r, s, t, u; in __QADD8() local
716 r = __SSAT(((((q31_t)x << 24) >> 24) + (((q31_t)y << 24) >> 24)), 8) & (int32_t)0x000000FF; in __QADD8()
721 return ((uint32_t)((u << 24) | (t << 16) | (s << 8) | (r ))); in __QADD8()
732 q31_t r, s, t, u; in __QSUB8() local
734 r = __SSAT(((((q31_t)x << 24) >> 24) - (((q31_t)y << 24) >> 24)), 8) & (int32_t)0x000000FF; in __QSUB8()
739 return ((uint32_t)((u << 24) | (t << 16) | (s << 8) | (r ))); in __QSUB8()
751 q31_t r = 0, s = 0; in __QADD16() local
753 r = __SSAT(((((q31_t)x << 16) >> 16) + (((q31_t)y << 16) >> 16)), 16) & (int32_t)0x0000FFFF; in __QADD16()
756 return ((uint32_t)((s << 16) | (r ))); in __QADD16()
767 q31_t r, s; in __SHADD16() local
[all …]
Dcmsis_gcc.h362 #define __CMSIS_GCC_OUT_REG(r) "=l" (r) argument
363 #define __CMSIS_GCC_USE_REG(r) "l" (r) argument
365 #define __CMSIS_GCC_OUT_REG(r) "=r" (r) argument
366 #define __CMSIS_GCC_USE_REG(r) "r" (r) argument
Dcmsis_armcc_V6.h743 #define __CMSIS_GCC_OUT_REG(r) "=l" (r) argument
744 #define __CMSIS_GCC_USE_REG(r) "l" (r) argument
746 #define __CMSIS_GCC_OUT_REG(r) "=r" (r) argument
747 #define __CMSIS_GCC_USE_REG(r) "r" (r) argument
/loramac-node-latest/src/apps/LoRaMac/common/LmHandler/packages/
DFragDecoder.c580 int32_t r; in FragGetParityMatrixRow() local
598 r = 1 << 16; in FragGetParityMatrixRow()
599 while( r >= m ) in FragGetParityMatrixRow()
602 r = x % ( m + mTemp ); in FragGetParityMatrixRow()
604 SetParity( r, matrixRow, 1 ); in FragGetParityMatrixRow()
/loramac-node-latest/src/boards/mcu/saml21/saml21b/gcc/gcc/
Dsaml21e15b_flash.ld55 *(.rodata .rodata* .gnu.linkonce.r.*)
Dsaml21e15b_sram.ld54 *(.rodata .rodata* .gnu.linkonce.r.*)
Dsaml21e16b_flash.ld55 *(.rodata .rodata* .gnu.linkonce.r.*)
Dsaml21e16b_sram.ld54 *(.rodata .rodata* .gnu.linkonce.r.*)
Dsaml21e17b_flash.ld55 *(.rodata .rodata* .gnu.linkonce.r.*)
Dsaml21e17b_sram.ld54 *(.rodata .rodata* .gnu.linkonce.r.*)
Dsaml21e18b_flash.ld55 *(.rodata .rodata* .gnu.linkonce.r.*)
Dsaml21e18b_sram.ld54 *(.rodata .rodata* .gnu.linkonce.r.*)
Dsaml21g16b_flash.ld55 *(.rodata .rodata* .gnu.linkonce.r.*)
Dsaml21g17b_flash.ld55 *(.rodata .rodata* .gnu.linkonce.r.*)
Dsaml21g17b_sram.ld54 *(.rodata .rodata* .gnu.linkonce.r.*)
Dsaml21g18b_flash.ld55 *(.rodata .rodata* .gnu.linkonce.r.*)
Dsaml21g18b_sram.ld54 *(.rodata .rodata* .gnu.linkonce.r.*)
Dsaml21j16b_flash.ld55 *(.rodata .rodata* .gnu.linkonce.r.*)
Dsaml21j16b_sram.ld54 *(.rodata .rodata* .gnu.linkonce.r.*)
Dsaml21j17b_flash.ld55 *(.rodata .rodata* .gnu.linkonce.r.*)

12