Home
last modified time | relevance | path

Searched +full:delta +full:- +full:x +full:- +full:threshold (Results 1 – 25 of 96) sorted by relevance

1234

/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_cubic.c1 // SPDX-License-Identifier: GPL-2.0-only
13 * "while (ca->ack_cnt > delta)" loop is changed to the equivalent
14 * "ca->ack_cnt / delta" operation.
27 return (__s32)(seq1-seq2) < 0; in before()
47 #define HYSTART_DELAY_THRESH(x) clamp(x, HYSTART_DELAY_MIN, HYSTART_DELAY_MAX) argument
62 / (BICTCP_BETA_SCALE - beta);
63 /* calculate the "K" for (wmax-cwnd) = c/rtt * K^3
64 * so K = cubic_root( (wmax-cwnd)*rtt/c )
73 * HZ < 1,000,00 (corresponding to 10 nano-second)
104 ca->cnt = 0; in bictcp_reset()
[all …]
/linux/mm/
H A Dvmstat.c1 // SPDX-License-Identifier: GPL-2.0-only
11 * Copyright (C) 2008-2014 Christoph Lameter
45 atomic_long_set(&zone->vm_numa_event[item], 0); in zero_zone_numa_counters()
47 per_cpu_ptr(zone->per_cpu_zonestats, cpu)->vm_numa_event[item] in zero_zone_numa_counters()
124 ret[i] += this->event[i]; in sum_vm_events()
130 * The result is unavoidably approximate - it can change
153 count_vm_events(i, fold_state->event[i]); in vm_events_fold_cpu()
154 fold_state->event[i] = 0; in vm_events_fold_cpu()
181 pzstats = per_cpu_ptr(zone->per_cpu_zonestats, cpu); in fold_vm_zone_numa_events()
183 zone_numa_events[item] += xchg(&pzstats->vm_numa_event[item], 0); in fold_vm_zone_numa_events()
[all …]
H A Dpage-writeback.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * mm/page-writeback.c
26 #include <linux/backing-dev.h>
55 #define DIRTY_POLL_THRESH (128 >> (PAGE_SHIFT - 10))
101 * The interval between `kupdate'-style writebacks
120 /* End of sysctl-exported parameters */
135 .wb_completions = &(__wb)->completions
141 .wb_completions = &(__wb)->memcg_completions, \
146 return dtc->dom; in mdtc_valid()
151 return dtc->dom; in dtc_dom()
[all …]
H A Dmremap.c1 // SPDX-License-Identifier: GPL-2.0
48 * delta to account for hugetlb alignment).
51 /* User-provided state. */
52 unsigned long addr; /* User-specified address from which we remap. */
55 const unsigned long flags; /* user-specified MREMAP_* flags. */
67 unsigned long delta; /* Absolute delta of old_len,new_len. */ member
70 bool mmap_locked; /* Is mm currently write-locked? */
145 if (vma->vm_file) in take_rmap_locks()
146 i_mmap_lock_write(vma->vm_file->f_mapping); in take_rmap_locks()
147 if (vma->anon_vma) in take_rmap_locks()
[all …]
/linux/Documentation/input/devices/
H A Datarikbd.rst12 provides a convenient connection point for a mouse and switch-type joysticks.
13 The ikbd processor also maintains a time-of-day clock with one second
18 The ikbd communicates with the main processor over a high speed bi-directional
41 0xF8-0xFB relative mouse position records (lsbs determined by
43 0xFC time-of-day
67 ---------------------------
72 settable threshold of motion. Regardless of the threshold, all bits of
75 significantly more than the threshold delta x or y. This may happen since no
85 ; and x is the left button state
86 X ; delta x as twos complement integer
[all …]
/linux/arch/arm64/boot/dts/freescale/
H A Dimx8mq-zii-ultra-rmb3.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 /dts-v1/;
8 #include "imx8mq-zii-ultra.dtsi"
12 compatible = "zii,imx8mq-ultra-rmb3", "zii,imx8mq-ultra", "fsl,imx8mq";
15 compatible = "simple-audio-card";
16 simple-audio-card,name = "front";
17 simple-audio-card,format = "i2s";
18 simple-audio-card,bitclock-master = <&sound1_codec>;
19 simple-audio-card,frame-master = <&sound1_codec>;
20 simple-audio-card,widgets =
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Drx.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright(c) 2003 - 2014 Intel Corporation. All rights reserved.
6 * Copyright(c) 2018, 2020-2021, 2025 Intel Corporation
18 #include "iwl-trans.h"
19 #include "iwl-io.h"
34 struct iwl_error_resp *err_resp = (void *)pkt->data; in iwlagn_rx_reply_error()
36 IWL_ERR(priv, "Error Reply type 0x%08X cmd REPLY_ERROR (0x%02X) " in iwlagn_rx_reply_error()
37 "seq 0x%04X ser 0x%08X\n", in iwlagn_rx_reply_error()
38 le32_to_cpu(err_resp->error_type), in iwlagn_rx_reply_error()
39 err_resp->cmd_id, in iwlagn_rx_reply_error()
[all …]
/linux/Documentation/devicetree/bindings/input/
H A Dsyna,rmi4.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jason A. Donenfeld <Jason@zx2c4.com>
11 - Matthias Schiffer <matthias.schiffer@ew.tq-group.com
12 - Vincent Huang <vincent.huang@tw.synaptics.com>
22 - syna,rmi4-i2c
23 - syna,rmi4-spi
28 '#address-cells':
31 '#size-cells':
[all …]
H A Diqs62x-keys.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/input/iqs62x-keys.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jeff LaBundy <jeff@labundy.com>
13 - $ref: input.yaml#
16 The Azoteq IQS620A, IQS621, IQS622, IQS624 and IQS625 multi-function sensors
17 feature a variety of self-capacitive, mutual-inductive and Hall-effect sens-
23 further details and examples. Sensor hardware configuration (self-capacitive
24 vs. mutual-inductive, etc.) is selected based on the device's firmware.
[all …]
/linux/net/ipv4/
H A Dtcp_lp.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * TCP Low Priority (TCP-LP)
11 * the original TCP-LP implementation:
16 * o Handling calculation of One-Way-Delay (OWD) within rtt_sample, since
26 * http://www.ece.rice.edu/~akuzma/Doc/akuzma/TCP-LP.pdf
28 * http://www-ece.rice.edu/networks/TCP-LP/
30 * 2.6.x module Authors:
34 * http://tcp-lp-mod.sourceforge.net/
47 * @LP_WITHIN_THR: are we within threshold?
50 * TCP-LP's state flags.
[all …]
/linux/include/uapi/linux/
H A Dserial_reg.h1 /* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */
101 #define UART_FCR_R_TRIG_BITS(x) \ argument
102 (((x) & UART_FCR_TRIGGER_MASK) >> UART_FCR_R_TRIG_SHIFT)
132 #define UART_MCR_AFE 0x20 /* Enable auto-RTS/CTS (TI16C550C/TI16C750) */
142 #define UART_LSR_THRE 0x20 /* Transmit-hold-register empty */
155 #define UART_MSR_DDCD 0x08 /* Delta DCD */
157 #define UART_MSR_DDSR 0x02 /* Delta DSR */
158 #define UART_MSR_DCTS 0x01 /* Delta CTS */
239 * The Intel XScale on-chip UARTs define these bits
248 #define UART_FCR_PXAR1 0x00 /* receive FIFO threshold = 1 */
[all …]
H A Dpkt_sched.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
13 with obsolete IPv6 values is not occasional :-). New IPv6 drafts
52 ---------
120 #define TCA_STAB_MAX (__TCA_STAB_MAX - 1)
131 * Priorities go from zero to (SKBPRIO_MAX_PRIORITY - 1).
150 __u8 priomap[TC_PRIO_MAX+1]; /* Map: logical priority -> PRIO band */
174 * command is received (just act as a pass-thru queue).
204 #define TCA_TBF_MAX (__TCA_TBF_MAX - 1)
222 __u32 prob_drop; /* Early drops, below max threshold */
223 __u32 forced_drop; /* Early drops, after max threshold */
[all …]
/linux/kernel/sched/
H A Dpsi.c1 // SPDX-License-Identifier: GPL-2.0
34 * In the FULL state of a given resource, all non-idle tasks are
44 * CPU, productive means an on-CPU task.
48 * FULL means all non-idle tasks in the cgroup are delayed on the CPU
64 * unrealized due to resource contention *also* scales with non-idle
83 * we have to base our calculation on the number of non-idle tasks in
91 * FULL = (threads - min(nr_productive_tasks, threads)) / threads
97 * FULL = (256 - min(256, 256)) / 256 = 0%
99 * For the 1 out of 4 memory-delayed tasks, this yields:
103 * FULL = (4 - min(3, 4)) / 4 = 25%
[all …]
/linux/arch/mips/kvm/
H A Demulate.c23 #include <asm/cpu-info.h>
45 struct kvm_vcpu_arch *arch = &vcpu->arch; in kvm_compute_return_epc()
52 return -EINVAL; in kvm_compute_return_epc()
65 arch->gprs[insn.r_format.rd] = epc + 8; in kvm_compute_return_epc()
68 nextpc = arch->gprs[insn.r_format.rs]; in kvm_compute_return_epc()
71 return -EINVAL; in kvm_compute_return_epc()
84 if ((long)arch->gprs[insn.i_format.rs] < 0) in kvm_compute_return_epc()
93 if ((long)arch->gprs[insn.i_format.rs] >= 0) in kvm_compute_return_epc()
102 arch->gprs[31] = epc + 8; in kvm_compute_return_epc()
103 if ((long)arch->gprs[insn.i_format.rs] < 0) in kvm_compute_return_epc()
[all …]
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
H A Ddm.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 2009-2010 Realtek Corporation.*/
17 0x081, /* 0, -12.0dB */
18 0x088, /* 1, -11.5dB */
19 0x090, /* 2, -11.0dB */
20 0x099, /* 3, -10.5dB */
21 0x0A2, /* 4, -10.0dB */
22 0x0AC, /* 5, -9.5dB */
23 0x0B6, /* 6, -9.0dB */
24 0x0C0, /* 7, -8.5dB */
[all …]
/linux/drivers/net/wireless/ti/wlcore/
H A Dconf.h1 /* SPDX-License-Identifier: GPL-2.0-only */
117 * Range: 0 - 0xFFFFFFFF
122 * Packet detection threshold in the PHY.
130 * after a PS-poll has been transmitted.
132 * Range: 0 - 200000
139 * Range: 0 - 200000
147 * Range: 0 - 4096
152 * The RX Clear Channel Assessment threshold in the PHY
153 * (the energy threshold).
161 * Occupied Rx mem-blocks number which requires interrupting the host
[all …]
/linux/drivers/md/
H A Ddm-ps-historical-service-time.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Keeps a time-weighted exponential moving average of the historical
20 * ns, and the weighting is pre-calculated.
25 #include "dm-path-selector.h"
32 #define DM_MSG_PREFIX "multipath historical-service-time"
70 * fixed_power - compute: x^n, in O(log n) time
72 * @x: base of the power
73 * @frac_bits: fractional bits of @x
74 * @n: power to raise @x to.
77 * function: x^n := x*x*...*x (x multiplied by itself for n times), and
[all …]
/linux/drivers/input/keyboard/
H A Dcap11xx.c1 // SPDX-License-Identifier: GPL-2.0-only
26 #define CAP11XX_REG_SENOR_DELTA(X) (0x10 + (X)) argument
42 #define CAP11XX_REG_SENSOR_THRESH(X) (0x30 + (X)) argument
50 #define CAP11XX_REG_SENSOR_BASE_CNT(X) (0x50 + (X)) argument
67 #define CAP11XX_REG_SENSOR_CALIB (0xb1 + (X))
178 return regmap_write(priv->regmap, in cap11xx_write_calib_sens_config_1()
180 (priv->calib_sensitivities[3] << 6) | in cap11xx_write_calib_sens_config_1()
181 (priv->calib_sensitivities[2] << 4) | in cap11xx_write_calib_sens_config_1()
182 (priv->calib_sensitivities[1] << 2) | in cap11xx_write_calib_sens_config_1()
183 priv->calib_sensitivities[0]); in cap11xx_write_calib_sens_config_1()
[all …]
/linux/arch/mips/include/asm/sn/
H A Dioc3.h1 /* SPDX-License-Identifier: GPL-2.0 */
50 u8 fill0[0x151 - 0x142 - 1];
56 u8 fill1[0x159 - 0x153 - 1];
62 u8 fill2[0x16a - 0x15b - 1];
67 u8 fill3[0x170 - 0x16b - 1];
153 u32 pad1[(0x20000 - 0x00154) / 4];
157 u32 pad2[(0x40000 - 0x20180) / 4];
160 u32 ssram[(0x80000 - 0x40000) / 4];
163 0x80000 - Access to the generic devices selected with DEV0
165 0xA0000 - Access to the generic devices selected with DEV1
[all …]
/linux/kernel/trace/
H A Dtrace_hwlat.c1 // SPDX-License-Identifier: GPL-2.0
3 * trace_hwlat.c - A simple Hardware Latency detector.
20 * Although certain hardware-inducing latencies are necessary (for example,
22 * and remote management) they can wreak havoc upon any OS-level performance
23 * guarantees toward low-latency, especially when the OS is not even made
27 * sampling the built-in CPU timer, looking for discontiguous readings.
31 * environment requiring any kind of low-latency performance
34 * Copyright (C) 2008-2009 Jon Masters, Red Hat, Inc. <jcm@redhat.com>
35 * Copyright (C) 2013-2016 Steven Rostedt, Red Hat, Inc. <srostedt@redhat.com>
67 static char *thread_mode_str[] = { "none", "round-robin", "per-cpu" };
[all …]
/linux/tools/include/uapi/linux/
H A Dpkt_sched.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
12 with obsolete IPv6 values is not occasional :-). New IPv6 drafts
51 ---------
119 #define TCA_STAB_MAX (__TCA_STAB_MAX - 1)
130 * Priorities go from zero to (SKBPRIO_MAX_PRIORITY - 1).
149 __u8 priomap[TC_PRIO_MAX+1]; /* Map: logical priority -> PRIO band */
173 * command is received (just act as a pass-thru queue).
203 #define TCA_TBF_MAX (__TCA_TBF_MAX - 1)
221 __u32 prob_drop; /* Early drops, below max threshold */
222 __u32 forced_drop; /* Early drops, after max threshold */
[all …]
/linux/net/sched/
H A Dsch_sfq.c1 // SPDX-License-Identifier: GPL-2.0-or-later
34 "Interworking: Research and Experience", v.2, 1991, p.113-131.
44 processes queues in round-robin order.
48 - It is very cheap. Both CPU and memory requirements are minimal.
52 - "Stochastic" -> It is not 100% fair.
55 - "Round-robin" -> It introduces larger delays than virtual clock
57 traffic from non-interactive. It means, that this scheduler
67 - maximal queue length per flow to 127 packets.
68 - max mtu to 2^18-1;
69 - max 65408 flows,
[all …]
/linux/arch/x86/kernel/apic/
H A Dapic.c1 // SPDX-License-Identifier: GPL-2.0-only
13 * Mikael Pettersson : Power Management for UP-APIC.
44 #include <asm/pc-conf-reg.h>
66 #include <asm/intel-family.h>
125 * +1=force-enable
215 * so apic->write/read doesn't do anything
243 * lapic_get_maxlvt - get the maximum number of local vector table entries
248 * - we always have APIC integrated on 64bit mode in lapic_get_maxlvt()
249 * - 82489DXs do not report # of LVT entries in lapic_get_maxlvt()
301 * See Intel SDM: TSC-Deadline Mode chapter. In xAPIC mode, in __setup_APIC_LVTT()
[all …]
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6qdl-zii-rdu2.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
3 * Copyright (C) 2016-2017 Zodiac Inflight Innovations
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/sound/fsl-imx-audmux.h>
11 stdout-path = &uart1;
15 mdio-gpio0 = &mdio1;
20 compatible = "virtual,mdio-gpio";
21 #address-cells = <1>;
22 #size-cells = <0>;
23 pinctrl-names = "default";
[all …]
/linux/kernel/time/
H A Dclocksource.c1 // SPDX-License-Identifier: GPL-2.0+
20 #include "tick-internal.h"
27 u64 delta = clocksource_delta(end, start, cs->mask, cs->max_raw_delta); in cycles_to_nsec_safe() local
29 if (likely(delta < cs->max_cycles)) in cycles_to_nsec_safe()
30 return clocksource_cyc2ns(delta, cs->mult, cs->shift); in cycles_to_nsec_safe()
32 return mul_u64_u32_shr(delta, cs->mult, cs->shift); in cycles_to_nsec_safe()
36 * clocks_calc_mult_shift - calculate mult/shift factors for scaled math of clocks
71 sftacc--; in clocks_calc_mult_shift()
78 for (sft = 32; sft > 0; sft--) { in clocks_calc_mult_shift()
90 /*[Clocksource internal variables]---------
[all …]

1234