/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb3/ |
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, 8U); /* need at least 8 */ in t3_mac_set_mtu() 416 V_TXFIFOTHRESH(thres) | V_TXIPG(ipg)); in t3_mac_set_mtu()
|
/Linux-v4.19/drivers/iio/adc/ |
D | palmas_gpadc.c | 657 int thres; in palmas_adc_wakeup_configure() local 684 thres = adc->wakeup1_data.adc_high_threshold; in palmas_adc_wakeup_configure() 687 thres = adc->wakeup1_data.adc_low_threshold; in palmas_adc_wakeup_configure() 692 PALMAS_GPADC_THRES_CONV0_LSB, thres & 0xFF); in palmas_adc_wakeup_configure() 701 ((thres >> 8) & 0xF) | polarity); in palmas_adc_wakeup_configure() 715 thres = adc->wakeup2_data.adc_high_threshold; in palmas_adc_wakeup_configure() 718 thres = adc->wakeup2_data.adc_low_threshold; in palmas_adc_wakeup_configure() 723 PALMAS_GPADC_THRES_CONV1_LSB, thres & 0xFF); in palmas_adc_wakeup_configure() 732 ((thres >> 8) & 0xF) | polarity); in palmas_adc_wakeup_configure()
|
/Linux-v4.19/drivers/input/misc/ |
D | bma150.c | 241 u8 enable, u8 hyst, u8 dur, u8 thres) in bma150_set_low_g_interrupt() argument 255 error = bma150_write_byte(bma150->client, BMA150_LOW_G_THRES_REG, thres); in bma150_set_low_g_interrupt() 265 u8 enable, u8 hyst, u8 dur, u8 thres) in bma150_set_high_g_interrupt() argument 281 BMA150_HIGH_G_THRES_REG, thres); in bma150_set_high_g_interrupt() 292 u8 enable, u8 dur, u8 thres) in bma150_set_any_motion_interrupt() argument 304 BMA150_ANY_MOTION_THRES_REG, thres); in bma150_set_any_motion_interrupt()
|
/Linux-v4.19/drivers/i2c/busses/ |
D | i2c-xlp9xx.c | 133 u32 thres; in xlp9xx_i2c_update_rx_fifo_thres() local 139 thres = 1; in xlp9xx_i2c_update_rx_fifo_thres() 141 thres = XLP9XX_I2C_FIFO_SIZE; in xlp9xx_i2c_update_rx_fifo_thres() 143 thres = priv->msg_buf_remaining; in xlp9xx_i2c_update_rx_fifo_thres() 146 thres << XLP9XX_I2C_MFIFOCTRL_HITH_SHIFT); in xlp9xx_i2c_update_rx_fifo_thres()
|
/Linux-v4.19/drivers/misc/ |
D | apds990x.c | 265 u32 thres; in apds990x_lux_to_threshold() local 295 thres = lux * cpl / 64; in apds990x_lux_to_threshold() 310 thres = (chip->rcf.cf1 * thres + chip->rcf.irf1 * ir) / in apds990x_lux_to_threshold() 313 thres = (chip->rcf.cf2 * thres + chip->rcf.irf2 * ir) / in apds990x_lux_to_threshold() 316 if (thres >= chip->a_max_result) in apds990x_lux_to_threshold() 317 thres = chip->a_max_result - 1; in apds990x_lux_to_threshold() 318 return thres; in apds990x_lux_to_threshold()
|
/Linux-v4.19/include/uapi/linux/ |
D | omap3isp.h | 479 __u8 thres; member 516 __u8 thres; member
|
/Linux-v4.19/include/soc/fsl/ |
D | qman.h | 579 int thres = be16_to_cpu(th->word); in qm_cgr_cs_thres_get64() local 581 return ((thres >> 5) & 0xff) << (thres & 0x1f); in qm_cgr_cs_thres_get64()
|
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/ |
D | cudbg_entity.h | 40 u16 thres[CIM_NUM_IBQ]; member
|
D | cxgb4_debugfs.c | 339 u16 thres[CIM_NUM_IBQ]; in cim_qcfg_show() local 363 t4_read_cimq_cfg(adap, base, size, thres); in cim_qcfg_show() 369 qname[i], base[i], size[i], thres[i], in cim_qcfg_show()
|
D | cxgb4.h | 1672 void t4_read_cimq_cfg(struct adapter *adap, u16 *base, u16 *size, u16 *thres);
|
D | cxgb4_main.c | 994 static int closest_thres(const struct sge *s, int thres) in closest_thres() argument 999 delta = thres - s->counter_val[i]; in closest_thres()
|
D | t4_hw.c | 9473 void t4_read_cimq_cfg(struct adapter *adap, u16 *base, u16 *size, u16 *thres) in t4_read_cimq_cfg() argument 9486 *thres++ = QUEFULLTHRSH_G(v) * 8; /* 8-byte unit */ in t4_read_cimq_cfg()
|
D | cudbg_lib.c | 571 cim_qcfg_data->thres); in cudbg_collect_cim_qcfg()
|
/Linux-v4.19/drivers/media/platform/qcom/venus/ |
D | hfi_cmds.c | 905 struct hfi_scs_threshold *thres = prop_data; in pkt_session_set_property_1x() local 908 thres->threshold_value = *in; in pkt_session_set_property_1x() 909 pkt->shdr.hdr.size += sizeof(u32) + sizeof(*thres); in pkt_session_set_property_1x()
|
/Linux-v4.19/drivers/infiniband/hw/hfi1/ |
D | pio.c | 1862 u32 thres; in set_threshold() local 1864 thres = min(sc_percent_to_threshold(dd->kernel_send_context[scontext], in set_threshold() 1869 sc_set_cr_threshold(dd->kernel_send_context[scontext], thres); in set_threshold()
|
D | chip.c | 10071 u32 thres; in set_send_length() local 10090 thres = min(sc_percent_to_threshold(dd->vld[i].sc, 50), in set_send_length() 10097 thres); in set_send_length() 10099 thres = min(sc_percent_to_threshold(dd->vld[15].sc, 50), in set_send_length() 10103 sc_set_cr_threshold(dd->vld[15].sc, thres); in set_send_length()
|
/Linux-v4.19/drivers/crypto/chelsio/chtls/ |
D | chtls_io.c | 1381 u32 thres; in chtls_cleanup_rbuf() local 1383 thres = 15 * 1024; in chtls_cleanup_rbuf() 1400 if (must_send || credits >= thres) in chtls_cleanup_rbuf()
|
/Linux-v4.19/drivers/media/platform/omap3isp/ |
D | isppreview.c | 209 (hmed->thres << ISPPRV_HMED_THRESHOLD_SHIFT), in preview_config_hmed() 279 cs->gain | (cs->thres << ISPPRV_CSUP_THRES_SHIFT) | in preview_config_chroma_suppression() 1324 params->csup.thres = FLR_CSUP_THRES; in preview_init_params()
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum.c | 811 static void mlxsw_sp_pg_buf_pack(char *pbmc_pl, int index, u16 size, u16 thres, in mlxsw_sp_pg_buf_pack() argument 818 thres); in mlxsw_sp_pg_buf_pack() 840 u16 thres; in __mlxsw_sp_port_headroom_set() local 854 thres = mlxsw_sp_pg_buf_threshold_get(mlxsw_sp, mtu); in __mlxsw_sp_port_headroom_set() 857 mlxsw_sp_pg_buf_pack(pbmc_pl, i, thres + delay, thres, lossy); in __mlxsw_sp_port_headroom_set()
|
/Linux-v4.19/drivers/media/dvb-frontends/drx39xyj/ |
D | drx_driver.h | 1577 u16 thres; /* carrier detetcion threshold for primary carrier (A) */ member
|
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | cxgb4vf_main.c | 982 static int closest_thres(const struct sge *s, int thres) in closest_thres() argument 987 delta = thres - s->counter_val[i]; in closest_thres()
|
/Linux-v4.19/arch/mips/include/asm/octeon/ |
D | cvmx-mio-defs.h | 1098 uint64_t thres:6; member 1110 uint64_t thres:6;
|