/linux-master/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_police.c | 13 u32 idx, pup_tokens, max_pup_tokens, burst, thres; local 27 thres = DIV_ROUND_UP(burst, g->min_burst); 36 spx5_rmw(ANA_AC_SDLB_THRES_THRES_SET(thres), ANA_AC_SDLB_THRES_THRES,
|
/linux-master/drivers/input/misc/ |
H A D | bma150.c | 226 u8 enable, u8 hyst, u8 dur, u8 thres) 240 error = bma150_write_byte(bma150->client, BMA150_LOW_G_THRES_REG, thres); 250 u8 enable, u8 hyst, u8 dur, u8 thres) 266 BMA150_HIGH_G_THRES_REG, thres); 277 u8 enable, u8 dur, u8 thres) 289 BMA150_ANY_MOTION_THRES_REG, thres); 225 bma150_set_low_g_interrupt(struct bma150_data *bma150, u8 enable, u8 hyst, u8 dur, u8 thres) argument 249 bma150_set_high_g_interrupt(struct bma150_data *bma150, u8 enable, u8 hyst, u8 dur, u8 thres) argument 276 bma150_set_any_motion_interrupt(struct bma150_data *bma150, u8 enable, u8 dur, u8 thres) argument
|
/linux-master/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | xgmac.c | 349 unsigned int thres, v, reg; local 407 thres = (adap->params.vpd.cclk * 1000) / 15625; 408 thres = (thres * mtu) / 1000; 410 thres /= 10; 411 thres = mtu > thres ? (mtu - thres + 7) / 8 : 0; 412 thres = max(thres, [all...] |
/linux-master/drivers/iio/adc/ |
H A D | palmas_gpadc.c | 998 int thres; local 1027 thres = palmas_gpadc_get_high_threshold_raw(adc, ev); 1031 thres = palmas_gpadc_get_low_threshold_raw(adc, ev); 1039 PALMAS_GPADC_THRES_CONV0_LSB, thres & 0xFF); 1048 ((thres >> 8) & 0xF) | polarity); 1064 thres = palmas_gpadc_get_high_threshold_raw(adc, ev); 1068 thres = palmas_gpadc_get_low_threshold_raw(adc, ev); 1076 PALMAS_GPADC_THRES_CONV1_LSB, thres & 0xFF); 1085 ((thres >> 8) & 0xF) | polarity);
|
/linux-master/drivers/i2c/busses/ |
H A D | i2c-xlp9xx.c | 131 u32 thres; local 137 thres = 1; 139 thres = XLP9XX_I2C_FIFO_SIZE; 141 thres = priv->msg_buf_remaining; 144 thres << XLP9XX_I2C_MFIFOCTRL_HITH_SHIFT);
|
/linux-master/drivers/misc/ |
H A D | apds990x.c | 250 u32 thres; local 280 thres = lux * cpl / 64; 295 thres = (chip->rcf.cf1 * thres + chip->rcf.irf1 * ir) / 298 thres = (chip->rcf.cf2 * thres + chip->rcf.irf2 * ir) / 301 if (thres >= chip->a_max_result) 302 thres = chip->a_max_result - 1; 303 return thres;
|
/linux-master/include/uapi/linux/ |
H A D | omap3isp.h | 479 * @thres: Horizontal median filter threshold. 484 __u8 thres; member in struct:omap3isp_prev_hmed 516 * @thres: Threshold. 521 __u8 thres; member in struct:omap3isp_prev_csup
|
H A D | rkisp1-config.h | 644 * @thres: threshold used for minimizing the influence of noise 651 __u32 thres; member in struct:rkisp1_cif_isp_afc_config
|
/linux-master/include/soc/fsl/ |
H A D | qman.h | 580 int thres = be16_to_cpu(th->word); local 582 return ((thres >> 5) & 0xff) << (thres & 0x1f);
|
/linux-master/drivers/soc/qcom/ |
H A D | icc-bwmon.c | 554 unsigned int thres; local 556 thres = mult_frac(bwmon_kbps_to_count(bwmon, kbps), 558 regmap_field_write(reg, thres);
|
/linux-master/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cudbg_entity.h | 28 u16 thres[CIM_NUM_IBQ]; member in struct:cudbg_cim_qcfg
|
H A D | cxgb4_debugfs.c | 339 u16 thres[CIM_NUM_IBQ]; local 363 t4_read_cimq_cfg(adap, base, size, thres); 369 qname[i], base[i], size[i], thres[i],
|
H A D | cxgb4.h | 1929 void t4_read_cimq_cfg(struct adapter *adap, u16 *base, u16 *size, u16 *thres);
|
/linux-master/mm/damon/ |
H A D | core.c | 1327 * thres '->nr_accesses' diff threshold for the merge 1330 static void damon_merge_regions_of(struct damon_target *t, unsigned int thres, argument 1336 if (abs(r->nr_accesses - r->last_nr_accesses) > thres) 1342 abs(prev->nr_accesses - r->nr_accesses) <= thres &&
|
/linux-master/drivers/media/platform/qcom/venus/ |
H A D | hfi_cmds.c | 910 struct hfi_scs_threshold *thres = prop_data; local 913 thres->threshold_value = *in; 914 pkt->shdr.hdr.size += sizeof(u32) + sizeof(*thres);
|
/linux-master/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
H A D | chtls_io.c | 1318 u32 thres; local 1320 thres = 15 * 1024; 1337 if (must_send || credits >= thres)
|
/linux-master/drivers/media/platform/ti/omap3isp/ |
H A D | isppreview.c | 206 (hmed->thres << ISPPRV_HMED_THRESHOLD_SHIFT), 276 cs->gain | (cs->thres << ISPPRV_CSUP_THRES_SHIFT) | 1321 params->csup.thres = FLR_CSUP_THRES;
|
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | pio.c | 1835 u32 thres; local 1837 thres = min(sc_percent_to_threshold(dd->kernel_send_context[scontext], 1842 sc_set_cr_threshold(dd->kernel_send_context[scontext], thres);
|
H A D | chip.c | 10126 u32 thres; local 10145 thres = min(sc_percent_to_threshold(dd->vld[i].sc, 50), 10152 thres); local 10154 thres = min(sc_percent_to_threshold(dd->vld[15].sc, 50), 10158 sc_set_cr_threshold(dd->vld[15].sc, thres);
|
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_buffers.c | 353 static void mlxsw_sp_hdroom_buf_pack(char *pbmc_pl, int index, u16 size, u16 thres, bool lossy) argument 359 thres);
|
/linux-master/drivers/media/dvb-frontends/drx39xyj/ |
H A D | drx_driver.h | 1577 u16 thres; /* carrier detetcion threshold for primary carrier (A) */ member in struct:drx_aud_carrier
|
/linux-master/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A D | cxgb4vf_main.c | 1035 static int closest_thres(const struct sge *s, int thres) argument 1040 delta = thres - s->counter_val[i];
|
/linux-master/drivers/media/platform/rockchip/rkisp1/ |
H A D | rkisp1-params.c | 934 rkisp1_write(params->rkisp1, RKISP1_CIF_ISP_AFM_THRES, arg->thres); 964 rkisp1_write(params->rkisp1, RKISP1_CIF_ISP_AFM_THRES, arg->thres);
|
/linux-master/arch/mips/include/asm/octeon/ |
H A D | cvmx-mio-defs.h | 881 uint64_t thres:6; member in struct:cvmx_mio_emm_dma::cvmx_mio_emm_dma_s 893 uint64_t thres:6;
|
/linux-master/drivers/net/wireless/realtek/rtw88/ |
H A D | rtw8723d.c | 384 u8 channel, u32 thres) 401 if (rtw_read32(rtwdev, REG_PSDRPT) >= thres) 383 rtw8723d_check_spur_ov_thres(struct rtw_dev *rtwdev, u8 channel, u32 thres) argument
|