| /bsp/apm32/libraries/APM32F10x_Library/APM32F10x_StdPeriphDriver/src/ |
| A D | apm32f10x_qspi.c | 227 void QSPI_ConfigRxFifoThreshold(uint8_t threshold) in QSPI_ConfigRxFifoThreshold() argument 229 QSPI->RFTL_B.RFT = threshold; in QSPI_ConfigRxFifoThreshold() 239 void QSPI_ConfigTxFifoThreshold(uint8_t threshold) in QSPI_ConfigTxFifoThreshold() argument 241 QSPI->TFTL_B.TFTH = threshold; in QSPI_ConfigTxFifoThreshold() 251 void QSPI_ConfigTxFifoEmptyThreshold(uint8_t threshold) in QSPI_ConfigTxFifoEmptyThreshold() argument 253 QSPI->TFTL_B.TFT = threshold; in QSPI_ConfigTxFifoEmptyThreshold()
|
| /bsp/apm32/libraries/APM32S10x_Library/APM32S10x_StdPeriphDriver/src/ |
| A D | apm32s10x_qspi.c | 226 void QSPI_ConfigRxFifoThreshold(uint8_t threshold) in QSPI_ConfigRxFifoThreshold() argument 228 QSPI->RFTL_B.RFT = threshold; in QSPI_ConfigRxFifoThreshold() 238 void QSPI_ConfigTxFifoThreshold(uint8_t threshold) in QSPI_ConfigTxFifoThreshold() argument 240 QSPI->TFTL_B.TFTH = threshold; in QSPI_ConfigTxFifoThreshold() 250 void QSPI_ConfigTxFifoEmptyThreshold(uint8_t threshold) in QSPI_ConfigTxFifoEmptyThreshold() argument 252 QSPI->TFTL_B.TFT = threshold; in QSPI_ConfigTxFifoEmptyThreshold()
|
| /bsp/fm33lc026/libraries/FM33LC0xx_FL_Driver/Inc/ |
| A D | fm33lc0xx_fl_rmu.h | 110 __STATIC_INLINE void FL_RMU_PDR_SetThreshold(RMU_Type *RMUx, uint32_t threshold) in FL_RMU_PDR_SetThreshold() argument 112 MODIFY_REG(RMUx->PDRCR, RMU_PDRCR_CFG_Msk, threshold); in FL_RMU_PDR_SetThreshold() 174 __STATIC_INLINE void FL_RMU_BOR_SetThreshold(RMU_Type *RMUx, uint32_t threshold) in FL_RMU_BOR_SetThreshold() argument 176 MODIFY_REG(RMUx->BORCR, RMU_BORCR_CFG_Msk, threshold); in FL_RMU_BOR_SetThreshold()
|
| /bsp/hifive1/freedom-e-sdk/bsp/drivers/plic/ |
| A D | plic_driver.c | 46 volatile plic_threshold* threshold = (plic_threshold*) in PLIC_init() local 51 *threshold = 0; in PLIC_init() 56 plic_threshold threshold){ in PLIC_set_threshold() argument 63 *threshold_ptr = threshold; in PLIC_set_threshold()
|
| /bsp/sparkfun-redv/freedom-e-sdk/bsp/drivers/plic/ |
| A D | plic_driver.c | 46 volatile plic_threshold* threshold = (plic_threshold*) in PLIC_init() local 51 *threshold = 0; in PLIC_init() 56 plic_threshold threshold){ in PLIC_set_threshold() argument 63 *threshold_ptr = threshold; in PLIC_set_threshold()
|
| /bsp/apm32/libraries/APM32F0xx_Library/TSC_Device_Lib/src/ |
| A D | tsc_linrot.c | 1830 nowThreshold = threshold; in TSC_Linrot_Process_OneChannel_DeltaBelowEquMinus() 1834 nowThreshold = (uint16_t)((uint16_t)threshold << TOUCH_COEFF_TH); in TSC_Linrot_Process_OneChannel_DeltaBelowEquMinus() 1850 if (normDelta <= -threshold) in TSC_Linrot_Process_OneChannel_DeltaBelowEquMinus() 1879 nowThreshold = threshold; in TSC_Linrot_Process_OneChannel_DeltaAboveEqu() 1883 nowThreshold = (uint16_t)((uint16_t)threshold << TOUCH_COEFF_TH); in TSC_Linrot_Process_OneChannel_DeltaAboveEqu() 1899 if (normDelta >= threshold) in TSC_Linrot_Process_OneChannel_DeltaAboveEqu() 1935 nowThreshold = threshold; in TSC_Linrot_Process_OneChannel_DeltaAbove() 1939 nowThreshold = (uint16_t)((uint16_t)threshold << TOUCH_COEFF_TH); in TSC_Linrot_Process_OneChannel_DeltaAbove() 1955 if (normDelta > threshold) in TSC_Linrot_Process_OneChannel_DeltaAbove() 1991 nowThreshold = threshold; in TSC_Linrot_Process_AllChannel_DeltaBelowEqu() [all …]
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/cir/ |
| A D | hal_cir.c | 162 void sunxi_cir_sample_noise_threshold(cir_port_t port, int8_t threshold) in sunxi_cir_sample_noise_threshold() argument 167 if (!cir->status || threshold > 0x3f) in sunxi_cir_sample_noise_threshold() 173 reg_val |= (threshold << NTHR_OFFSET); in sunxi_cir_sample_noise_threshold() 178 void sunxi_cir_sample_idle_threshold(cir_port_t port, int8_t threshold) in sunxi_cir_sample_idle_threshold() argument 183 if (!cir->status || threshold > 0x3f) in sunxi_cir_sample_idle_threshold() 189 reg_val |= (threshold << ITHR_OFFSET); in sunxi_cir_sample_idle_threshold() 194 void sunxi_cir_sample_active_threshold(cir_port_t port, int8_t threshold) in sunxi_cir_sample_active_threshold() argument 199 if (!cir->status || threshold > 0x3f) in sunxi_cir_sample_active_threshold() 205 reg_val |= (threshold << ATHR_OFFSET); in sunxi_cir_sample_active_threshold()
|
| /bsp/apm32/libraries/APM32F0xx_Library/TSC_Device_Lib/inc/ |
| A D | tsc_linrot.h | 258 TSC_STATUS_T TSC_Linrot_Process_OneChannel_DeltaBelowEquMinus(TSC_tThreshold_T threshold, TSC_tInde… 259 TSC_STATUS_T TSC_Linrot_Process_OneChannel_DeltaAboveEqu(TSC_tThreshold_T threshold, TSC_tIndex_T C… 260 TSC_STATUS_T TSC_Linrot_Process_OneChannel_DeltaAbove(TSC_tThreshold_T threshold, TSC_tIndex_T Cmd); 261 TSC_STATUS_T TSC_Linrot_Process_AllChannel_DeltaBelowEqu(TSC_tThreshold_T threshold, TSC_tIndex_T C…
|
| /bsp/allwinner/libraries/sunxi-hal/include/hal/ |
| A D | sunxi_hal_cir.h | 175 void sunxi_cir_sample_noise_threshold(cir_port_t port, int8_t threshold); 176 void sunxi_cir_sample_idle_threshold(cir_port_t port, int8_t threshold); 177 void sunxi_cir_sample_active_threshold(cir_port_t port, int8_t threshold);
|
| /bsp/apm32/libraries/APM32F10x_Library/APM32F10x_StdPeriphDriver/inc/ |
| A D | apm32f10x_qspi.h | 300 void QSPI_ConfigRxFifoThreshold(uint8_t threshold); 301 void QSPI_ConfigTxFifoThreshold(uint8_t threshold); 302 void QSPI_ConfigTxFifoEmptyThreshold(uint8_t threshold);
|
| /bsp/apm32/libraries/APM32S10x_Library/APM32S10x_StdPeriphDriver/inc/ |
| A D | apm32s10x_qspi.h | 299 void QSPI_ConfigRxFifoThreshold(uint8_t threshold); 300 void QSPI_ConfigTxFifoThreshold(uint8_t threshold); 301 void QSPI_ConfigTxFifoEmptyThreshold(uint8_t threshold);
|
| /bsp/hpmicro/libraries/hpm_sdk/soc/HPM6800/HPM6880/ |
| A D | hpm_interrupt.h | 265 #define intc_m_set_threshold(threshold) \ argument 266 intc_set_threshold(HPM_PLIC_TARGET_M_MODE, threshold) 353 #define intc_set_s_threshold(threshold) \ argument 354 intc_set_threshold(HPM_PLIC_TARGET_S_MODE, threshold) 422 ATTR_ALWAYS_INLINE static inline void intc_set_threshold(uint32_t target, uint32_t threshold) in intc_set_threshold() argument 424 __plic_set_threshold(HPM_PLIC_BASE, target, threshold); in intc_set_threshold()
|
| A D | hpm_plic_drv.h | 69 uint32_t threshold) in __plic_set_threshold() argument 74 *threshold_ptr = threshold; in __plic_set_threshold()
|
| /bsp/hpmicro/libraries/hpm_sdk/soc/HPM6E00/HPM6E80/ |
| A D | hpm_interrupt.h | 265 #define intc_m_set_threshold(threshold) \ argument 266 intc_set_threshold(HPM_PLIC_TARGET_M_MODE, threshold) 353 #define intc_set_s_threshold(threshold) \ argument 354 intc_set_threshold(HPM_PLIC_TARGET_S_MODE, threshold) 422 ATTR_ALWAYS_INLINE static inline void intc_set_threshold(uint32_t target, uint32_t threshold) in intc_set_threshold() argument 424 __plic_set_threshold(HPM_PLIC_BASE, target, threshold); in intc_set_threshold()
|
| /bsp/hpmicro/libraries/hpm_sdk/soc/HPM6200/HPM6280/ |
| A D | hpm_interrupt.h | 265 #define intc_m_set_threshold(threshold) \ argument 266 intc_set_threshold(HPM_PLIC_TARGET_M_MODE, threshold) 353 #define intc_set_s_threshold(threshold) \ argument 354 intc_set_threshold(HPM_PLIC_TARGET_S_MODE, threshold) 422 ATTR_ALWAYS_INLINE static inline void intc_set_threshold(uint32_t target, uint32_t threshold) in intc_set_threshold() argument 424 __plic_set_threshold(HPM_PLIC_BASE, target, threshold); in intc_set_threshold()
|
| A D | hpm_plic_drv.h | 69 uint32_t threshold) in __plic_set_threshold() argument 74 *threshold_ptr = threshold; in __plic_set_threshold()
|
| /bsp/hpmicro/libraries/hpm_sdk/soc/HPM6300/HPM6360/ |
| A D | hpm_interrupt.h | 265 #define intc_m_set_threshold(threshold) \ argument 266 intc_set_threshold(HPM_PLIC_TARGET_M_MODE, threshold) 353 #define intc_set_s_threshold(threshold) \ argument 354 intc_set_threshold(HPM_PLIC_TARGET_S_MODE, threshold) 422 ATTR_ALWAYS_INLINE static inline void intc_set_threshold(uint32_t target, uint32_t threshold) in intc_set_threshold() argument 424 __plic_set_threshold(HPM_PLIC_BASE, target, threshold); in intc_set_threshold()
|
| A D | hpm_plic_drv.h | 69 uint32_t threshold) in __plic_set_threshold() argument 74 *threshold_ptr = threshold; in __plic_set_threshold()
|
| /bsp/hpmicro/libraries/hpm_sdk/soc/HPM6700/HPM6750/ |
| A D | hpm_interrupt.h | 175 #define intc_m_set_threshold(threshold) \ argument 176 intc_set_threshold(HPM_PLIC_TARGET_M_MODE, threshold) 243 ATTR_ALWAYS_INLINE static inline void intc_set_threshold(uint32_t target, uint32_t threshold) in intc_set_threshold() argument 245 __plic_set_threshold(HPM_PLIC_BASE, target, threshold); in intc_set_threshold()
|
| A D | hpm_plic_drv.h | 69 uint32_t threshold) in __plic_set_threshold() argument 74 *threshold_ptr = threshold; in __plic_set_threshold()
|
| /bsp/hpmicro/libraries/hpm_sdk/soc/HPM5300/HPM5361/ |
| A D | hpm_interrupt.h | 175 #define intc_m_set_threshold(threshold) \ argument 176 intc_set_threshold(HPM_PLIC_TARGET_M_MODE, threshold) 243 ATTR_ALWAYS_INLINE static inline void intc_set_threshold(uint32_t target, uint32_t threshold) in intc_set_threshold() argument 245 __plic_set_threshold(HPM_PLIC_BASE, target, threshold); in intc_set_threshold()
|
| /bsp/hpmicro/libraries/hpm_sdk/soc/HPM5300/HPM5301/ |
| A D | hpm_interrupt.h | 175 #define intc_m_set_threshold(threshold) \ argument 176 intc_set_threshold(HPM_PLIC_TARGET_M_MODE, threshold) 243 ATTR_ALWAYS_INLINE static inline void intc_set_threshold(uint32_t target, uint32_t threshold) in intc_set_threshold() argument 245 __plic_set_threshold(HPM_PLIC_BASE, target, threshold); in intc_set_threshold()
|
| /bsp/xuantie/virt64/c906/libcpu/ |
| A D | plic.c | 75 void plic_set_threshold(int threshold) in plic_set_threshold() argument 78 *(uint32_t *)PLIC_THRESHOLD(hart) = threshold; in plic_set_threshold()
|
| /bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/lhal/src/ |
| A D | bflb_csi.c | 102 uint32_t threshold; in bflb_csi_set_line_threshold() local 104 threshold = (dsp_clock - pixel_clock) / 1000 * resolution_x / (dsp_clock / 1000) + 10; in bflb_csi_set_line_threshold() 105 putreg32(threshold, DTSRC_BASE + DTSRC_SNSR2DVP_WAIT_POS_OFFSET); in bflb_csi_set_line_threshold()
|
| /bsp/hpmicro/libraries/hpm_sdk/drivers/inc/ |
| A D | hpm_i2s_drv.h | 108 static inline void i2s_update_rx_fifo_threshold(I2S_Type *ptr, uint8_t threshold) in i2s_update_rx_fifo_threshold() argument 111 | I2S_FIFO_THRESH_RX_SET(threshold); in i2s_update_rx_fifo_threshold() 120 static inline void i2s_update_tx_fifo_threshold(I2S_Type *ptr, uint8_t threshold) in i2s_update_tx_fifo_threshold() argument 123 | I2S_FIFO_THRESH_TX_SET(threshold); in i2s_update_tx_fifo_threshold()
|