Home
last modified time | relevance | path

Searched refs:val (Results 1 – 14 of 14) sorted by relevance

/hal_silabs-3.7.0/gecko/emlib/src/
Dem_crypto.c81 const CRYPTO_Data_TypeDef val,
86 const uint32_t * val);
89 uint32_t * val);
171 const CRYPTO_Data_TypeDef val, in CRYPTO_DataWriteVariableSize() argument
180 *reg = *val++; in CRYPTO_DataWriteVariableSize()
186 CRYPTO_BurstToCrypto(reg, &val[0]); in CRYPTO_DataWriteVariableSize()
197 const uint32_t * val) in CRYPTO_BurstToCrypto() argument
200 register uint32_t v0 = val[0]; in CRYPTO_BurstToCrypto()
201 register uint32_t v1 = val[1]; in CRYPTO_BurstToCrypto()
202 register uint32_t v2 = val[2]; in CRYPTO_BurstToCrypto()
[all …]
Dem_pcnt.c1001 void PCNT_TopBufferSet(PCNT_TypeDef *pcnt, uint32_t val) in PCNT_TopBufferSet() argument
1007 pcnt->TOPB = val; in PCNT_TopBufferSet()
1026 void PCNT_TopSet(PCNT_TypeDef *pcnt, uint32_t val) in PCNT_TopSet() argument
1032 EFM_ASSERT((1 << PCNT0_CNT_SIZE) > val); in PCNT_TopSet()
1038 EFM_ASSERT((1 << PCNT1_CNT_SIZE) > val); in PCNT_TopSet()
1044 EFM_ASSERT((1 << PCNT2_CNT_SIZE) > val); in PCNT_TopSet()
1053 pcnt->TOPB = val; in PCNT_TopSet()
1062 pcnt->TOP = val; in PCNT_TopSet()
Dem_rmu.c244 uint32_t val; in RMU_ResetControl() local
252 val = (uint32_t)mode << shift; in RMU_ResetControl()
253 RMU->CTRL = (RMU->CTRL & ~reset) | val; in RMU_ResetControl()
Dem_cmu.c3737 void CMU_OscillatorTuningSet(CMU_Osc_TypeDef osc, uint32_t val) in CMU_OscillatorTuningSet() argument
3749 EFM_ASSERT(val <= (_LFRCO_CAL_FREQTRIM_MASK in CMU_OscillatorTuningSet()
3751 val &= _LFRCO_CAL_FREQTRIM_MASK >> _LFRCO_CAL_FREQTRIM_SHIFT; in CMU_OscillatorTuningSet()
3755 | (val << _LFRCO_CAL_FREQTRIM_SHIFT); in CMU_OscillatorTuningSet()
3763 EFM_ASSERT(val <= (_HFRCO_CAL_TUNING_MASK >> _HFRCO_CAL_TUNING_SHIFT)); in CMU_OscillatorTuningSet()
3764 val &= _HFRCO_CAL_TUNING_MASK >> _HFRCO_CAL_TUNING_SHIFT; in CMU_OscillatorTuningSet()
3768 | (val << _HFRCO_CAL_TUNING_SHIFT); in CMU_OscillatorTuningSet()
3773 EFM_ASSERT(val <= (_HFRCO_CAL_TUNING_MASK >> _HFRCO_CAL_TUNING_SHIFT)); in CMU_OscillatorTuningSet()
3774 val &= _HFRCO_CAL_TUNING_MASK >> _HFRCO_CAL_TUNING_SHIFT; in CMU_OscillatorTuningSet()
3778 | (val << _HFRCO_CAL_TUNING_SHIFT); in CMU_OscillatorTuningSet()
[all …]
Dem_emu.c2269 uint32_t val; in dcdcConstCalibrationLoad() local
2281 val = *(diCal_EMU_DCDCLNFREQCTRL + 1); in dcdcConstCalibrationLoad()
2283 *reg = val; in dcdcConstCalibrationLoad()
2285 val = *(diCal_EMU_DCDCLNVCTRL + 1); in dcdcConstCalibrationLoad()
2287 *reg = val; in dcdcConstCalibrationLoad()
2289 val = *(diCal_EMU_DCDCLPCTRL + 1); in dcdcConstCalibrationLoad()
2291 *reg = val; in dcdcConstCalibrationLoad()
2293 val = *(diCal_EMU_DCDCLPVCTRL + 1); in dcdcConstCalibrationLoad()
2295 *reg = val; in dcdcConstCalibrationLoad()
2297 val = *(diCal_EMU_DCDCTRIM0 + 1); in dcdcConstCalibrationLoad()
[all …]
Dem_cmu_fpga.c448 void CMU_OscillatorTuningSet(CMU_Osc_TypeDef osc, uint32_t val) in CMU_OscillatorTuningSet() argument
451 (void) val; in CMU_OscillatorTuningSet()
Dem_ebi.c90 __STATIC_INLINE void EBI_RouteBitWrite(uint32_t bit, uint32_t val) in EBI_RouteBitWrite() argument
92 BUS_RegBitWrite(&(EBI_GENERIC_ROUTE_REG), bit, val); in EBI_RouteBitWrite()
/hal_silabs-3.7.0/gecko/emlib/inc/
Dem_bus.h72 unsigned int val) in BUS_RamBitWrite() argument
78 *(volatile uint32_t *)aliasAddr = (uint32_t)val; in BUS_RamBitWrite()
83 *addr = (tmp & ~(1UL << bit)) | ((val & 1UL) << bit); in BUS_RamBitWrite()
143 unsigned int val) in BUS_RegBitWrite() argument
148 if (val != 0U) { in BUS_RegBitWrite()
158 *(volatile uint32_t *)aliasAddr = (uint32_t)val; in BUS_RegBitWrite()
163 *addr = (tmp & ~(1 << bit)) | ((val & 1) << bit); in BUS_RegBitWrite()
303 uint32_t val) in BUS_RegMaskedWrite() argument
308 *addr = (*addr & ~mask) | (val & mask); in BUS_RegMaskedWrite()
Dem_timer.h803 uint32_t val) in TIMER_CompareBufSet() argument
805 EFM_ASSERT(val <= TIMER_MaxCount(timer)); in TIMER_CompareBufSet()
808 timer->CC[ch].OCB = val; in TIMER_CompareBufSet()
810 timer->CC[ch].CCVB = val; in TIMER_CompareBufSet()
830 uint32_t val) in TIMER_CompareSet() argument
832 EFM_ASSERT(val <= TIMER_MaxCount(timer)); in TIMER_CompareSet()
835 timer->CC[ch].OC = val; in TIMER_CompareSet()
837 timer->CC[ch].CCV = val; in TIMER_CompareSet()
866 __STATIC_INLINE void TIMER_CounterSet(TIMER_TypeDef *timer, uint32_t val) in TIMER_CounterSet() argument
868 EFM_ASSERT(val <= TIMER_MaxCount(timer)); in TIMER_CounterSet()
[all …]
Dem_crypto.h696 const uint32_t * val);
715 void CRYPTO_BurstFromCrypto(volatile uint32_t * reg, uint32_t * val);
731 const CRYPTO_Data_TypeDef val);
748 const uint8_t * val);
765 CRYPTO_Data_TypeDef val);
783 uint8_t * val);
799 const CRYPTO_DData_TypeDef val);
814 CRYPTO_DData_TypeDef val);
832 uint8_t * val);
848 const CRYPTO_QData_TypeDef val);
[all …]
Dem_gpio.h827 __STATIC_INLINE void GPIO_InputSenseSet(uint32_t val, uint32_t mask) in GPIO_InputSenseSet() argument
830 BUS_RegMaskedWrite(&(GPIO->INSENSE), mask, val); in GPIO_InputSenseSet()
832 (void) val; in GPIO_InputSenseSet()
1214 uint32_t val, in GPIO_PortOutSetVal() argument
1219 GPIO->P[port].DOUT = (GPIO->P[port].DOUT & ~mask) | (val & mask); in GPIO_PortOutSetVal()
Dem_pcnt.h758 void PCNT_TopBufferSet(PCNT_TypeDef *pcnt, uint32_t val);
779 void PCNT_TopSet(PCNT_TypeDef *pcnt, uint32_t val);
Dem_cmu_fpga.h647 void CMU_OscillatorTuningSet(CMU_Osc_TypeDef osc, uint32_t val);
Dem_cmu.h1406 uint32_t val);
3400 void CMU_OscillatorTuningSet(CMU_Osc_TypeDef osc, uint32_t val);