Home
last modified time | relevance | path

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

12

/linux-4.1.27/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 …]
Dk10temp75 If the BIOS has enabled hardware temperature control, the threshold at
Djc4279 Per JC 42.4 specification, the hysteresis threshold can be configured to 0, 1.5,
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
Dsysfs-interface50 threshold, "min" (low threshold). Numbering usually starts from 1,
60 alarm (for example, whether a threshold must be met or must be exceeded
/linux-4.1.27/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 core_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 (core_speedo_val < core_process_speedos[threshold][i]) in tegra114_init_speedo_data()
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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 …]
Dsi4713.txt101 acomp_threshold - Sets the threshold level for audio dynamic range control.
/linux-4.1.27/drivers/iio/humidity/
Ddht11.c76 static unsigned char dht11_decode_byte(int *timing, int threshold) in dht11_decode_byte() argument
83 if (timing[i] >= threshold) in dht11_decode_byte()
92 int i, t, timing[DHT11_BITS_PER_READ], threshold, in dht11_decode() local
107 threshold = DHT11_DATA_BIT_HIGH / timeres; in dht11_decode()
108 if (DHT11_DATA_BIT_LOW/timeres + 1 >= threshold) in dht11_decode()
120 hum_int = dht11_decode_byte(timing, threshold); in dht11_decode()
121 hum_dec = dht11_decode_byte(&timing[8], threshold); in dht11_decode()
122 temp_int = dht11_decode_byte(&timing[16], threshold); in dht11_decode()
123 temp_dec = dht11_decode_byte(&timing[24], threshold); in dht11_decode()
124 checksum = dht11_decode_byte(&timing[32], threshold); in dht11_decode()
/linux-4.1.27/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.txt35 - threshold: allows setting the "click"-threshold in the range
/linux-4.1.27/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.c1236 &xadc->threshold[i]); in xadc_probe()
1267 xadc->threshold[i] = 0xffff; in xadc_probe()
1269 xadc->threshold[i] = 0; in xadc_probe()
1271 xadc->threshold[i]); in xadc_probe()
/linux-4.1.27/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()
169 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()
355 unsigned threshold = merge_threshold(left) * 4 + 1; in __rebalance3() local
360 if ((nr_left + nr_center + nr_right) < threshold) in __rebalance3()
/linux-4.1.27/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.1.27/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
Dsysfs-api.txt61 different threshold temperature points.
283 threshold and its associated cooling action. This is write only node
/linux-4.1.27/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()
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()
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()
/linux-4.1.27/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.1.27/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
181 It sets synchronization threshold, which is the minimum number
185 modulus 50 equals the threshold. The range of the threshold is
Ddctcp.txt14 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
DREADME.ipw2200391 threshold, as described in iwconfig documentation, but rather the number
394 threshold to 3 times the given value.
/linux-4.1.27/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
97 sequential threshold set to 1024 and the random_threshold set to 8.
/linux-4.1.27/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.1.27/include/media/
Dov772x.h27 unsigned char threshold; member
48 .threshold = (t & OV772X_EDGE_THRESHOLD_MASK), \
/linux-4.1.27/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.c184 unsigned long threshold; member
3601 for (; i >= 0 && unlikely(t->entries[i].threshold > usage); i--) in __mem_cgroup_threshold()
3613 for (; i < t->size && unlikely(t->entries[i].threshold <= usage); i++) in __mem_cgroup_threshold()
3638 if (_a->threshold > _b->threshold) in compare_thresholds()
3641 if (_a->threshold < _b->threshold) in compare_thresholds()
3673 unsigned long threshold; in __mem_cgroup_usage_register_event() local
3677 ret = page_counter_memparse(args, "-1", &threshold); in __mem_cgroup_usage_register_event()
3680 threshold <<= PAGE_SHIFT; in __mem_cgroup_usage_register_event()
3716 new->entries[size - 1].threshold = threshold; in __mem_cgroup_usage_register_event()
3725 if (new->entries[i].threshold <= usage) { in __mem_cgroup_usage_register_event()
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/power_supply/
Dmax8925_batter.txt6 - topoff-threshold: set charging current in topoff mode
14 topoff-threshold = <1>;
Dcharger-manager.txt25 - cm-battery-* : threshold battery temperature for charging
/linux-4.1.27/Documentation/devicetree/bindings/usb/
Ddwc3.txt21 - snps,lpm-nyet-threshold: LPM NYET threshold
40 - snps,hird-threshold: HIRD threshold
/linux-4.1.27/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.1.27/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.1.27/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.1.27/Documentation/devicetree/bindings/misc/
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.1.27/Documentation/devicetree/bindings/sound/
Dcs35l32.txt39 - cirrus,battery-recovery : Low battery nominal recovery threshold, rising VP.
45 - cirrus,battery-threshold : Low battery nominal threshold, falling VP.
/linux-4.1.27/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.
119 maxim,charge-input-threshold-microvolt = <4300000>;
Dmax8925.txt59 topoff-threshold = <1>;
Dab8500.txt27 : LOW_BAT_F : : LOW threshold battery voltage
/linux-4.1.27/drivers/spi/
Dspi-pxa2xx.h101 u32 threshold; member
192 u32 *threshold);
213 u32 *threshold) in pxa2xx_spi_set_dma_burst_and_threshold() argument
Dspi-pxa2xx.c139 u32 *sccr1_reg, u32 threshold) in pxa2xx_spi_set_rx_thre() argument
143 *sccr1_reg |= QUARK_X1000_SSCR1_RxTresh(threshold); in pxa2xx_spi_set_rx_thre()
146 *sccr1_reg |= SSCR1_RxTresh(threshold); in pxa2xx_spi_set_rx_thre()
481 sccr1_reg |= chip->threshold; in reset_sccr1()
964 cr1 = chip->cr1 | chip->threshold | drv_data->int_cr1; in pump_transfers()
1179 chip->threshold = (QUARK_X1000_SSCR1_RxTresh(rx_thres) in setup()
1185 chip->threshold = (SSCR1_RxTresh(rx_thres) & SSCR1_RFT) | in setup()
Dspi-pxa2xx-dma.c354 u32 *threshold) in pxa2xx_spi_set_dma_burst_and_threshold() argument
364 *threshold = SSCR1_RxTresh(RX_THRESH_DFLT) in pxa2xx_spi_set_dma_burst_and_threshold()
Dspi-pxa2xx-pxadma.c395 u32 *threshold) in pxa2xx_spi_set_dma_burst_and_threshold() argument
483 *threshold = (SSCR1_RxTresh(thresh_words) & SSCR1_RFT) in pxa2xx_spi_set_dma_burst_and_threshold()
/linux-4.1.27/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.1.27/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.1.27/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.1.27/scripts/
Dbootgraph.pl181 my $threshold = $threshold2/10;
190 if ($duration >= $threshold) {
DMakefile.kasan13 --param asan-instrumentation-with-call-threshold=$(call_threshold))
Dspelling.txt957 threshhold||threshold
975 treshold||threshold
/linux-4.1.27/include/linux/input/
Dedt-ft5x06.h19 u8 threshold; member
/linux-4.1.27/drivers/md/bcache/
Dio.c212 unsigned threshold = bio->bi_rw & REQ_WRITE in bch_bbio_count_io_errors() local
216 if (threshold) { in bch_bbio_count_io_errors()
222 if (us > (int) threshold) { in bch_bbio_count_io_errors()
/linux-4.1.27/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.1.27/include/uapi/linux/netfilter/
Dxt_NFLOG.h14 __u16 threshold; member
/linux-4.1.27/include/uapi/linux/netfilter_bridge/
Debt_nflog.h17 __u16 threshold; member
/linux-4.1.27/drivers/irqchip/
Dirq-omap-intc.c64 u32 threshold; member
95 intc_context.threshold = in omap_intc_save_context()
113 intc_writel(INTC_THRESHOLD, intc_context.threshold); in omap_intc_restore_context()
/linux-4.1.27/drivers/input/keyboard/
Dgpio_keys_polled.c35 int threshold; member
77 if (bdata->count < bdata->threshold) in gpio_keys_polled_poll()
270 bdata->threshold = DIV_ROUND_UP(button->debounce_interval, in gpio_keys_polled_probe()
/linux-4.1.27/drivers/crypto/caam/
DKconfig56 int "Job Ring interrupt coalescing count threshold"
67 int "Job Ring interrupt coalescing timer threshold"
74 threshold. Range is 1-65535.
/linux-4.1.27/drivers/staging/comedi/drivers/
Dquatech_daqp_cs.c452 int threshold; in daqp_ai_cmd() local
577 threshold = nbytes; in daqp_ai_cmd()
579 threshold = DAQP_FIFO_SIZE / 2; in daqp_ai_cmd()
597 outb((DAQP_FIFO_SIZE - threshold) & 0xff, dev->iobase + DAQP_FIFO); in daqp_ai_cmd()
598 outb((DAQP_FIFO_SIZE - threshold) >> 8, dev->iobase + DAQP_FIFO); in daqp_ai_cmd()
Djr3_pci.h209 s32 threshold; member
/linux-4.1.27/drivers/i2c/busses/
Di2c-omap.c205 u8 threshold; member
593 dev->threshold = clamp(size, (u8) 1, dev->fifo_size); in omap_i2c_resize_fifo()
600 buf |= ((dev->threshold - 1) << 8) | OMAP_I2C_BUF_RXFIF_CLR; in omap_i2c_resize_fifo()
604 buf |= (dev->threshold - 1) | OMAP_I2C_BUF_TXFIF_CLR; in omap_i2c_resize_fifo()
614 dev->latency = (1000000 * dev->threshold) / in omap_i2c_resize_fifo()
1090 if (dev->threshold) in omap_i2c_isr_thread()
1091 num_bytes = dev->threshold; in omap_i2c_isr_thread()
1117 if (dev->threshold) in omap_i2c_isr_thread()
1118 num_bytes = dev->threshold; in omap_i2c_isr_thread()
/linux-4.1.27/include/net/
Dipcomp.h11 u16 threshold; member
/linux-4.1.27/arch/x86/kernel/cpu/mcheck/
DMakefile6 obj-$(CONFIG_X86_MCE_THRESHOLD) += threshold.o
/linux-4.1.27/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.1.27/drivers/usb/host/
Dehci-st.c58 u32 threshold; in st_ehci_platform_reset() local
61 threshold = 128 | (128 << 16); in st_ehci_platform_reset()
62 writel(threshold, hcd->regs + AHB2STBUS_INSREG01); in st_ehci_platform_reset()
/linux-4.1.27/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.c536 .threshold = 90,
546 .threshold = 90,
556 .threshold = 50,
/linux-4.1.27/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.
Dhost.h910 __le16 threshold; member
/linux-4.1.27/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.1.27/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.1.27/drivers/net/wireless/rt2x00/
Drt2x00queue.h472 unsigned short threshold; member
625 return rt2x00queue_available(queue) < queue->threshold; in rt2x00queue_threshold()
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8821ae/
Dphy.h253 u8 thermal_value, u8 threshold);
255 u8 thermal_value, u8 threshold);
/linux-4.1.27/arch/arm/boot/dts/
Dsama5d3xdm.dtsi27 atmel,adc-ts-pressure-threshold = <10000>;
Dat91-cosino_mega2560.dts31 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 */
Dmmp2-brownstone.dts184 topoff-threshold = <1>;
Ds5pv210-goni.dts361 atmel,threshold = <0x28>;
/linux-4.1.27/drivers/staging/iio/cdc/
Dad7150.c74 u16 threshold[2][2]; member
181 value = chip->threshold[rising][chan]; in ad7150_write_event_params()
300 *val = chip->threshold[rising][chan->channel]; in ad7150_read_event_value()
327 chip->threshold[rising][chan->channel] = val; in ad7150_write_event_value()
/linux-4.1.27/Documentation/devicetree/bindings/iio/adc/
Dat91_adc.txt34 - atmel,adc-ts-pressure-threshold: a pressure threshold for touchscreen. It
/linux-4.1.27/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.1.27/net/bridge/netfilter/
Debt_nflog.c32 li.u.ulog.qthreshold = info->threshold; in ebt_nflog_tg()
/linux-4.1.27/drivers/gpu/drm/i915/
Dintel_fbc.c196 dev_priv->fbc.threshold++; in ilk_fbc_enable()
198 switch (dev_priv->fbc.threshold) { in ilk_fbc_enable()
267 dev_priv->fbc.threshold++; in gen7_fbc_enable()
269 switch (dev_priv->fbc.threshold) { in gen7_fbc_enable()
Di915_gem_stolen.c210 dev_priv->fbc.threshold = ret; in i915_setup_compression()
/linux-4.1.27/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.1.27/net/netfilter/
Dxt_NFLOG.c34 li.u.ulog.qthreshold = info->threshold; in nflog_tg()
/linux-4.1.27/Documentation/devicetree/bindings/video/backlight/
Dsky81452-backlight.txt15 - skyworks,short-detection-threshold-volt
/linux-4.1.27/Documentation/spi/
Dpxa2xx169 .tx_threshold = 8, /* SSP hardward FIFO threshold */
170 .rx_threshold = 8, /* SSP hardward FIFO threshold */
177 .tx_threshold = 8, /* SSP hardward FIFO threshold */
178 .rx_threshold = 8, /* SSP hardward FIFO threshold */
/linux-4.1.27/drivers/staging/media/lirc/
Dlirc_sir.c124 static int threshold = 3; variable
483 if (deltintrtv > TIME_CONST * threshold) { in sir_interrupt()
1010 module_param(threshold, int, S_IRUGO);
1011 MODULE_PARM_DESC(threshold, "space detection threshold (3)");
/linux-4.1.27/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()
737 value = (conf->threshold << in tegra30_ahub_set_cif()
769 value = (conf->threshold << in tegra124_ahub_set_cif()
Dtegra30_ahub.h486 unsigned int threshold; member
Dtegra30_i2s.c181 cif_conf.threshold = 0; in tegra30_i2s_hw_params()
/linux-4.1.27/drivers/net/wireless/cw1200/
Dsta.c1138 struct wsm_rcpi_rssi_threshold threshold = { in cw1200_setup_mac() local
1152 if (threshold.rssiRcpiMode & WSM_RCPI_RSSI_USE_RSSI) in cw1200_setup_mac()
1171 wsm_set_rcpi_rssi_threshold(priv, &threshold); in cw1200_setup_mac()
2042 struct wsm_rcpi_rssi_threshold threshold = { in cw1200_bss_info_changed() local
2062 threshold.upperThreshold = in cw1200_bss_info_changed()
2064 threshold.lowerThreshold = in cw1200_bss_info_changed()
2066 threshold.rssiRcpiMode |= WSM_RCPI_RSSI_USE_RSSI; in cw1200_bss_info_changed()
2068 threshold.upperThreshold = (info->cqm_rssi_thold + info->cqm_rssi_hyst + 110) * 2; in cw1200_bss_info_changed()
2069 threshold.lowerThreshold = (info->cqm_rssi_thold + 110) * 2; in cw1200_bss_info_changed()
2071 threshold.rssiRcpiMode |= WSM_RCPI_RSSI_THRESHOLD_ENABLE; in cw1200_bss_info_changed()
[all …]
/linux-4.1.27/drivers/input/touchscreen/
Dedt-ft5x06.c106 int threshold; member
469 static EDT_ATTR(threshold, S_IWUSR | S_IRUGO, WORK_REGISTER_THRESHOLD,
587 tsdata->threshold); in edt_ft5x06_work_mode()
871 EDT_GET_PROP(threshold, reg_addr->reg_threshold); in edt_ft5x06_ts_get_dt_defaults()
886 EDT_ATTR_CHECKSET(threshold, reg_addr->reg_threshold); in edt_ft5x06_ts_get_defaults()
898 tsdata->threshold = edt_ft5x06_register_read(tsdata, in edt_ft5x06_ts_get_parameters()
/linux-4.1.27/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.1.27/include/linux/
Dmroute.h59 unsigned char threshold; /* TTL threshold */ member
Dmroute6.h69 unsigned char threshold; /* TTL threshold */ member
/linux-4.1.27/drivers/net/usb/
Dsr9800.h166 struct {unsigned short size, byte_cnt, threshold; } SR9800_BULKIN_SIZE[] = { member
Dsr9800.c811 SR9800_BULKIN_SIZE[SR9800_MAX_BULKIN_4K].threshold, in sr9800_bind()
822 SR9800_BULKIN_SIZE[SR9800_MAX_BULKIN_2K].threshold, in sr9800_bind()
/linux-4.1.27/drivers/gpu/drm/omapdrm/
DTODO3 accessing the pages via a GART, so maybe we need some other threshold
/linux-4.1.27/drivers/staging/lustre/include/linux/lnet/
Dtypes.h210 int threshold; member
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
Dniobuf.c63 md.threshold = (ack == LNET_ACK_REQ) ? 2 : 1; in ptl_send_buf()
171 md.threshold = 1; /* PUT or GET */ in ptlrpc_register_bulk()
600 reply_md.threshold = LNET_MD_THRESH_INF; in ptl_send_rpc()
715 md.threshold = LNET_MD_THRESH_INF; in ptlrpc_register_rqbd()
/linux-4.1.27/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.c450 rts->threshold = rts_threshold; in wl1251_acx_rts_threshold()
723 int wl1251_acx_low_rssi(struct wl1251 *wl, s8 threshold, u8 weight, in wl1251_acx_low_rssi() argument
735 rssi->threshold = threshold; in wl1251_acx_low_rssi()
/linux-4.1.27/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.1.27/drivers/video/fbdev/
Darkfb.c123 static int threshold = 4; variable
125 module_param(threshold, int, 0644);
126 MODULE_PARM_DESC(threshold, "FIFO threshold");
692 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.1.27/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.1.27/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.1.27/drivers/md/
Ddm-thin-metadata.h204 dm_block_t threshold,
/linux-4.1.27/Documentation/devicetree/bindings/power/
Dbq2415x.txt20 - ti,weak-battery-voltage: integer, weak battery voltage threshold in mV.
/linux-4.1.27/drivers/net/ethernet/ibm/emac/
DKconfig26 int "RX skb copy threshold (bytes)"
/linux-4.1.27/Documentation/isdn/
DREADME.audio54 x = 0 ... 31 sensitivity threshold level.
64 x = 0 ... 15 sensitivity threshold level.
/linux-4.1.27/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.1.27/Documentation/ABI/testing/
Dsysfs-bus-iio-light-lm3533-als25 Specifies the value of threshold that the device is comparing
Dsysfs-bus-iio547 Event generated when channel passes a threshold in the specified
550 a single threshold value is passed in (e.g.
600 Event generated when channel passes a threshold on the rate of
604 threshold value is passed in (e.g.
660 Specifies the value of threshold that the device is comparing
665 threshold value applies to both directions.
686 threshold.
742 Specifies the hysteresis of threshold that the device is comparing
749 this event to get the upper threshold for when the event goes back to
791 Specifies the value of rate of change threshold that the
[all …]
Dsysfs-class-power55 This entry shows and sets the charging current threshold for
Dsysfs-platform-dell-laptop18 This file allows to specifiy the on/off threshold value,
/linux-4.1.27/drivers/net/ethernet/ibm/
Dibmveth.h115 u32 threshold; member
/linux-4.1.27/Documentation/devicetree/bindings/drm/tilcdc/
Dpanel.txt14 - fifo-th: DMA FIFO threshold
/linux-4.1.27/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.c1270 int threshold; in set_rx_timeout() local
1281 threshold = timeout * port->ip_baud / 4000; in set_rx_timeout()
1282 if (threshold == 0) in set_rx_timeout()
1283 threshold = 1; /* otherwise we'll intr all the time! */ in set_rx_timeout()
1285 if ((unsigned)threshold > (unsigned)IOC4_SSCR_RX_THRESHOLD) in set_rx_timeout()
1289 port->ip_sscr |= threshold; in set_rx_timeout()
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/
Drx.c251 int threshold = priv->plcp_delta_threshold; in iwlagn_good_plcp_health() local
253 if (threshold == IWL_MAX_PLCP_ERR_THRESHOLD_DISABLE) { in iwlagn_good_plcp_health()
267 if ((delta * 100 / msecs) > threshold) { in iwlagn_good_plcp_health()
270 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.1.27/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.1.27/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.h1306 u8 threshold; member
Dcmd.h671 u8 threshold; member
/linux-4.1.27/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.1.27/drivers/thermal/samsung/
Dexynos_tmu.c289 static u32 get_th_reg(struct exynos_tmu_data *data, u32 threshold, bool falling) in get_th_reg() argument
311 threshold &= ~(0xff << 8 * i); in get_th_reg()
313 threshold |= temp_to_code(data, temp) << 8 * i; in get_th_reg()
316 return threshold; in get_th_reg()
/linux-4.1.27/fs/ocfs2/
Dmove_extents.c737 u32 threshold, int *skip) in ocfs2_calc_extent_defrag_len() argument
739 if ((*alloc_size + *len_defraged) < threshold) { in ocfs2_calc_extent_defrag_len()
758 *alloc_size = threshold - *len_defraged; in ocfs2_calc_extent_defrag_len()
/linux-4.1.27/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.1.27/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.1.27/Documentation/x86/x86_64/
Dboot-options.txt54 Don't overwrite the bios-set CMCI threshold. This boot option
55 prevents Linux from overwriting the CMCI threshold set by the
57 threshold to 1. Enabling this may make memory predictive failure
Dmachinecheck77 TBD document entries for AMD threshold interrupt configuration
/linux-4.1.27/Documentation/devicetree/bindings/interrupt-controller/
Dinterrupts.txt107 threshold = <0x40>;
/linux-4.1.27/Documentation/devicetree/bindings/input/
Dads7846.txt56 (threshold) - u16.
/linux-4.1.27/Documentation/
Dlockup-watchdogs.txt50 for 2*watchdog_thresh seconds (the softlockup threshold) the
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.
/linux-4.1.27/Documentation/virtual/kvm/
Dhypercalls.txt78 execute HLT instruction once it has busy-waited for more than a threshold
/linux-4.1.27/Documentation/devicetree/bindings/net/
Dstmmac.txt23 - snps,force_thresh_dma_mode Force DMA to use the threshold mode for
/linux-4.1.27/tools/perf/
Dbuiltin-timechart.c1376 static int determine_display_tasks(struct timechart *tchart, u64 threshold) in determine_display_tasks() argument
1391 if (p->total_time >= threshold) in determine_display_tasks()
1402 if (c->total_time >= threshold) { in determine_display_tasks()
1417 static int determine_display_io_tasks(struct timechart *timechart, u64 threshold) in determine_display_io_tasks() argument
1434 if (c->total_bytes >= threshold) { in determine_display_io_tasks()
/linux-4.1.27/include/uapi/linux/
Domap3isp.h252 __u8 threshold; /* Threshold Value for Horizontal Median Filter */ member
/linux-4.1.27/arch/x86/crypto/
Dcrc32c-pcl-intel-asm_64.S63 # Define threshold where buffers are considered "small" and routed to more
/linux-4.1.27/Documentation/scsi/
Dst.txt247 The buffer size, write threshold, and the maximum number of allocated buffers
252 write_threshold_kbs=xxx the write threshold in kilobytes set to xxx
258 Note that if the buffer size is changed but the write threshold is not
259 set, the write threshold is set to the new buffer size - 2 kB.
286 bb is the write threshold in 1024 byte units
406 Sets the write threshold for this device to kilobytes
/linux-4.1.27/net/ipv4/
Dfib_trie.c771 unsigned long threshold = used; in should_inflate() local
774 threshold *= IS_TRIE(tp) ? inflate_threshold_root : inflate_threshold; in should_inflate()
780 return (used > 1) && tn->pos && ((50 * used) >= threshold); in should_inflate()
786 unsigned long threshold = used; in should_halve() local
789 threshold *= IS_TRIE(tp) ? halve_threshold_root : halve_threshold; in should_halve()
794 return (used > 1) && (tn->bits > 1) && ((100 * used) < threshold); in should_halve()
DKconfig495 congestion window and slow start threshold after a congestion
497 slow start threshold and a congestion window which takes into
611 buffer thresholds. The default ECN marking threshold heuristic for
/linux-4.1.27/drivers/staging/rtl8188eu/core/
Drtw_mlme.c1916 u8 threshold; in rtw_joinbss_reset() local
1931 threshold = 1; in rtw_joinbss_reset()
1933 threshold = 0; in rtw_joinbss_reset()
1934 rtw_hal_set_hwreg(padapter, HW_VAR_RXDMA_AGG_PG_TH, (u8 *)(&threshold)); in rtw_joinbss_reset()
1936 threshold = 1; in rtw_joinbss_reset()
1937 rtw_hal_set_hwreg(padapter, HW_VAR_RXDMA_AGG_PG_TH, (u8 *)(&threshold)); in rtw_joinbss_reset()
/linux-4.1.27/Documentation/acpi/apei/
Doutput_format.txt21 [primary][, containment warning][, reset][, threshold exceeded]\
/linux-4.1.27/Documentation/mmc/
Dmmc-async-req.txt66 if (is_first_req && req->size > threshold)
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/
Dcommon.h90 unsigned long threshold; member
/linux-4.1.27/drivers/extcon/
Dextcon-arizona.c349 unsigned int threshold; member
414 (val < arizona_hpdet_b_ranges[range].threshold || in arizona_hpdet_read()
428 if (val < arizona_hpdet_b_ranges[range].threshold || in arizona_hpdet_read()
/linux-4.1.27/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.1.27/Documentation/devicetree/bindings/regulator/
Dmax8997-regulator.txt85 - CHARGER_TOPOFF: end of charge current threshold level
/linux-4.1.27/drivers/scsi/
Dsd.c890 sector_t threshold; in sd_setup_read_write_cmnd() local
934 threshold = get_capacity(disk) - SD_LAST_BUGGY_SECTORS * in sd_setup_read_write_cmnd()
937 if (unlikely(sdp->last_sector_bug && block + this_count > threshold)) { in sd_setup_read_write_cmnd()
938 if (block < threshold) { in sd_setup_read_write_cmnd()
940 this_count = threshold - block; in sd_setup_read_write_cmnd()
/linux-4.1.27/drivers/staging/rtl8188eu/hal/
Dusb_halinit.c1692 u8 threshold = *((u8 *)val); in SetHwReg8188EU() local
1693 if (threshold == 0) in SetHwReg8188EU()
1694 threshold = haldata->UsbRxAggPageCount; in SetHwReg8188EU()
1695 usb_write8(Adapter, REG_RXDMA_AGG_PG_TH, threshold); in SetHwReg8188EU()
/linux-4.1.27/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.1.27/drivers/media/usb/uvc/
Duvcvideo.h727 unsigned int n_terms, unsigned int threshold);
/linux-4.1.27/Documentation/power/
Dopp.txt207 SoC temperature is lower than a certain threshold. The SoC framework
223 exceeds a threshold value. The SoC framework implementation might
/linux-4.1.27/drivers/net/fddi/skfp/
Dpcmplc.c207 static void sm_ph_lem_start(struct s_smc *smc, int np, int threshold);
1229 static void sm_ph_lem_start(struct s_smc *smc, int np, int threshold) in sm_ph_lem_start() argument
1240 outpw(PLC(np,PL_LE_THRESHOLD),threshold) ; in sm_ph_lem_start()
/linux-4.1.27/drivers/net/wireless/ath/ath5k/
Dphy.c1602 s16 nf, threshold; in ath5k_hw_update_noise_floor() local
1619 threshold = ee->ee_noise_floor_thr[ee_mode]; in ath5k_hw_update_noise_floor()
1621 if (nf > threshold) { in ath5k_hw_update_noise_floor()
1625 nf, threshold); in ath5k_hw_update_noise_floor()
/linux-4.1.27/drivers/scsi/pm8001/
Dpm8001_hwi.h477 __le32 threshold; member
/linux-4.1.27/drivers/iio/light/
DKconfig161 light zone through sysfs. A threshold event can be generated on zone

12