| /kernel/linux/linux-5.10/net/ipv4/ |
| D | tcp_cubic.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * "CUBIC: A New TCP-Friendly High-Speed TCP Variant" 45 #define HYSTART_DELAY_THRESH(x) clamp(x, HYSTART_DELAY_MIN, HYSTART_DELAY_MAX) argument 62 /* Note parameters that are used for precomputing scale factors are read-only */ 68 MODULE_PARM_DESC(initial_ssthresh, "initial value of slow start threshold"); 77 " 1: packet-train 2: delay 3: both packet-train and delay"); 107 ca->cnt = 0; in bictcp_reset() 108 ca->last_max_cwnd = 0; in bictcp_reset() 109 ca->last_cwnd = 0; in bictcp_reset() 110 ca->last_time = 0; in bictcp_reset() [all …]
|
| D | tcp_lp.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/net/ipv4/ |
| D | tcp_cubic.c | 1 // 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 …]
|
| D | tcp_lp.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
| D | bpf_cubic.c | 1 // 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. 39 #define HYSTART_DELAY_THRESH(x) clamp(x, HYSTART_DELAY_MIN, HYSTART_DELAY_MAX) argument 54 / (BICTCP_BETA_SCALE - beta); 55 /* calculate the "K" for (wmax-cwnd) = c/rtt * K^3 56 * so K = cubic_root( (wmax-cwnd)*rtt/c ) 65 * HZ < 1,000,00 (corresponding to 10 nano-second) 96 ca->cnt = 0; in bictcp_reset() 97 ca->last_max_cwnd = 0; in bictcp_reset() [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
| D | bpf_cubic.c | 1 // 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. 39 #define HYSTART_DELAY_THRESH(x) clamp(x, HYSTART_DELAY_MIN, HYSTART_DELAY_MAX) argument 54 / (BICTCP_BETA_SCALE - beta); 55 /* calculate the "K" for (wmax-cwnd) = c/rtt * K^3 56 * so K = cubic_root( (wmax-cwnd)*rtt/c ) 65 * HZ < 1,000,00 (corresponding to 10 nano-second) 96 ca->cnt = 0; in bictcp_reset() 97 ca->last_max_cwnd = 0; in bictcp_reset() [all …]
|
| /kernel/linux/linux-5.10/mm/ |
| D | vmstat.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 * Copyright (C) 2008-2014 Christoph Lameter 34 #define NUMA_STATS_THRESHOLD (U16_MAX - 2) 45 atomic_long_set(&zone->vm_numa_stat[item], 0); in zero_zone_numa_counters() 47 per_cpu_ptr(zone->pageset, cpu)->vm_numa_stat_diff[item] in zero_zone_numa_counters() 122 ret[i] += this->event[i]; in sum_vm_events() 128 * The result is unavoidably approximate - it can change 151 count_vm_events(i, fold_state->event[i]); in vm_events_fold_cpu() 152 fold_state->event[i] = 0; in vm_events_fold_cpu() 174 int threshold; in calculate_pressure_threshold() local [all …]
|
| /kernel/linux/linux-6.6/mm/ |
| D | vmstat.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/rmi4/ |
| D | rmi_2d_sensor.txt | 12 http://www.synaptics.com/sites/default/files/511-000136-01-Rev-E-RMI4-Interfacing-Guide.pdf 16 - touchscreen-inverted-x 17 - touchscreen-inverted-y 18 - touchscreen-swapped-x-y 19 - touchscreen-x-mm 20 - touchscreen-y-mm 23 - syna,clip-x-low: Sets a minimum value for X. 24 - syna,clip-y-low: Sets a minimum value for Y. 25 - syna,clip-x-high: Sets a maximum value for X. 26 - syna,clip-y-high: Sets a maximum value for Y. [all …]
|
| /kernel/linux/linux-5.10/Documentation/input/devices/ |
| D | atarikbd.rst | 12 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 …]
|
| /kernel/linux/linux-6.6/Documentation/input/devices/ |
| D | atarikbd.rst | 12 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 …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/ |
| D | syna,rmi4.yaml | 1 # 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 …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/freescale/ |
| D | imx8mq-zii-ultra-rmb3.dts | 1 // 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 …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/ |
| D | rx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright(c) 2003 - 2014 Intel Corporation. All rights reserved. 13 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 23 #include "iwl-trans.h" 24 #include "iwl-io.h" 39 struct iwl_error_resp *err_resp = (void *)pkt->data; in iwlagn_rx_reply_error() 41 IWL_ERR(priv, "Error Reply type 0x%08X cmd REPLY_ERROR (0x%02X) " in iwlagn_rx_reply_error() 42 "seq 0x%04X ser 0x%08X\n", in iwlagn_rx_reply_error() 43 le32_to_cpu(err_resp->error_type), in iwlagn_rx_reply_error() 44 err_resp->cmd_id, in iwlagn_rx_reply_error() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/dvm/ |
| D | rx.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/include/uapi/linux/ |
| D | serial_reg.h | 1 /* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */ 95 #define UART_FCR_R_TRIG_BITS(x) \ argument 96 (((x) & UART_FCR_TRIGGER_MASK) >> UART_FCR_R_TRIG_SHIFT) 126 #define UART_MCR_AFE 0x20 /* Enable auto-RTS/CTS (TI16C550C/TI16C750) */ 136 #define UART_LSR_THRE 0x20 /* Transmit-hold-register empty */ 149 #define UART_MSR_DDCD 0x08 /* Delta DCD */ 151 #define UART_MSR_DDSR 0x02 /* Delta DSR */ 152 #define UART_MSR_DCTS 0x01 /* Delta CTS */ 153 #define UART_MSR_ANY_DELTA 0x0F /* Any of the delta bits! */ 233 * The Intel XScale on-chip UARTs define these bits [all …]
|
| /kernel/linux/linux-5.10/drivers/iio/light/ |
| D | vcnl4000.c | 1 // 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) 54 #define VCNL4010_LOW_THR_HI 0x8a /* Low threshold, MSB */ 55 #define VCNL4010_LOW_THR_LO 0x8b /* Low threshold, LSB */ 56 #define VCNL4010_HIGH_THR_HI 0x8c /* High threshold, MSB */ 57 #define VCNL4010_HIGH_THR_LO 0x8d /* High threshold, LSB */ 71 #define VCNL4000_AL_OD BIT(4) /* start on-demand ALS measurement */ [all …]
|
| /kernel/linux/linux-6.6/drivers/input/rmi4/ |
| D | rmi_2d_sensor.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/drivers/input/rmi4/ |
| D | rmi_2d_sensor.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/ |
| D | dfs.c | 2 * 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 …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/ |
| D | dfs.c | 2 * 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 …]
|
| /kernel/linux/linux-6.6/include/uapi/linux/ |
| D | serial_reg.h | 1 /* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */ 100 #define UART_FCR_R_TRIG_BITS(x) \ argument 101 (((x) & UART_FCR_TRIGGER_MASK) >> UART_FCR_R_TRIG_SHIFT) 131 #define UART_MCR_AFE 0x20 /* Enable auto-RTS/CTS (TI16C550C/TI16C750) */ 141 #define UART_LSR_THRE 0x20 /* Transmit-hold-register empty */ 154 #define UART_MSR_DDCD 0x08 /* Delta DCD */ 156 #define UART_MSR_DDSR 0x02 /* Delta DSR */ 157 #define UART_MSR_DCTS 0x01 /* Delta CTS */ 238 * The Intel XScale on-chip UARTs define these bits 247 #define UART_FCR_PXAR1 0x00 /* receive FIFO threshold = 1 */ [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
| D | bpf_tcp_helpers.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 69 syn_fastopen_ch:1, /* Active TFO re-enabling probe */ 70 syn_data_acked:1,/* data in SYN is acked by SYN-ACK */ 87 return (void *)inet_csk(sk)->icsk_ca_priv; in inet_csk_ca() 97 return (__s32)(seq1-seq2) < 0; in before() 131 __u32 prior_delivered; /* tp->delivered at "prior_mstamp" */ 133 long interval_us; /* time for tp->delivered to incr "delivered" */ 136 long rtt_us; /* RTT of last (S)ACKed packet (or -1) */ 157 /* return slow start threshold (required) */ 183 #define min_not_zero(x, y) ({ \ argument [all …]
|
| /kernel/linux/linux-6.6/kernel/sched/ |
| D | psi.c | 1 // SPDX-License-Identifier: GPL-2.0 34 * In the FULL state of a given resource, all non-idle tasks are 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% 106 * extension of the single-CPU model. ] [all …]
|
| /kernel/linux/linux-6.6/arch/mips/kvm/ |
| D | emulate.c | 23 #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 …]
|