/openbmc/linux/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; 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 …]
|
/openbmc/linux/fs/btrfs/ |
H A D | async-thread.c | 45 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 …]
|
/openbmc/linux/mm/ |
H A D | page-writeback.c | 134 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 …]
|
/openbmc/phosphor-webui/app/server-health/styles/ |
H A D | sensors.scss | 2 $thresh-critical: $status-error; 3 $thresh-warning: $accent-03--02; 4 $thresh-normal: $accent-02--02; 130 background: darken($thresh-normal, 3%); 138 background: $thresh-critical; 147 background: $thresh-warning;
|
/openbmc/linux/sound/soc/codecs/ |
H A D | tda7419.c | 130 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 …]
|
H A D | max98373.c | 264 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 …]
|
/openbmc/linux/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>;
|
/openbmc/linux/tools/testing/selftests/powerpc/pmu/event_code_tests/ |
H A D | group_constraint_thresh_ctl_test.c | 26 * 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()
|
H A D | group_constraint_thresh_sel_test.c | 25 * 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()
|
H A D | group_constraint_thresh_cmp_test.c | 27 * 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()
|
/openbmc/ipmitool/lib/ |
H A D | ipmi_sensor.c | 521 char *id, *thresh; in ipmi_sensor_set_threshold() local 538 thresh = argv[1]; in ipmi_sensor_set_threshold() 540 if (strncmp(thresh, "upper", 5) == 0) { in ipmi_sensor_set_threshold() 543 "usage: sensor thresh <id> upper <unc> <ucr> <unr>"); in ipmi_sensor_set_threshold() 562 } else if (strncmp(thresh, "lower", 5) == 0) { in ipmi_sensor_set_threshold() 565 "usage: sensor thresh <id> lower <lnr> <lcr> <lnc>"); in ipmi_sensor_set_threshold() 585 if (strncmp(thresh, "unr", 3) == 0) in ipmi_sensor_set_threshold() 587 else if (strncmp(thresh, "ucr", 3) == 0) in ipmi_sensor_set_threshold() 589 else if (strncmp(thresh, "unc", 3) == 0) in ipmi_sensor_set_threshold() 591 else if (strncmp(thresh, "lnc", 3) == 0) in ipmi_sensor_set_threshold() [all …]
|
/openbmc/linux/drivers/thermal/qcom/ |
H A D | qcom-spmi-temp-alarm.c | 75 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()
|
/openbmc/linux/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 …]
|
/openbmc/linux/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>;
|
/openbmc/linux/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 467 u8 *thresh, *hyst; in iqs626_parse_events() local 473 thresh = sys_reg->ch_reg_ulp.thresh; in iqs626_parse_events() 479 thresh = &sys_reg->tp_grp_reg.ch_reg_tp[0].thresh; in iqs626_parse_events() 487 thresh = sys_reg->ch_reg_gen[i].thresh; in iqs626_parse_events() 492 thresh = &sys_reg->ch_reg_hall.thresh; in iqs626_parse_events() 564 !fwnode_property_read_u32(ev_node, "azoteq,thresh", &val)) { in iqs626_parse_events() [all …]
|
/openbmc/linux/include/linux/sunrpc/ |
H A D | xprtrdma.h | 56 #define RPCRDMA_MIN_INLINE (1024) /* min inline thresh */ 57 #define RPCRDMA_DEF_INLINE (4096) /* default inline thresh */ 58 #define RPCRDMA_MAX_INLINE (65536) /* max inline thresh */
|
/openbmc/u-boot/drivers/dma/ |
H A D | keystone_nav.c | 173 writel(0, &pktdma->rx_flows[j].thresh[0]); in ksnav_rx_disable() 174 writel(0, &pktdma->rx_flows[j].thresh[1]); in ksnav_rx_disable() 175 writel(0, &pktdma->rx_flows[j].thresh[2]); in ksnav_rx_disable() 242 writel(0, &pktdma->rx_flows[pktdma->rx_flow].thresh[0]); in ksnav_init() 243 writel(0, &pktdma->rx_flows[pktdma->rx_flow].thresh[1]); in ksnav_init() 244 writel(0, &pktdma->rx_flows[pktdma->rx_flow].thresh[2]); in ksnav_init()
|
/openbmc/linux/drivers/gpu/host1x/ |
H A D | syncpt.c | 216 * @thresh: threshold 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()
|
/openbmc/linux/drivers/net/ethernet/freescale/dpaa/ |
H A D | dpaa_ethtool.c | 442 u8 thresh; in dpaa_get_coalesce() local 446 qman_dqrr_get_ithresh(portal, &thresh); in dpaa_get_coalesce() 449 c->rx_max_coalesced_frames = thresh; in dpaa_get_coalesce() 462 u8 thresh, prev_thresh; in dpaa_set_coalesce() local 471 thresh = c->rx_max_coalesced_frames; in dpaa_set_coalesce() 484 res = qman_dqrr_set_ithresh(portal, thresh); in dpaa_set_coalesce()
|
/openbmc/linux/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()
|
H A D | power10-events-list.h | 74 * thresh start (TS) 75 * thresh end (TE)
|
/openbmc/linux/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() 330 seq_printf(s, "\t\t\tdst_q: [%d], thresh: %d fdq: ", in dma_debug_show_channels() 332 chan->cfg.u.rx.thresh); in dma_debug_show_channels()
|
/openbmc/linux/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() 310 if (ptp->thresh != new_thresh) { in otx2_ptp_extts_check() 314 ptp->thresh = new_thresh; in otx2_ptp_extts_check()
|
/openbmc/linux/drivers/gpu/host1x/hw/ |
H A D | intr_hw.c | 98 u32 thresh) in host1x_intr_set_syncpt_threshold() argument 100 host1x_sync_writel(host, thresh, HOST1X_SYNC_SYNCPT_INT_THRESH(id)); in host1x_intr_set_syncpt_threshold()
|