Home
last modified time | relevance | path

Searched refs:k (Results 1 – 10 of 10) sorted by relevance

/loramac-node-3.4.0/src/peripherals/soft-se/
Daes.c376 static void copy_and_key( void *d, const void *s, const void *k ) in copy_and_key() argument
379 ((uint32_t*)d)[ 0] = ((uint32_t*)s)[ 0] ^ ((uint32_t*)k)[ 0]; in copy_and_key()
380 ((uint32_t*)d)[ 1] = ((uint32_t*)s)[ 1] ^ ((uint32_t*)k)[ 1]; in copy_and_key()
381 ((uint32_t*)d)[ 2] = ((uint32_t*)s)[ 2] ^ ((uint32_t*)k)[ 2]; in copy_and_key()
382 ((uint32_t*)d)[ 3] = ((uint32_t*)s)[ 3] ^ ((uint32_t*)k)[ 3]; in copy_and_key()
384 ((uint8_t*)d)[ 0] = ((uint8_t*)s)[ 0] ^ ((uint8_t*)k)[ 0]; in copy_and_key()
385 ((uint8_t*)d)[ 1] = ((uint8_t*)s)[ 1] ^ ((uint8_t*)k)[ 1]; in copy_and_key()
386 ((uint8_t*)d)[ 2] = ((uint8_t*)s)[ 2] ^ ((uint8_t*)k)[ 2]; in copy_and_key()
387 ((uint8_t*)d)[ 3] = ((uint8_t*)s)[ 3] ^ ((uint8_t*)k)[ 3]; in copy_and_key()
388 ((uint8_t*)d)[ 4] = ((uint8_t*)s)[ 4] ^ ((uint8_t*)k)[ 4]; in copy_and_key()
[all …]
/loramac-node-3.4.0/src/mac/region/
DRegionCommon.c226 for( uint8_t i = 0, k = 0; i < nbChannels; i += 16, k++ ) in RegionCommonChanVerifyDr() local
230 if( ( ( channelsMask[k] & ( 1 << j ) ) != 0 ) ) in RegionCommonChanVerifyDr()
559 for( uint8_t i = 0, k = 0; i < countNbOfEnabledChannelsParams->MaxNbChannels; i += 16, k++ ) in RegionCommonCountNbOfEnabledChannels() local
563 if( ( countNbOfEnabledChannelsParams->ChannelsMask[k] & ( 1 << j ) ) != 0 ) in RegionCommonCountNbOfEnabledChannels()
572 if( ( countNbOfEnabledChannelsParams->JoinChannels[k] & ( 1 << j ) ) == 0 ) in RegionCommonCountNbOfEnabledChannels()
/loramac-node-3.4.0/src/boards/SKiM980A/
Drtc-board.c539 float k = RTC_TEMP_COEFFICIENT; in RtcTempCompensation() local
546 if( k < 0.0f ) in RtcTempCompensation()
548 ppm = ( k - kDev ); in RtcTempCompensation()
552 ppm = ( k + kDev ); in RtcTempCompensation()
/loramac-node-3.4.0/src/boards/NucleoL152/
Drtc-board.c539 float k = RTC_TEMP_COEFFICIENT; in RtcTempCompensation() local
546 if( k < 0.0f ) in RtcTempCompensation()
548 ppm = ( k - kDev ); in RtcTempCompensation()
552 ppm = ( k + kDev ); in RtcTempCompensation()
/loramac-node-3.4.0/src/boards/NucleoL073/
Drtc-board.c540 float k = RTC_TEMP_COEFFICIENT; in RtcTempCompensation() local
547 if( k < 0.0f ) in RtcTempCompensation()
549 ppm = ( k - kDev ); in RtcTempCompensation()
553 ppm = ( k + kDev ); in RtcTempCompensation()
/loramac-node-3.4.0/src/boards/SKiM880B/
Drtc-board.c539 float k = RTC_TEMP_COEFFICIENT; in RtcTempCompensation() local
546 if( k < 0.0f ) in RtcTempCompensation()
548 ppm = ( k - kDev ); in RtcTempCompensation()
552 ppm = ( k + kDev ); in RtcTempCompensation()
/loramac-node-3.4.0/src/boards/SKiM881AXL/
Drtc-board.c540 float k = RTC_TEMP_COEFFICIENT; in RtcTempCompensation() local
547 if( k < 0.0f ) in RtcTempCompensation()
549 ppm = ( k - kDev ); in RtcTempCompensation()
553 ppm = ( k + kDev ); in RtcTempCompensation()
/loramac-node-3.4.0/src/boards/NucleoL476/
Drtc-board.c539 float k = RTC_TEMP_COEFFICIENT; in RtcTempCompensation() local
546 if( k < 0.0f ) in RtcTempCompensation()
548 ppm = ( k - kDev ); in RtcTempCompensation()
552 ppm = ( k + kDev ); in RtcTempCompensation()
/loramac-node-3.4.0/src/boards/NAMote72/
Drtc-board.c539 float k = RTC_TEMP_COEFFICIENT; in RtcTempCompensation() local
546 if( k < 0.0f ) in RtcTempCompensation()
548 ppm = ( k - kDev ); in RtcTempCompensation()
552 ppm = ( k + kDev ); in RtcTempCompensation()
/loramac-node-3.4.0/src/boards/B-L072Z-LRWAN1/
Drtc-board.c540 float k = RTC_TEMP_COEFFICIENT; in RtcTempCompensation() local
547 if( k < 0.0f ) in RtcTempCompensation()
549 ppm = ( k - kDev ); in RtcTempCompensation()
553 ppm = ( k + kDev ); in RtcTempCompensation()