| /kernel/linux/linux-6.6/drivers/net/ethernet/microchip/sparx5/ |
| H A D | sparx5_police.c | 13 u32 idx, pup_tokens, max_pup_tokens, burst, thres; in sparx5_policer_service_conf_set() local 27 thres = DIV_ROUND_UP(burst, g->min_burst); in sparx5_policer_service_conf_set() 36 spx5_rmw(ANA_AC_SDLB_THRES_THRES_SET(thres), ANA_AC_SDLB_THRES_THRES, in sparx5_policer_service_conf_set()
|
| /third_party/ffmpeg/libavfilter/ |
| H A D | af_sidechaincompress.c | 53 double thres; member 108 static double output_gain(double lin_slope, double ratio, double thres, in output_gain() argument 122 gain = thres; in output_gain() 125 gain = (slope - thres) / ratio + thres; in output_gain() 149 s->thres = log(s->threshold); in compressor_config_output() 156 s->compressed_knee_start = (s->knee_start - s->thres) / s->ratio + s->thres; in compressor_config_output() 157 s->compressed_knee_stop = (s->knee_stop - s->thres) / s->ratio + s->thres; in compressor_config_output() [all...] |
| H A D | af_agate.c | 53 double thres; member 107 s->thres = log(lin_threshold); in agate_config_input() 120 static double output_gain(double lin_slope, double ratio, double thres, in output_gain() argument 131 gain = (slope - thres) * tratio + thres; in output_gain() 136 gain = hermite_interpolation(slope, knee_stop, knee_start, ((knee_stop - thres) * tratio + thres), knee_start, delta, 1.); in output_gain() 139 gain = hermite_interpolation(slope, knee_start, knee_stop, ((knee_start - thres) * tratio + thres), knee_stop, delta, 1.); in output_gain() 181 gain = output_gain(s->lin_slope, s->ratio, s->thres, in gate() [all...] |
| H A D | vf_chromanr.c | 39 int thres; member 96 const int thres = s->thres; \ 153 if (fun(cyY, cuU, cvV) < thres && \ 197 s->thres = s->threshold * (1 << (s->depth - 8)); in filter_frame() 245 { "thres", "set y+u+v threshold", OFFSET(threshold), AV_OPT_TYPE_FLOAT, {.dbl=30}, 1, 200, VF },
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/ |
| H A D | xgmac.c | 349 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, in t3_mac_set_mtu() [all...] |
| /kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb3/ |
| H A D | xgmac.c | 349 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, in t3_mac_set_mtu() [all...] |
| /kernel/linux/linux-5.10/drivers/input/misc/ |
| H A D | bma150.c | 226 u8 enable, u8 hyst, u8 dur, u8 thres) in bma150_set_low_g_interrupt() 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() 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() 289 BMA150_ANY_MOTION_THRES_REG, thres); in bma150_set_any_motion_interrupt() 225 bma150_set_low_g_interrupt(struct bma150_data *bma150, u8 enable, u8 hyst, u8 dur, u8 thres) bma150_set_low_g_interrupt() argument 249 bma150_set_high_g_interrupt(struct bma150_data *bma150, u8 enable, u8 hyst, u8 dur, u8 thres) bma150_set_high_g_interrupt() argument 276 bma150_set_any_motion_interrupt(struct bma150_data *bma150, u8 enable, u8 dur, u8 thres) bma150_set_any_motion_interrupt() argument
|
| /kernel/linux/linux-6.6/drivers/input/misc/ |
| H A D | bma150.c | 226 u8 enable, u8 hyst, u8 dur, u8 thres) in bma150_set_low_g_interrupt() 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() 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() 289 BMA150_ANY_MOTION_THRES_REG, thres); in bma150_set_any_motion_interrupt() 225 bma150_set_low_g_interrupt(struct bma150_data *bma150, u8 enable, u8 hyst, u8 dur, u8 thres) bma150_set_low_g_interrupt() argument 249 bma150_set_high_g_interrupt(struct bma150_data *bma150, u8 enable, u8 hyst, u8 dur, u8 thres) bma150_set_high_g_interrupt() argument 276 bma150_set_any_motion_interrupt(struct bma150_data *bma150, u8 enable, u8 dur, u8 thres) bma150_set_any_motion_interrupt() argument
|
| /kernel/linux/linux-5.10/drivers/iio/adc/ |
| H A D | palmas_gpadc.c | 652 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()
|
| /kernel/linux/linux-5.10/drivers/i2c/busses/ |
| H A D | i2c-xlp9xx.c | 131 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()
|
| /kernel/linux/linux-6.6/drivers/i2c/busses/ |
| H A D | i2c-xlp9xx.c | 131 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()
|
| /third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
| H A D | lp_bld_conv.c | 825 LLVMValueRef thres; in lp_build_conv() local 831 thres = bld.zero; in lp_build_conv() 833 thres = lp_build_const_vec(gallivm, src_type, dst_min); in lp_build_conv() 835 tmp[i] = lp_build_max(&bld, tmp[i], thres); in lp_build_conv() 840 thres = bld.one; in lp_build_conv() 842 thres = lp_build_const_vec(gallivm, src_type, dst_max); in lp_build_conv() 844 tmp[i] = lp_build_min(&bld, tmp[i], thres); in lp_build_conv()
|
| /kernel/linux/linux-5.10/drivers/misc/ |
| H A D | apds990x.c | 250 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()
|
| /kernel/linux/linux-6.6/drivers/misc/ |
| H A D | apds990x.c | 250 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()
|
| /kernel/linux/linux-6.6/drivers/iio/adc/ |
| H A D | palmas_gpadc.c | 998 int thres; in palmas_adc_configure_events() local 1027 thres = palmas_gpadc_get_high_threshold_raw(adc, ev); in palmas_adc_configure_events() 1031 thres = palmas_gpadc_get_low_threshold_raw(adc, ev); in palmas_adc_configure_events() 1039 PALMAS_GPADC_THRES_CONV0_LSB, thres & 0xFF); in palmas_adc_configure_events() 1048 ((thres >> 8) & 0xF) | polarity); in palmas_adc_configure_events() 1064 thres = palmas_gpadc_get_high_threshold_raw(adc, ev); in palmas_adc_configure_events() 1068 thres = palmas_gpadc_get_low_threshold_raw(adc, ev); in palmas_adc_configure_events() 1076 PALMAS_GPADC_THRES_CONV1_LSB, thres & 0xFF); in palmas_adc_configure_events() 1085 ((thres >> 8) & 0xF) | polarity); in palmas_adc_configure_events()
|
| /kernel/linux/linux-5.10/include/uapi/linux/ |
| H A D | omap3isp.h | 474 * @thres: Horizontal median filter threshold. 479 __u8 thres; member 511 * @thres: Threshold. 516 __u8 thres; member
|
| /kernel/linux/linux-6.6/include/uapi/linux/ |
| H A D | omap3isp.h | 479 * @thres: Horizontal median filter threshold. 484 __u8 thres; member 516 * @thres: Threshold. 521 __u8 thres; member
|
| /kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
| H A D | omap3isp.h | 258 __u8 thres; member 276 __u8 thres; member
|
| /kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
| H A D | omap3isp.h | 277 __u8 thres; member 295 __u8 thres; member
|
| /kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
| H A D | omap3isp.h | 258 __u8 thres; member 276 __u8 thres; member
|
| /kernel/linux/linux-5.10/include/soc/fsl/ |
| H A D | qman.h | 580 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()
|
| /kernel/linux/linux-6.6/include/soc/fsl/ |
| H A D | qman.h | 580 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()
|
| /kernel/linux/linux-6.6/drivers/soc/qcom/ |
| H A D | icc-bwmon.c | 554 unsigned int thres; in bwmon_set_threshold() local 556 thres = mult_frac(bwmon_kbps_to_count(bwmon, kbps), in bwmon_set_threshold() 558 regmap_field_write(reg, thres); in bwmon_set_threshold()
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | cudbg_entity.h | 28 u16 thres[CIM_NUM_IBQ]; member
|
| /kernel/linux/linux-5.10/drivers/staging/media/rkisp1/uapi/ |
| H A D | rkisp1-config.h | 557 * @thres: threshold used for minimizing the influence of noise 564 __u32 thres; member
|