Home
last modified time | relevance | path

Searched refs:threshold (Results 1 – 25 of 82) sorted by relevance

1234

/bsp/apm32/libraries/APM32F10x_Library/APM32F10x_StdPeriphDriver/src/
A Dapm32f10x_qspi.c227 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 Dapm32s10x_qspi.c226 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 Dfm33lc0xx_fl_rmu.h110 __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 Dplic_driver.c46 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 Dplic_driver.c46 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 Dtsc_linrot.c1830 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 Dhal_cir.c162 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 Dtsc_linrot.h258 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 Dsunxi_hal_cir.h175 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 Dapm32f10x_qspi.h300 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 Dapm32s10x_qspi.h299 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 Dhpm_interrupt.h265 #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 Dhpm_plic_drv.h69 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 Dhpm_interrupt.h265 #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 Dhpm_interrupt.h265 #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 Dhpm_plic_drv.h69 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 Dhpm_interrupt.h265 #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 Dhpm_plic_drv.h69 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 Dhpm_interrupt.h175 #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 Dhpm_plic_drv.h69 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 Dhpm_interrupt.h175 #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 Dhpm_interrupt.h175 #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 Dplic.c75 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 Dbflb_csi.c102 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 Dhpm_i2s_drv.h108 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()

Completed in 64 milliseconds

1234