Home
last modified time | relevance | path

Searched refs:thresh (Results 1 – 25 of 93) sorted by relevance

1234

/linux/fs/btrfs/
A Dasync-thread.c46 int thresh; member
92 if (thresh == 0) in __btrfs_alloc_workqueue()
93 thresh = DFT_THRESHOLD; in __btrfs_alloc_workqueue()
95 if (thresh < DFT_THRESHOLD) { in __btrfs_alloc_workqueue()
97 ret->thresh = NO_THRESHOLD; in __btrfs_alloc_workqueue()
105 ret->thresh = thresh; in __btrfs_alloc_workqueue()
133 int thresh) in btrfs_alloc_workqueue() argument
150 limit_active, thresh); in btrfs_alloc_workqueue()
193 wq->count %= (wq->thresh / 4); in thresh_exec_hook()
203 if (pending > wq->thresh) in thresh_exec_hook()
[all …]
/linux/mm/
A Dpage-writeback.c395 unsigned long thresh; in domain_dirty_limits() local
434 thresh += thresh / 4 + global_wb_domain.dirty_limit / 32; in domain_dirty_limits()
436 dtc->thresh = thresh; in domain_dirty_limits()
755 unsigned long thresh = dtc->thresh; in __wb_calc_thresh() local
782 .thresh = thresh }; in wb_calc_thresh()
1124 unsigned long thresh = dtc->thresh; in update_dirty_limit() local
1131 limit = thresh; in update_dirty_limit()
1140 thresh = max(thresh, dtc->dirty); in update_dirty_limit()
1412 if (thresh > dirty) in dirty_poll_interval()
1603 thresh = gdtc->thresh; in balance_dirty_pages()
[all …]
/linux/sound/soc/codecs/
A Dtda7419.c157 int min, int thresh, in tda7419_vol_get_value() argument
161 if (val < thresh) { in tda7419_vol_get_value()
164 } else if (val > thresh) { in tda7419_vol_get_value()
166 val = val - thresh; in tda7419_vol_get_value()
168 val = thresh - val; in tda7419_vol_get_value()
187 int thresh = tvc->thresh; in tda7419_vol_get() local
211 val = thresh - val; in tda7419_vol_put_value()
213 val += thresh; in tda7419_vol_put_value()
229 int thresh = tvc->thresh; in tda7419_vol_put() local
235 thresh, invert); in tda7419_vol_put()
[all …]
/linux/include/trace/events/
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;
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)
254 __entry->thresh = thresh;
260 __entry->syncpt_id, __entry->thresh,
/linux/drivers/gpu/host1x/
A Dintr.c41 u32 thresh = waiter->thresh; in add_waiter_to_queue() local
44 if ((s32)(pos->thresh - thresh) <= 0) { in add_waiter_to_queue()
64 if ((s32)(waiter->thresh - sync) > 0) in remove_completed_waiters()
93 u32 thresh = in reset_threshold_interrupt() local
94 list_first_entry(head, struct host1x_waitlist, list)->thresh; in reset_threshold_interrupt()
96 host1x_hw_intr_set_syncpt_threshold(host, id, thresh); in reset_threshold_interrupt()
108 waiter->count, waiter->thresh); in action_submit_complete()
212 u32 thresh, enum host1x_intr_action action, in host1x_intr_add_action() argument
228 waiter->thresh = thresh; in host1x_intr_add_action()
240 host1x_hw_intr_set_syncpt_threshold(host, syncpt->id, thresh); in host1x_intr_add_action()
A Dsyncpt.c207 static bool syncpt_load_min_is_expired(struct host1x_syncpt *sp, u32 thresh) in syncpt_load_min_is_expired() argument
211 return host1x_syncpt_is_expired(sp, thresh); in syncpt_load_min_is_expired()
221 int host1x_syncpt_wait(struct host1x_syncpt *sp, u32 thresh, long timeout, in host1x_syncpt_wait() argument
234 if (host1x_syncpt_is_expired(sp, thresh)) { in host1x_syncpt_wait()
243 if (host1x_syncpt_is_expired(sp, thresh)) { in host1x_syncpt_wait()
263 err = host1x_intr_add_action(sp->host, sp, thresh, in host1x_syncpt_wait()
280 syncpt_load_min_is_expired(sp, thresh), in host1x_syncpt_wait()
282 if (remain > 0 || host1x_syncpt_is_expired(sp, thresh)) { in host1x_syncpt_wait()
302 thresh, timeout); in host1x_syncpt_wait()
323 bool host1x_syncpt_is_expired(struct host1x_syncpt *sp, u32 thresh) in host1x_syncpt_is_expired() argument
[all …]
A Dintr.h51 u32 thresh; member
71 u32 thresh, enum host1x_intr_action action,
A Ddev.h79 struct host1x *host, unsigned int id, u32 thresh);
211 u32 thresh) in host1x_hw_intr_set_syncpt_threshold() argument
213 host->intr_op->set_syncpt_threshold(host, id, thresh); in host1x_hw_intr_set_syncpt_threshold()
/linux/drivers/thermal/qcom/
A Dqcom-spmi-temp-alarm.c76 unsigned int thresh; member
119 if (!chip->temp_map || chip->thresh >= THRESH_COUNT || stage == 0 || in qpnp_tm_decode_temp()
123 return (*chip->temp_map)[chip->thresh][stage - 1]; in qpnp_tm_decode_temp()
238 chip->thresh = THRESH_MIN; in qpnp_tm_update_critical_trip_temp()
243 chip->thresh = THRESH_MAX - in qpnp_tm_update_critical_trip_temp()
248 chip->thresh = THRESH_MAX; in qpnp_tm_update_critical_trip_temp()
258 reg |= chip->thresh; in qpnp_tm_update_critical_trip_temp()
340 chip->thresh = reg & SHUTDOWN_CTRL1_THRESHOLD_MASK; in qpnp_tm_init()
/linux/Documentation/devicetree/bindings/iio/accel/
A Dlis302.txt29 - st,click-thresh-{x,y,z}: set the x/y/z axis threshold
77 st,click-thresh-x = <10>;
78 st,click-thresh-y = <10>;
79 st,click-thresh-z = <10>;
101 st,click-thresh-x = <10>;
102 st,click-thresh-y = <10>;
103 st,click-thresh-z = <10>;
/linux/arch/powerpc/perf/
A Dmpc7450-pmu.c155 int thresh, tuse; in mpc7450_get_constraint() local
171 thresh = ((unsigned int)event >> PM_THRESH_SH) & PM_THRESH_MSK; in mpc7450_get_constraint()
173 value |= thresh << 24; in mpc7450_get_constraint()
269 u32 ev, pmc, thresh; in mpc7450_compute_mmcr() local
304 thresh = (ev >> PM_THRESH_SH) & PM_THRESH_MSK; in mpc7450_compute_mmcr()
305 mmcr0 |= thresh << 16; in mpc7450_compute_mmcr()
/linux/arch/arm/boot/dts/
A Domap3-gta04a3.dts26 st,click-thresh-x = <8>;
27 st,click-thresh-y = <8>;
28 st,click-thresh-z = <10>;
A Domap3-overo-common-peripherals.dtsi63 st,click-thresh-x = <10>;
64 st,click-thresh-y = <10>;
65 st,click-thresh-z = <10>;
/linux/drivers/cpuidle/governors/
A Dmenu.c173 unsigned int min, max, thresh, avg; in get_typical_interval() local
176 thresh = INT_MAX; /* Discard outliers above this value */ in get_typical_interval()
187 if (value <= thresh) { in get_typical_interval()
214 if (value <= thresh) { in get_typical_interval()
255 thresh = max - 1; in get_typical_interval()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
A Dotx2_ptp.c32 static int ptp_set_thresh(struct otx2_ptp *ptp, u64 thresh) in ptp_set_thresh() argument
44 req->thresh = thresh; in ptp_set_thresh()
184 if (ptp->thresh != new_thresh) { in otx2_ptp_extts_check()
188 ptp->thresh = new_thresh; in otx2_ptp_extts_check()
/linux/drivers/input/misc/
A Diqs626a.c288 u8 thresh[2]; member
300 u8 thresh; member
313 u8 thresh[3]; member
328 u8 thresh; member
468 u8 *thresh, *hyst; in iqs626_parse_events() local
476 thresh = sys_reg->ch_reg_ulp.thresh; in iqs626_parse_events()
482 thresh = &sys_reg->tp_grp_reg.ch_reg_tp[0].thresh; in iqs626_parse_events()
490 thresh = sys_reg->ch_reg_gen[i].thresh; in iqs626_parse_events()
495 thresh = &sys_reg->ch_reg_hall.thresh; in iqs626_parse_events()
574 *thresh = val; in iqs626_parse_events()
[all …]
/linux/drivers/soc/ti/
A Dknav_dma.c88 u32 thresh[3]; member
198 writel_relaxed(0, &chan->reg_rx_flow->thresh[0]); in chan_start()
199 writel_relaxed(0, &chan->reg_rx_flow->thresh[1]); in chan_start()
200 writel_relaxed(0, &chan->reg_rx_flow->thresh[2]); in chan_start()
243 writel_relaxed(0, &chan->reg_rx_flow->thresh[0]); in chan_stop()
244 writel_relaxed(0, &chan->reg_rx_flow->thresh[1]); in chan_stop()
245 writel_relaxed(0, &chan->reg_rx_flow->thresh[2]); in chan_stop()
340 chan->cfg.u.rx.thresh); in dma_debug_show_channels()
/linux/drivers/net/ethernet/freescale/dpaa/
A Ddpaa_ethtool.c522 u8 thresh; in dpaa_get_coalesce() local
526 qman_dqrr_get_ithresh(portal, &thresh); in dpaa_get_coalesce()
529 c->rx_max_coalesced_frames = thresh; in dpaa_get_coalesce()
543 u8 thresh, prev_thresh; in dpaa_set_coalesce() local
547 thresh = c->rx_max_coalesced_frames; in dpaa_set_coalesce()
560 res = qman_dqrr_set_ithresh(portal, thresh); in dpaa_set_coalesce()
/linux/kernel/trace/
A Dtrace_hwlat.c209 u64 thresh = tracing_thresh; in get_sample() local
214 do_div(thresh, NSEC_PER_USEC); /* modifies interval value */ in get_sample()
257 if (diff > thresh || outer_diff > thresh) { in get_sample()
281 if (sample > thresh || outer_sample > thresh) { in get_sample()
/linux/drivers/net/ethernet/marvell/octeontx2/af/
A Dptp.c179 static int ptp_set_thresh(struct ptp *ptp, u64 thresh) in ptp_set_thresh() argument
181 writeq(thresh, ptp->reg_base + PTP_PPS_THRESH_HI); in ptp_set_thresh()
304 err = ptp_set_thresh(rvu->ptp, req->thresh); in rvu_mbox_handler_ptp_op()
/linux/arch/x86/events/intel/
A Dbts.c149 unsigned long index, thresh = 0, end = phys->size; in bts_config_buffer() local
161 thresh = end - BTS_SAFETY_MARGIN; in bts_config_buffer()
163 thresh = end - BTS_RECORD_SIZE; in bts_config_buffer()
165 thresh = end; in bts_config_buffer()
172 ? ds->bts_buffer_base + thresh in bts_config_buffer()
/linux/drivers/regulator/
A Dda903x-regulator.c193 int thresh, sel; in da9030_map_ldo14_voltage() local
200 thresh = (info->max_uV + info->desc.min_uV) / 2; in da9030_map_ldo14_voltage()
201 if (min_uV < thresh) { in da9030_map_ldo14_voltage()
202 sel = DIV_ROUND_UP(thresh - min_uV, info->desc.uV_step); in da9030_map_ldo14_voltage()
205 sel = DIV_ROUND_UP(min_uV - thresh, info->desc.uV_step); in da9030_map_ldo14_voltage()
/linux/drivers/gpu/host1x/hw/
A Dintr_hw.c108 u32 thresh) in _host1x_intr_set_syncpt_threshold() argument
110 host1x_sync_writel(host, thresh, HOST1X_SYNC_SYNCPT_INT_THRESH(id)); in _host1x_intr_set_syncpt_threshold()
/linux/include/linux/
A Digmp.h94 #define IGMPV3_EXP(thresh, nbmant, nbexp, value) \ argument
95 ((value) < (thresh) ? (value) : \
/linux/drivers/net/ethernet/cavium/thunder/
A Dnicvf_queues.h225 u32 thresh; /* Threshold level for interrupt */ member
257 u16 thresh; member
268 u16 thresh; member

Completed in 47 milliseconds

1234