Home
last modified time | relevance | path

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

123456

/linux-6.12.1/net/ipv4/
Dtcp_cubic.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * "CUBIC: A New TCP-Friendly High-Speed TCP Variant"
47 #define HYSTART_DELAY_THRESH(x) clamp(x, HYSTART_DELAY_MIN, HYSTART_DELAY_MAX) argument
64 /* Note parameters that are used for precomputing scale factors are read-only */
70 MODULE_PARM_DESC(initial_ssthresh, "initial value of slow start threshold");
79 " 1: packet-train 2: delay 3: both packet-train and delay");
110 ca->found = 0; in bictcp_reset()
115 return tcp_sk(sk)->tcp_mstamp; in bictcp_clock_us()
123 ca->round_start = ca->last_ack = bictcp_clock_us(sk); in bictcp_hystart_reset()
124 ca->end_seq = tp->snd_nxt; in bictcp_hystart_reset()
[all …]
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-6.12.1/tools/testing/selftests/bpf/progs/
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-6.12.1/mm/
Dvmstat.c1 // SPDX-License-Identifier: GPL-2.0-only
11 * Copyright (C) 2008-2014 Christoph Lameter
43 atomic_long_set(&zone->vm_numa_event[item], 0); in zero_zone_numa_counters()
45 per_cpu_ptr(zone->per_cpu_zonestats, cpu)->vm_numa_event[item] in zero_zone_numa_counters()
121 ret[i] += this->event[i]; in sum_vm_events()
127 * The result is unavoidably approximate - it can change
150 count_vm_events(i, fold_state->event[i]); in vm_events_fold_cpu()
151 fold_state->event[i] = 0; in vm_events_fold_cpu()
178 pzstats = per_cpu_ptr(zone->per_cpu_zonestats, cpu); in fold_vm_zone_numa_events()
180 zone_numa_events[item] += xchg(&pzstats->vm_numa_event[item], 0); in fold_vm_zone_numa_events()
[all …]
/linux-6.12.1/Documentation/input/devices/
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-6.12.1/Documentation/devicetree/bindings/input/
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 …]
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-6.12.1/arch/arm64/boot/dts/freescale/
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-6.12.1/drivers/net/wireless/intel/iwlwifi/dvm/
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 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-6.12.1/arch/x86/kernel/cpu/mce/
Dthreshold.c1 // SPDX-License-Identifier: GPL-2.0
3 * Common corrected MCE threshold handler code:
18 pr_err("Unexpected threshold interrupt at vector %x\n", in default_threshold_interrupt()
46 storm->banks[bank].history = ~0ull; in mce_inherit_storm()
47 storm->banks[bank].timestamp = jiffies; in mce_inherit_storm()
74 storm->banks[bank].in_storm_mode = true; in cmci_storm_begin()
80 if (++storm->stormy_bank_count == 1) in cmci_storm_begin()
89 storm->banks[bank].history = 0; in cmci_storm_end()
90 storm->banks[bank].in_storm_mode = false; in cmci_storm_end()
100 unsigned long now = jiffies, delta; in mce_track_storm() local
[all …]
/linux-6.12.1/drivers/input/rmi4/
Drmi_2d_sensor.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2011-2016 Synaptics Incorporated
16 #define RMI_2D_REL_POS_MIN -128
26 struct rmi_2d_axis_alignment *axis_align = &sensor->axis_align; in rmi_2d_sensor_abs_process()
29 if (obj->type == RMI_2D_OBJECT_NONE) in rmi_2d_sensor_abs_process()
32 if (axis_align->flip_x) in rmi_2d_sensor_abs_process()
33 obj->x = sensor->max_x - obj->x; in rmi_2d_sensor_abs_process()
35 if (axis_align->flip_y) in rmi_2d_sensor_abs_process()
36 obj->y = sensor->max_y - obj->y; in rmi_2d_sensor_abs_process()
38 if (axis_align->swap_axes) in rmi_2d_sensor_abs_process()
[all …]
/linux-6.12.1/include/uapi/linux/
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 …]
/linux-6.12.1/drivers/net/wireless/ath/ath9k/
Ddfs.c2 * Copyright (c) 2008-2011 Atheros Communications Inc.
19 #include "hw-ops.h"
36 * - 20MHz chirp width over a pulse width of 50us
37 * - 5MHz chirp width over a pulse width of 100us
46 /* Threshold for difference of delta peaks */
83 is_ctl = fft_bitmap_weight(fft->lower_bins) != 0; in ath9k_get_max_index_ht40()
84 is_ext = fft_bitmap_weight(fft->upper_bins) != 0; in ath9k_get_max_index_ht40()
88 int mag_lower = fft_max_magnitude(fft->lower_bins); in ath9k_get_max_index_ht40()
89 int mag_upper = fft_max_magnitude(fft->upper_bins); in ath9k_get_max_index_ht40()
97 return fft_max_index(fft->lower_bins); in ath9k_get_max_index_ht40()
[all …]
/linux-6.12.1/kernel/sched/
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-6.12.1/arch/mips/kvm/
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-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
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-6.12.1/drivers/net/wireless/ti/wlcore/
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-6.12.1/drivers/infiniband/hw/bnxt_re/
Dqplib_fp.h2 * Broadcom NetXtreme-E RoCE driver.
4 * Copyright (c) 2016 - 2017, Broadcom. All rights reserved. The term
42 #include <rdma/bnxt_re-abi.h>
98 u32 threshold; member
206 /* FR-PMR */
305 #define BTH_PSN_MASK ((1 << 24) - 1)
351 #define CQE_MAX_IDX_PER_PG (CQE_CNT_PER_PG - 1)
352 #define CQE_PG(x) (((x) & ~CQE_MAX_IDX_PER_PG) / CQE_CNT_PER_PG) argument
353 #define CQE_IDX(x) ((x) & CQE_MAX_IDX_PER_PG) argument
357 (!!((hdr)->cqe_type_toggle & CQ_BASE_TOGGLE) == \
[all …]
/linux-6.12.1/drivers/iio/light/
Dvcnl4000.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * vcnl4000.c - Support for Vishay VCNL4000/4010/4020/4040/4200 combined ambient
11 * VCNL4000/10/20 (7-bit I2C slave address 0x13)
12 * VCNL4040 (7-bit I2C slave address 0x60)
13 * VCNL4200 (7-bit I2C slave address 0x51)
56 #define VCNL4010_LOW_THR_HI 0x8a /* Low threshold, MSB */
57 #define VCNL4010_LOW_THR_LO 0x8b /* Low threshold, LSB */
58 #define VCNL4010_HIGH_THR_HI 0x8c /* High threshold, MSB */
59 #define VCNL4010_HIGH_THR_LO 0x8d /* High threshold, LSB */
65 #define VCNL4040_PS_THDL_LM 0x06 /* Proximity threshold low */
[all …]
/linux-6.12.1/drivers/cpuidle/governors/
Dmenu.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * menu.c - the menu idle governor
5 * Copyright (C) 2006-2007 Adam Belay <abelay@novell.com>
40 * -----------------------
68 * Repeatable-interval-detector
69 * ----------------------------
76 * threshold value, we use the average of these intervals as prediction.
79 * ---------------------------
88 * This rule-of-thumb is implemented using a performance-multiplier:
150 /* for IO wait tasks (per cpu!) we add 10x each */ in performance_multiplier()
[all …]
/linux-6.12.1/drivers/gpu/drm/i915/gt/
Dintel_rps.c1 // SPDX-License-Identifier: MIT
43 return rps_to_gt(rps)->i915; in rps_to_i915()
48 return rps_to_gt(rps)->uncore; in rps_to_uncore()
55 return &gt_to_guc(gt)->slpc; in rps_to_slpc()
62 return intel_uc_uses_guc_slpc(&gt->uc); in rps_uses_slpc()
67 return mask & ~rps->pm_intrmsk_mbz; in rps_pm_sanitize_mask()
90 last = engine->stats.rps; in rps_timer()
91 engine->stats.rps = dt; in rps_timer()
99 last = rps->pm_timestamp; in rps_timer()
100 rps->pm_timestamp = timestamp; in rps_timer()
[all …]
/linux-6.12.1/drivers/md/
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-6.12.1/drivers/input/keyboard/
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-6.12.1/arch/mips/include/asm/sn/
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-6.12.1/drivers/iio/adc/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
10 bool "ST-Ericsson AB8500 GPADC driver"
45 Say yes here to build support for Analog Devices AD4130-8 SPI analog
73 Say yes here to build support for Analog Devices AD7091R-5 ADC.
81 Say yes here to build support for Analog Devices AD7091R-2, AD7091R-4,
82 and AD7091R-8 ADC.
88 tristate "Analog Devices AD7124 and similar sigma-delta ADCs driver"
92 Say yes here to build support for Analog Devices AD7124-4 and AD7124-8
107 - AD7172-2
108 - AD7173-8
[all …]

123456