Searched refs:threshold (Results 101 - 125 of 297) sorted by relevance

1234567891011>>

/linux-master/drivers/i2c/busses/
H A Di2c-omap.c196 u8 threshold; member in struct:omap_i2c_dev
613 * Set up notification threshold based on message size. We're doing
619 omap->threshold = clamp(size, (u8) 1, omap->fifo_size);
626 buf |= ((omap->threshold - 1) << 8) | OMAP_I2C_BUF_RXFIF_CLR;
630 buf |= (omap->threshold - 1) | OMAP_I2C_BUF_TXFIF_CLR;
640 omap->latency = (1000000 * omap->threshold) /
1145 if (omap->threshold)
1146 num_bytes = omap->threshold;
1172 if (omap->threshold)
1173 num_bytes = omap->threshold;
[all...]
/linux-master/drivers/net/ethernet/netronome/nfp/abm/
H A Dctrl.c101 unsigned int threshold; local
103 threshold = band * NFP_NET_MAX_RX_RINGS + alink->queue_base + queue;
105 return __nfp_abm_ctrl_set_q_lvl(alink->abm, threshold, val);
H A Dmain.h48 * @thresholds: current threshold configuration
146 * @red.band.threshold: ECN marking threshold
177 u32 threshold; member in struct:nfp_qdisc::__anon494::__anon496::__anon497
/linux-master/lib/zstd/common/
H A Dfse.h572 U32 const threshold = (minNbBits+1) << 16; local
576 U32 const deltaFromThreshold = threshold - (symbolTT[symbolValue].deltaNbBits + tableSize);
579 assert(symbolTT[symbolValue].deltaNbBits + tableSize <= threshold);
/linux-master/drivers/gpu/drm/mediatek/
H A Dmtk_disp_rdma.c188 unsigned int threshold; local
206 * output threshold to 70% of max fifo size to make sure the
209 threshold = rdma_fifo_size * 7 / 10;
212 RDMA_OUTPUT_VALID_FIFO_THRESHOLD(threshold);
/linux-master/net/xfrm/
H A Dxfrm_algo.c604 .threshold = 90,
614 .threshold = 90,
624 .threshold = 50,
/linux-master/drivers/media/platform/nxp/imx8-isi/
H A Dimx8-isi-core.c272 .panic_set_thd_y = { .mask = 0x0000f, .offset = 0, .threshold = 0x7 },
273 .panic_set_thd_u = { .mask = 0x00f00, .offset = 8, .threshold = 0x7 },
274 .panic_set_thd_v = { .mask = 0xf0000, .offset = 16, .threshold = 0x7 },
/linux-master/drivers/comedi/drivers/
H A Djr3_pci.h210 * This structure shows the layout for a single threshold packet inside of a
211 * load envelope. Each load envelope can contain several threshold structures.
212 * 1. data_address contains the address of the data for that threshold. This
214 * 2. threshold is the is the value at which, if data is above or below, the
216 * 3. bit_pattern contains the bits that will be set if the threshold value is
222 s32 threshold; member in struct:thresh_struct
232 * The latched bits will not be reset once the threshold which set them is
235 * 2. number_of_xx_thresholds specify how many GE/LE threshold there are.
/linux-master/tools/testing/selftests/net/forwarding/
H A Dtsn_lib.sh241 --sync-threshold 5000 \
/linux-master/drivers/net/ethernet/ibm/
H A Dibmveth.h116 u32 threshold; member in struct:ibmveth_buff_pool
/linux-master/tools/arch/x86/intel_sdsi/
H A Dintel_sdsi.c86 uint64_t threshold:3; member in struct:availability
282 printf(" Updates Threshold: %d\n", s->regs.prov_avail.threshold);
589 s->regs.prov_avail.threshold);
619 s->regs.prov_avail.threshold);
/linux-master/drivers/md/
H A Ddm-thin-metadata.h218 dm_block_t threshold,
/linux-master/sound/soc/tegra/
H A Dtegra30_ahub.c135 cif_conf.threshold = 0;
237 cif_conf.threshold = 0;
625 value = (conf->threshold <<
657 value = (conf->threshold <<
/linux-master/drivers/input/touchscreen/
H A Dhycon-hy46xx.c60 int threshold; member in struct:hycon_hy46xx_data
249 static HYCON_ATTR_U8(threshold, 0644, HY46XX_THRESHOLD, 0, 255);
285 error = device_property_read_u32(dev, "hycon,threshold", &val);
291 tsdata->threshold = val;
355 tsdata->threshold = val;
/linux-master/tools/perf/util/
H A Dstat-shadow.c476 double ratio, scale, threshold; local
500 expr__parse(&threshold, pctx, metric_threshold) == 0 &&
501 !isnan(threshold)) {
502 color = fpclassify(threshold) == FP_ZERO
/linux-master/include/linux/mfd/
H A Ddb8500-prcmu.h505 int db8500_prcmu_config_hotdog(u8 threshold);
618 static inline int db8500_prcmu_config_hotdog(u8 threshold) argument
/linux-master/drivers/thermal/
H A Dthermal_core.c371 trip->threshold = trip->temperature;
372 if (tz->temperature >= trip->threshold)
373 trip->threshold -= trip->hysteresis;
374 } else if (tz->last_temperature < trip->threshold) {
376 * The trip threshold is equal to the trip temperature, unless
380 * the threshold and the trip temperature will be equal.
385 trip->threshold = trip->temperature - trip->hysteresis;
387 trip->threshold = trip->temperature;
392 * threshold, which would be equal to the "low temperature" of
397 * the trip threshold wil
[all...]
/linux-master/drivers/iio/accel/
H A Dadxl367.c308 unsigned int threshold)
313 if (threshold > ADXL367_THRESH_MAX)
318 threshold));
321 threshold));
329 st->act_threshold = threshold;
331 st->inact_threshold = threshold;
338 unsigned int threshold)
348 ret = _adxl367_set_act_threshold(st, act, threshold);
306 _adxl367_set_act_threshold(struct adxl367_state *st, enum adxl367_activity_type act, unsigned int threshold) argument
336 adxl367_set_act_threshold(struct adxl367_state *st, enum adxl367_activity_type act, unsigned int threshold) argument
/linux-master/drivers/spi/
H A Dspi-uniphier.c306 unsigned int threshold)
312 val |= FIELD_PREP(SSI_FC_TXFTH_MASK, SSI_FIFO_DEPTH - threshold);
313 val |= FIELD_PREP(SSI_FC_RXFTH_MASK, threshold);
531 unsigned long threshold; local
548 threshold = DIV_ROUND_UP(SSI_POLL_TIMEOUT_US * priv->speed_hz,
550 if (t->len > threshold)
305 uniphier_spi_set_fifo_threshold(struct uniphier_spi_priv *priv, unsigned int threshold) argument
/linux-master/drivers/net/wireless/st/cw1200/
H A Dsta.c382 * threshold are not supported.
877 pr_debug("[STA] Setting RTS threshold: %d\n",
1126 struct wsm_rcpi_rssi_threshold threshold = { local
1140 if (threshold.rssiRcpiMode & WSM_RCPI_RSSI_USE_RSSI)
1159 wsm_set_rcpi_rssi_threshold(priv, &threshold);
2030 struct wsm_rcpi_rssi_threshold threshold = { local
2033 pr_debug("[CQM] RSSI threshold subscribe: %d +- %d\n",
2040 /* TODO: It's not a correct way of setting threshold.
2050 threshold.upperThreshold =
2052 threshold
[all...]
/linux-master/drivers/net/ethernet/aquantia/atlantic/hw_atl/
H A Dhw_atl_b0.c175 u32 threshold = 0U; local
180 threshold = (tx_buff_size * (1024 / 32U) * 66U) / 100U;
181 hw_atl_tpb_tx_buff_hi_threshold_per_tc_set(self, threshold, tc);
183 threshold = (tx_buff_size * (1024 / 32U) * 50U) / 100U;
184 hw_atl_tpb_tx_buff_lo_threshold_per_tc_set(self, threshold, tc);
189 threshold = (rx_buff_size * (1024U / 32U) * 66U) / 100U;
190 hw_atl_rpb_rx_buff_hi_threshold_per_tc_set(self, threshold, tc);
192 threshold = (rx_buff_size * (1024U / 32U) * 50U) / 100U;
193 hw_atl_rpb_rx_buff_lo_threshold_per_tc_set(self, threshold, tc);
807 /* Set Tx threshold */
[all...]
/linux-master/drivers/input/mouse/
H A Dappletouch.c243 * Make the threshold a module parameter
245 static int threshold = ATP_THRESHOLD; variable
246 module_param(threshold, int, 0644);
247 MODULE_PARM_DESC(threshold, "Discard any change in data from a sensor"
351 if (xy_sensors[i] < threshold) {
374 } else if (i > 0 && (xy_sensors[i - 1] - xy_sensors[i] > threshold)) {
384 * combat noise without needing to rely so heavily on a threshold.
/linux-master/net/ipv4/
H A Dipmr_base.c12 unsigned char threshold,
23 v->threshold = threshold;
9 vif_device_init(struct vif_device *v, struct net_device *dev, unsigned long rate_limit, unsigned char threshold, unsigned short flags, unsigned short get_iflink_mask) argument
/linux-master/drivers/staging/media/atomisp/include/linux/
H A Datomisp.h80 /* [intensity] coring threshold for Cb (Used by YCC NR) */
82 /* [intensity] coring threshold for Cr (Used by YCC NR) */
129 /* [intensity] The threshold that divides noises from edge. u8_8 */
130 unsigned int threshold; member in struct:atomisp_ee_config
306 /* [intensity] The threshold of defect Pixel Correction, representing
311 unsigned int threshold; member in struct:atomisp_dp_config
322 /* XNR threshold */
324 __u16 threshold; member in struct:atomisp_xnr_config
/linux-master/drivers/media/rc/
H A Dimon.c488 /* threshold at which a pad push registers as an arrow key in kbd mode */
1176 * routine with shorter timeout and a smaller threshold.
1178 static int stabilize(int a, int b, u16 timeout, u16 threshold) argument
1202 if (abs(x) > threshold || abs(y) > threshold) {
1217 y = 17 * threshold / 30;
1220 y -= 17 * threshold / 30;
1223 x = 17 * threshold / 30;
1226 x -= 17 * threshold / 30;
1394 u16 timeout, threshold; local
[all...]

Completed in 274 milliseconds

1234567891011>>