Home
last modified time | relevance | path

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

12

/linux-4.19.296/drivers/cpuidle/governors/
Dladder.c32 } threshold; member
89 last_residency > last_state->threshold.promotion_time && in ladder_select_state()
93 if (last_state->stats.promotion_count >= last_state->threshold.promotion_count) { in ladder_select_state()
115 last_residency < last_state->threshold.demotion_time) { in ladder_select_state()
118 if (last_state->stats.demotion_count >= last_state->threshold.demotion_count) { in ladder_select_state()
151 lstate->threshold.promotion_count = PROMOTION_COUNT; in ladder_enable_device()
152 lstate->threshold.demotion_count = DEMOTION_COUNT; in ladder_enable_device()
155 lstate->threshold.promotion_time = state->exit_latency; in ladder_enable_device()
157 lstate->threshold.demotion_time = state->exit_latency; in ladder_enable_device()
/linux-4.19.296/lib/zstd/
Dentropy_common.c66 int threshold; in FSE_readNCount() local
82 threshold = 1 << nbBits; in FSE_readNCount()
118 int const max = (2 * threshold - 1) - remaining; in FSE_readNCount()
121 if ((bitStream & (threshold - 1)) < (U32)max) { in FSE_readNCount()
122 count = bitStream & (threshold - 1); in FSE_readNCount()
125 count = bitStream & (2 * threshold - 1); in FSE_readNCount()
126 if (count >= threshold) in FSE_readNCount()
135 while (remaining < threshold) { in FSE_readNCount()
137 threshold >>= 1; in FSE_readNCount()
Dfse_compress.c212 int threshold; in FSE_writeNCount_generic() local
226 threshold = tableSize; in FSE_writeNCount_generic()
263 int const max = (2 * threshold - 1) - remaining; in FSE_writeNCount_generic()
266 if (count >= threshold) in FSE_writeNCount_generic()
274 while (remaining < threshold) in FSE_writeNCount_generic()
275 nbBits--, threshold >>= 1; in FSE_writeNCount_generic()
/linux-4.19.296/drivers/iio/adc/
Dxilinx-xadc-events.c172 *val = xadc->threshold[offset]; in xadc_read_event_value()
204 xadc->threshold[offset] = val; in xadc_write_event_value()
228 if (xadc->threshold[offset] < xadc->temp_hysteresis) in xadc_write_event_value()
229 xadc->threshold[offset + 4] = 0; in xadc_write_event_value()
231 xadc->threshold[offset + 4] = xadc->threshold[offset] - in xadc_write_event_value()
234 xadc->threshold[offset + 4]); in xadc_write_event_value()
Dxilinx-xadc.h51 uint16_t threshold[16]; member
Dxilinx-xadc-core.c1293 &xadc->threshold[i]); in xadc_probe()
1326 xadc->threshold[i] = 0xffff; in xadc_probe()
1328 xadc->threshold[i] = 0; in xadc_probe()
1330 xadc->threshold[i]); in xadc_probe()
Dmeson_saradc.c837 unsigned int cnt, threshold; in meson_sar_adc_irq() local
842 threshold = FIELD_GET(MESON_SAR_ADC_REG0_FIFO_CNT_IRQ_MASK, regval); in meson_sar_adc_irq()
844 if (cnt < threshold) in meson_sar_adc_irq()
/linux-4.19.296/include/media/i2c/
Dov772x.h27 unsigned char threshold; member
48 .threshold = (t & OV772X_EDGE_THRESHOLD_MASK), \
/linux-4.19.296/drivers/media/rc/
Dsir_ir.c37 static int threshold = 3; variable
198 if (deltintr > TIME_CONST * threshold) { in sir_interrupt()
441 module_param(threshold, int, 0444);
442 MODULE_PARM_DESC(threshold, "space detection threshold (3)");
Dimon.c1156 static int stabilize(int a, int b, u16 timeout, u16 threshold) in stabilize() argument
1180 if (abs(x) > threshold || abs(y) > threshold) { in stabilize()
1195 y = 17 * threshold / 30; in stabilize()
1198 y -= 17 * threshold / 30; in stabilize()
1201 x = 17 * threshold / 30; in stabilize()
1204 x -= 17 * threshold / 30; in stabilize()
1370 u16 timeout, threshold; in imon_pad_to_keys() local
1387 threshold = pad_thresh ? pad_thresh : 28; in imon_pad_to_keys()
1394 timeout, threshold); in imon_pad_to_keys()
1442 threshold = pad_thresh ? pad_thresh : 15; in imon_pad_to_keys()
[all …]
/linux-4.19.296/include/drm/
Dgpu_scheduler.h199 int threshold) in drm_sched_invalidate_job() argument
201 return (s_job && atomic_inc_return(&s_job->karma) > threshold); in drm_sched_invalidate_job()
/linux-4.19.296/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.19.296/include/uapi/linux/netfilter/
Dxt_NFLOG.h19 __u16 threshold; member
/linux-4.19.296/include/uapi/linux/netfilter_bridge/
Debt_nflog.h18 __u16 threshold; member
/linux-4.19.296/include/net/
Dipcomp.h12 u16 threshold; member
Ddevlink.h429 u32 threshold);
439 u16 pool_index, u32 threshold);
/linux-4.19.296/drivers/irqchip/
Dirq-omap-intc.c61 u32 threshold; member
92 intc_context.threshold = in omap_intc_save_context()
110 intc_writel(INTC_THRESHOLD, intc_context.threshold); in omap_intc_restore_context()
/linux-4.19.296/drivers/i2c/busses/
Di2c-omap.c205 u8 threshold; member
626 omap->threshold = clamp(size, (u8) 1, omap->fifo_size); in omap_i2c_resize_fifo()
633 buf |= ((omap->threshold - 1) << 8) | OMAP_I2C_BUF_RXFIF_CLR; in omap_i2c_resize_fifo()
637 buf |= (omap->threshold - 1) | OMAP_I2C_BUF_TXFIF_CLR; in omap_i2c_resize_fifo()
647 omap->latency = (1000000 * omap->threshold) / in omap_i2c_resize_fifo()
1115 if (omap->threshold) in omap_i2c_isr_thread()
1116 num_bytes = omap->threshold; in omap_i2c_isr_thread()
1142 if (omap->threshold) in omap_i2c_isr_thread()
1143 num_bytes = omap->threshold; in omap_i2c_isr_thread()
/linux-4.19.296/include/linux/mfd/
Ddbx500-prcmu.h344 static inline int prcmu_config_hotdog(u8 threshold) in prcmu_config_hotdog() argument
346 return db8500_prcmu_config_hotdog(threshold); in prcmu_config_hotdog()
541 static inline int prcmu_config_hotdog(u8 threshold) in prcmu_config_hotdog() argument
Ddb8500-prcmu.h505 int db8500_prcmu_config_hotdog(u8 threshold);
621 static inline int db8500_prcmu_config_hotdog(u8 threshold) in db8500_prcmu_config_hotdog() argument
/linux-4.19.296/drivers/media/dvb-frontends/
Ddib3000mb.c452 u32 dds_val, threshold = 0x800000; in dib3000mb_get_frontend() local
459 if (dds_val < threshold) in dib3000mb_get_frontend()
461 else if (dds_val == threshold) in dib3000mb_get_frontend()
468 if (dds_val < threshold) in dib3000mb_get_frontend()
470 else if (dds_val == threshold) in dib3000mb_get_frontend()
Ddrxk_hard.h179 u16 threshold; member
/linux-4.19.296/include/linux/
Dmroute_base.h31 unsigned char threshold; member
265 unsigned char threshold,
305 unsigned char threshold, in vif_device_init() argument
/linux-4.19.296/fs/ocfs2/
Dmove_extents.c742 u32 threshold, int *skip) in ocfs2_calc_extent_defrag_len() argument
744 if ((*alloc_size + *len_defraged) < threshold) { in ocfs2_calc_extent_defrag_len()
763 *alloc_size = threshold - *len_defraged; in ocfs2_calc_extent_defrag_len()
/linux-4.19.296/include/uapi/linux/
Domap3isp.h275 __u8 threshold; /* Threshold Value for Horizontal Median Filter */ member

12