Home
last modified time | relevance | path

Searched refs:threshold (Results 1 – 25 of 37) sorted by relevance

12

/drivers/cpuidle/governors/
Dladder.c33 } threshold; member
86 last_residency = last_state->threshold.promotion_time + 1; in ladder_select_state()
90 last_residency > last_state->threshold.promotion_time && in ladder_select_state()
94 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()
147 lstate->threshold.promotion_count = PROMOTION_COUNT; in ladder_enable_device()
148 lstate->threshold.demotion_count = DEMOTION_COUNT; in ladder_enable_device()
151 lstate->threshold.promotion_time = state->exit_latency; in ladder_enable_device()
153 lstate->threshold.demotion_time = state->exit_latency; in ladder_enable_device()
/drivers/mtd/ubi/
DKconfig18 int "UBI wear-leveling threshold"
25 of UBI devices. When this threshold is exceeded, UBI starts performing
32 life-cycle less then 10000, the threshold should be lessened (e.g.,
/drivers/net/wireless/libertas/
DREADME143 Value field specifies the consecutive failure count threshold which
151 above a threshold, specified by Value.
155 below a threshold, specified by Value.
159 above a threshold, specified by Value.
163 below a threshold, specified by Value.
/drivers/input/mouse/
Dappletouch.c241 static int threshold = ATP_THRESHOLD; variable
242 module_param(threshold, int, 0644);
243 MODULE_PARM_DESC(threshold, "Discard any change in data from a sensor"
327 if (xy_sensors[i] < threshold) { in atp_calculate_abs()
363 pcum += (xy_sensors[i] - threshold) * i; in atp_calculate_abs()
364 psum += (xy_sensors[i] - threshold); in atp_calculate_abs()
/drivers/net/wireless/rt2x00/
Drt2x00queue.h395 unsigned short threshold; member
542 return rt2x00queue_available(queue) < queue->threshold; in rt2x00queue_threshold()
/drivers/media/dvb/frontends/
Ddib3000mb.c471 u32 dds_val, threshold = 0x800000; in dib3000mb_get_frontend() local
478 if (dds_val < threshold) in dib3000mb_get_frontend()
480 else if (dds_val == threshold) in dib3000mb_get_frontend()
487 if (dds_val < threshold) in dib3000mb_get_frontend()
489 else if (dds_val == threshold) in dib3000mb_get_frontend()
/drivers/staging/winbond/
Dsme_api.h53 s8 sme_set_fragment_threshold(void *pcore_data, u32 threshold);
57 s8 sme_set_rts_threshold(void *pcore_data, u32 threshold);
/drivers/video/
Darkfb.c123 static int threshold = 4; variable
125 module_param(threshold, int, 0644);
126 MODULE_PARM_DESC(threshold, "FIFO threshold");
674 regval = 0x10 | ((threshold & 0x0E) >> 1) | (threshold & 0x01) << 7 | (threshold & 0x10) << 1; in arkfb_set_par()
/drivers/net/wireless/
Dwl3501_cs.c1732 u16 threshold; /* size checked: it is u16 */ in wl3501_get_rts_threshold() local
1735 &threshold, sizeof(threshold)); in wl3501_get_rts_threshold()
1737 wrqu->rts.value = threshold; in wl3501_get_rts_threshold()
1738 wrqu->rts.disabled = threshold >= 2347; in wl3501_get_rts_threshold()
1748 u16 threshold; /* size checked: it is u16 */ in wl3501_get_frag_threshold() local
1751 &threshold, sizeof(threshold)); in wl3501_get_frag_threshold()
1753 wrqu->frag.value = threshold; in wl3501_get_frag_threshold()
1754 wrqu->frag.disabled = threshold >= 2346; in wl3501_get_frag_threshold()
/drivers/uwb/i1480/i1480u-wlp/
Dnetdev.c309 i1480u->tx_inflight.threshold = 0; in i1480u_stop_queue()
328 i1480u->tx_inflight.threshold = i1480u_TX_INFLIGHT_THRESHOLD; in i1480u_start_queue()
Dsysfs.c188 inflight->threshold, inflight->max, in wlp_tx_inflight_show()
209 inflight->threshold = in_threshold; in wlp_tx_inflight_store()
Di1480u-wlp.h201 unsigned long threshold; member
Dtx.c147 <= i1480u->tx_inflight.threshold in i1480u_tx_cb()
149 && i1480u->tx_inflight.threshold != 0) { in i1480u_tx_cb()
Dlc.c266 i1480u->tx_inflight.threshold = i1480u_TX_INFLIGHT_THRESHOLD; in i1480u_add()
/drivers/staging/poch/
DREADME7 - handle temperature above threshold
/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()
/drivers/serial/
Dioc3_serial.c546 int threshold; in set_rx_timeout() local
557 threshold = timeout * port->ip_baud / 4000; in set_rx_timeout()
558 if (threshold == 0) in set_rx_timeout()
559 threshold = 1; /* otherwise we'll intr all the time! */ in set_rx_timeout()
561 if ((unsigned)threshold > (unsigned)SSCR_RX_THRESHOLD) in set_rx_timeout()
565 port->ip_sscr |= threshold; in set_rx_timeout()
Dioc4_serial.c1269 int threshold; in set_rx_timeout() local
1280 threshold = timeout * port->ip_baud / 4000; in set_rx_timeout()
1281 if (threshold == 0) in set_rx_timeout()
1282 threshold = 1; /* otherwise we'll intr all the time! */ in set_rx_timeout()
1284 if ((unsigned)threshold > (unsigned)IOC4_SSCR_RX_THRESHOLD) in set_rx_timeout()
1288 port->ip_sscr |= threshold; in set_rx_timeout()
/drivers/net/ibm_newemac/
DKconfig26 int "RX skb copy threshold (bytes)"
/drivers/char/ip2/
Di2cmd.h618 #define CMD_SET_SILO(timeout,threshold) \ argument
620 ((cmdSyntaxPtr)(ct90))->cmd[2] = (threshold), \
/drivers/net/
Dibmveth.h114 u32 threshold; member
/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()
/drivers/scsi/
Dsd.c387 sector_t threshold; in sd_prep_fn() local
437 threshold = get_capacity(disk) - SD_LAST_BUGGY_SECTORS * in sd_prep_fn()
440 if (unlikely(sdp->last_sector_bug && block + this_count > threshold)) { in sd_prep_fn()
441 if (block < threshold) { in sd_prep_fn()
443 this_count = threshold - block; in sd_prep_fn()
/drivers/spi/
Dpxa2xx_spi.c166 u32 threshold; member
742 u32 *threshold) in set_dma_burst_and_threshold() argument
830 *threshold = (SSCR1_RxTresh(thresh_words) & SSCR1_RFT) in set_dma_burst_and_threshold()
1066 cr1 = chip->cr1 | chip->threshold | drv_data->int_cr1; in pump_transfers()
1244 chip->threshold = (SSCR1_RxTresh(rx_thres) & SSCR1_RFT) | in setup()
/drivers/net/ehea/
Dehea_phyp.c253 u64 threshold = in ehea_h_alloc_resource_qp() local
267 threshold); /* R12 */ in ehea_h_alloc_resource_qp()

12