Home
last modified time | relevance | path

Searched full:thresh (Results 1 – 25 of 331) sorted by relevance

12345678910>>...14

/kernel/linux/linux-6.6/include/trace/events/
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)
254 __entry->thresh = thresh;
[all …]
/kernel/linux/linux-5.10/include/trace/events/
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)
254 __entry->thresh = thresh;
[all …]
/kernel/linux/linux-5.10/fs/btrfs/
Dasync-thread.c46 int thresh; member
70 * to support "thresh == NO_THRESHOLD" case, but it requires in btrfs_workqueue_normal_congested()
74 if (wq->normal->thresh == NO_THRESHOLD) in btrfs_workqueue_normal_congested()
77 return atomic_read(&wq->normal->pending) > wq->normal->thresh * 2; in btrfs_workqueue_normal_congested()
82 unsigned int flags, int limit_active, int thresh) in __btrfs_alloc_workqueue() argument
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()
[all …]
/kernel/linux/linux-5.10/fs/hmdfs/
Dclient_writeback.h80 /* ratio between background thresh and throttle thresh */
83 /* ratio between file and fs throttle thresh */
87 * Enable auto-thresh. If enabled, the background and throttle
88 * thresh are nolonger a fixed value storeed in dirty_*_bytes,
94 /* bandwitdh adjusted filesystem throttle thresh */
96 /* bandwidth adjusted per-file throttle thresh */
98 /* bandwidth adjusted thresh lower limit */
101 /* reclaimable pages exceed throttle thresh */
Dclient_writeback.c115 unsigned long thresh) in hmdfs_ratio_thresh() argument
117 unsigned long ret = (ratio * thresh) >> HMDFS_LIMIT_SHIFT; in hmdfs_ratio_thresh()
123 unsigned long thresh) in hmdfs_thresh_ratio() argument
125 unsigned long ratio = (base << HMDFS_LIMIT_SHIFT) / thresh; in hmdfs_thresh_ratio()
160 * Init thresh according the previous bandwidth adjusted thresh, in hmdfs_init_dirty_limit()
161 * thresh should be no more than setting thresh. in hmdfs_init_dirty_limit()
174 * The thresh should be updated in the first time of dirty pages in hmdfs_init_dirty_limit()
186 unsigned long thresh; in hmdfs_update_dirty_limit() local
202 * offline, there is meaningless to set such a lower thresh. in hmdfs_update_dirty_limit()
205 thresh = bw * time_limit / roundup_pow_of_two(HZ); in hmdfs_update_dirty_limit()
[all …]
/kernel/linux/linux-6.6/fs/hmdfs/
Dclient_writeback.h80 /* ratio between background thresh and throttle thresh */
83 /* ratio between file and fs throttle thresh */
87 * Enable auto-thresh. If enabled, the background and throttle
88 * thresh are nolonger a fixed value storeed in dirty_*_bytes,
94 /* bandwitdh adjusted filesystem throttle thresh */
96 /* bandwidth adjusted per-file throttle thresh */
98 /* bandwidth adjusted thresh lower limit */
101 /* reclaimable pages exceed throttle thresh */
Dclient_writeback.c139 unsigned long thresh) in hmdfs_ratio_thresh() argument
141 unsigned long ret = (ratio * thresh) >> HMDFS_LIMIT_SHIFT; in hmdfs_ratio_thresh()
147 unsigned long thresh) in hmdfs_thresh_ratio() argument
149 unsigned long ratio = (base << HMDFS_LIMIT_SHIFT) / thresh; in hmdfs_thresh_ratio()
184 * Init thresh according the previous bandwidth adjusted thresh, in hmdfs_init_dirty_limit()
185 * thresh should be no more than setting thresh. in hmdfs_init_dirty_limit()
198 * The thresh should be updated in the first time of dirty pages in hmdfs_init_dirty_limit()
210 unsigned long thresh; in hmdfs_update_dirty_limit() local
226 * offline, there is meaningless to set such a lower thresh. in hmdfs_update_dirty_limit()
229 thresh = bw * time_limit / roundup_pow_of_two(HZ); in hmdfs_update_dirty_limit()
[all …]
/kernel/linux/linux-6.6/fs/btrfs/
Dasync-thread.c45 int thresh; member
64 * to support "thresh == NO_THRESHOLD" case, but it requires in btrfs_workqueue_normal_congested()
68 if (wq->thresh == NO_THRESHOLD) in btrfs_workqueue_normal_congested()
71 return atomic_read(&wq->pending) > wq->thresh * 2; in btrfs_workqueue_normal_congested()
86 int limit_active, int thresh) in btrfs_alloc_workqueue() argument
96 if (thresh == 0) in btrfs_alloc_workqueue()
97 thresh = DFT_THRESHOLD; in btrfs_alloc_workqueue()
99 if (thresh < DFT_THRESHOLD) { in btrfs_alloc_workqueue()
101 ret->thresh = NO_THRESHOLD; in btrfs_alloc_workqueue()
109 ret->thresh = thresh; in btrfs_alloc_workqueue()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/host1x/
Dintr.c40 u32 thresh = waiter->thresh; in add_waiter_to_queue() local
43 if ((s32)(pos->thresh - thresh) <= 0) { in add_waiter_to_queue()
63 if ((s32)(waiter->thresh - sync) > 0) in remove_completed_waiters()
92 u32 thresh = in reset_threshold_interrupt() local
93 list_first_entry(head, struct host1x_waitlist, list)->thresh; in reset_threshold_interrupt()
95 host1x_hw_intr_set_syncpt_threshold(host, id, thresh); in reset_threshold_interrupt()
107 waiter->count, waiter->thresh); in action_submit_complete()
203 u32 thresh, enum host1x_intr_action action, in host1x_intr_add_action() argument
219 waiter->thresh = thresh; in host1x_intr_add_action()
231 host1x_hw_intr_set_syncpt_threshold(host, syncpt->id, thresh); in host1x_intr_add_action()
Dsyncpt.c191 static bool syncpt_load_min_is_expired(struct host1x_syncpt *sp, u32 thresh) in syncpt_load_min_is_expired() argument
195 return host1x_syncpt_is_expired(sp, thresh); in syncpt_load_min_is_expired()
201 * @thresh: threshold
205 int host1x_syncpt_wait(struct host1x_syncpt *sp, u32 thresh, long timeout, in host1x_syncpt_wait() argument
218 if (host1x_syncpt_is_expired(sp, thresh)) { in host1x_syncpt_wait()
227 if (host1x_syncpt_is_expired(sp, thresh)) { in host1x_syncpt_wait()
247 err = host1x_intr_add_action(sp->host, sp, thresh, in host1x_syncpt_wait()
264 syncpt_load_min_is_expired(sp, thresh), in host1x_syncpt_wait()
266 if (remain > 0 || host1x_syncpt_is_expired(sp, thresh)) { in host1x_syncpt_wait()
286 thresh, timeout); in host1x_syncpt_wait()
[all …]
/kernel/linux/linux-6.6/mm/
Dpage-writeback.c134 unsigned long thresh; /* dirty threshold */ member
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; in domain_dirty_limits() local
409 thresh = DIV_ROUND_UP(bytes, PAGE_SIZE); in domain_dirty_limits()
411 thresh = (ratio * available_memory) / PAGE_SIZE; in domain_dirty_limits()
421 thresh += thresh / 4 + global_wb_domain.dirty_limit / 32; in domain_dirty_limits()
427 if (thresh > UINT_MAX) in domain_dirty_limits()
428 thresh = UINT_MAX; in domain_dirty_limits()
430 if (bg_thresh >= thresh) in domain_dirty_limits()
[all …]
/kernel/linux/linux-6.6/sound/soc/codecs/
Dtda7419.c130 unsigned int reg, rreg, mask, thresh; member
157 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
193 tda7419_vol_get_value(val, mask, min, thresh, invert); in tda7419_vol_get()
198 tda7419_vol_get_value(val, mask, min, thresh, invert); in tda7419_vol_get()
204 static inline int tda7419_vol_put_value(int val, int thresh, in tda7419_vol_put_value() argument
[all …]
Dmax98373.c264 SOC_SINGLE("BDE LVL1 Thresh", MAX98373_R2097_BDE_L1_THRESH, 0, 0xFF, 0),
265 SOC_SINGLE("BDE LVL2 Thresh", MAX98373_R2098_BDE_L2_THRESH, 0, 0xFF, 0),
266 SOC_SINGLE("BDE LVL3 Thresh", MAX98373_R2099_BDE_L3_THRESH, 0, 0xFF, 0),
267 SOC_SINGLE("BDE LVL4 Thresh", MAX98373_R209A_BDE_L4_THRESH, 0, 0xFF, 0),
271 SOC_SINGLE("BDE Thresh Hysteresis", MAX98373_R209B_BDE_THRESH_HYST, 0, 0xFF, 0),
275 SOC_SINGLE_TLV("BDE LVL1 Clip Thresh Volume", MAX98373_R20A9_BDE_L1_CFG_2,
277 SOC_SINGLE_TLV("BDE LVL2 Clip Thresh Volume", MAX98373_R20AC_BDE_L2_CFG_2,
279 SOC_SINGLE_TLV("BDE LVL3 Clip Thresh Volume", MAX98373_R20AF_BDE_L3_CFG_2,
281 SOC_SINGLE_TLV("BDE LVL4 Clip Thresh Volume", MAX98373_R20B2_BDE_L4_CFG_2,
291 SOC_SINGLE_TLV("BDE LVL1 Limiter Thresh Volume", MAX98373_R20A8_BDE_L1_CFG_1,
[all …]
/kernel/linux/linux-5.10/sound/soc/codecs/
Dtda7419.c130 unsigned int reg, rreg, mask, thresh; member
157 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
193 tda7419_vol_get_value(val, mask, min, thresh, invert); in tda7419_vol_get()
198 tda7419_vol_get_value(val, mask, min, thresh, invert); in tda7419_vol_get()
204 static inline int tda7419_vol_put_value(int val, int thresh, in tda7419_vol_put_value() argument
[all …]
Dmax98373.c227 SOC_SINGLE("BDE LVL1 Thresh", MAX98373_R2097_BDE_L1_THRESH, 0, 0xFF, 0),
228 SOC_SINGLE("BDE LVL2 Thresh", MAX98373_R2098_BDE_L2_THRESH, 0, 0xFF, 0),
229 SOC_SINGLE("BDE LVL3 Thresh", MAX98373_R2099_BDE_L3_THRESH, 0, 0xFF, 0),
230 SOC_SINGLE("BDE LVL4 Thresh", MAX98373_R209A_BDE_L4_THRESH, 0, 0xFF, 0),
233 SOC_SINGLE("BDE Thresh Hysteresis", MAX98373_R209B_BDE_THRESH_HYST, 0, 0xFF, 0),
237 SOC_SINGLE_TLV("BDE LVL1 Clip Thresh Volume", MAX98373_R20A9_BDE_L1_CFG_2,
239 SOC_SINGLE_TLV("BDE LVL2 Clip Thresh Volume", MAX98373_R20AC_BDE_L2_CFG_2,
241 SOC_SINGLE_TLV("BDE LVL3 Clip Thresh Volume", MAX98373_R20AF_BDE_L3_CFG_2,
243 SOC_SINGLE_TLV("BDE LVL4 Clip Thresh Volume", MAX98373_R20B2_BDE_L4_CFG_2,
253 SOC_SINGLE_TLV("BDE LVL1 Limiter Thresh Volume", MAX98373_R20A8_BDE_L1_CFG_1,
[all …]
/kernel/linux/linux-5.10/mm/
Dpage-writeback.c134 unsigned long thresh; /* dirty threshold */ member
379 * domain_dirty_limits - calculate thresh and bg_thresh for a wb_domain
382 * Calculate @dtc->thresh and ->bg_thresh considering
396 unsigned long thresh; in domain_dirty_limits() local
421 thresh = DIV_ROUND_UP(bytes, PAGE_SIZE); in domain_dirty_limits()
423 thresh = (ratio * available_memory) / PAGE_SIZE; in domain_dirty_limits()
433 thresh += thresh / 4 + global_wb_domain.dirty_limit / 32; in domain_dirty_limits()
439 if (thresh > UINT_MAX) in domain_dirty_limits()
440 thresh = UINT_MAX; in domain_dirty_limits()
442 if (bg_thresh >= thresh) in domain_dirty_limits()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/accel/
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>;
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/accel/
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>;
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/pmu/event_code_tests/
Dgroup_constraint_thresh_sel_test.c25 * used to program thresh select field in Monitor Mode Control Register A
27 * All events in the group should match thresh sel bits otherwise
37 /* Init the events for the group contraint thresh select test */ in group_constraint_thresh_sel()
48 /* Init the event for the group contraint thresh select test */ in group_constraint_thresh_sel()
Dgroup_constraint_thresh_ctl_test.c26 * used to program thresh compare field in Monitor Mode Control Register A
28 * All events in the group should match thresh ctl bits otherwise
38 /* Init the events for the group contraint thresh control test */ in group_constraint_thresh_ctl()
49 /* Init the event for the group contraint thresh control test */ in group_constraint_thresh_ctl()
Dgroup_constraint_thresh_cmp_test.c27 * used to program thresh compare field in Monitor Mode Control Register A
29 * All events in the group should match thresh compare bits otherwise
57 /* Init the event for the group contraint thresh compare test */ in group_constraint_thresh_cmp()
80 /* Init the event for the group contraint thresh compare test */ in group_constraint_thresh_cmp()
/kernel/linux/linux-5.10/drivers/thermal/qcom/
Dqcom-spmi-temp-alarm.c71 unsigned int thresh; member
75 /* protects .thresh, .stage and chip registers */
153 chip->thresh * TEMP_THRESH_STEP + in qpnp_tm_update_temp_no_adc()
158 chip->thresh * TEMP_THRESH_STEP - in qpnp_tm_update_temp_no_adc()
215 chip->thresh = THRESH_MIN; in qpnp_tm_update_critical_trip_temp()
220 chip->thresh = THRESH_MAX - in qpnp_tm_update_critical_trip_temp()
225 chip->thresh = THRESH_MAX; in qpnp_tm_update_critical_trip_temp()
235 reg |= chip->thresh; in qpnp_tm_update_critical_trip_temp()
317 chip->thresh = reg & SHUTDOWN_CTRL1_THRESHOLD_MASK; in qpnp_tm_init()
329 chip->temp = chip->thresh * TEMP_THRESH_STEP + in qpnp_tm_init()
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Dninet_connection_sock.c41 int max_retries, thresh; in ninet_reqsk_timer_handler() local
43 /* Defines the maximum number of retransmissions. Thresh defaults to 5 */ in ninet_reqsk_timer_handler()
45 thresh = max_retries; in ninet_reqsk_timer_handler()
48 if (req->num_timeout <= thresh) { in ninet_reqsk_timer_handler()
/kernel/linux/linux-6.6/drivers/thermal/qcom/
Dqcom-spmi-temp-alarm.c75 unsigned int thresh; member
79 /* protects .thresh, .stage and chip registers */
118 if (!chip->temp_map || chip->thresh >= THRESH_COUNT || stage == 0 || in qpnp_tm_decode_temp()
122 return (*chip->temp_map)[chip->thresh][stage - 1]; in qpnp_tm_decode_temp()
237 chip->thresh = THRESH_MIN; in qpnp_tm_update_critical_trip_temp()
242 chip->thresh = THRESH_MAX - in qpnp_tm_update_critical_trip_temp()
247 chip->thresh = THRESH_MAX; in qpnp_tm_update_critical_trip_temp()
258 reg |= chip->thresh; in qpnp_tm_update_critical_trip_temp()
335 chip->thresh = reg & SHUTDOWN_CTRL1_THRESHOLD_MASK; in qpnp_tm_init()
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/
Diqs626a.yaml110 azoteq,thresh-extend:
477 azoteq,thresh:
693 azoteq,thresh-swipe:
708 azoteq,thresh:
728 azoteq,thresh-swipe: ["linux,keycodes"]
801 azoteq,thresh-swipe = <40>;
804 azoteq,thresh = <35>;
809 azoteq,thresh = <40>;
814 azoteq,thresh = <40>;
819 azoteq,thresh = <38>;
[all …]

12345678910>>...14