/linux-master/mm/ |
H A D | memcontrol.c | 774 /* Cgroup1: threshold notifications & softlimit tree updates */ 888 * Hence, we only flush the stats if the updates delta exceeds a threshold. This 1191 /* threshold event is triggered in finer grain than soft limit */ 2717 * it was a threshold of 1 page 4622 * current_threshold points to threshold just below or equal to usage. 4623 * If it's not true, a threshold was crossed after last 4630 * current_threshold and check if a threshold is crossed. 4634 for (; i >= 0 && unlikely(t->entries[i].threshold > usage); i--) 4642 * current_threshold+1 and check if a threshold is crossed. 4646 for (; i < t->size && unlikely(t->entries[i].threshold < 4706 unsigned long threshold; local [all...] |
/linux-master/mm/damon/ |
H A D | core.c | 1328 * thres '->nr_accesses' diff threshold for the merge 1354 * threshold '->nr_accesses' diff threshold for the merge 1362 static void kdamond_merge_regions(struct damon_ctx *c, unsigned int threshold, argument 1368 damon_merge_regions_of(t, threshold, sz_limit);
|
/linux-master/kernel/trace/ |
H A D | trace.c | 1636 unsigned long threshold; local 1641 ret = kstrtoul(str, 0, &threshold); 1644 tracing_thresh = threshold * 1000;
|
/linux-master/include/linux/ |
H A D | memcontrol.h | 120 unsigned long threshold; member in struct:mem_cgroup_threshold 123 /* For threshold */ 125 /* An array index points to threshold just below or equal to usage. */ 137 * Spare threshold array.
|
/linux-master/drivers/infiniband/hw/bnxt_re/ |
H A D | qplib_fp.c | 690 if (srq->threshold) 709 if (count > srq->threshold) { 711 bnxt_qplib_srq_arm_db(&srq->dbinfo, srq->threshold); 748 srq->threshold = le16_to_cpu(sb->srq_limit); 798 if (srq->arm_req == true && count > srq->threshold) { 800 bnxt_qplib_srq_arm_db(&srq->dbinfo, srq->threshold);
|
/linux-master/tools/arch/x86/intel_sdsi/ |
H A D | intel_sdsi.c | 86 uint64_t threshold:3; member in struct:availability 289 printf(" Updates Threshold: %d\n", s->regs.prov_avail.threshold); 605 s->regs.prov_avail.threshold); 635 s->regs.prov_avail.threshold);
|
/linux-master/sound/soc/uniphier/ |
H A D | aio-dma.c | 37 sub->threshold + bytes); 39 sub->threshold += bytes; 56 sub->threshold + bytes); 58 sub->threshold += bytes;
|
/linux-master/sound/soc/meson/ |
H A D | axg-fifo.c | 117 unsigned int burst_num, period, threshold, irq_en; local 136 threshold = min(period / 2, fifo->depth / 2); 139 * With the threshold in bytes, register value is: 140 * V = (threshold / burst) - 1 142 threshold /= AXG_FIFO_BURST; 144 threshold ? threshold - 1 : 0);
|
/linux-master/sound/soc/codecs/ |
H A D | wm_adsp.c | 112 __be32 threshold; member in struct:wm_adsp_alg_xm_struct
|
/linux-master/drivers/staging/media/atomisp/include/linux/ |
H A D | atomisp.h | 80 /* [intensity] coring threshold for Cb (Used by YCC NR) */ 82 /* [intensity] coring threshold for Cr (Used by YCC NR) */ 129 /* [intensity] The threshold that divides noises from edge. u8_8 */ 130 unsigned int threshold; member in struct:atomisp_ee_config 306 /* [intensity] The threshold of defect Pixel Correction, representing 311 unsigned int threshold; member in struct:atomisp_dp_config 322 /* XNR threshold */ 324 __u16 threshold; member in struct:atomisp_xnr_config
|
/linux-master/drivers/media/v4l2-core/ |
H A D | v4l2-common.c | 510 * continued fraction decomposition. Using 8 and 333 for n_terms and threshold 514 unsigned int n_terms, unsigned int threshold) 528 * threshold. 535 if (an[n] >= threshold) { 513 v4l2_simplify_fraction(u32 *numerator, u32 *denominator, unsigned int n_terms, unsigned int threshold) argument
|
/linux-master/drivers/media/rc/ |
H A D | imon.c | 488 /* threshold at which a pad push registers as an arrow key in kbd mode */ 1176 * routine with shorter timeout and a smaller threshold. 1178 static int stabilize(int a, int b, u16 timeout, u16 threshold) argument 1202 if (abs(x) > threshold || abs(y) > threshold) { 1217 y = 17 * threshold / 30; 1220 y -= 17 * threshold / 30; 1223 x = 17 * threshold / 30; 1226 x -= 17 * threshold / 30; 1394 u16 timeout, threshold; local [all...] |
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_pm.h | 37 int xe_pm_set_vram_threshold(struct xe_device *xe, u32 threshold);
|
H A D | xe_pm.c | 590 * xe_pm_set_vram_threshold - Set a vram threshold for allowing/blocking D3Cold 592 * @threshold: VRAM size in bites for the D3cold threshold 596 int xe_pm_set_vram_threshold(struct xe_device *xe, u32 threshold) argument 610 if (threshold > vram_total_mb) 614 xe->d3cold.vram_threshold = threshold;
|
/linux-master/drivers/gpu/drm/mediatek/ |
H A D | mtk_disp_rdma.c | 188 unsigned int threshold; local 206 * output threshold to 70% of max fifo size to make sure the 209 threshold = rdma_fifo_size * 7 / 10; 212 RDMA_OUTPUT_VALID_FIFO_THRESHOLD(threshold);
|
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | intel_rps.c | 657 * 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/gpu/drm/amd/pm/legacy-dpm/ |
H A D | si_dpm.c | 5681 u32 threshold; local 5687 threshold = state->performance_levels[state->performance_level_count-1].sclk * 100 / 100; 5721 (state->performance_levels[i].sclk < threshold) ? 5737 threshold / 512);
|
/linux-master/drivers/gpu/drm/amd/display/modules/color/ |
H A D | color_gamma.c | 280 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/drivers/gpu/drm/amd/amdgpu/ |
H A D | navi10_ih.c | 93 * @threshold: threshold to trigger the wptr reporting 97 * threshold input range: 0 ~ 15, default 0, 98 * real_threshold = 2^threshold 106 u32 threshold, u32 timeout, bool enabled) 121 RB_USED_INT_THRESHOLD, threshold); 132 RB_USED_INT_THRESHOLD, threshold); 105 force_update_wptr_for_self_int(struct amdgpu_device *adev, u32 threshold, u32 timeout, bool enabled) argument
|
H A D | ih_v7_0.c | 81 * @threshold: threshold to trigger the wptr reporting 85 * threshold input range: 0 ~ 15, default 0, 86 * real_threshold = 2^threshold 94 u32 threshold, u32 timeout, bool enabled) 106 RB_USED_INT_THRESHOLD, threshold); 93 force_update_wptr_for_self_int(struct amdgpu_device *adev, u32 threshold, u32 timeout, bool enabled) argument
|
H A D | ih_v6_0.c | 81 * @threshold: threshold to trigger the wptr reporting 85 * threshold input range: 0 ~ 15, default 0, 86 * real_threshold = 2^threshold 94 u32 threshold, u32 timeout, bool enabled) 106 RB_USED_INT_THRESHOLD, threshold); 93 force_update_wptr_for_self_int(struct amdgpu_device *adev, u32 threshold, u32 timeout, bool enabled) argument
|
H A D | ih_v6_1.c | 81 * @threshold: threshold to trigger the wptr reporting 85 * threshold input range: 0 ~ 15, default 0, 86 * real_threshold = 2^threshold 94 u32 threshold, u32 timeout, bool enabled) 106 RB_USED_INT_THRESHOLD, threshold); 93 force_update_wptr_for_self_int(struct amdgpu_device *adev, u32 threshold, u32 timeout, bool enabled) argument
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | bpf_cubic.c | 458 __u32 threshold; local 467 threshold = ca->delay_min + hystart_ack_delay(sk); 475 threshold >>= 1; 477 if ((__s32)(now - ca->round_start) > threshold) { 526 /* hystart triggers when cwnd is larger than some threshold */
|
/linux-master/net/sched/ |
H A D | sch_fq_codel.c | 144 unsigned int threshold; local 162 threshold = maxbacklog >> 1; 172 } while (++i < max_packets && len < threshold);
|
/linux-master/net/ipv4/ |
H A D | tcp_cubic.c | 70 MODULE_PARM_DESC(initial_ssthresh, "initial value of slow start threshold"); 390 u32 threshold; local 402 threshold = ca->delay_min + hystart_ack_delay(sk); 410 threshold >>= 1; 412 if ((s32)(now - ca->round_start) > threshold) { 415 now - ca->round_start, threshold, 470 /* hystart triggers when cwnd is larger than some threshold */
|