| /linux-6.15/fs/btrfs/ |
| H A D | async-thread.c | 45 int thresh; member 68 if (wq->thresh == NO_THRESHOLD) in btrfs_workqueue_normal_congested() 96 if (thresh == 0) in btrfs_alloc_workqueue() 97 thresh = DEFAULT_THRESHOLD; in btrfs_alloc_workqueue() 101 ret->thresh = NO_THRESHOLD; in btrfs_alloc_workqueue() 109 ret->thresh = thresh; in btrfs_alloc_workqueue() 138 ret->thresh = NO_THRESHOLD; in btrfs_alloc_ordered_workqueue() 157 if (wq->thresh == NO_THRESHOLD) in thresh_queue_hook() 183 wq->count %= (wq->thresh / 4); in thresh_exec_hook() 193 if (pending > wq->thresh) in thresh_exec_hook() [all …]
|
| /linux-6.15/drivers/iio/humidity/ |
| H A D | hdc3020.c | 409 u16 thresh; in hdc3020_thresh_set_temp() local 422 return thresh; in hdc3020_thresh_set_temp() 428 u16 thresh; in hdc3020_thresh_set_hum() local 440 return thresh; in hdc3020_thresh_set_hum() 503 thresh = ret; in hdc3020_write_thresh() 528 thresh = reg_val; in hdc3020_write_thresh() 570 thresh = reg_val; in hdc3020_write_thresh() 612 int thresh, clr, ret; in hdc3020_read_thresh() local 633 *val = thresh; in hdc3020_read_thresh() 641 *val = abs(thresh - clr); in hdc3020_read_thresh() [all …]
|
| /linux-6.15/sound/soc/codecs/ |
| H A D | tda7419.c | 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 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-6.15/include/trace/events/ |
| H A D | host1x.h | 180 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-6.15/mm/ |
| H A D | page-writeback.c | 363 unsigned long thresh; in domain_dirty_limits() local 400 thresh += thresh / 4 + global_wb_domain.dirty_limit / 32; in domain_dirty_limits() 406 if (thresh > UINT_MAX) in domain_dirty_limits() 407 thresh = UINT_MAX; in domain_dirty_limits() 411 dtc->thresh = thresh; in domain_dirty_limits() 1288 unsigned long thresh = dtc->thresh; in update_dirty_limit() local 1295 limit = thresh; in update_dirty_limit() 1304 thresh = max(thresh, dtc->dirty); in update_dirty_limit() 1569 if (thresh > dirty) in dirty_poll_interval() 1720 thresh = dtc->thresh; in domain_poll_intv() [all …]
|
| /linux-6.15/drivers/thermal/qcom/ |
| H A D | qcom-spmi-temp-alarm.c | 75 unsigned int thresh; member 117 if (!chip->temp_map || chip->thresh >= THRESH_COUNT || stage == 0 || in qpnp_tm_decode_temp() 121 return (*chip->temp_map)[chip->thresh][stage - 1]; in qpnp_tm_decode_temp() 236 chip->thresh = THRESH_MIN; in qpnp_tm_update_critical_trip_temp() 241 chip->thresh = THRESH_MAX - in qpnp_tm_update_critical_trip_temp() 246 chip->thresh = THRESH_MAX; in qpnp_tm_update_critical_trip_temp() 257 reg |= chip->thresh; in qpnp_tm_update_critical_trip_temp() 312 chip->thresh = reg & SHUTDOWN_CTRL1_THRESHOLD_MASK; in qpnp_tm_init()
|
| /linux-6.15/Documentation/devicetree/bindings/iio/accel/ |
| H A 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-6.15/arch/powerpc/perf/ |
| H A D | mpc7450-pmu.c | 155 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-6.15/arch/arm/boot/dts/ti/omap/ |
| H A D | omap3-gta04a3.dts | 26 st,click-thresh-x = <8>; 27 st,click-thresh-y = <8>; 28 st,click-thresh-z = <10>;
|
| H A D | omap3-overo-common-peripherals.dtsi | 63 st,click-thresh-x = <10>; 64 st,click-thresh-y = <10>; 65 st,click-thresh-z = <10>;
|
| /linux-6.15/drivers/gpu/host1x/ |
| H A D | syncpt.c | 220 int host1x_syncpt_wait(struct host1x_syncpt *sp, u32 thresh, long timeout, in host1x_syncpt_wait() argument 231 if (host1x_syncpt_is_expired(sp, thresh)) in host1x_syncpt_wait() 239 fence = host1x_fence_create(sp, thresh, false); in host1x_syncpt_wait() 257 if (wait_err == 0 && !host1x_syncpt_is_expired(sp, thresh)) in host1x_syncpt_wait() 269 bool host1x_syncpt_is_expired(struct host1x_syncpt *sp, u32 thresh) in host1x_syncpt_is_expired() argument 277 return ((current_val - thresh) & 0x80000000U) == 0U; in host1x_syncpt_is_expired()
|
| /linux-6.15/tools/perf/util/ |
| H A D | stat-shadow.c | 200 enum metric_threshold_classify thresh = METRIC_THRESHOLD_UNKNOWN; in print_ratio() local 206 thresh = get_ratio_thresh(thresh_ratios, ratio); in print_ratio() 210 out->print_metric(config, out->ctx, thresh, fmt, unit, ratio); in print_ratio() 504 enum metric_threshold_classify thresh = METRIC_THRESHOLD_UNKNOWN; in generic_metric() local 527 thresh = fpclassify(threshold) == FP_ZERO in generic_metric() 543 print_metric(config, ctxp, thresh, "%8.1f", in generic_metric() 546 print_metric(config, ctxp, thresh, "%8.2f", in generic_metric() 553 print_metric(config, ctxp, thresh, /*fmt=*/NULL, in generic_metric() 558 print_metric(config, ctxp, thresh, /*fmt=*/NULL, in generic_metric()
|
| H A D | stat-display.c | 86 return colors[thresh]; in metric_threshold_classify__color() 99 return strs[thresh]; in metric_threshold_classify__str() 457 void *ctx, enum metric_threshold_classify thresh, in print_metric_std() argument 496 enum metric_threshold_classify thresh __maybe_unused, in print_metric_csv() 517 enum metric_threshold_classify thresh, in print_metric_json() argument 526 if (thresh != METRIC_THRESHOLD_UNKNOWN) { in print_metric_json() 528 metric_threshold_classify__str(thresh)); in print_metric_json() 619 void *ctx, enum metric_threshold_classify thresh, in print_metric_only() argument 644 enum metric_threshold_classify thresh __maybe_unused, in print_metric_only_csv() 667 enum metric_threshold_classify thresh __maybe_unused, in print_metric_only_json() [all …]
|
| /linux-6.15/drivers/input/misc/ |
| H A D | iqs626a.c | 288 u8 thresh[2]; member 300 u8 thresh; member 313 u8 thresh[3]; member 328 u8 thresh; member 472 thresh = sys_reg->ch_reg_ulp.thresh; in iqs626_parse_events() 478 thresh = &sys_reg->tp_grp_reg.ch_reg_tp[0].thresh; in iqs626_parse_events() 486 thresh = sys_reg->ch_reg_gen[i].thresh; in iqs626_parse_events() 491 thresh = &sys_reg->ch_reg_hall.thresh; in iqs626_parse_events() 571 *thresh = val; in iqs626_parse_events() 771 u8 *thresh = &sys_reg->tp_grp_reg.ch_reg_tp[i].thresh; in iqs626_parse_trackpad() local [all …]
|
| /linux-6.15/drivers/net/ethernet/freescale/dpaa/ |
| H A D | dpaa_ethtool.c | 428 u8 thresh; in dpaa_get_coalesce() local 432 qman_dqrr_get_ithresh(portal, &thresh); in dpaa_get_coalesce() 435 c->rx_max_coalesced_frames = thresh; in dpaa_get_coalesce() 448 u8 thresh, prev_thresh; in dpaa_set_coalesce() local 457 thresh = c->rx_max_coalesced_frames; in dpaa_set_coalesce() 470 res = qman_dqrr_set_ithresh(portal, thresh); in dpaa_set_coalesce()
|
| /linux-6.15/Documentation/devicetree/bindings/input/ |
| H A D | iqs626a.yaml | 110 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 …]
|
| /linux-6.15/drivers/gpu/host1x/hw/ |
| H A D | intr_hw.c | 88 u32 thresh) in host1x_intr_set_syncpt_threshold() argument 90 host1x_sync_writel(host, thresh, HOST1X_SYNC_SYNCPT_INT_THRESH(id)); in host1x_intr_set_syncpt_threshold()
|
| /linux-6.15/kernel/trace/ |
| H A D | trace_hwlat.c | 207 u64 thresh = tracing_thresh; in get_sample() local 212 do_div(thresh, NSEC_PER_USEC); /* modifies interval value */ in get_sample() 255 if (diff > thresh || outer_diff > thresh) { in get_sample() 279 if (sample > thresh || outer_sample > thresh) { in get_sample()
|
| /linux-6.15/drivers/soc/ti/ |
| H A D | knav_dma.c | 80 u32 thresh[3]; member 190 writel_relaxed(0, &chan->reg_rx_flow->thresh[0]); in chan_start() 191 writel_relaxed(0, &chan->reg_rx_flow->thresh[1]); in chan_start() 192 writel_relaxed(0, &chan->reg_rx_flow->thresh[2]); in chan_start() 235 writel_relaxed(0, &chan->reg_rx_flow->thresh[0]); in chan_stop() 236 writel_relaxed(0, &chan->reg_rx_flow->thresh[1]); in chan_stop() 237 writel_relaxed(0, &chan->reg_rx_flow->thresh[2]); in chan_stop() 332 chan->cfg.u.rx.thresh); in dma_debug_show_channels()
|
| /linux-6.15/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_ptp.c | 161 static int ptp_set_thresh(struct otx2_ptp *ptp, u64 thresh) in ptp_set_thresh() argument 173 req->thresh = thresh; in ptp_set_thresh() 311 if (ptp->thresh != new_thresh) { in otx2_ptp_extts_check() 315 ptp->thresh = new_thresh; in otx2_ptp_extts_check()
|
| /linux-6.15/drivers/regulator/ |
| H A D | da903x-regulator.c | 193 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-6.15/arch/x86/events/intel/ |
| H A 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-6.15/include/linux/ |
| H A D | igmp.h | 97 #define IGMPV3_EXP(thresh, nbmant, nbexp, value) \ argument 98 ((value) < (thresh) ? (value) : \
|
| /linux-6.15/drivers/net/ethernet/cavium/thunder/ |
| H A D | nicvf_queues.h | 225 u32 thresh; /* Threshold level for interrupt */ member 257 u16 thresh; member 268 u16 thresh; member
|
| /linux-6.15/arch/arm/boot/dts/intel/pxa/ |
| H A D | pxa300-raumfeld-controller.dts | 135 st,click-thresh-x = <10>; 136 st,click-thresh-y = <10>; 137 st,click-thresh-z = <10>;
|