/drivers/cpuidle/governors/ |
H A D | ladder.c | 33 } threshold; member in struct:ladder_device_state 87 last_residency = last_state->threshold.promotion_time + 1; 91 last_residency > last_state->threshold.promotion_time && 95 if (last_state->stats.promotion_count >= last_state->threshold.promotion_count) { 115 last_residency < last_state->threshold.demotion_time) { 118 if (last_state->stats.demotion_count >= last_state->threshold.demotion_count) { 150 lstate->threshold.promotion_count = PROMOTION_COUNT; 151 lstate->threshold.demotion_count = DEMOTION_COUNT; 154 lstate->threshold.promotion_time = state->exit_latency; 156 lstate->threshold [all...] |
/drivers/watchdog/ |
H A D | intel_scu_watchdog.h | 50 u32 threshold; member in struct:intel_scu_watchdog_dev
|
H A D | intel_scu_watchdog.c | 126 static int watchdog_set_ipc(int soft_threshold, int threshold) argument 134 ipc_wbuf[1] = threshold; 174 /* set the timer to the threshold */ 175 iowrite32(watchdog_device.threshold, 218 watchdog_device.threshold = 229 pr_debug("set_heartbeat: threshold is %x (hex)\n", 230 watchdog_device.threshold); 236 watchdog_device.threshold = 237 watchdog_device.threshold / FREQ_ADJUSTMENT; 244 /* send the threshold an [all...] |
/drivers/input/misc/ |
H A D | gpio_tilt_polled.c | 37 int threshold; member in struct:gpio_tilt_polled_dev 49 if (tdev->count < tdev->threshold) { 86 tdev->count = tdev->threshold; 154 tdev->threshold = DIV_ROUND_UP(pdata->debounce_interval,
|
/drivers/input/keyboard/ |
H A D | gpio_keys_polled.c | 34 int threshold; member in struct:gpio_keys_button_data 77 if (bdata->count < bdata->threshold) 179 bdata->threshold = DIV_ROUND_UP(button->debounce_interval,
|
/drivers/staging/ramster/cluster/ |
H A D | heartbeat.c | 65 /* Only sets a new threshold if there are no active regions. 70 static void r2hb_dead_threshold_set(unsigned int threshold) argument 72 if (threshold > R2HB_MIN_DEAD_THRESHOLD) { 74 r2hb_dead_threshold = threshold;
|
/drivers/net/wireless/rt2x00/ |
H A D | rt2x00queue.h | 442 * @threshold: Minimum number of free entries before queue is kicked by force. 468 unsigned short threshold; member in struct:data_queue 632 * rt2x00queue_threshold - Check if the queue is below threshold 637 return rt2x00queue_available(queue) < queue->threshold;
|
/drivers/staging/winbond/ |
H A D | sme_api.h | 44 s8 sme_set_fragment_threshold(void *pcore_data, u32 threshold); 48 s8 sme_set_rts_threshold(void *pcore_data, u32 threshold);
|
/drivers/media/dvb/frontends/ |
H A D | dib3000mb.c | 460 u32 dds_val, threshold = 0x800000; local 467 if (dds_val < threshold) 469 else if (dds_val == threshold) 476 if (dds_val < threshold) 478 else if (dds_val == threshold)
|
H A D | drxk_hard.h | 165 u16 threshold; member in struct:DRXKCfgDvbtEchoThres_t
|
/drivers/input/mouse/ |
H A D | appletouch.c | 239 * Make the threshold a module parameter 241 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" 339 if (xy_sensors[i] < threshold) { 364 } else if (i > 0 && (xy_sensors[i - 1] - xy_sensors[i] > threshold)) { 369 * Subtracts threshold so a high sensor that just passes the 370 * threshold won't skew the calculated absolute coordinate. 375 pcum += (xy_sensors[i] - threshold) * i; 376 psum += (xy_sensors[i] - threshold); [all...] |
/drivers/staging/comedi/drivers/ |
H A D | quatech_daqp_cs.c | 587 int threshold; local 654 /* Now it's time to program the FIFO threshold, basically the 661 * threshold set at half the FIFO size, we have a margin of 673 * the stop count itself as the threshold, the card interrupts 679 * interrupt response) and use that as the threshold. So, if 681 * get 1000 samples, use that as the threshold, take four 685 * samples are requested, we could set the threshold to 1500 688 * Instead, it'll set the threshold at 1266 and take 64 694 * threshold (1500 = 3 * 5^3 * 2^2) and an interrupt count (54 716 * compute the FIFO threshold (i [all...] |
H A D | jr3_pci.h | 197 /* This structure shows the layout for a single threshold packet inside of a 198 * load envelope. Each load envelope can contain several threshold structures. 199 * 1. data_address contains the address of the data for that threshold. This 201 * 2. threshold is the is the value at which, if data is above or below, the 203 * 3. bit_pattern contains the bits that will be set if the threshold value is 209 s32 threshold; member in struct:thresh_struct 218 * The latched bits will not be reset once the threshold which set them is 221 * 2. number_of_xx_thresholds specify how many GE/LE threshold there are.
|
/drivers/hwmon/ |
H A D | exynos4_tmu.c | 167 /* Write temperature code for threshold */ 168 threshold_code = temp_to_code(data, pdata->threshold); 300 trigger_level = pdata->threshold + pdata->trigger_levels[attr->index]; 311 unsigned int temp = pdata->threshold +
|
/drivers/media/rc/ |
H A D | imon.c | 359 /* threshold at which a pad push registers as an arrow key in kbd mode */ 1090 * routine with shorter timeout and a smaller threshold. 1092 static int stabilize(int a, int b, u16 timeout, u16 threshold) argument 1116 if (abs(x) > threshold || abs(y) > threshold) { 1131 y = 17 * threshold / 30; 1134 y -= 17 * threshold / 30; 1137 x = 17 * threshold / 30; 1140 x -= 17 * threshold / 30; 1305 u16 timeout, threshold; local [all...] |
/drivers/media/video/omap3isp/ |
H A D | isph3a_af.c | 129 pcr |= conf->hmf.threshold << AF_MED_TH_SHIFT; 264 if (cur_cfg->hmf.threshold != user_cfg->hmf.threshold) {
|
/drivers/md/persistent-data/ |
H A D | dm-btree-remove.c | 213 unsigned threshold = 2 * merge_threshold(left) + 1; local 215 if (nr_left + nr_right < threshold) { 357 unsigned threshold = merge_threshold(left) * 4 + 1; local 362 if ((nr_left + nr_center + nr_right) < threshold)
|
/drivers/media/radio/ |
H A D | si4713-i2c.h | 208 s32 threshold; member in struct:acomp_info
|
/drivers/net/ethernet/ibm/ |
H A D | ibmveth.h | 116 u32 threshold; member in struct:ibmveth_buff_pool
|
/drivers/staging/iio/cdc/ |
H A D | ad7150.c | 54 * @threshold: thresholds for simple capacitance value events 55 * @thresh_sensitivity: threshold for simple capacitance offset 57 * @mag_sensitity: threshold for magnitude of capacitance offset from 60 * adaptive threshold event occurs to when the average 74 u16 threshold[2][2]; member in struct:ad7150_chip_info 180 value = chip->threshold[rising][chan]; 298 *val = chip->threshold[rising][chan]; 325 chip->threshold[rising][chan] = val; 456 * threshold events
|
/drivers/net/wireless/iwlwifi/ |
H A D | iwl-5000.c | 149 s32 threshold = (s32)CELSIUS_TO_KELVIN(CT_KILL_THRESHOLD_LEGACY) - local 152 hw_params(priv).ct_kill_threshold = threshold * volt2temp_coef;
|
/drivers/net/wireless/ |
H A D | wl3501_cs.c | 1677 u16 threshold; /* size checked: it is u16 */ local 1680 &threshold, sizeof(threshold)); 1682 wrqu->rts.value = threshold; 1683 wrqu->rts.disabled = threshold >= 2347; 1693 u16 threshold; /* size checked: it is u16 */ local 1696 &threshold, sizeof(threshold)); 1698 wrqu->frag.value = threshold; 1699 wrqu->frag.disabled = threshold > [all...] |
/drivers/video/ |
H A D | arkfb.c | 123 static int threshold = 4; variable 125 module_param(threshold, int, 0644); 126 MODULE_PARM_DESC(threshold, "FIFO threshold"); 690 /* Set the FIFO threshold register */ 692 regval = 0x10 | ((threshold & 0x0E) >> 1) | (threshold & 0x01) << 7 | (threshold & 0x10) << 1;
|
/drivers/gpu/drm/savage/ |
H A D | savage_bci.c | 41 uint32_t threshold = dev_priv->bci_threshold_hi; local 46 if (n > dev_priv->cob_size + SAVAGE_BCI_FIFO_SIZE - threshold) 54 if ((status & mask) < threshold) 61 DRM_INFO(" status=0x%08x, threshold=0x%08x\n", status, threshold);
|
/drivers/net/ethernet/stmicro/stmmac/ |
H A D | common.h | 92 unsigned long threshold; member in struct:stmmac_extra_stats 242 /* Set tx/rx threshold in the csr6 register
|