Home
last modified time | relevance | path

Searched refs:thres (Results 1 – 25 of 54) sorted by relevance

123

/OK3568_Linux_fs/buildroot/dl/unixbench/git/UnixBench/src/
H A Ddummy.c35 float thres; variable
182 thres = 0;
188 thres += est_rate * GRANULE;
190 est_rate = thres;
247 while (output > thres) {
250 fprintf(stderr, "after pause: output, thres, done %d %.2f %d\n", output, thres, done);
273 thres += est_rate; in onalarm()
H A Dbig.c58 float thres; variable
273 thres = 0;
279 thres += est_rate * GRANULE;
281 est_rate = thres;
346 while (output > thres) {
349 fprintf(stderr, "after pause: output, thres, done %d %.2f %d\n", output, thres, done);
403 thres += est_rate; in onalarm()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb3/
H A Dxgmac.c349 unsigned int thres, v, reg; in t3_mac_set_mtu() local
407 thres = (adap->params.vpd.cclk * 1000) / 15625; in t3_mac_set_mtu()
408 thres = (thres * mtu) / 1000; in t3_mac_set_mtu()
410 thres /= 10; in t3_mac_set_mtu()
411 thres = mtu > thres ? (mtu - thres + 7) / 8 : 0; in t3_mac_set_mtu()
412 thres = max(thres, 8U); /* need at least 8 */ in t3_mac_set_mtu()
416 V_TXFIFOTHRESH(thres) | V_TXIPG(ipg)); in t3_mac_set_mtu()
/OK3568_Linux_fs/kernel/drivers/input/misc/
H A Dbma150.c226 u8 enable, u8 hyst, u8 dur, u8 thres) in bma150_set_low_g_interrupt() argument
240 error = bma150_write_byte(bma150->client, BMA150_LOW_G_THRES_REG, thres); in bma150_set_low_g_interrupt()
250 u8 enable, u8 hyst, u8 dur, u8 thres) in bma150_set_high_g_interrupt() argument
266 BMA150_HIGH_G_THRES_REG, thres); in bma150_set_high_g_interrupt()
277 u8 enable, u8 dur, u8 thres) in bma150_set_any_motion_interrupt() argument
289 BMA150_ANY_MOTION_THRES_REG, thres); in bma150_set_any_motion_interrupt()
/OK3568_Linux_fs/kernel/drivers/iio/adc/
H A Dpalmas_gpadc.c652 int thres; in palmas_adc_wakeup_configure() local
679 thres = adc->wakeup1_data.adc_high_threshold; in palmas_adc_wakeup_configure()
682 thres = adc->wakeup1_data.adc_low_threshold; in palmas_adc_wakeup_configure()
687 PALMAS_GPADC_THRES_CONV0_LSB, thres & 0xFF); in palmas_adc_wakeup_configure()
696 ((thres >> 8) & 0xF) | polarity); in palmas_adc_wakeup_configure()
710 thres = adc->wakeup2_data.adc_high_threshold; in palmas_adc_wakeup_configure()
713 thres = adc->wakeup2_data.adc_low_threshold; in palmas_adc_wakeup_configure()
718 PALMAS_GPADC_THRES_CONV1_LSB, thres & 0xFF); in palmas_adc_wakeup_configure()
727 ((thres >> 8) & 0xF) | polarity); in palmas_adc_wakeup_configure()
/OK3568_Linux_fs/kernel/drivers/i2c/busses/
H A Di2c-xlp9xx.c131 u32 thres; in xlp9xx_i2c_update_rx_fifo_thres() local
137 thres = 1; in xlp9xx_i2c_update_rx_fifo_thres()
139 thres = XLP9XX_I2C_FIFO_SIZE; in xlp9xx_i2c_update_rx_fifo_thres()
141 thres = priv->msg_buf_remaining; in xlp9xx_i2c_update_rx_fifo_thres()
144 thres << XLP9XX_I2C_MFIFOCTRL_HITH_SHIFT); in xlp9xx_i2c_update_rx_fifo_thres()
/OK3568_Linux_fs/kernel/drivers/misc/
H A Dapds990x.c250 u32 thres; in apds990x_lux_to_threshold() local
280 thres = lux * cpl / 64; in apds990x_lux_to_threshold()
295 thres = (chip->rcf.cf1 * thres + chip->rcf.irf1 * ir) / in apds990x_lux_to_threshold()
298 thres = (chip->rcf.cf2 * thres + chip->rcf.irf2 * ir) / in apds990x_lux_to_threshold()
301 if (thres >= chip->a_max_result) in apds990x_lux_to_threshold()
302 thres = chip->a_max_result - 1; in apds990x_lux_to_threshold()
303 return thres; in apds990x_lux_to_threshold()
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/include/algos/af/
H A Drk_aiq_types_af_algo.h173 unsigned short thres; member
253 unsigned short thres; member
342 unsigned short thres; member
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/include/iq_parser_v2/
H A Daf_uapi_head.h87 unsigned short thres; member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Domap3isp.h459 __u8 thres; member
496 __u8 thres; member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Domap3isp.h459 __u8 thres; member
496 __u8 thres; member
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Domap3isp.h479 __u8 thres; member
516 __u8 thres; member
H A Drk-isp1-config.h499 unsigned int thres; member
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkisp_demo/demo/af_algo_demo/
H A Dthird_party_af_algo.cpp77 attr.manual_meascfg_v30.thres = 4; in set_af_manual_meascfg()
222 attr.manual_meascfg_v31.thres = 4; in set_af_manual_meascfg()
368 attr.manual_meascfg_v32.thres = 4; in set_af_manual_meascfg()
/OK3568_Linux_fs/kernel/include/soc/fsl/
H A Dqman.h580 int thres = be16_to_cpu(th->word); in qm_cgr_cs_thres_get64() local
582 return ((thres >> 5) & 0xff) << (thres & 0x1f); in qm_cgr_cs_thres_get64()
/OK3568_Linux_fs/external/rknpu2/examples/rknn_yolov5_android_apk_demo/app/src/main/cpp/
H A Dpost_process.cc150 float thres = unsigmoid(threshold); in process() local
151 int8_t thres_i8 = qnt_f32_to_affine(thres, zp, scale); in process()
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkisp_demo/demo/sample/
H A Dsample_af_module.cpp318 attr.manual_meascfg_v30.thres = 4; in sample_set_af_manual_meascfg()
418 attr.manual_meascfg_v31.thres = 4; in sample_set_af_manual_meascfg()
518 attr.manual_meascfg_v32.thres = 4; in sample_set_af_manual_meascfg()
/OK3568_Linux_fs/external/rknpu2/examples/rknn_yolov5_demo/src/
H A Dpostprocess.cc195 float thres = unsigmoid(threshold); in process() local
196 int8_t thres_i8 = qnt_f32_to_affine(thres, zp, scale); in process()
/OK3568_Linux_fs/external/rknpu2/examples/RV1106_RV1103/rknn_yolov5_demo/src/
H A Dpostprocess.cc214 float thres = unsigmoid(threshold); in process() local
215 int8_t thres_i8 = qnt_f32_to_affine(thres, zp, scale); in process()
/OK3568_Linux_fs/kernel/mm/damon/
H A Dcore.c756 static void damon_merge_regions_of(struct damon_target *t, unsigned int thres, in damon_merge_regions_of() argument
762 if (abs(r->nr_accesses - r->last_nr_accesses) > thres) in damon_merge_regions_of()
768 abs(prev->nr_accesses - r->nr_accesses) <= thres && in damon_merge_regions_of()
/OK3568_Linux_fs/kernel/drivers/rkflash/
H A Dnandc.h155 unsigned thres : 8; member
/OK3568_Linux_fs/u-boot/drivers/rkflash/
H A Dnandc.h157 unsigned thres : 8; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb4/
H A Dcudbg_entity.h28 u16 thres[CIM_NUM_IBQ]; member
/OK3568_Linux_fs/kernel/drivers/staging/media/rkisp1/uapi/
H A Drkisp1-config.h564 __u32 thres; member
/OK3568_Linux_fs/kernel/drivers/media/platform/qcom/venus/
H A Dhfi_cmds.c897 struct hfi_scs_threshold *thres = prop_data; in pkt_session_set_property_1x() local
900 thres->threshold_value = *in; in pkt_session_set_property_1x()
901 pkt->shdr.hdr.size += sizeof(u32) + sizeof(*thres); in pkt_session_set_property_1x()

123