/linux-master/net/xfrm/ |
H A D | xfrm_ipcomp.c | 161 if (skb->len < ipcd->threshold) { 359 ipcd->threshold = calg_desc->uinfo.comp.threshold;
|
/linux-master/drivers/usb/host/ |
H A D | ehci-st.c | 53 u32 threshold; local 55 /* Set EHCI packet buffer IN/OUT threshold to 128 bytes */ 56 threshold = 128 | (128 << 16); 57 writel(threshold, hcd->regs + AHB2STBUS_INSREG01);
|
/linux-master/include/linux/mfd/ |
H A D | dbx500-prcmu.h | 330 static inline int prcmu_config_hotdog(u8 threshold) argument 332 return db8500_prcmu_config_hotdog(threshold); 512 static inline int prcmu_config_hotdog(u8 threshold) argument
|
/linux-master/sound/soc/ti/ |
H A D | omap-mcbsp.c | 120 dev_dbg(mcbsp->dev, "TX Buffer threshold Reached\n"); 236 * omap_mcbsp_set_rx_threshold configures the transmit threshold in words. 237 * The threshold parameter is 1 based, and it is converted (threshold - 1) 240 static void omap_mcbsp_set_tx_threshold(struct omap_mcbsp *mcbsp, u16 threshold) argument 242 if (threshold && threshold <= mcbsp->max_tx_thres) 243 MCBSP_WRITE(mcbsp, THRSH2, threshold - 1); 247 * omap_mcbsp_set_rx_threshold configures the receive threshold in words. 248 * The threshold paramete 251 omap_mcbsp_set_rx_threshold(struct omap_mcbsp *mcbsp, u16 threshold) argument 277 u16 buffstat, threshold; local [all...] |
/linux-master/drivers/input/keyboard/ |
H A D | gpio_keys_polled.c | 32 int threshold; member in struct:gpio_keys_button_data 99 if (bdata->count < bdata->threshold) { 333 bdata->threshold = DIV_ROUND_UP(button->debounce_interval,
|
/linux-master/drivers/net/usb/ |
H A D | sr9800.h | 166 static const struct {unsigned short size, byte_cnt, threshold; } SR9800_BULKIN_SIZE[] = { member in struct:__anon1719
|
/linux-master/net/dsa/ |
H A D | devlink.c | 66 u32 threshold, 76 pool_index, threshold, extack); 100 u16 pool_index, u32 threshold, 111 pool_index, threshold, 64 dsa_devlink_sb_port_pool_set(struct devlink_port *dlp, unsigned int sb_index, u16 pool_index, u32 threshold, struct netlink_ext_ack *extack) argument 97 dsa_devlink_sb_tc_pool_bind_set(struct devlink_port *dlp, unsigned int sb_index, u16 tc_index, enum devlink_sb_pool_type pool_type, u16 pool_index, u32 threshold, struct netlink_ext_ack *extack) argument
|
/linux-master/include/linux/ |
H A D | psi_types.h | 128 /* User-spacified threshold in ns */ 129 u64 threshold; member in struct:psi_trigger
|
/linux-master/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
H A D | hw_atl2.c | 180 u32 threshold = 0U; local 185 threshold = (tx_buff_size * (1024 / 32U) * 66U) / 100U; 186 hw_atl_tpb_tx_buff_hi_threshold_per_tc_set(self, threshold, tc); 188 threshold = (tx_buff_size * (1024 / 32U) * 50U) / 100U; 189 hw_atl_tpb_tx_buff_lo_threshold_per_tc_set(self, threshold, tc); 194 threshold = (rx_buff_size * (1024U / 32U) * 66U) / 100U; 195 hw_atl_rpb_rx_buff_hi_threshold_per_tc_set(self, threshold, tc); 197 threshold = (rx_buff_size * (1024U / 32U) * 50U) / 100U; 198 hw_atl_rpb_rx_buff_lo_threshold_per_tc_set(self, threshold, tc);
|
/linux-master/drivers/iio/cdc/ |
H A D | ad7150.c | 65 * @threshold: thresholds for simple capacitance value events 66 * @thresh_sensitivity: threshold for simple capacitance offset 69 * adaptive threshold event occurs to when the average 71 * 3:0 are for timeout receding - applies if below lower threshold 72 * 7:4 are for timeout approaching - applies if above upper threshold 77 * @type: threshold type 78 * @dir: threshold direction 82 u16 threshold[2][2]; member in struct:ad7150_chip_info 165 /*check if threshold mode is fixed or adaptive*/ 199 u16 value = chip->threshold[risin [all...] |
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | bpf_cubic.c | 451 __u32 threshold; local 460 threshold = ca->delay_min + hystart_ack_delay(sk); 468 threshold >>= 1; 470 if ((__s32)(now - ca->round_start) > threshold) { 519 /* hystart triggers when cwnd is larger than some threshold */
|
/linux-master/drivers/usb/typec/tcpm/ |
H A D | tcpci.c | 343 unsigned int pwr_ctrl, threshold = 0; local 359 threshold = AUTO_DISCHARGE_DEFAULT_THRESHOLD_MV; 362 threshold = ((VPPS_NEW_MIN_PERCENT * requested_vbus_voltage_mv / 100) - 366 threshold = ((VSRC_NEW_MIN_PERCENT * requested_vbus_voltage_mv / 100) - 371 threshold = AUTO_DISCHARGE_DEFAULT_THRESHOLD_MV; 374 threshold = threshold / TCPC_VBUS_SINK_DISCONNECT_THRESH_LSB_MV; 376 if (threshold > TCPC_VBUS_SINK_DISCONNECT_THRESH_MAX) 380 return tcpci_write16(tcpci, TCPC_VBUS_SINK_DISCONNECT_THRESH, threshold); 388 /* To prevent disconnect during FRS, set disconnect threshold t [all...] |
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
H A D | phy.h | 231 u8 thermal_value, u8 threshold); 233 u8 thermal_value, u8 threshold);
|
/linux-master/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2x00queue.h | 434 * @threshold: Minimum number of free entries before queue is kicked by force. 464 unsigned short threshold; member in struct:data_queue 615 * rt2x00queue_threshold - Check if the queue is below threshold 620 return rt2x00queue_available(queue) < queue->threshold;
|
/linux-master/drivers/spi/ |
H A D | spi-pxa2xx-dma.c | 227 u32 *threshold) 239 *threshold = SSCR1_RxTresh(RX_THRESH_DFLT) 224 pxa2xx_spi_set_dma_burst_and_threshold(struct chip_data *chip, struct spi_device *spi, u8 bits_per_word, u32 *burst_code, u32 *threshold) argument
|
/linux-master/drivers/thermal/qcom/ |
H A D | tsens-8960.c | 61 ret = regmap_read(map, THRESHOLD_ADDR, &priv->ctx.threshold); 100 ret = regmap_write(map, THRESHOLD_ADDR, priv->ctx.threshold); 248 /* TSENS_INT_STATUS bits: 1 == threshold violated */
|
/linux-master/drivers/iio/accel/ |
H A D | adxl372.c | 302 struct mutex threshold_m; /* lock for threshold */ 315 u16 *threshold) 329 *threshold = regval; 335 u16 threshold) 341 ret = regmap_write(st->regmap, addr, ADXL372_THRESH_VAL_H_SEL(threshold)); 346 ADXL372_THRESH_VAL_L_SEL(threshold) << 5); 447 unsigned int threshold) 453 th_reg_high_val = (threshold / 100) >> 3; 454 th_reg_low_val = ((threshold / 100) << 5) | (ref_en << 1) | enable; 705 /* Set threshold fo 314 adxl372_read_threshold_value(struct iio_dev *indio_dev, unsigned int addr, u16 *threshold) argument 334 adxl372_write_threshold_value(struct iio_dev *indio_dev, unsigned int addr, u16 threshold) argument 444 adxl372_set_activity_threshold(struct adxl372_state *st, enum adxl372_th_activity act, bool ref_en, bool enable, unsigned int threshold) argument [all...] |
/linux-master/scripts/ |
H A D | Makefile.kasan | 44 $(call cc-param,asan-instrumentation-with-call-threshold=$(call_threshold)) \
|
/linux-master/include/drm/ |
H A D | gpu_scheduler.h | 380 int threshold) 382 return s_job && atomic_inc_return(&s_job->karma) > threshold; 379 drm_sched_invalidate_job(struct drm_sched_job *s_job, int threshold) argument
|
/linux-master/drivers/comedi/drivers/ |
H A D | quatech_daqp_cs.c | 466 int threshold; local 504 /* Now it's time to program the FIFO threshold, basically the 511 * threshold set at half the FIFO size, we have a margin of 523 * the stop count itself as the threshold, the card interrupts 529 * interrupt response) and use that as the threshold. So, if 531 * get 1000 samples, use that as the threshold, take four 535 * samples are requested, we could set the threshold to 1500 538 * Instead, it'll set the threshold at 1266 and take 64 544 * threshold (1500 = 3 * 5^3 * 2^2) and an interrupt count (54 566 * compute the FIFO threshold (i [all...] |
/linux-master/drivers/media/dvb-frontends/ |
H A D | dib3000mb.c | 448 u32 dds_val, threshold = 0x800000; local 455 if (dds_val < threshold) 457 else if (dds_val == threshold) 464 if (dds_val < threshold) 466 else if (dds_val == threshold)
|
/linux-master/tools/testing/selftests/mm/ |
H A D | mremap_test.c | 367 unsigned long long threshold; local 370 threshold = c.region_size; 372 threshold = MIN(threshold_mb * _1MB, c.region_size); 382 for (t = 0; t < threshold; t++) 441 for (t = 0; t < threshold; t++) { 603 " \t if 0 is supplied no threshold is used; all tests\n" 605 " \t The default threshold used is 4MB.\n"
|
/linux-master/tools/tracing/rtla/src/ |
H A D | osnoise_hist.c | 27 long long threshold; member in struct:osnoise_hist_params 449 " -T/--threshold us: the minimum delta to be considered a noise", 527 {"threshold", required_argument, 0, 'T'}, 552 /* set sample threshold to 1 */ 553 params->threshold = 1; 640 params->threshold = get_llong_from_str(optarg); 744 if (params->threshold) { 745 retval = osnoise_set_tracing_thresh(tool->context, params->threshold);
|
H A D | osnoise_top.c | 34 long long threshold; member in struct:osnoise_top_params 293 " -T/--threshold us: the minimum delta to be considered a noise", 380 {"threshold", required_argument, 0, 'T'}, 402 /* set sample threshold to 1 */ 403 params->threshold = 1; 490 params->threshold = get_llong_from_str(optarg); 572 if (params->threshold) { 573 retval = osnoise_set_tracing_thresh(tool->context, params->threshold);
|
/linux-master/drivers/input/touchscreen/ |
H A D | rohm_bu21023.c | 532 unsigned int threshold; local 569 threshold = untouch_threshold[prev_finger_count]; 570 if (++ts->contact_count[0] >= threshold) 575 threshold = single_touch_threshold[prev_finger_count]; 576 if (++ts->contact_count[1] >= threshold) 590 threshold = dual_touch_threshold[prev_finger_count]; 591 if (++ts->contact_count[2] >= threshold)
|