Searched refs:threshold (Results 176 - 200 of 297) sorted by relevance

1234567891011>>

/linux-master/tools/perf/
H A Dbuiltin-timechart.c1384 static int determine_display_tasks(struct timechart *tchart, u64 threshold) argument
1399 if (p->total_time >= threshold)
1410 if (c->total_time >= threshold) {
1425 static int determine_display_io_tasks(struct timechart *timechart, u64 threshold) argument
1442 if (c->total_bytes >= threshold) {
/linux-master/drivers/dma/idxd/
H A Ddevice.c117 num_descs = wq_dedicated(wq) ? wq->size : wq->threshold;
371 wq->threshold = 0;
937 wq->wqcfg->wq_thresh = wq->threshold;
1143 wq->threshold = wq->wqcfg->wq_thresh;
1405 * Shared wq with the threshold set to 0 means the user
1406 * did not set the threshold or transitioned from a
1407 * dedicated wq but did not set threshold. A value
1410 * threshold via sysfs.
1412 if (wq->threshold == 0) {
1414 dev_dbg(dev, "Shared wq and threshold
[all...]
H A Dsysfs.c694 wq->threshold = 0;
846 return sysfs_emit(buf, "%u\n", wq->threshold);
874 wq->threshold = val;
880 __ATTR(threshold, 0644, wq_threshold_show, wq_threshold_store);
/linux-master/drivers/gpu/drm/i915/gt/
H A Dintel_rps.c657 * frequency, if the down threshold expires in that window we will not
1791 c0 *= 1000 * 100 << 8; /* to usecs and scale to threshold% */
2363 drm_printf(p, "Up threshold: %d%%\n",
2379 drm_printf(p, "Down threshold: %d%%\n",
2586 static int rps_set_threshold(struct intel_rps *rps, u8 *threshold, u8 val) argument
2597 if (*threshold == val)
2600 *threshold = val;
2618 int intel_rps_set_up_threshold(struct intel_rps *rps, u8 threshold) argument
2620 return rps_set_threshold(rps, &rps->power.up_threshold, threshold);
2628 int intel_rps_set_down_threshold(struct intel_rps *rps, u8 threshold) argument
[all...]
/linux-master/drivers/video/fbdev/
H A Dcirrusfb.c671 unsigned int control = 0, format = 0, threshold = 0; local
880 threshold = fb_readw(cinfo->laguna_mmio + 0xea);
883 threshold &= 0xffc0 & 0x3fbf;
1037 threshold |= 0x10;
1122 threshold |= 0x10;
1180 threshold |= 0x20;
1248 fb_writew(threshold, cinfo->laguna_mmio + 0xea);
/linux-master/drivers/gpu/drm/amd/display/modules/color/
H A Dcolor_gamma.c280 struct fixed31_32 threshold; local
288 threshold = dc_fixpt_from_fraction(1, 2);
290 if (dc_fixpt_lt(in_x, threshold)) {
311 struct fixed31_32 threshold; local
319 threshold = dc_fixpt_from_fraction(1, 12);
323 if (dc_fixpt_lt(x, threshold)) {
/linux-master/net/ipv4/
H A Dfib_trie.c807 unsigned long threshold = used; local
810 threshold *= IS_TRIE(tp) ? inflate_threshold_root : inflate_threshold;
816 return (used > 1) && tn->pos && ((50 * used) >= threshold);
822 unsigned long threshold = used; local
825 threshold *= IS_TRIE(tp) ? halve_threshold_root : halve_threshold;
830 return (used > 1) && (tn->bits > 1) && ((100 * used) < threshold);
857 pr_debug("In tnode_resize %p inflate_threshold=%d threshold=%d\n",
867 * nonempty nodes that are above the threshold.
890 * node is above threshold.
/linux-master/drivers/staging/rtl8723bs/core/
H A Drtw_mlme.c2185 u8 threshold; local
2202 threshold = 1;
2204 threshold = 0;
2205 rtw_hal_set_hwreg(padapter, HW_VAR_RXDMA_AGG_PG_TH, (u8 *)(&threshold));
2207 threshold = 1;
2208 rtw_hal_set_hwreg(padapter, HW_VAR_RXDMA_AGG_PG_TH, (u8 *)(&threshold));
/linux-master/sound/soc/codecs/
H A Darizona-jack.c328 unsigned int threshold; member in struct:__anon373
389 (val < arizona_hpdet_b_ranges[range].threshold ||
402 if (val < arizona_hpdet_b_ranges[range].threshold ||
1460 dev_dbg(arizona->dev, "%d ohms for MICD threshold %d\n",
/linux-master/sound/soc/uniphier/
H A Daio-core.c1177 sub->threshold = 2 * period;
1195 sub->threshold = 2 * period;
1207 sub->threshold = 2 * period;
H A Daio-compress.c365 sub->threshold = 2 * bytes;
/linux-master/drivers/iio/adc/
H A Dmeson_saradc.c1122 unsigned int cnt, threshold; local
1127 threshold = FIELD_GET(MESON_SAR_ADC_REG0_FIFO_CNT_IRQ_MASK, regval);
1129 if (cnt < threshold)
/linux-master/arch/mips/kvm/
H A Demulate.c388 ktime_t expires, threshold; local
410 threshold = ktime_add_ns(now, vcpu->arch.count_period / 4);
411 if (ktime_before(expires, threshold)) {
/linux-master/mm/
H A Dmemcontrol.c642 /* Cgroup1: threshold notifications & softlimit tree updates */
754 * Hence, we only flush the stats if the updates delta exceeds a threshold. This
1033 /* threshold event is triggered in finer grain than soft limit */
2556 * it was a threshold of 1 page
4418 * current_threshold points to threshold just below or equal to usage.
4419 * If it's not true, a threshold was crossed after last
4426 * current_threshold and check if a threshold is crossed.
4430 for (; i >= 0 && unlikely(t->entries[i].threshold > usage); i--)
4438 * current_threshold+1 and check if a threshold is crossed.
4442 for (; i < t->size && unlikely(t->entries[i].threshold <
4502 unsigned long threshold; local
[all...]
/linux-master/drivers/net/wireless/ti/wlcore/
H A Dconf.h122 * Packet detection threshold in the PHY.
152 * The RX Clear Channel Assessment threshold in the PHY
153 * (the energy threshold).
421 * The TX fragmentation threshold.
939 /* RSSI threshold to be used for filtering */
942 /* SNR threshold to be used for filtering */
1060 /* Minimum log level threshold */
1070 u8 threshold; member in struct:conf_fwlog
/linux-master/drivers/net/wireless/ath/ath6kl/
H A Dwmi.c1360 u8 threshold = (u8) sq_thresh->upper_threshold[size - 1]; local
1365 threshold = (u8) sq_thresh->upper_threshold[index];
1370 return threshold;
1378 u8 threshold = (u8) sq_thresh->lower_threshold[size - 1]; local
1383 threshold = (u8) sq_thresh->lower_threshold[index];
1388 return threshold;
1429 * Identify the threshold breached and communicate that to the app.
1434 /* Upper threshold breached */
1437 "spurious upper rssi threshold event: %d\n",
1458 /* Lower threshold breache
3105 ath6kl_wmi_set_rts_cmd(struct wmi *wmi, u16 threshold) argument
[all...]
/linux-master/drivers/net/ethernet/freescale/dpaa2/
H A Ddpni.c1693 cmd_params->threshold = cpu_to_le32(taildrop->threshold);
1747 taildrop->threshold = le32_to_cpu(rsp_params->threshold);
/linux-master/drivers/net/ethernet/mscc/
H A Docelot_net.c77 u32 threshold,
84 threshold, extack);
105 u16 pool_index, u32 threshold,
112 pool_type, pool_index, threshold,
75 ocelot_devlink_sb_port_pool_set(struct devlink_port *dlp, unsigned int sb_index, u16 pool_index, u32 threshold, struct netlink_ext_ack *extack) argument
102 ocelot_devlink_sb_tc_pool_bind_set(struct devlink_port *dlp, unsigned int sb_index, u16 tc_index, enum devlink_sb_pool_type pool_type, u16 pool_index, u32 threshold, struct netlink_ext_ack *extack) argument
/linux-master/drivers/thermal/qcom/
H A Dtsens.h210 LOWER_STATUS_0, /* LOWER threshold violated */
274 LOW_THRESH_0, /* LOWER threshold values */
290 UPPER_STATUS_0, /* UPPER threshold violated */
354 UP_THRESH_0, /* UPPER threshold values */
370 CRITICAL_STATUS_0, /* CRITICAL threshold violated */
434 CRIT_THRESH_0, /* CRITICAL threshold values */
462 MIN_STATUS_0, /* MIN threshold violated */
478 MAX_STATUS_0, /* MAX threshold violated */
542 * @threshold: Threshold register value
546 int threshold; member in struct:tsens_context
[all...]
/linux-master/sound/soc/tegra/
H A Dtegra30_i2s.c180 cif_conf.threshold = 0;
H A Dtegra186_dspk.c259 /* RX FIFO threshold in terms of frames */
265 cif_conf.threshold = dspk->rx_fifo_th;
/linux-master/arch/x86/crypto/
H A Dcrc32c-pcl-intel-asm_64.S63 # Define threshold where buffers are considered "small" and routed to more
/linux-master/drivers/infiniband/hw/hfi1/
H A Dpio.c542 * Calculate PIO block threshold for this send context using the given MTU.
554 u32 threshold; local
562 threshold = 1;
564 threshold = sc->credits - release_credits;
566 return threshold;
570 * Calculate credit threshold in terms of percent of the allocated credits.
582 * Set the credit return threshold.
760 * Calculate the initial credit return threshold.
762 * For Ack contexts, set a threshold for half the credits.
823 "Send context %u(%u) %s group %u credits %u credit_ctrl 0x%llx threshold
[all...]
/linux-master/drivers/xen/events/
H A Devents_base.c609 unsigned int threshold = 1; local
612 threshold = dev->spurious_threshold;
618 if (info->spurious_cnt > threshold) {
619 delay = 1 << (info->spurious_cnt - 1 - threshold);
/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Dcommon.h152 unsigned long threshold; member in struct:stmmac_extra_stats

Completed in 341 milliseconds

1234567891011>>