/Linux-v4.19/fs/btrfs/ |
D | async-thread.c | 44 int thresh; member 84 if (wq->normal->thresh == NO_THRESHOLD) in btrfs_workqueue_normal_congested() 87 return atomic_read(&wq->normal->pending) > wq->normal->thresh * 2; in btrfs_workqueue_normal_congested() 115 unsigned int flags, int limit_active, int thresh) in __btrfs_alloc_workqueue() argument 125 if (thresh == 0) in __btrfs_alloc_workqueue() 126 thresh = DFT_THRESHOLD; in __btrfs_alloc_workqueue() 128 if (thresh < DFT_THRESHOLD) { in __btrfs_alloc_workqueue() 130 ret->thresh = NO_THRESHOLD; in __btrfs_alloc_workqueue() 138 ret->thresh = thresh; in __btrfs_alloc_workqueue() 168 int thresh) in btrfs_alloc_workqueue() argument [all …]
|
/Linux-v4.19/include/trace/events/ |
D | host1x.h | 167 TP_PROTO(const char *name, int count, u32 thresh), 169 TP_ARGS(name, count, thresh), 174 __field(u32, thresh) 180 __entry->thresh = thresh; 184 __entry->name, __entry->count, __entry->thresh) 224 TP_PROTO(struct host1x_bo *bo, u32 offset, u32 syncpt_id, u32 thresh, 227 TP_ARGS(bo, offset, syncpt_id, thresh, min), 233 __field(u32, thresh) 241 __entry->thresh = thresh; 247 __entry->syncpt_id, __entry->thresh,
|
/Linux-v4.19/mm/ |
D | page-writeback.c | 138 unsigned long thresh; /* dirty threshold */ member 401 unsigned long thresh; in domain_dirty_limits() local 426 thresh = DIV_ROUND_UP(bytes, PAGE_SIZE); in domain_dirty_limits() 428 thresh = (ratio * available_memory) / PAGE_SIZE; in domain_dirty_limits() 435 if (bg_thresh >= thresh) in domain_dirty_limits() 436 bg_thresh = thresh / 2; in domain_dirty_limits() 440 thresh += thresh / 4 + global_wb_domain.dirty_limit / 32; in domain_dirty_limits() 442 dtc->thresh = thresh; in domain_dirty_limits() 447 trace_global_dirty_state(bg_thresh, thresh); in domain_dirty_limits() 466 *pdirty = gdtc.thresh; in global_dirty_limits() [all …]
|
/Linux-v4.19/drivers/gpu/host1x/ |
D | intr.c | 51 u32 thresh = waiter->thresh; in add_waiter_to_queue() local 54 if ((s32)(pos->thresh - thresh) <= 0) { in add_waiter_to_queue() 74 if ((s32)(waiter->thresh - sync) > 0) in remove_completed_waiters() 103 u32 thresh = in reset_threshold_interrupt() local 104 list_first_entry(head, struct host1x_waitlist, list)->thresh; in reset_threshold_interrupt() 106 host1x_hw_intr_set_syncpt_threshold(host, id, thresh); in reset_threshold_interrupt() 118 waiter->count, waiter->thresh); in action_submit_complete() 215 u32 thresh, enum host1x_intr_action action, in host1x_intr_add_action() argument 231 waiter->thresh = thresh; in host1x_intr_add_action() 243 host1x_hw_intr_set_syncpt_threshold(host, syncpt->id, thresh); in host1x_intr_add_action()
|
D | syncpt.c | 202 static bool syncpt_load_min_is_expired(struct host1x_syncpt *sp, u32 thresh) in syncpt_load_min_is_expired() argument 206 return host1x_syncpt_is_expired(sp, thresh); in syncpt_load_min_is_expired() 216 int host1x_syncpt_wait(struct host1x_syncpt *sp, u32 thresh, long timeout, in host1x_syncpt_wait() argument 229 if (host1x_syncpt_is_expired(sp, thresh)) { in host1x_syncpt_wait() 238 if (host1x_syncpt_is_expired(sp, thresh)) { in host1x_syncpt_wait() 258 err = host1x_intr_add_action(sp->host, sp, thresh, in host1x_syncpt_wait() 275 syncpt_load_min_is_expired(sp, thresh), in host1x_syncpt_wait() 277 if (remain > 0 || host1x_syncpt_is_expired(sp, thresh)) { in host1x_syncpt_wait() 297 thresh, timeout); in host1x_syncpt_wait() 318 bool host1x_syncpt_is_expired(struct host1x_syncpt *sp, u32 thresh) in host1x_syncpt_is_expired() argument [all …]
|
D | intr.h | 60 u32 thresh; member 80 u32 thresh, enum host1x_intr_action action,
|
D | dev.h | 90 struct host1x *host, unsigned int id, u32 thresh); 205 u32 thresh) in host1x_hw_intr_set_syncpt_threshold() argument 207 host->intr_op->set_syncpt_threshold(host, id, thresh); in host1x_hw_intr_set_syncpt_threshold()
|
/Linux-v4.19/sound/soc/codecs/ |
D | tda7419.c | 138 unsigned int reg, rreg, mask, thresh; member 165 int min, int thresh, in tda7419_vol_get_value() argument 169 if (val < thresh) { in tda7419_vol_get_value() 172 } else if (val > thresh) { in tda7419_vol_get_value() 174 val = val - thresh; in tda7419_vol_get_value() 176 val = thresh - val; in tda7419_vol_get_value() 195 int thresh = tvc->thresh; in tda7419_vol_get() local 204 tda7419_vol_get_value(val, mask, min, thresh, invert); in tda7419_vol_get() 211 tda7419_vol_get_value(val, mask, min, thresh, invert); in tda7419_vol_get() 217 static inline int tda7419_vol_put_value(int val, int thresh, in tda7419_vol_put_value() argument [all …]
|
/Linux-v4.19/drivers/thermal/ |
D | qcom-spmi-temp-alarm.c | 68 unsigned int thresh; member 144 chip->thresh * TEMP_THRESH_STEP + in qpnp_tm_update_temp_no_adc() 149 chip->thresh * TEMP_THRESH_STEP - in qpnp_tm_update_temp_no_adc() 211 chip->thresh = reg & SHUTDOWN_CTRL1_THRESHOLD_MASK; in qpnp_tm_init() 223 chip->temp = chip->thresh * TEMP_THRESH_STEP + in qpnp_tm_init() 231 chip->thresh = THRESH_MIN; in qpnp_tm_init() 233 reg |= chip->thresh & SHUTDOWN_CTRL1_THRESHOLD_MASK; in qpnp_tm_init()
|
/Linux-v4.19/arch/powerpc/perf/ |
D | mpc7450-pmu.c | 159 int thresh, tuse; in mpc7450_get_constraint() local 175 thresh = ((unsigned int)event >> PM_THRESH_SH) & PM_THRESH_MSK; in mpc7450_get_constraint() 177 value |= thresh << 24; in mpc7450_get_constraint() 272 u32 ev, pmc, thresh; in mpc7450_compute_mmcr() local 307 thresh = (ev >> PM_THRESH_SH) & PM_THRESH_MSK; in mpc7450_compute_mmcr() 308 mmcr0 |= thresh << 16; in mpc7450_compute_mmcr()
|
/Linux-v4.19/Documentation/devicetree/bindings/iio/accel/ |
D | lis302.txt | 29 - 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-v4.19/drivers/isdn/i4l/ |
D | isdn_audio.c | 507 int thresh; in isdn_audio_eval_dtmf() local 514 thresh = 0; in isdn_audio_eval_dtmf() 517 if (result[i] > thresh) in isdn_audio_eval_dtmf() 518 thresh = result[i]; in isdn_audio_eval_dtmf() 526 if (thresh > 0) { in isdn_audio_eval_dtmf() 527 thresh = thresh >> 4; /* touchtones must match within 12 dB */ in isdn_audio_eval_dtmf() 529 if (result[i] < thresh) in isdn_audio_eval_dtmf()
|
/Linux-v4.19/arch/arm/boot/dts/ |
D | omap3-gta04a3.dts | 29 st,click-thresh-x = <8>; 30 st,click-thresh-y = <8>; 31 st,click-thresh-z = <10>;
|
D | omap3-overo-common-peripherals.dtsi | 66 st,click-thresh-x = <10>; 67 st,click-thresh-y = <10>; 68 st,click-thresh-z = <10>;
|
/Linux-v4.19/drivers/cpuidle/governors/ |
D | menu.c | 203 unsigned int max, thresh, avg; in get_typical_interval() local 206 thresh = UINT_MAX; /* Discard outliers above this value */ in get_typical_interval() 216 if (value <= thresh) { in get_typical_interval() 232 if (value <= thresh) { in get_typical_interval() 273 thresh = max - 1; in get_typical_interval()
|
/Linux-v4.19/drivers/soc/ti/ |
D | knav_dma.c | 88 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-v4.19/kernel/trace/ |
D | trace_hwlat.c | 173 u64 thresh = tracing_thresh; in get_sample() local 177 do_div(thresh, NSEC_PER_USEC); /* modifies interval value */ in get_sample() 238 if (sample > thresh || outer_sample > thresh) { in get_sample()
|
/Linux-v4.19/drivers/gpu/host1x/hw/ |
D | intr_hw.c | 119 u32 thresh) in _host1x_intr_set_syncpt_threshold() argument 121 host1x_sync_writel(host, thresh, HOST1X_SYNC_SYNCPT_INT_THRESH(id)); in _host1x_intr_set_syncpt_threshold()
|
/Linux-v4.19/include/linux/ |
D | igmp.h | 101 #define IGMPV3_EXP(thresh, nbmant, nbexp, value) \ argument 102 ((value) < (thresh) ? (value) : \
|
/Linux-v4.19/Documentation/devicetree/bindings/iio/light/ |
D | us5182d.txt | 33 There will be no dark-gain compensation by default when ALS > thresh 34 (0 * dark-gain), and a 1.35 compensation factor when ALS < thresh.
|
/Linux-v4.19/include/uapi/drm/ |
D | tegra_drm.h | 150 __u32 thresh; member 405 __u32 thresh; member
|
/Linux-v4.19/drivers/regulator/ |
D | da903x.c | 197 int thresh, sel; in da9030_map_ldo14_voltage() local 204 thresh = (info->max_uV + info->desc.min_uV) / 2; in da9030_map_ldo14_voltage() 205 if (min_uV < thresh) { in da9030_map_ldo14_voltage() 206 sel = DIV_ROUND_UP(thresh - min_uV, info->desc.uV_step); in da9030_map_ldo14_voltage() 209 sel = DIV_ROUND_UP(min_uV - thresh, info->desc.uV_step); in da9030_map_ldo14_voltage()
|
/Linux-v4.19/arch/x86/events/intel/ |
D | bts.c | 149 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-v4.19/drivers/net/ethernet/cavium/thunder/ |
D | nicvf_queues.h | 228 u32 thresh; /* Threshold level for interrupt */ member 260 u16 thresh; member 271 u16 thresh; member
|
/Linux-v4.19/net/ipv4/ |
D | inet_connection_sock.c | 617 static inline void syn_ack_recalc(struct request_sock *req, const int thresh, in syn_ack_recalc() argument 623 *expire = req->num_timeout >= thresh; in syn_ack_recalc() 627 *expire = req->num_timeout >= thresh && in syn_ack_recalc() 691 int max_retries, thresh; in reqsk_timer_handler() local 698 thresh = max_retries; in reqsk_timer_handler() 720 while (thresh > 2) { in reqsk_timer_handler() 723 thresh--; in reqsk_timer_handler() 730 syn_ack_recalc(req, thresh, max_retries, defer_accept, in reqsk_timer_handler()
|