Home
last modified time | relevance | path

Searched refs:threshold (Results 1 – 200 of 302) sorted by relevance

12

/linux-4.4.14/Documentation/hwmon/
Dmax166829 temp1_max rw local temperature maximum threshold for alarm
30 temp1_max_alarm ro local temperature maximum threshold alarm
31 temp1_min rw local temperature minimum threshold for alarm
32 temp1_min_alarm ro local temperature minimum threshold alarm
34 temp2_max rw remote temperature 1 maximum threshold for alarm
35 temp2_max_alarm ro remote temperature 1 maximum threshold alarm
36 temp2_min rw remote temperature 1 minimum threshold for alarm
37 temp2_min_alarm ro remote temperature 1 minimum threshold alarm
39 temp3_max rw remote temperature 2 maximum threshold for alarm
40 temp3_max_alarm ro remote temperature 2 maximum threshold alarm
[all …]
Dltc294550 in1_min Undervoltage threshold
51 in1_max Overvoltage threshold
59 in2_min Undervoltage threshold
60 in2_max Overvoltage threshold
68 curr1_min Undercurrent threshold
69 curr1_max Overcurrent threshold
78 power1_min Low lower threshold
79 power1_max High power threshold
Dmax669754 tempX_max RW temperature maximum threshold
55 tempX_max_alarm RO temperature maximum threshold alarm
56 tempX_crit RW temperature critical threshold
57 tempX_crit_alarm RO temperature critical threshold alarm
Dabituguru-datasheet220 Bit 0: Give an alarm if measured temp is over the warning threshold (RW) *
221 Bit 1: Give an alarm if measured volt is over the max threshold (RW) **
222 Bit 2: Give an alarm if measured volt is under the min threshold (RW) **
224 Bit 4: 1 if alarm cause measured temp is over the warning threshold (R)
225 Bit 5: 1 if alarm cause measured volt is over the max threshold (R)
226 Bit 6: 1 if alarm cause measured volt is under the min threshold (R)
228 Temp sensor: Shutdown if temp is over the shutdown threshold (RW)
237 Temp sensor: warning threshold (scale as bank 0x21)
238 Volt sensor: min threshold (scale as bank 0x21)
241 Temp sensor: shutdown threshold (scale as bank 0x21)
[all …]
Djc4279 Per JC 42.4 specification, the hysteresis threshold can be configured to 0, 1.5,
Dk10temp75 If the BIOS has enabled hardware temperature control, the threshold at
Dw83781d372 while the other bits seem to define a value or threshold.
374 When bit 7 is clear, bits 6-0 seem to hold a threshold value. If the value
382 When bit 7 is set, bits 3-0 seem to hold a threshold value, while bits 6-4
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-bus-iio-adc-hi84356 Program sensor type for threshold detector inputs.
8 threshold detector input channel. Channels 0..7, 8..15, 16..23
16 Channel Y low voltage threshold. If sensor input voltage goes lower then
17 this value then the threshold falling event is pushed.
18 Depending on in_voltageY_sensing_mode the low voltage threshold
20 Channels 0..31 have common low threshold values, but could have different
22 The low voltage threshold range is between 2..21V.
25 If falling threshold results hysteresis to odd value then rising
26 threshold is automatically subtracted by one.
33 Channel Y high voltage threshold. If sensor input voltage goes higher then
[all …]
Dsysfs-bus-iio-light-lm3533-als25 Specifies the value of threshold that the device is comparing
Dsysfs-platform-dell-laptop18 This file allows to specifiy the on/off threshold value,
Dsysfs-bus-iio590 Event generated when channel passes a threshold in the specified
593 a single threshold value is passed in (e.g.
643 Event generated when channel passes a threshold on the rate of
647 threshold value is passed in (e.g.
703 Specifies the value of threshold that the device is comparing
708 threshold value applies to both directions.
729 threshold.
785 Specifies the hysteresis of threshold that the device is comparing
792 this event to get the upper threshold for when the event goes back to
834 Specifies the value of rate of change threshold that the
[all …]
Dsysfs-class-power55 This entry shows and sets the charging current threshold for
/linux-4.4.14/drivers/soc/tegra/fuse/
Dspeedo-tegra124.c62 int *threshold) in rev_sku_to_speedo_ids() argument
70 *threshold = THRESHOLD_INDEX_0; in rev_sku_to_speedo_ids()
88 *threshold = THRESHOLD_INDEX_0; in rev_sku_to_speedo_ids()
96 *threshold = THRESHOLD_INDEX_1; in rev_sku_to_speedo_ids()
104 *threshold = THRESHOLD_INDEX_1; in rev_sku_to_speedo_ids()
115 int i, threshold, cpu_speedo_0_value, soc_speedo_0_value; in tegra124_init_speedo_data() local
144 rev_sku_to_speedo_ids(sku_info, &threshold); in tegra124_init_speedo_data()
150 gpu_process_speedos[threshold][i]) in tegra124_init_speedo_data()
156 cpu_process_speedos[threshold][i]) in tegra124_init_speedo_data()
162 soc_process_speedos[threshold][i]) in tegra124_init_speedo_data()
Dspeedo-tegra114.c45 int *threshold) in rev_sku_to_speedo_ids() argument
58 *threshold = THRESHOLD_INDEX_0; in rev_sku_to_speedo_ids()
65 *threshold = THRESHOLD_INDEX_1; in rev_sku_to_speedo_ids()
72 *threshold = THRESHOLD_INDEX_0; in rev_sku_to_speedo_ids()
88 int threshold; in tegra114_init_speedo_data() local
96 rev_sku_to_speedo_ids(sku_info, &threshold); in tegra114_init_speedo_data()
102 if (cpu_speedo_val < cpu_process_speedos[threshold][i]) in tegra114_init_speedo_data()
107 if (soc_speedo_val < soc_process_speedos[threshold][i]) in tegra114_init_speedo_data()
Dspeedo-tegra210.c69 u8 speedo_rev, int *threshold) in rev_sku_to_speedo_ids() argument
77 *threshold = THRESHOLD_INDEX_0; in rev_sku_to_speedo_ids()
/linux-4.4.14/net/wireless/
Dwext-spy.c116 struct iw_thrspy * threshold = (struct iw_thrspy *) extra; in iw_handler_set_thrspy() local
123 memcpy(&(spydata->spy_thr_low), &(threshold->low), in iw_handler_set_thrspy()
143 struct iw_thrspy * threshold = (struct iw_thrspy *) extra; in iw_handler_get_thrspy() local
150 memcpy(&(threshold->low), &(spydata->spy_thr_low), in iw_handler_get_thrspy()
167 struct iw_thrspy threshold; in iw_send_thrspy_event() local
173 memcpy(threshold.addr.sa_data, address, ETH_ALEN); in iw_send_thrspy_event()
174 threshold.addr.sa_family = ARPHRD_ETHER; in iw_send_thrspy_event()
176 memcpy(&(threshold.qual), wstats, sizeof(struct iw_quality)); in iw_send_thrspy_event()
178 memcpy(&(threshold.low), &(spydata->spy_thr_low), in iw_send_thrspy_event()
182 wireless_send_event(dev, SIOCGIWTHRSPY, &wrqu, (char *) &threshold); in iw_send_thrspy_event()
/linux-4.4.14/drivers/cpuidle/governors/
Dladder.c33 } threshold; member
88 last_residency > last_state->threshold.promotion_time && in ladder_select_state()
92 if (last_state->stats.promotion_count >= last_state->threshold.promotion_count) { in ladder_select_state()
114 last_residency < last_state->threshold.demotion_time) { in ladder_select_state()
117 if (last_state->stats.demotion_count >= last_state->threshold.demotion_count) { in ladder_select_state()
149 lstate->threshold.promotion_count = PROMOTION_COUNT; in ladder_enable_device()
150 lstate->threshold.demotion_count = DEMOTION_COUNT; in ladder_enable_device()
153 lstate->threshold.promotion_time = state->exit_latency; in ladder_enable_device()
155 lstate->threshold.demotion_time = state->exit_latency; in ladder_enable_device()
/linux-4.4.14/Documentation/misc-devices/
Dbh1770glc.txt22 low and high threshold interrupts.
30 Driver uses threshold interrupts to avoid need for polling the values.
32 by using a delayed work. As long as there is proximity threshold above
34 below the threshold value, there is no interrupt and the delayed work will
57 sysfs_notify called when threshold interrupt occurs
69 RW - HI level threshold value. All results above the value
74 RW - LO level threshold value. All results below the value
87 sysfs_notify called when threshold interrupt occurs
101 RW - Measurement rate (in Hz) when the level is above threshold
105 RW - Measurement rate (in Hz) when the level is below threshold
[all …]
Dapds990x.txt21 (infrared + visible light) and IR only. However, threshold comparisons happen
22 using clear channel only. Lux value and the threshold level on the HW
27 channels. HW threshold level is calculated from the given lux value to match
57 sysfs_notify called when threshold interrupt occurs
79 RW - HI level threshold value. All results above the value
84 RW - LO level threshold value. All results below the value
89 sysfs_notify called when threshold interrupt occurs
111 RW - threshold level which trigs proximity events.
/linux-4.4.14/Documentation/video4linux/
Dsi476x.txt33 | | crossed below the blend threshold
36 | | frequency is lower than threshold
39 | | frequency is lower than threshold
42 | | bandwidth is less than threshold
46 | | softmute threshold
88 0x00 | mxhi | 0 - FM Mixer PD high threshold is
90 | | 1 - FM Mixer PD high threshold is
117 | | the Multipath high threshold
119 | | the Multipath high threshold
121 0x01 | multlint | ditto for Multipath low threshold
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/power_supply/
Dmax17042_battery.txt12 Optional threshold properties :
14 - maxim,cold-temp : Temperature threshold to report battery
16 - maxim,over-heat-temp : Temperature threshold to report battery
18 - maxim,dead-volt : Voltage threshold to report battery
20 - maxim,over-volt : Voltage threshold to report battery
Dmax8925_batter.txt6 - topoff-threshold: set charging current in topoff mode
14 topoff-threshold = <1>;
Dqcom_smbb.txt48 - qcom,fast-charge-low-threshold-voltage:
55 - qcom,fast-charge-high-threshold-voltage:
76 - qcom,auto-recharge-threshold-voltage:
Dcharger-manager.txt25 - cm-battery-* : threshold battery temperature for charging
/linux-4.4.14/drivers/iio/humidity/
Ddht11.c79 static unsigned char dht11_decode_byte(int *timing, int threshold) in dht11_decode_byte() argument
86 if (timing[i] >= threshold) in dht11_decode_byte()
95 int i, t, timing[DHT11_BITS_PER_READ], threshold; in dht11_decode() local
98 threshold = DHT11_DATA_BIT_HIGH / timeres; in dht11_decode()
99 if (DHT11_DATA_BIT_LOW / timeres + 1 >= threshold) in dht11_decode()
111 hum_int = dht11_decode_byte(timing, threshold); in dht11_decode()
112 hum_dec = dht11_decode_byte(&timing[8], threshold); in dht11_decode()
113 temp_int = dht11_decode_byte(&timing[16], threshold); in dht11_decode()
114 temp_dec = dht11_decode_byte(&timing[24], threshold); in dht11_decode()
115 checksum = dht11_decode_byte(&timing[32], threshold); in dht11_decode()
/linux-4.4.14/Documentation/devicetree/bindings/input/touchscreen/
Dmms114.txt11 - contact-threshold:
12 - moving-threshold:
27 contact-threshold = <10>;
28 moving-threshold = <10>;
Dtouchscreen.txt25 - moving-threshold : deprecated name for a combination of
27 - contact-threshold : deprecated name for touchscreen-fuzz-pressure
Dedt-ft5x06.txt37 - threshold: allows setting the "click"-threshold in the range
/linux-4.4.14/drivers/iio/adc/
Dxilinx-xadc-events.c174 *val = xadc->threshold[offset]; in xadc_read_event_value()
206 xadc->threshold[offset] = val; in xadc_write_event_value()
230 if (xadc->threshold[offset] < xadc->temp_hysteresis) in xadc_write_event_value()
231 xadc->threshold[offset + 4] = 0; in xadc_write_event_value()
233 xadc->threshold[offset + 4] = xadc->threshold[offset] - in xadc_write_event_value()
236 xadc->threshold[offset + 4]); in xadc_write_event_value()
Dxilinx-xadc.h51 uint16_t threshold[16]; member
Dxilinx-xadc-core.c1220 &xadc->threshold[i]); in xadc_probe()
1251 xadc->threshold[i] = 0xffff; in xadc_probe()
1253 xadc->threshold[i] = 0; in xadc_probe()
1255 xadc->threshold[i]); in xadc_probe()
/linux-4.4.14/drivers/md/persistent-data/
Ddm-space-map-metadata.c22 struct threshold { struct
25 dm_block_t threshold; argument
31 static void threshold_init(struct threshold *t) in threshold_init() argument
37 static void set_threshold(struct threshold *t, dm_block_t value, in set_threshold()
41 t->threshold = value; in set_threshold()
46 static bool below_threshold(struct threshold *t, dm_block_t value) in below_threshold()
48 return t->threshold_set && value <= t->threshold; in below_threshold()
51 static bool threshold_already_triggered(struct threshold *t) in threshold_already_triggered()
56 static void check_threshold(struct threshold *t, dm_block_t value) in check_threshold()
177 struct threshold threshold; member
[all …]
Ddm-space-map.h70 dm_block_t threshold,
146 dm_block_t threshold, in dm_sm_register_threshold_callback() argument
151 return sm->register_threshold_callback(sm, threshold, fn, context); in dm_sm_register_threshold_callback()
Ddm-btree-remove.c206 unsigned threshold = 2 * merge_threshold(left) + 1; in __rebalance2() local
208 if (nr_left + nr_right < threshold) { in __rebalance2()
352 unsigned threshold = merge_threshold(left) * 4 + 1; in __rebalance3() local
357 if ((nr_left + nr_center + nr_right) < threshold) in __rebalance3()
/linux-4.4.14/drivers/watchdog/
Dintel_scu_watchdog.c126 static int watchdog_set_ipc(int soft_threshold, int threshold) in watchdog_set_ipc() argument
134 ipc_wbuf[1] = threshold; in watchdog_set_ipc()
175 iowrite32(watchdog_device.threshold, in watchdog_timer_interrupt()
217 watchdog_device.threshold = in intel_scu_set_heartbeat()
229 watchdog_device.threshold); in intel_scu_set_heartbeat()
235 watchdog_device.threshold = in intel_scu_set_heartbeat()
236 watchdog_device.threshold / FREQ_ADJUSTMENT; in intel_scu_set_heartbeat()
245 watchdog_device.threshold); in intel_scu_set_heartbeat()
498 watchdog_device.threshold = in intel_scu_watchdog_init()
Dintel_scu_watchdog.h50 u32 threshold; member
/linux-4.4.14/Documentation/thermal/
Dexynos_thermal39 The maximum number of configurable threshold is five.
40 The threshold levels are defined as follows:
41 Level_0: current temperature > trigger_level_0 + threshold
42 Level_1: current temperature > trigger_level_1 + threshold
43 Level_2: current temperature > trigger_level_2 + threshold
44 Level_3: current temperature > trigger_level_3 + threshold
46 The threshold and each trigger_level are set
/linux-4.4.14/drivers/gpu/host1x/hw/
Dhost1x02_hardware.h30 unsigned indx, unsigned threshold) in host1x_class_host_wait_syncpt() argument
33 | host1x_uclass_wait_syncpt_thresh_f(threshold); in host1x_class_host_wait_syncpt()
37 unsigned indx, unsigned threshold) in host1x_class_host_load_syncpt_base() argument
40 | host1x_uclass_load_syncpt_base_value_f(threshold); in host1x_class_host_load_syncpt_base()
Dhost1x04_hardware.h30 unsigned indx, unsigned threshold) in host1x_class_host_wait_syncpt() argument
33 | host1x_uclass_wait_syncpt_thresh_f(threshold); in host1x_class_host_wait_syncpt()
37 unsigned indx, unsigned threshold) in host1x_class_host_load_syncpt_base() argument
40 | host1x_uclass_load_syncpt_base_value_f(threshold); in host1x_class_host_load_syncpt_base()
Dhost1x01_hardware.h30 unsigned indx, unsigned threshold) in host1x_class_host_wait_syncpt() argument
33 | host1x_uclass_wait_syncpt_thresh_f(threshold); in host1x_class_host_wait_syncpt()
37 unsigned indx, unsigned threshold) in host1x_class_host_load_syncpt_base() argument
40 | host1x_uclass_load_syncpt_base_value_f(threshold); in host1x_class_host_load_syncpt_base()
/linux-4.4.14/sound/soc/omap/
Domap-mcpdm.c49 u32 threshold; /* FIFO threshold */ member
190 mcpdm->config[SNDRV_PCM_STREAM_PLAYBACK].threshold); in omap_mcpdm_open_streams()
192 mcpdm->config[SNDRV_PCM_STREAM_CAPTURE].threshold); in omap_mcpdm_open_streams()
298 u32 threshold; in omap_mcpdm_dai_hw_params() local
328 threshold = mcpdm->config[stream].threshold; in omap_mcpdm_dai_hw_params()
338 (MCPDM_DN_THRES_MAX - threshold) * channels; in omap_mcpdm_dai_hw_params()
344 dma_data->maxburst = threshold * channels; in omap_mcpdm_dai_hw_params()
404 mcpdm->config[SNDRV_PCM_STREAM_PLAYBACK].threshold = 2; in omap_mcpdm_probe()
405 mcpdm->config[SNDRV_PCM_STREAM_CAPTURE].threshold = in omap_mcpdm_probe()
Dmcbsp.c443 void omap_mcbsp_set_tx_threshold(struct omap_mcbsp *mcbsp, u16 threshold) in omap_mcbsp_set_tx_threshold() argument
448 if (threshold && threshold <= mcbsp->max_tx_thres) in omap_mcbsp_set_tx_threshold()
449 MCBSP_WRITE(mcbsp, THRSH2, threshold - 1); in omap_mcbsp_set_tx_threshold()
457 void omap_mcbsp_set_rx_threshold(struct omap_mcbsp *mcbsp, u16 threshold) in omap_mcbsp_set_rx_threshold() argument
462 if (threshold && threshold <= mcbsp->max_rx_thres) in omap_mcbsp_set_rx_threshold()
463 MCBSP_WRITE(mcbsp, THRSH1, threshold - 1); in omap_mcbsp_set_rx_threshold()
489 u16 buffstat, threshold; in omap_mcbsp_get_rx_delay() local
497 threshold = MCBSP_READ(mcbsp, THRSH1); in omap_mcbsp_get_rx_delay()
500 if (threshold <= buffstat) in omap_mcbsp_get_rx_delay()
503 return threshold - buffstat; in omap_mcbsp_get_rx_delay()
Domap-dmic.c55 int threshold; member
228 dma_data->maxburst = dmic->threshold * channels; in omap_dmic_dai_hw_params()
240 omap_dmic_write(dmic, OMAP_DMIC_FIFO_CTRL_REG, dmic->threshold); in omap_dmic_dai_prepare()
419 dmic->threshold = OMAP_DMIC_THRES_MAX - 3; in omap_dmic_probe()
Dmcbsp.h331 void omap_mcbsp_set_tx_threshold(struct omap_mcbsp *mcbsp, u16 threshold);
332 void omap_mcbsp_set_rx_threshold(struct omap_mcbsp *mcbsp, u16 threshold);
/linux-4.4.14/Documentation/devicetree/bindings/sound/
Dnau8825.txt33 - nuvoton,sar-threshold-num: Number of buttons supported
34 …- nuvoton,sar-threshold: Impedance threshold for each button. Array that contains up to 8 buttons …
37 Refer datasheet section 10.2 for more information about threshold calculation.
90 nuvoton,sar-threshold-num = <4>;
91 nuvoton,sar-threshold = <0xc 0x1e 0x38 0x60>;
Dda7219.txt48 - dlg,mic-det-thr : Impedance threshold for mic detection measurement (Ohms)
56 - dlg,a-d-btn-thr : Impedance threshold between buttons A and D
58 - dlg,d-b-btn-thr : Impedance threshold between buttons D and B
60 - dlg,b-c-btn-thr : Impedance threshold between buttons B and C
62 - dlg,c-mic-btn-thr : Impedance threshold between button C and Mic
Dcs35l32.txt39 - cirrus,battery-recovery : Low battery nominal recovery threshold, rising VP.
45 - cirrus,battery-threshold : Low battery nominal threshold, falling VP.
/linux-4.4.14/Documentation/networking/
Dxfrm_sync.txt22 know if the replay sequence threshold is reached or 10 secs have passed"
60 XFRM_AE_RTHR=1, /* replay threshold*/
63 XFRM_AE_ETHR=8, /* expiry timer threshold */
90 c)replay threshold (XFRMA_REPLAY_THRESH)
91 This TLV carries the threshold being used by the kernel to trigger events
107 we also provide default threshold values for these different parameters
134 any of the values or threshold parameters can be updated by passing the
143 The threshold TLVs will be included if explicitly requested in
152 iv) kernel->user to report event when replay threshold or a timeout
159 Exceptions to threshold settings
[all …]
Dipsec.txt22 Therefore, a numeric threshold should be applied before compression,
23 where IP datagrams of size smaller than the threshold are sent in the
24 original form without attempting compression. The numeric threshold
29 is smaller than the threshold or the compressed len is large than original
Dproc_net_tcp.txt28 | | | | | | | | | |--> slow start size threshold,
29 | | | | | | | | | or -1 if the threshold
Dipvs-sysctl.txt12 It sets the available memory threshold (in pages), which is
123 threshold. When the mode 3 is set, the always mode drop rate
191 It sets synchronization threshold, which is the minimum number
195 modulus 50 equals the threshold. The range of the threshold is
Ddctcp.txt15 thresholds. The default ECN marking threshold heuristic for DCTCP on
Dtcp.txt17 snd_ssthresh Slow start threshold. We are in slow start if
20 once we exceed slow start threshold.
Dmac80211-injection.txt24 current fragmentation threshold.
Dtcp-thin.txt30 thin. This is accomplished by defining a threshold for the number
Dgeneric-hdlc.txt88 n392 - error threshold - both user and network
/linux-4.4.14/drivers/staging/rtl8723au/core/
Drtw_sreset.c84 u8 threshold; in sreset_restore_network_station() local
92 threshold = 1; in sreset_restore_network_station()
94 threshold = 0; in sreset_restore_network_station()
96 threshold = 1; in sreset_restore_network_station()
98 rtl8723a_set_rxdma_agg_pg_th(padapter, threshold); in sreset_restore_network_station()
Drtw_mlme.c2075 u8 threshold; in rtw_joinbss_reset23a() local
2092 threshold = 1; in rtw_joinbss_reset23a()
2094 threshold = 0; in rtw_joinbss_reset23a()
2096 threshold = 1; in rtw_joinbss_reset23a()
2098 rtl8723a_set_rxdma_agg_pg_th(padapter, threshold); in rtw_joinbss_reset23a()
/linux-4.4.14/include/media/
Dov772x.h27 unsigned char threshold; member
48 .threshold = (t & OV772X_EDGE_THRESHOLD_MASK), \
/linux-4.4.14/Documentation/devicetree/bindings/iio/light/
Dus5182d.txt13 fractional bits - Q4.4) applied when light > threshold
15 fractional bits - Q4.4) applied when light < threshold
20 The threshold array defaults to experimental values that work with US5182D
/linux-4.4.14/mm/
Dvmstat.c96 int threshold; in calculate_pressure_threshold() local
108 threshold = max(1, (int)(watermark_distance / num_online_cpus())); in calculate_pressure_threshold()
113 threshold = min(125, threshold); in calculate_pressure_threshold()
115 return threshold; in calculate_pressure_threshold()
120 int threshold; in calculate_normal_threshold() local
155 threshold = 2 * fls(num_online_cpus()) * (1 + fls(mem)); in calculate_normal_threshold()
160 threshold = min(125, threshold); in calculate_normal_threshold()
162 return threshold; in calculate_normal_threshold()
172 int threshold; in refresh_zone_stat_thresholds() local
177 threshold = calculate_normal_threshold(zone); in refresh_zone_stat_thresholds()
[all …]
Dmemcontrol.c3302 for (; i >= 0 && unlikely(t->entries[i].threshold > usage); i--) in __mem_cgroup_threshold()
3314 for (; i < t->size && unlikely(t->entries[i].threshold <= usage); i++) in __mem_cgroup_threshold()
3339 if (_a->threshold > _b->threshold) in compare_thresholds()
3342 if (_a->threshold < _b->threshold) in compare_thresholds()
3374 unsigned long threshold; in __mem_cgroup_usage_register_event() local
3378 ret = page_counter_memparse(args, "-1", &threshold); in __mem_cgroup_usage_register_event()
3416 new->entries[size - 1].threshold = threshold; in __mem_cgroup_usage_register_event()
3425 if (new->entries[i].threshold <= usage) { in __mem_cgroup_usage_register_event()
3513 if (new->entries[j].threshold <= usage) { in __mem_cgroup_usage_unregister_event()
/linux-4.4.14/drivers/input/misc/
Dgpio_tilt_polled.c36 int threshold; member
48 if (tdev->count < tdev->threshold) { in gpio_tilt_polled_poll()
85 tdev->count = tdev->threshold; in gpio_tilt_polled_open()
154 tdev->threshold = DIV_ROUND_UP(pdata->debounce_interval, in gpio_tilt_polled_probe()
/linux-4.4.14/Documentation/input/
Dcma3000_d0x.txt26 Threshold values: Chip supports defining threshold values for above modes
51 mdthr: Motion detect g range threshold value
53 mdfftmr: Motion detect and free fall time threshold value
55 ffthr: Free fall g range threshold value
Dedt-ft5x06.txt17 /sys/class/input/eventX/device/device/threshold:
18 allows setting the "click"-threshold in the range from 20 to 80.
Dntrig.txt27 activation_height size threshold to activate immediately
30 min_height size threshold bellow which fingers are ignored
89 function of size, I just use it as a binary threshold. A sufficiently large
Datarikbd.txt61 settable threshold of motion. Regardless of the threshold, all bits of
64 significantly more than the threshold delta x or y. This may happen since no
176 The ikbd defaults to a mouse position reporting with threshold of 1 unit in
233 threshold in either axis (see SET MOUSE THRESHOLD). Depending upon the mouse
269 X ; x threshold in mouse ticks (positive integers)
270 Y ; y threshold in mouse ticks (positive integers)
272 This command sets the threshold before a mouse event is generated. Note that
370 normal threshold limits to produce the minimum number of packets necessary for
577 0x8B mnouse threshold
/linux-4.4.14/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_mtl.c107 int threshold) in sxgbe_mtl_fc_active() argument
113 reg_val |= (threshold << RX_FC_ACTIVE); in sxgbe_mtl_fc_active()
128 int threshold) in sxgbe_mtl_fc_deactive() argument
134 reg_val |= (threshold << RX_FC_DEACTIVE); in sxgbe_mtl_fc_deactive()
Dsxgbe_mtl.h86 int threshold);
89 int threshold);
/linux-4.4.14/Documentation/devicetree/bindings/iio/accel/
Dlis302.txt29 - st,click-thresh-{x,y,z}: set the x/y/z axis threshold
49 - st,wakeup-threshold: set wakeup threshold
53 - st,wakeup2-threshold: set wakeup threshold for second wakeup
/linux-4.4.14/drivers/spi/
Dspi-pxa2xx.h91 u32 threshold; member
175 u32 *threshold);
195 u32 *threshold) in pxa2xx_spi_set_dma_burst_and_threshold() argument
Dspi-pxa2xx.c209 u32 *sccr1_reg, u32 threshold) in pxa2xx_spi_set_rx_thre() argument
213 *sccr1_reg |= QUARK_X1000_SSCR1_RxTresh(threshold); in pxa2xx_spi_set_rx_thre()
216 *sccr1_reg |= SSCR1_RxTresh(threshold); in pxa2xx_spi_set_rx_thre()
552 sccr1_reg |= chip->threshold; in reset_sccr1()
1039 cr1 = chip->cr1 | chip->threshold | drv_data->int_cr1; in pump_transfers()
1253 chip->threshold = (QUARK_X1000_SSCR1_RxTresh(rx_thres) in setup()
1259 chip->threshold = (SSCR1_RxTresh(rx_thres) & SSCR1_RFT) | in setup()
Dspi-pxa2xx-dma.c350 u32 *threshold) in pxa2xx_spi_set_dma_burst_and_threshold() argument
360 *threshold = SSCR1_RxTresh(RX_THRESH_DFLT) in pxa2xx_spi_set_dma_burst_and_threshold()
/linux-4.4.14/drivers/md/bcache/
Dio.c114 unsigned threshold = bio->bi_rw & REQ_WRITE in bch_bbio_count_io_errors() local
118 if (threshold) { in bch_bbio_count_io_errors()
124 if (us > (int) threshold) { in bch_bbio_count_io_errors()
/linux-4.4.14/Documentation/devicetree/bindings/usb/
Ddwc3.txt22 - snps,lpm-nyet-threshold: LPM NYET threshold
43 - snps,hird-threshold: HIRD threshold
Dci-hdrc-usb2.txt30 - itc-setting: interrupt threshold control register control, the setting
/linux-4.4.14/Documentation/devicetree/bindings/mfd/
Dtps65910.txt54 - ti,vmbch-threshold: (tps65911) main battery charged threshold
56 - ti,vmbch2-threshold: (tps65911) main battery discharged threshold
86 ti,vmbch-threshold = 0;
87 ti,vmbch2-threshold = 0;
Dmax77693.txt67 - maxim,battery-overcurrent-microamp : Overcurrent protection threshold
72 - maxim,charge-input-threshold-microvolt : Threshold voltage in uV for
75 threshold voltage.
172 maxim,charge-input-threshold-microvolt = <4300000>;
Dmax8925.txt59 topoff-threshold = <1>;
Dab8500.txt27 : LOW_BAT_F : : LOW threshold battery voltage
/linux-4.4.14/Documentation/device-mapper/
Dcache-policies.txt49 The sequential threshold indicates the number of contiguous I/Os
51 considered sequential it will bypass the cache. The random threshold
62 If sequential threshold is set to 0 the sequential I/O detection is
64 Setting the random threshold to 0 does _not_ disable the random I/O
67 Internally the mq policy determines a promotion threshold. If the hit
68 count of a block not in the cache goes above this threshold it gets
70 tunables allow you to tweak the promotion threshold by adding a small
158 sequential threshold set to 1024 and the random_threshold set to 8.
/linux-4.4.14/drivers/gpu/drm/i915/
Dintel_fbc.c197 int threshold = dev_priv->fbc.threshold; in ilk_fbc_enable() local
204 threshold++; in ilk_fbc_enable()
206 switch (threshold) { in ilk_fbc_enable()
266 int threshold = dev_priv->fbc.threshold; in gen7_fbc_enable() local
275 threshold++; in gen7_fbc_enable()
277 switch (threshold) { in gen7_fbc_enable()
635 dev_priv->fbc.threshold = ret; in intel_fbc_alloc_cfb()
663 dev_priv->fbc.threshold); in intel_fbc_alloc_cfb()
/linux-4.4.14/Documentation/devicetree/bindings/thermal/
Dimx-thermal.txt6 when temperature is below than low threshold, IRQ_LOW will be triggered, when temperature
7 is higher than panic threshold, system will auto reboot by SRC module.
/linux-4.4.14/arch/m68k/fpsp040/
Dround.S414 | is then loaded with the denormalized exponent threshold for the
428 clrl %d1 |load d1 with ext threshold
440 movew #dbl_thresh,%d1 |put copy of threshold in d1
442 subw LOCAL_EX(%a0),%d0 |diff = threshold - exp
453 movew #sgl_thresh,%d1 |put copy of threshold in d1
455 subw LOCAL_EX(%a0),%d0 |diff = threshold - exp
475 movew %d1,LOCAL_EX(%a0) |load exp with threshold
485 | dnrm_lp --- normalize exponent/mantissa to specified threshold
490 | d1{15:0} denormalization threshold
514 movel %d1,%d0 |copy the denorm threshold
[all …]
Dsint.S211 movel #0x403e,%d1 |set threshold for dnrm_lp
/linux-4.4.14/drivers/gpu/drm/bridge/
Ddw_hdmi-ahb-audio.c409 u8 threshold, conf0, conf1, layout, ca; in dw_hdmi_prepare() local
417 threshold = 126; in dw_hdmi_prepare()
419 threshold = 124; in dw_hdmi_prepare()
424 threshold = 128; in dw_hdmi_prepare()
434 runtime->hw.fifo_size = threshold * 32; in dw_hdmi_prepare()
449 writeb_relaxed(threshold, dw->data.base + HDMI_AHB_DMA_THRSLD); in dw_hdmi_prepare()
/linux-4.4.14/fs/jffs2/
Dcompr_rubin.c203 long i0, threshold; in decode() local
216 threshold = rs->q + i0; in decode()
217 symbol = rs->rec_q >= threshold; in decode()
218 if (rs->rec_q >= threshold) { in decode()
/linux-4.4.14/scripts/
Dbootgraph.pl181 my $threshold = $threshold2/10;
190 if ($duration >= $threshold) {
DMakefile.kasan15 --param asan-instrumentation-with-call-threshold=$(call_threshold))
/linux-4.4.14/Documentation/blockdev/
Dfloppy.txt99 threshold to 10 or lower, in order to limit the number of data
118 floppy=<threshold>,fifo_depth
119 Sets the FIFO threshold. This is mostly relevant in DMA
124 processor). The benefit of a lower threshold is less
127 To tune the fifo threshold, switch on over/underrun messages
130 messages, then the fifo threshold is too low. Try with a
138 Usually, tuning the fifo threshold should not be needed, as
/linux-4.4.14/Documentation/devicetree/bindings/power/
Dbq25890.txt26 - ti,thermal-regulation-threshold: integer, temperature above which the charge
45 ti,thermal-regulation-threshold = <120>;
Dbq2415x.txt20 - ti,weak-battery-voltage: integer, weak battery voltage threshold in mV.
Dbq24257.txt31 - ti,in-dpm-voltage: Configures the threshold input voltage for the dynamic
/linux-4.4.14/include/uapi/linux/netfilter/
Dxt_NFLOG.h14 __u16 threshold; member
/linux-4.4.14/include/uapi/linux/netfilter_bridge/
Debt_nflog.h17 __u16 threshold; member
/linux-4.4.14/drivers/crypto/caam/
DKconfig55 int "Job Ring interrupt coalescing count threshold"
66 int "Job Ring interrupt coalescing timer threshold"
73 threshold. Range is 1-65535.
/linux-4.4.14/drivers/irqchip/
Dirq-omap-intc.c63 u32 threshold; member
94 intc_context.threshold = in omap_intc_save_context()
112 intc_writel(INTC_THRESHOLD, intc_context.threshold); in omap_intc_restore_context()
/linux-4.4.14/include/net/
Dipcomp.h11 u16 threshold; member
/linux-4.4.14/drivers/i2c/busses/
Di2c-omap.c206 u8 threshold; member
592 omap->threshold = clamp(size, (u8) 1, omap->fifo_size); in omap_i2c_resize_fifo()
599 buf |= ((omap->threshold - 1) << 8) | OMAP_I2C_BUF_RXFIF_CLR; in omap_i2c_resize_fifo()
603 buf |= (omap->threshold - 1) | OMAP_I2C_BUF_TXFIF_CLR; in omap_i2c_resize_fifo()
613 omap->latency = (1000000 * omap->threshold) / in omap_i2c_resize_fifo()
1089 if (omap->threshold) in omap_i2c_isr_thread()
1090 num_bytes = omap->threshold; in omap_i2c_isr_thread()
1116 if (omap->threshold) in omap_i2c_isr_thread()
1117 num_bytes = omap->threshold; in omap_i2c_isr_thread()
/linux-4.4.14/arch/x86/kernel/cpu/mcheck/
DMakefile6 obj-$(CONFIG_X86_MCE_THRESHOLD) += threshold.o
/linux-4.4.14/net/xfrm/
Dxfrm_ipcomp.c177 if (skb->len < ipcd->threshold) { in ipcomp_output()
370 ipcd->threshold = calg_desc->uinfo.comp.threshold; in ipcomp_init_state()
Dxfrm_algo.c564 .threshold = 90,
574 .threshold = 90,
584 .threshold = 50,
/linux-4.4.14/drivers/usb/host/
Dehci-st.c57 u32 threshold; in st_ehci_platform_reset() local
60 threshold = 128 | (128 << 16); in st_ehci_platform_reset()
61 writel(threshold, hcd->regs + AHB2STBUS_INSREG01); in st_ehci_platform_reset()
/linux-4.4.14/include/linux/mfd/
Ddbx500-prcmu.h358 static inline int prcmu_config_hotdog(u8 threshold) in prcmu_config_hotdog() argument
360 return db8500_prcmu_config_hotdog(threshold); in prcmu_config_hotdog()
560 static inline int prcmu_config_hotdog(u8 threshold) in prcmu_config_hotdog() argument
Ddb8500-prcmu.h505 int db8500_prcmu_config_hotdog(u8 threshold);
627 static inline int db8500_prcmu_config_hotdog(u8 threshold) in db8500_prcmu_config_hotdog() argument
/linux-4.4.14/drivers/net/wireless/libertas/
DREADME142 Value field specifies the consecutive failure count threshold which
150 above a threshold, specified by Value.
154 below a threshold, specified by Value.
158 above a threshold, specified by Value.
162 below a threshold, specified by Value.
/linux-4.4.14/drivers/media/dvb-frontends/
Ddib3000mb.c460 u32 dds_val, threshold = 0x800000; in dib3000mb_get_frontend() local
467 if (dds_val < threshold) in dib3000mb_get_frontend()
469 else if (dds_val == threshold) in dib3000mb_get_frontend()
476 if (dds_val < threshold) in dib3000mb_get_frontend()
478 else if (dds_val == threshold) in dib3000mb_get_frontend()
Ddrxk_hard.h178 u16 threshold; member
/linux-4.4.14/drivers/staging/comedi/drivers/
Dquatech_daqp_cs.c466 int threshold; in daqp_ai_cmd() local
579 threshold = nbytes; in daqp_ai_cmd()
581 threshold = DAQP_FIFO_SIZE / 2; in daqp_ai_cmd()
599 outb((DAQP_FIFO_SIZE - threshold) & 0xff, in daqp_ai_cmd()
601 outb((DAQP_FIFO_SIZE - threshold) >> 8, dev->iobase + DAQP_AI_FIFO_REG); in daqp_ai_cmd()
Djr3_pci.h209 s32 threshold; member
/linux-4.4.14/drivers/input/touchscreen/
Drohm_bu21023.c540 unsigned int threshold; in rohm_ts_soft_irq() local
577 threshold = untouch_threshold[prev_finger_count]; in rohm_ts_soft_irq()
578 if (++ts->contact_count[0] >= threshold) in rohm_ts_soft_irq()
583 threshold = single_touch_threshold[prev_finger_count]; in rohm_ts_soft_irq()
584 if (++ts->contact_count[1] >= threshold) in rohm_ts_soft_irq()
598 threshold = dual_touch_threshold[prev_finger_count]; in rohm_ts_soft_irq()
599 if (++ts->contact_count[2] >= threshold) in rohm_ts_soft_irq()
Dedt-ft5x06.c103 int threshold; member
472 static EDT_ATTR(threshold, S_IWUSR | S_IRUGO, WORK_REGISTER_THRESHOLD,
590 tsdata->threshold); in edt_ft5x06_work_mode()
842 tsdata->threshold = edt_ft5x06_register_read(tsdata, in edt_ft5x06_ts_get_parameters()
/linux-4.4.14/Documentation/devicetree/bindings/iio/adc/
Dhi8435.txt1 Holt Integrated Circuits HI-8435 threshold detector bindings
Dat91_adc.txt34 - atmel,adc-ts-pressure-threshold: a pressure threshold for touchscreen. It
/linux-4.4.14/drivers/input/keyboard/
Dgpio_keys_polled.c35 int threshold; member
104 if (bdata->count < bdata->threshold) { in gpio_keys_polled_poll()
338 bdata->threshold = DIV_ROUND_UP(button->debounce_interval, in gpio_keys_polled_probe()
/linux-4.4.14/drivers/media/platform/omap3isp/
Disph3a_af.c119 pcr |= conf->hmf.threshold << AF_MED_TH_SHIFT; in h3a_af_setup_regs()
248 if (cur_cfg->hmf.threshold != user_cfg->hmf.threshold) { in h3a_af_set_params()
/linux-4.4.14/drivers/net/wireless/rt2x00/
Drt2x00queue.h472 unsigned short threshold; member
625 return rt2x00queue_available(queue) < queue->threshold; in rt2x00queue_threshold()
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dphy.h253 u8 thermal_value, u8 threshold);
255 u8 thermal_value, u8 threshold);
/linux-4.4.14/arch/arm/boot/dts/
Dsama5d3xdm.dtsi27 atmel,adc-ts-pressure-threshold = <10000>;
Dat91-cosino_mega2560.dts31 atmel,adc-ts-pressure-threshold = <10000>;
Dat91sam9x5dm.dtsi43 atmel,adc-ts-pressure-threshold = <10000>;
Dat91-cosino.dtsi76 atmel,adc-ts-pressure-threshold = <10000>;
Domap3-n900.dts647 st,click-threshold-x = <8>;
648 st,click-threshold-y = <8>;
649 st,click-threshold-z = <10>;
662 st,wakeup-threshold = <(800/18)>; /* millig-value / 18 to get HW values */
665 st,wakeup2-threshold = <(900/18)>; /* millig-value / 18 to get HW values */
Dat91sam9x5ek.dtsi107 atmel,adc-ts-pressure-threshold = <10000>;
Dmmp2-brownstone.dts184 topoff-threshold = <1>;
/linux-4.4.14/drivers/staging/iio/cdc/
Dad7150.c74 u16 threshold[2][2]; member
181 value = chip->threshold[rising][chan]; in ad7150_write_event_params()
297 *val = chip->threshold[rising][chan->channel]; in ad7150_read_event_value()
324 chip->threshold[rising][chan->channel] = val; in ad7150_write_event_value()
/linux-4.4.14/net/bridge/netfilter/
Debt_nflog.c32 li.u.ulog.qthreshold = info->threshold; in ebt_nflog_tg()
/linux-4.4.14/drivers/mtd/ubi/
DKconfig14 int "UBI wear-leveling threshold"
20 of UBI devices. When this threshold is exceeded, UBI starts performing
27 life-cycle less than 10000, the threshold should be lessened (e.g.,
/linux-4.4.14/net/netfilter/
Dxt_NFLOG.c34 li.u.ulog.qthreshold = info->threshold; in nflog_tg()
/linux-4.4.14/drivers/media/rc/
Dimon.c1192 static int stabilize(int a, int b, u16 timeout, u16 threshold) in stabilize() argument
1216 if (abs(x) > threshold || abs(y) > threshold) { in stabilize()
1231 y = 17 * threshold / 30; in stabilize()
1234 y -= 17 * threshold / 30; in stabilize()
1237 x = 17 * threshold / 30; in stabilize()
1240 x -= 17 * threshold / 30; in stabilize()
1406 u16 timeout, threshold; in imon_pad_to_keys() local
1423 threshold = pad_thresh ? pad_thresh : 28; in imon_pad_to_keys()
1430 timeout, threshold); in imon_pad_to_keys()
1478 threshold = pad_thresh ? pad_thresh : 15; in imon_pad_to_keys()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/leds/backlight/
Dsky81452-backlight.txt15 - skyworks,short-detection-threshold-volt
/linux-4.4.14/Documentation/spi/
Dpxa2xx163 .tx_threshold = 8, /* SSP hardward FIFO threshold */
164 .rx_threshold = 8, /* SSP hardward FIFO threshold */
171 .tx_threshold = 8, /* SSP hardward FIFO threshold */
172 .rx_threshold = 8, /* SSP hardward FIFO threshold */
/linux-4.4.14/sound/soc/tegra/
Dtegra30_ahub.c129 cif_conf.threshold = 0; in tegra30_ahub_allocate_rx_fifo()
231 cif_conf.threshold = 0; in tegra30_ahub_allocate_tx_fifo()
691 value = (conf->threshold << in tegra30_ahub_set_cif()
723 value = (conf->threshold << in tegra124_ahub_set_cif()
Dtegra30_ahub.h486 unsigned int threshold; member
/linux-4.4.14/drivers/staging/media/lirc/
Dlirc_sir.c124 static int threshold = 3; variable
476 if (deltintr > TIME_CONST * threshold) { in sir_interrupt()
995 module_param(threshold, int, S_IRUGO);
996 MODULE_PARM_DESC(threshold, "space detection threshold (3)");
/linux-4.4.14/drivers/net/wireless/cw1200/
Dsta.c1134 struct wsm_rcpi_rssi_threshold threshold = { in cw1200_setup_mac() local
1148 if (threshold.rssiRcpiMode & WSM_RCPI_RSSI_USE_RSSI) in cw1200_setup_mac()
1167 wsm_set_rcpi_rssi_threshold(priv, &threshold); in cw1200_setup_mac()
2038 struct wsm_rcpi_rssi_threshold threshold = { in cw1200_bss_info_changed() local
2058 threshold.upperThreshold = in cw1200_bss_info_changed()
2060 threshold.lowerThreshold = in cw1200_bss_info_changed()
2062 threshold.rssiRcpiMode |= WSM_RCPI_RSSI_USE_RSSI; in cw1200_bss_info_changed()
2064 threshold.upperThreshold = (info->cqm_rssi_thold + info->cqm_rssi_hyst + 110) * 2; in cw1200_bss_info_changed()
2065 threshold.lowerThreshold = (info->cqm_rssi_thold + 110) * 2; in cw1200_bss_info_changed()
2067 threshold.rssiRcpiMode |= WSM_RCPI_RSSI_THRESHOLD_ENABLE; in cw1200_bss_info_changed()
[all …]
/linux-4.4.14/drivers/input/mouse/
Dappletouch.c259 static int threshold = ATP_THRESHOLD; variable
260 module_param(threshold, int, 0644);
261 MODULE_PARM_DESC(threshold, "Discard any change in data from a sensor"
365 if (xy_sensors[i] < threshold) { in atp_calculate_abs()
388 } else if (i > 0 && (xy_sensors[i - 1] - xy_sensors[i] > threshold)) { in atp_calculate_abs()
/linux-4.4.14/include/linux/
Dmroute.h59 unsigned char threshold; /* TTL threshold */ member
Dmroute6.h69 unsigned char threshold; /* TTL threshold */ member
/linux-4.4.14/drivers/net/usb/
Dsr9800.h166 struct {unsigned short size, byte_cnt, threshold; } SR9800_BULKIN_SIZE[] = { member
Dsr9800.c807 SR9800_BULKIN_SIZE[SR9800_MAX_BULKIN_4K].threshold, in sr9800_bind()
818 SR9800_BULKIN_SIZE[SR9800_MAX_BULKIN_2K].threshold, in sr9800_bind()
/linux-4.4.14/drivers/gpu/drm/omapdrm/
DTODO3 accessing the pages via a GART, so maybe we need some other threshold
/linux-4.4.14/drivers/net/wireless/ti/wl1251/
Dacx.h331 u32 threshold; member
398 u16 threshold; member
424 s8 threshold; member
1479 int wl1251_acx_low_rssi(struct wl1251 *wl, s8 threshold, u8 weight,
Dacx.c447 rts->threshold = rts_threshold; in wl1251_acx_rts_threshold()
720 int wl1251_acx_low_rssi(struct wl1251 *wl, s8 threshold, u8 weight, in wl1251_acx_low_rssi() argument
732 rssi->threshold = threshold; in wl1251_acx_low_rssi()
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/
Dniobuf.c63 md.threshold = (ack == LNET_ACK_REQ) ? 2 : 1; in ptl_send_buf()
170 md.threshold = 1; /* PUT or GET */ in ptlrpc_register_bulk()
596 reply_md.threshold = LNET_MD_THRESH_INF; in ptl_send_rpc()
711 md.threshold = LNET_MD_THRESH_INF; in ptlrpc_register_rqbd()
/linux-4.4.14/drivers/net/wireless/
Dwl3501_cs.c1675 u16 threshold; /* size checked: it is u16 */ in wl3501_get_rts_threshold() local
1678 &threshold, sizeof(threshold)); in wl3501_get_rts_threshold()
1680 wrqu->rts.value = threshold; in wl3501_get_rts_threshold()
1681 wrqu->rts.disabled = threshold >= 2347; in wl3501_get_rts_threshold()
1691 u16 threshold; /* size checked: it is u16 */ in wl3501_get_frag_threshold() local
1694 &threshold, sizeof(threshold)); in wl3501_get_frag_threshold()
1696 wrqu->frag.value = threshold; in wl3501_get_frag_threshold()
1697 wrqu->frag.disabled = threshold >= 2346; in wl3501_get_frag_threshold()
/linux-4.4.14/arch/x86/kernel/cpu/
Dperf_event_intel_ds.c780 u64 threshold; in intel_pmu_pebs_enable() local
797 threshold = ds->pebs_absolute_maximum - in intel_pmu_pebs_enable()
803 threshold = ds->pebs_buffer_base + x86_pmu.pebs_record_size; in intel_pmu_pebs_enable()
810 (ds->pebs_interrupt_threshold > threshold)) in intel_pmu_pebs_enable()
820 if (first_pebs || ds->pebs_interrupt_threshold > threshold) in intel_pmu_pebs_enable()
821 ds->pebs_interrupt_threshold = threshold; in intel_pmu_pebs_enable()
/linux-4.4.14/drivers/video/fbdev/
Darkfb.c110 static int threshold = 4; variable
112 module_param(threshold, int, 0644);
113 MODULE_PARM_DESC(threshold, "FIFO threshold");
679 regval = 0x10 | ((threshold & 0x0E) >> 1) | (threshold & 0x01) << 7 | (threshold & 0x10) << 1; in arkfb_set_par()
Dauo_k190x.c298 int threshold; in auok190xfb_dpy_deferred_io() local
325 threshold = par->consecutive_threshold / h_inc; in auok190xfb_dpy_deferred_io()
326 if (threshold < 1) in auok190xfb_dpy_deferred_io()
327 threshold = 1; in auok190xfb_dpy_deferred_io()
335 } else if ((cur->index - prev_index) <= threshold) { in auok190xfb_dpy_deferred_io()
Dcirrusfb.c670 unsigned int control = 0, format = 0, threshold = 0; in cirrusfb_set_par_foo() local
879 threshold = fb_readw(cinfo->laguna_mmio + 0xea); in cirrusfb_set_par_foo()
882 threshold &= 0xffc0 & 0x3fbf; in cirrusfb_set_par_foo()
1036 threshold |= 0x10; in cirrusfb_set_par_foo()
1121 threshold |= 0x10; in cirrusfb_set_par_foo()
1179 threshold |= 0x20; in cirrusfb_set_par_foo()
1247 fb_writew(threshold, cinfo->laguna_mmio + 0xea); in cirrusfb_set_par_foo()
/linux-4.4.14/drivers/staging/lustre/lnet/lnet/
Dlib-md.c102 lmd->md_threshold = umd->threshold; in lnet_md_build()
214 umd->threshold = lmd->md_threshold; in lnet_md_deconstruct()
/linux-4.4.14/drivers/gpu/host1x/
Dintr.c166 u32 threshold) in process_wait_list() argument
177 remove_completed_waiters(&syncpt->intr.wait_head, threshold, in process_wait_list()
/linux-4.4.14/drivers/net/ethernet/ibm/emac/
DKconfig26 int "RX skb copy threshold (bytes)"
/linux-4.4.14/Documentation/isdn/
DREADME.audio54 x = 0 ... 31 sensitivity threshold level.
64 x = 0 ... 15 sensitivity threshold level.
/linux-4.4.14/tools/perf/Documentation/
Dperf-report.txt173 --call-graph=<print_type,threshold[,print_limit],order,sort_key,branch>::
174 Display call chains using type, min percent threshold, print limit,
177 is the print_limit which should be preceded by threshold.
186 threshold is a percentage value which specifies a minimum percent to be
191 to be given after threshold (but not necessarily consecutive).
/linux-4.4.14/drivers/net/wireless/b43legacy/
Dradio.c821 s32 threshold; in b43legacy_calc_nrssi_threshold() local
836 threshold = (phy->nrssi[1] - phy->nrssi[0]) * 32; in b43legacy_calc_nrssi_threshold()
837 threshold += 20 * (phy->nrssi[0] + 1); in b43legacy_calc_nrssi_threshold()
838 threshold /= 40; in b43legacy_calc_nrssi_threshold()
840 threshold = phy->nrssi[1] - 5; in b43legacy_calc_nrssi_threshold()
842 threshold = clamp_val(threshold, 0, 0x3E); in b43legacy_calc_nrssi_threshold()
844 b43legacy_phy_write(dev, 0x0020, (((u16)threshold) << 8) in b43legacy_calc_nrssi_threshold()
/linux-4.4.14/drivers/md/
Ddm-thin-metadata.h215 dm_block_t threshold,
/linux-4.4.14/Documentation/devicetree/bindings/display/tilcdc/
Dpanel.txt14 - fifo-th: DMA FIFO threshold
/linux-4.4.14/drivers/net/ethernet/ibm/
Dibmveth.h125 u32 threshold; member
/linux-4.4.14/drivers/tty/serial/
Dioc3_serial.c548 int threshold; in set_rx_timeout() local
559 threshold = timeout * port->ip_baud / 4000; in set_rx_timeout()
560 if (threshold == 0) in set_rx_timeout()
561 threshold = 1; /* otherwise we'll intr all the time! */ in set_rx_timeout()
563 if ((unsigned)threshold > (unsigned)SSCR_RX_THRESHOLD) in set_rx_timeout()
567 port->ip_sscr |= threshold; in set_rx_timeout()
Dioc4_serial.c1271 int threshold; in set_rx_timeout() local
1282 threshold = timeout * port->ip_baud / 4000; in set_rx_timeout()
1283 if (threshold == 0) in set_rx_timeout()
1284 threshold = 1; /* otherwise we'll intr all the time! */ in set_rx_timeout()
1286 if ((unsigned)threshold > (unsigned)IOC4_SSCR_RX_THRESHOLD) in set_rx_timeout()
1290 port->ip_sscr |= threshold; in set_rx_timeout()
/linux-4.4.14/sound/pci/asihpi/
Dhpi.h1702 u16 hpi_tone_detector_set_threshold(u32 hC, int threshold);
1704 u16 hpi_tone_detector_get_threshold(u32 hC, int *threshold);
1725 u16 hpi_silence_detector_set_threshold(u32 hC, int threshold);
1727 u16 hpi_silence_detector_get_threshold(u32 hC, int *threshold);
Dhpifunc.c2422 u16 hpi_tone_detector_set_threshold(u32 h_control, int threshold) in hpi_tone_detector_set_threshold() argument
2425 (u32)threshold, 0); in hpi_tone_detector_set_threshold()
2428 u16 hpi_tone_detector_get_threshold(u32 h_control, int *threshold) in hpi_tone_detector_get_threshold() argument
2431 (u32 *)threshold); in hpi_tone_detector_get_threshold()
2475 u16 hpi_silence_detector_set_threshold(u32 h_control, int threshold) in hpi_silence_detector_set_threshold() argument
2478 threshold, 0); in hpi_silence_detector_set_threshold()
2481 u16 hpi_silence_detector_get_threshold(u32 h_control, int *threshold) in hpi_silence_detector_get_threshold() argument
2484 HPI_SILENCEDETECTOR_THRESHOLD, (u32 *)threshold); in hpi_silence_detector_get_threshold()
/linux-4.4.14/drivers/net/wireless/iwlwifi/dvm/
Drx.c238 int threshold = priv->plcp_delta_threshold; in iwlagn_good_plcp_health() local
240 if (threshold == IWL_MAX_PLCP_ERR_THRESHOLD_DISABLE) { in iwlagn_good_plcp_health()
254 if ((delta * 100 / msecs) > threshold) { in iwlagn_good_plcp_health()
257 threshold, delta, msecs); in iwlagn_good_plcp_health()
Ddevices.c362 s32 threshold = (s32)CELSIUS_TO_KELVIN(CT_KILL_THRESHOLD_LEGACY) - in iwl5150_set_ct_threshold() local
365 priv->hw_params.ct_kill_threshold = threshold * volt2temp_coef; in iwl5150_set_ct_threshold()
/linux-4.4.14/drivers/net/wireless/ti/wlcore/
Dacx.h223 __le16 threshold; member
535 __le16 threshold; member
649 __le16 threshold; member
Dacx.c313 rts->threshold = cpu_to_le16((u16)rts_threshold); in wl1271_acx_rts_threshold()
457 u32 threshold = ACX_CONN_MONIT_DISABLE_VALUE; in wl1271_acx_conn_monit_params() local
471 threshold = wl->conf.conn.synch_fail_thold; in wl1271_acx_conn_monit_params()
476 acx->synch_fail_thold = cpu_to_le32(threshold); in wl1271_acx_conn_monit_params()
1056 rx_conf->threshold = cpu_to_le16(wl->conf.rx.irq_pkt_threshold); in wl1271_acx_init_rx_interrupt()
1254 acx->threshold = cpu_to_le16(thold); in wl1271_acx_rssi_snr_trigger()
Dconf.h1315 u8 threshold; member
/linux-4.4.14/drivers/gpu/drm/savage/
Dsavage_bci.c41 uint32_t threshold = dev_priv->bci_threshold_hi; in savage_bci_wait_fifo_shadow() local
46 if (n > dev_priv->cob_size + SAVAGE_BCI_FIFO_SIZE - threshold) in savage_bci_wait_fifo_shadow()
54 if ((status & mask) < threshold) in savage_bci_wait_fifo_shadow()
61 DRM_INFO(" status=0x%08x, threshold=0x%08x\n", status, threshold); in savage_bci_wait_fifo_shadow()
/linux-4.4.14/drivers/staging/lustre/include/linux/lnet/
Dtypes.h391 int threshold; member
/linux-4.4.14/fs/ocfs2/
Dmove_extents.c735 u32 threshold, int *skip) in ocfs2_calc_extent_defrag_len() argument
737 if ((*alloc_size + *len_defraged) < threshold) { in ocfs2_calc_extent_defrag_len()
756 *alloc_size = threshold - *len_defraged; in ocfs2_calc_extent_defrag_len()
/linux-4.4.14/drivers/net/ethernet/ibm/ehea/
Dehea_phyp.c253 u64 threshold = in ehea_h_alloc_resource_qp() local
267 threshold); /* R12 */ in ehea_h_alloc_resource_qp()
/linux-4.4.14/drivers/thermal/samsung/
Dexynos_tmu.c314 static u32 get_th_reg(struct exynos_tmu_data *data, u32 threshold, bool falling) in get_th_reg() argument
336 threshold &= ~(0xff << 8 * i); in get_th_reg()
338 threshold |= temp_to_code(data, temp) << 8 * i; in get_th_reg()
341 return threshold; in get_th_reg()
/linux-4.4.14/drivers/staging/iio/Documentation/
Doverview.txt25 threshold detectors, free-fall detectors and more complex action
Ddevice.txt54 a threshold above which an interrupt occurs. Note that the
/linux-4.4.14/Documentation/devicetree/bindings/interrupt-controller/
Dinterrupts.txt107 threshold = <0x40>;
/linux-4.4.14/Documentation/x86/x86_64/
Dboot-options.txt57 Don't overwrite the bios-set CMCI threshold. This boot option
58 prevents Linux from overwriting the CMCI threshold set by the
60 threshold to 1. Enabling this may make memory predictive failure
Dmachinecheck77 TBD document entries for AMD threshold interrupt configuration
/linux-4.4.14/drivers/staging/rdma/hfi1/
Dpio.c578 u32 threshold; in sc_mtu_to_threshold() local
586 threshold = 1; in sc_mtu_to_threshold()
588 threshold = sc->credits - release_credits; in sc_mtu_to_threshold()
590 return threshold; in sc_mtu_to_threshold()
/linux-4.4.14/Documentation/devicetree/bindings/net/
Dstmmac.txt23 - snps,force_thresh_dma_mode Force DMA to use the threshold mode for
/linux-4.4.14/Documentation/virtual/kvm/
Dhypercalls.txt78 execute HLT instruction once it has busy-waited for more than a threshold
/linux-4.4.14/Documentation/devicetree/bindings/input/
Dads7846.txt56 (threshold) - u16.
/linux-4.4.14/tools/perf/
Dbuiltin-timechart.c1377 static int determine_display_tasks(struct timechart *tchart, u64 threshold) in determine_display_tasks() argument
1392 if (p->total_time >= threshold) in determine_display_tasks()
1403 if (c->total_time >= threshold) { in determine_display_tasks()
1418 static int determine_display_io_tasks(struct timechart *timechart, u64 threshold) in determine_display_io_tasks() argument
1435 if (c->total_bytes >= threshold) { in determine_display_io_tasks()
/linux-4.4.14/arch/x86/crypto/
Dcrc32c-pcl-intel-asm_64.S63 # Define threshold where buffers are considered "small" and routed to more
/linux-4.4.14/include/uapi/linux/
Domap3isp.h252 __u8 threshold; /* Threshold Value for Horizontal Median Filter */ member
/linux-4.4.14/net/ipv4/
Dfib_trie.c777 unsigned long threshold = used; in should_inflate() local
780 threshold *= IS_TRIE(tp) ? inflate_threshold_root : inflate_threshold; in should_inflate()
786 return (used > 1) && tn->pos && ((50 * used) >= threshold); in should_inflate()
792 unsigned long threshold = used; in should_halve() local
795 threshold *= IS_TRIE(tp) ? halve_threshold_root : halve_threshold; in should_halve()
800 return (used > 1) && (tn->bits > 1) && ((100 * used) < threshold); in should_halve()
/linux-4.4.14/drivers/staging/rtl8188eu/core/
Drtw_mlme.c1921 u8 threshold; in rtw_joinbss_reset() local
1936 threshold = 1; in rtw_joinbss_reset()
1938 threshold = 0; in rtw_joinbss_reset()
1939 rtw_hal_set_hwreg(padapter, HW_VAR_RXDMA_AGG_PG_TH, (u8 *)(&threshold)); in rtw_joinbss_reset()
1941 threshold = 1; in rtw_joinbss_reset()
1942 rtw_hal_set_hwreg(padapter, HW_VAR_RXDMA_AGG_PG_TH, (u8 *)(&threshold)); in rtw_joinbss_reset()
/linux-4.4.14/Documentation/
Dbcache.txt111 affecting normal operation; if it sees too many errors (the threshold is
169 throttles traffic if the latency exceeds a threshold (it does this by
232 A sequential IO will bypass the cache once it passes this threshold; the
444 Next is a list of quantiles with the priority threshold of each.
Dlockup-watchdogs.txt51 for 2*watchdog_thresh seconds (the softlockup threshold) the
/linux-4.4.14/Documentation/scsi/
Dst.txt306 The buffer size, write threshold, and the maximum number of allocated buffers
311 write_threshold_kbs=xxx the write threshold in kilobytes set to xxx
317 Note that if the buffer size is changed but the write threshold is not
318 set, the write threshold is set to the new buffer size - 2 kB.
345 bb is the write threshold in 1024 byte units
465 Sets the write threshold for this device to kilobytes
/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/
Dcommon.h90 unsigned long threshold; member
/linux-4.4.14/Documentation/mmc/
Dmmc-async-req.txt66 if (is_first_req && req->size > threshold)
/linux-4.4.14/Documentation/acpi/apei/
Doutput_format.txt21 [primary][, containment warning][, reset][, threshold exceeded]\
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/
Dwmi.c1365 u8 threshold = (u8) sq_thresh->upper_threshold[size - 1]; in ath6kl_wmi_get_upper_threshold() local
1370 threshold = (u8) sq_thresh->upper_threshold[index]; in ath6kl_wmi_get_upper_threshold()
1375 return threshold; in ath6kl_wmi_get_upper_threshold()
1383 u8 threshold = (u8) sq_thresh->lower_threshold[size - 1]; in ath6kl_wmi_get_lower_threshold() local
1388 threshold = (u8) sq_thresh->lower_threshold[index]; in ath6kl_wmi_get_lower_threshold()
1393 return threshold; in ath6kl_wmi_get_lower_threshold()
3109 int ath6kl_wmi_set_rts_cmd(struct wmi *wmi, u16 threshold) in ath6kl_wmi_set_rts_cmd() argument
3120 cmd->threshold = cpu_to_le16(threshold); in ath6kl_wmi_set_rts_cmd()
/linux-4.4.14/fs/ocfs2/cluster/
Dheartbeat.c170 static void o2hb_dead_threshold_set(unsigned int threshold) in o2hb_dead_threshold_set() argument
172 if (threshold > O2HB_MIN_DEAD_THRESHOLD) { in o2hb_dead_threshold_set()
175 o2hb_dead_threshold = threshold; in o2hb_dead_threshold_set()
2128 CONFIGFS_ATTR(o2hb_heartbeat_group_, threshold);
/linux-4.4.14/drivers/extcon/
Dextcon-arizona.c387 unsigned int threshold; member
452 (val < arizona_hpdet_b_ranges[range].threshold || in arizona_hpdet_read()
466 if (val < arizona_hpdet_b_ranges[range].threshold || in arizona_hpdet_read()
/linux-4.4.14/Documentation/devicetree/bindings/regulator/
Dmax8997-regulator.txt85 - CHARGER_TOPOFF: end of charge current threshold level
/linux-4.4.14/drivers/staging/rtl8188eu/hal/
Dusb_halinit.c1689 u8 threshold = *((u8 *)val); in SetHwReg8188EU() local
1690 if (threshold == 0) in SetHwReg8188EU()
1691 threshold = haldata->UsbRxAggPageCount; in SetHwReg8188EU()
1692 usb_write8(Adapter, REG_RXDMA_AGG_PG_TH, threshold); in SetHwReg8188EU()
/linux-4.4.14/drivers/net/wireless/ipw2x00/
Dipw2100.c4964 static int ipw2100_set_rts_threshold(struct ipw2100_priv *priv, u32 threshold) in ipw2100_set_rts_threshold() argument
4973 if (threshold & RTS_DISABLED) in ipw2100_set_rts_threshold()
4976 cmd.host_command_parameters[0] = threshold & ~RTS_DISABLED; in ipw2100_set_rts_threshold()
4982 priv->rts_threshold = threshold; in ipw2100_set_rts_threshold()
4989 u32 threshold, int batch_mode)
5005 if (threshold == 0)
5006 threshold = DEFAULT_FRAG_THRESHOLD;
5008 threshold = max(threshold, MIN_FRAG_THRESHOLD);
5009 threshold = min(threshold, MAX_FRAG_THRESHOLD);
5012 cmd.host_command_parameters[0] = threshold;
[all …]
/linux-4.4.14/drivers/scsi/
Dsd.c905 sector_t threshold; in sd_setup_read_write_cmnd() local
949 threshold = get_capacity(disk) - SD_LAST_BUGGY_SECTORS * in sd_setup_read_write_cmnd()
952 if (unlikely(sdp->last_sector_bug && block + this_count > threshold)) { in sd_setup_read_write_cmnd()
953 if (block < threshold) { in sd_setup_read_write_cmnd()
955 this_count = threshold - block; in sd_setup_read_write_cmnd()

12