Searched refs:thresh (Results 1 - 25 of 82) sorted by relevance

1234

/linux-master/fs/btrfs/
H A Dasync-thread.c45 int thresh; member in struct:btrfs_workqueue
64 * to support "thresh == NO_THRESHOLD" case, but it requires
68 if (wq->thresh == NO_THRESHOLD)
71 return atomic_read(&wq->pending) > wq->thresh * 2;
86 int limit_active, int thresh)
96 if (thresh == 0)
97 thresh = DFT_THRESHOLD;
99 if (thresh < DFT_THRESHOLD) {
101 ret->thresh = NO_THRESHOLD;
109 ret->thresh
84 btrfs_alloc_workqueue(struct btrfs_fs_info *fs_info, const char *name, unsigned int flags, int limit_active, int thresh) argument
[all...]
H A Dasync-thread.h36 int thresh);
/linux-master/include/trace/events/
H A Dhost1x.h180 TP_PROTO(const char *name, int count, u32 thresh),
182 TP_ARGS(name, count, thresh),
187 __field(u32, thresh)
193 __entry->thresh = thresh;
196 TP_printk("name=%s, count=%d, thresh=%d",
197 __entry->name, __entry->count, __entry->thresh)
237 TP_PROTO(struct host1x_bo *bo, u32 offset, u32 syncpt_id, u32 thresh,
240 TP_ARGS(bo, offset, syncpt_id, thresh, min),
246 __field(u32, thresh)
[all...]
/linux-master/mm/
H A Dpage-writeback.c134 unsigned long thresh; /* dirty threshold */ member in struct:dirty_throttle_control
367 * domain_dirty_limits - calculate thresh and bg_thresh for a wb_domain
370 * Calculate @dtc->thresh and ->bg_thresh considering
384 unsigned long thresh; local
409 thresh = DIV_ROUND_UP(bytes, PAGE_SIZE);
411 thresh = (ratio * available_memory) / PAGE_SIZE;
418 if (bg_thresh >= thresh)
419 bg_thresh = thresh / 2;
423 thresh += thresh /
813 dirty_freerun_ceiling(unsigned long thresh, unsigned long bg_thresh) argument
819 hard_dirty_limit(struct wb_domain *dom, unsigned long thresh) argument
864 unsigned long thresh = dtc->thresh; local
888 wb_calc_thresh(struct bdi_writeback *wb, unsigned long thresh) argument
1233 unsigned long thresh = dtc->thresh; local
1518 dirty_poll_interval(unsigned long dirty, unsigned long thresh) argument
1694 unsigned long dirty, thresh, bg_thresh; local
2085 unsigned long thresh; local
[all...]
/linux-master/sound/soc/codecs/
H A Dtda7419.c130 unsigned int reg, rreg, mask, thresh; member in struct:tda7419_vol_control
157 int min, int thresh,
161 if (val < thresh) {
164 } else if (val > thresh) {
166 val = val - thresh;
168 val = thresh - val;
187 int thresh = tvc->thresh; local
193 tda7419_vol_get_value(val, mask, min, thresh, invert);
198 tda7419_vol_get_value(val, mask, min, thresh, inver
156 tda7419_vol_get_value(int val, unsigned int mask, int min, int thresh, unsigned int invert) argument
204 tda7419_vol_put_value(int val, int thresh, unsigned int invert) argument
229 int thresh = tvc->thresh; local
[all...]
/linux-master/drivers/gpu/host1x/
H A Dsyncpt.c216 * @thresh: threshold
220 int host1x_syncpt_wait(struct host1x_syncpt *sp, u32 thresh, long timeout, argument
231 if (host1x_syncpt_is_expired(sp, thresh))
239 fence = host1x_fence_create(sp, thresh, false);
257 if (wait_err == 0 && !host1x_syncpt_is_expired(sp, thresh))
269 bool host1x_syncpt_is_expired(struct host1x_syncpt *sp, u32 thresh) argument
277 return ((current_val - thresh) & 0x80000000U) == 0U;
H A Dsyncpt.h106 bool host1x_syncpt_is_expired(struct host1x_syncpt *sp, u32 thresh);
H A Ddev.h79 struct host1x *host, unsigned int id, u32 thresh);
232 u32 thresh)
234 host->intr_op->set_syncpt_threshold(host, id, thresh);
230 host1x_hw_intr_set_syncpt_threshold(struct host1x *host, unsigned int id, u32 thresh) argument
/linux-master/arch/powerpc/perf/
H A Dmpc7450-pmu.c155 int thresh, tuse; local
171 thresh = ((unsigned int)event >> PM_THRESH_SH) & PM_THRESH_MSK;
173 value |= thresh << 24;
269 u32 ev, pmc, thresh; local
304 thresh = (ev >> PM_THRESH_SH) & PM_THRESH_MSK;
305 mmcr0 |= thresh << 16;
/linux-master/drivers/thermal/qcom/
H A Dqcom-spmi-temp-alarm.c75 unsigned int thresh; member in struct:qpnp_tm_chip
79 /* protects .thresh, .stage and chip registers */
118 if (!chip->temp_map || chip->thresh >= THRESH_COUNT || stage == 0 ||
122 return (*chip->temp_map)[chip->thresh][stage - 1];
237 chip->thresh = THRESH_MIN;
242 chip->thresh = THRESH_MAX -
247 chip->thresh = THRESH_MAX;
258 reg |= chip->thresh;
335 chip->thresh = reg & SHUTDOWN_CTRL1_THRESHOLD_MASK;
/linux-master/drivers/gpu/host1x/hw/
H A Dintr_hw.c120 u32 thresh)
122 host1x_sync_writel(host, thresh, HOST1X_SYNC_SYNCPT_INT_THRESH(id));
118 host1x_intr_set_syncpt_threshold(struct host1x *host, unsigned int id, u32 thresh) argument
/linux-master/drivers/cpuidle/governors/
H A Dmenu.c174 unsigned int min, max, thresh, avg; local
177 thresh = INT_MAX; /* Discard outliers above this value */
188 if (value <= thresh) {
211 if (value <= thresh) {
252 thresh = max - 1;
/linux-master/drivers/input/misc/
H A Diqs626a.c288 u8 thresh[2]; member in struct:iqs626_ch_reg_ulp
300 u8 thresh; member in struct:iqs626_ch_reg_tp
313 u8 thresh[3]; member in struct:iqs626_ch_reg_gen
328 u8 thresh; member in struct:iqs626_ch_reg_hall
467 u8 *thresh, *hyst; local
473 thresh = sys_reg->ch_reg_ulp.thresh;
479 thresh = &sys_reg->tp_grp_reg.ch_reg_tp[0].thresh;
487 thresh
776 u8 *thresh = &sys_reg->tp_grp_reg.ch_reg_tp[i].thresh; local
[all...]
/linux-master/include/linux/
H A Digmp.h95 #define IGMPV3_EXP(thresh, nbmant, nbexp, value) \
96 ((value) < (thresh) ? (value) : \
/linux-master/include/linux/soc/ti/
H A Dknav_dma.h95 * @thresh: Rx flow size threshold
109 enum knav_dma_rx_thresholds thresh; member in struct:knav_dma_rx_cfg
/linux-master/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_ethtool.c442 u8 thresh; local
446 qman_dqrr_get_ithresh(portal, &thresh);
449 c->rx_max_coalesced_frames = thresh;
463 u8 thresh, prev_thresh; local
467 thresh = c->rx_max_coalesced_frames;
480 res = qman_dqrr_set_ithresh(portal, thresh);
/linux-master/kernel/trace/
H A Dtrace_hwlat.c99 int count; /* # of iterations over thresh */
209 u64 thresh = tracing_thresh; local
214 do_div(thresh, NSEC_PER_USEC); /* modifies interval value */
257 if (diff > thresh || outer_diff > thresh) {
281 if (sample > thresh || outer_sample > thresh) {
/linux-master/drivers/net/ethernet/cavium/thunder/
H A Dnicvf_queues.h225 u32 thresh; /* Threshold level for interrupt */ member in struct:rbdr
257 u16 thresh; member in struct:cmp_queue
268 u16 thresh; member in struct:snd_queue
/linux-master/fs/jfs/
H A Djfs_types.h132 u8 thresh; /* Alert Threshold (in percent) */ member in struct:dasd
/linux-master/drivers/input/mouse/
H A Dtrackpoint.h150 u8 thresh, upthresh; member in struct:trackpoint_data
/linux-master/include/uapi/drm/
H A Dtegra_drm.h129 * @thresh:
133 __u32 thresh; member in struct:drm_tegra_syncpt_wait
384 * @thresh:
388 __u32 thresh; member in struct:drm_tegra_waitchk
/linux-master/drivers/soc/ti/
H A Dknav_dma.c80 u32 thresh[3]; member in struct:reg_rx_flow
190 writel_relaxed(0, &chan->reg_rx_flow->thresh[0]);
191 writel_relaxed(0, &chan->reg_rx_flow->thresh[1]);
192 writel_relaxed(0, &chan->reg_rx_flow->thresh[2]);
235 writel_relaxed(0, &chan->reg_rx_flow->thresh[0]);
236 writel_relaxed(0, &chan->reg_rx_flow->thresh[1]);
237 writel_relaxed(0, &chan->reg_rx_flow->thresh[2]);
330 seq_printf(s, "\t\t\tdst_q: [%d], thresh: %d fdq: ",
332 chan->cfg.u.rx.thresh);
/linux-master/arch/x86/kernel/cpu/mce/
H A Dintel.c137 static void cmci_set_threshold(int bank, int thresh) argument
145 wrmsrl(MSR_IA32_MCx_CTL2(bank), val | thresh); local
/linux-master/arch/x86/events/intel/
H A Dbts.c149 unsigned long index, thresh = 0, end = phys->size; local
161 thresh = end - BTS_SAFETY_MARGIN;
163 thresh = end - BTS_RECORD_SIZE;
165 thresh = end;
172 ? ds->bts_buffer_base + thresh
/linux-master/drivers/regulator/
H A Dda903x-regulator.c193 int thresh, sel; local
200 thresh = (info->max_uV + info->desc.min_uV) / 2;
201 if (min_uV < thresh) {
202 sel = DIV_ROUND_UP(thresh - min_uV, info->desc.uV_step);
205 sel = DIV_ROUND_UP(min_uV - thresh, info->desc.uV_step);

Completed in 333 milliseconds

1234