/freebsd/sys/contrib/device-tree/Bindings/timer/ |
H A D | riscv,timer.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/timer/riscv,timer.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: RISC-V timer 10 - Anup Patel <anup@brainfault.org> 13 RISC-V platforms always have a RISC-V timer device for the supervisor-mode 14 based on the time CSR defined by the RISC-V privileged specification. The 15 timer interrupts of this device are configured using the RISC-V SBI Time 16 extension or the RISC-V Sstc extension. [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/arm/ |
H A D | idle-states.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/arm/idle-states.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> 14 1 - Introduction 18 where cores can be put in different low-power states (ranging from simple wfi 19 to power gating) according to OS PM policies. The CPU states representing the 20 range of dynamic idle states that a processor can enter at run-time, can be 25 power states an ARM CPU can be put into are identified by the following list: [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/cpu/ |
H A D | idle-states.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/cpu/idl [all...] |
/freebsd/sys/contrib/dev/iwlwifi/ |
H A D | iwl-trans.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2005-2014, 2018-2023 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 15 #include "iwl-debu [all...] |
/freebsd/sys/netinet/ |
H A D | tcp_hpts.c | 1 /*- 2 * Copyright (c) 2016-2018 Netflix, Inc. 34 * The tcp_hpts system is designed to provide a high precision timer 84 * need to wake up the hpts system to get immediate 87 * the current hpts timer run (this is usually set when 88 * a rack timer is up so we know SACK's are happening 93 * knows how to take the input queue of packets from tp->t_inqueue 163 * This gives a range of 10usec - 1024ms to place 166 * when seeing the remainder will re-insert the 174 #define HPTS_MTX_ASSERT(hpts) mtx_assert(&(hpts)->p_mt 270 int cpu[MAXCPU]; global() member [all...] |
H A D | sctp_pcb.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 4 * Copyright (c) 2001-2008, by Cisco Systems, Inc. All rights reserved. 5 * Copyright (c) 2008-2012, by Randall Stewart. All rights reserved. 6 * Copyright (c) 2008-2012, by Michael Tuexen. All rights reserved. 85 spcb->ep_count = SCTP_BASE_INFO(ipi_count_ep); in sctp_fill_pcbinfo() 86 spcb->asoc_count = SCTP_BASE_INFO(ipi_count_asoc); in sctp_fill_pcbinfo() 87 spcb->laddr_count = SCTP_BASE_INFO(ipi_count_laddr); in sctp_fill_pcbinfo() 88 spcb->raddr_count = SCTP_BASE_INFO(ipi_count_raddr); in sctp_fill_pcbinfo() 89 spcb->chk_count = SCTP_BASE_INFO(ipi_count_chunk); in sctp_fill_pcbinfo() [all …]
|
H A D | tcp_subr.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 159 if (error == 0 && req->newptr) { in sysctl_net_inet_tcp_mss_check() 181 if (error == 0 && req->newptr) { in sysctl_net_inet_tcp_mss_v6_check() 200 * bandwidth and quickly saturates the CPU and network interface 217 * stacks negotiate TS, but don't send them when sending keep-alive segments. 242 …"If the TCP stack does pacing, is there a limit (-1 = no, 0 = no pacing N = number of connections)… 244 static int tcp_dgp_limit = -1; 246 &tcp_dgp_limit, -1, 247 "If the TCP stack does DGP, is there a limit (-1 = no, 0 = no dgp N = number of connections)"); [all …]
|
/freebsd/sys/x86/x86/ |
H A D | cpu_machdep.c | 1 /*- 59 #include <sys/cpu.h> 74 #include <machine/cpu.h> 129 switch (a->op) { in x86_msr_op_one() 131 v = rdmsr(a->msr); in x86_msr_op_one() 132 v &= ~a->arg1; in x86_msr_op_one() 133 wrmsr(a->msr, v); in x86_msr_op_one() 136 v = rdmsr(a->msr); in x86_msr_op_one() 137 v |= a->arg1; in x86_msr_op_one() 138 wrmsr(a->msr, v); in x86_msr_op_one() [all …]
|
/freebsd/sys/contrib/dev/acpica/ |
H A D | changes.txt | 1 ---------------------------------------- 6 …Timer() operator. Discovered by UBSAN: ?array-index-out-of-bounds in acpica/dswexec.c:401:12 index… 12 1) ACPICA kernel-resident subsystem: 16 Fixed misspelled CDAT DSMAS define: ACPI_CEDT_DSMAS_NON_VOLATILE -> ACPI_CDAT_DSMAS_NON_VOLATILE. R… 18 1) ACPICA kernel-resident subsystem: 20 Fix GCC 12 dangling-pointer warning. We're storing a persistent pointer to an ephemeral local vari… 22 Also, some C run-times (like MUSL) aren't including <stdint.h> indirectly so we must include it exp… 31 ---------------------------------------- 41 Add OS-specific support for Zephyr RTOS. 46 Add first batch of RISC-V related definitions. [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/rockchip/ |
H A D | rk3288.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 #include <dt-bindings/gpio/gpio.h> 4 #include <dt-bindings/interrupt-controller/irq.h> 5 #include <dt-bindings/interrupt-controller/arm-gic.h> 6 #include <dt-binding 195 timer: timer@ff810000 { global() label [all...] |
/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | pci.c | 1 // SPDX-License-Identifier: ISC 3 * Copyright (c) 2005-2011 Atheros Communications Inc. 4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc. 62 /* PCI-E QCA988X V2 (Ubiquiti branded) */ 65 { PCI_VDEVICE(ATHEROS, QCA988X_2_0_DEVICE_ID) }, /* PCI-E QCA988X V2 */ 66 { PCI_VDEVICE(ATHEROS, QCA6164_2_1_DEVICE_ID) }, /* PCI-E QCA6164 V2.1 */ 67 { PCI_VDEVICE(ATHEROS, QCA6174_2_1_DEVICE_ID) }, /* PCI-E QCA6174 V2.1 */ 68 { PCI_VDEVICE(ATHEROS, QCA99X0_2_0_DEVICE_ID) }, /* PCI-E QCA99X0 V2 */ 69 { PCI_VDEVICE(ATHEROS, QCA9888_2_0_DEVICE_ID) }, /* PCI-E QCA9888 V2 */ 70 { PCI_VDEVICE(ATHEROS, QCA9984_1_0_DEVICE_ID) }, /* PCI-E QCA9984 V1 */ [all …]
|
/freebsd/sys/contrib/openzfs/module/os/linux/spl/ |
H A D | spl-taskq.c | 2 * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. 6 * UCRL-CODE-235197 30 #include <sys/timer.h> 98 #define TQSTAT_INC(tq, stat) wmsum_add(&tq->tq_sums.tqs_##stat, 1) 99 #define TQSTAT_DEC(tq, stat) wmsum_add(&tq->tq_sums.tqs_##stat, -1) 102 switch (t->tqent_flags & TQENT_LIST_MASK) { \ 103 case TQENT_LIST_NONE: ASSERT(list_empty(&t->tqent_list)); break;\ 113 t->tqent_flags = (t->tqent_flags & ~TQENT_LIST_MASK) | l; 117 MODULE_PARM_DESC(spl_taskq_thread_bind, "Bind taskq thread to CPU by default"); 133 "Allow non-default priority for taskq threads"); [all …]
|
/freebsd/contrib/wpa/src/common/ |
H A D | qca-vendor.h | 3 * Copyright (c) 2014-2017, Qualcomm Atheros, Inc. 4 * Copyright (c) 2018-2020, The Linux Foundation 5 * Copyright (c) 2021-2023, Qualcomm Innovation Center, Inc. 28 * enum qca_radiotap_vendor_ids - QCA radiotap vendor namespace IDs 41 * Global NSS configuration - Applies to all bands (2.4 GHz and 5/6 GHz) 62 * Per band NSS configuration - Applies to the 2.4 GHz or 5/6 GHz band 79 * Global chain configuration - Applies to all bands (2.4 GHz and 5/6 GHz) 85 * connection cannot be supported by this configuration. 96 * Per band chain configuration - Applies to the 2.4 GHz or 5/6 GHz band 103 * current connection cannot be supported by this configuration. [all …]
|
/freebsd/sys/dev/mrsas/ |
H A D | mrsas.c | 205 {0x1000, MRSAS_AERO_10E0, 0xffff, 0xffff, "BROADCOM AERO-10E0 SAS Controller"}, 206 {0x1000, MRSAS_AERO_10E1, 0xffff, 0xffff, "BROADCOM AERO-10E1 SAS Controller"}, 207 {0x1000, MRSAS_AERO_10E2, 0xffff, 0xffff, "BROADCOM AERO-10E2 SAS Controller"}, 208 {0x1000, MRSAS_AERO_10E3, 0xffff, 0xffff, "BROADCOM AERO-10E3 SAS Controller"}, 209 {0x1000, MRSAS_AERO_10E4, 0xffff, 0xffff, "BROADCOM AERO-10E4 SAS Controller"}, 210 {0x1000, MRSAS_AERO_10E5, 0xffff, 0xffff, "BROADCOM AERO-10E5 SAS Controller"}, 211 {0x1000, MRSAS_AERO_10E6, 0xffff, 0xffff, "BROADCOM AERO-10E6 SAS Controller"}, 212 {0x1000, MRSAS_AERO_10E7, 0xffff, 0xffff, "BROADCOM AERO-10E7 SAS Controller"}, 250 if (sc->is_aero) { in mrsas_read_reg_with_retries() 269 bus_space_tag_t bus_tag = sc->bus_tag; in mrsas_write_reg() [all …]
|
/freebsd/contrib/wpa/src/drivers/ |
H A D | nl80211_copy.h | 6 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net> 13 * Copyright 2015-2017 Intel Deutschland GmbH 14 * Copyright (C) 2018-2023 Intel Corporation 32 * be careful not to break things - i.e. don't move anything around or so 74 * - a setup station entry is added, not yet authorized, without any rate 76 * - when the TDLS setup is done, a single NL80211_CMD_SET_STATION is valid 79 * - %NL80211_TDLS_ENABLE_LINK is then used 80 * - after this, the only valid operation is to remove it by tearing down 92 * certain classes of action frames that cannot be handled in the kernel 95 * Frame registration is done on a per-interface basis and registrations [all …]
|
/freebsd/sys/amd64/vmm/ |
H A D | vmm.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 61 #include <machine/cpu.h> 106 int hostcpu; /* (o) vcpu's host cpu */ 109 void *cookie; /* (i) cpu-specific data */ 128 #define vcpu_lock_init(v) mtx_init(&((v)->mtx), "vcpu lock", 0, MTX_SPIN) 129 #define vcpu_lock_destroy(v) mtx_destroy(&((v)->mtx)) 130 #define vcpu_lock(v) mtx_lock_spin(&((v)->mtx)) 131 #define vcpu_unlock(v) mtx_unlock_spin(&((v)->mtx)) 132 #define vcpu_assert_locked(v) mtx_assert(&((v)->mtx), MA_OWNED) [all …]
|
/freebsd/sys/netinet/tcp_stacks/ |
H A D | rack.c | 1 /*- 2 * Copyright (c) 2016-2020 Netflix, Inc. 67 #include <machine/cpu.h> 162 * - Matt Mathis's Rate Halving which slowly drops 165 * - Yuchung Cheng's RACK TCP (for which its named) that 168 * - Reorder Detection of RFC4737 and the Tail-Loss probe draft 171 * cannot do SACK the state machine below will shuttle the 186 * TCP output is also over-written with a new version since it 191 static int32_t rack_tlp_limit = 2; /* No more than 2 TLPs w-out new data */ 194 static int32_t rack_reorder_fade = 60000000; /* 0 - never fade, def 60,000,000 [all …]
|
H A D | bbr.c | 1 /*- 2 * Copyright (c) 2016-2020 Netflix, Inc. 29 * BBR - Congestion Based Congestion Control 159 /* Should the following be dynamic too -- loss wise */ 193 * num-measures > min(0) and 227 /* thresholds for reduction on drain in sub-states/drain */ 265 * means in non-recovery/retransmission scenarios 266 * cwnd will never be reached by the flight-size. 271 static int32_t bbr_sack_not_required = 0; /* set to one to allow non-sack to use bbr */ 292 * - Yuchung Cheng's RACK TCP (for which its named) that [all …]
|
/freebsd/sys/net/ |
H A D | iflib.c | 1 /*- 2 * Copyright (c) 2014-2018, Matthew Macy <mmacy@mattmacy.io> 107 * - Prefetching in tx cleaning should perhaps be a tunable. The distance ahead 110 * - NFLX's m_free path is dominated by vm-based M_EXT manipulation which 112 * - small packet forwarding which is just returning a single mbuf to 119 * - private structures 120 * - iflib private utility functions 121 * - ifnet functions 122 * - vlan registry and other exported functions 123 * - iflib public core functions [all …]
|
/freebsd/sys/dev/iwm/ |
H A D | if_iwm.c | 20 /*- 21 * Based on BSD-licensed source modules in the Linux iwlwifi driver, 34 * Copyright(c) 2007 - 2013 Intel Corporation. All rights reserved. 55 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 60 * Copyright(c) 2005 - 2013 Intel Corporation. All rights reserved. 90 /*- 91 * Copyright (c) 2007-2010 Damien Bergamini <damien.bergamini@free.fr> 173 #define mtodoff(m, t, off) ((t)((m)->m_data + (off))) 223 #define IWM_RIDX_MAX (nitems(iwm_rates)-1) 412 dlen < sizeof(l->size) + l->size * sizeof(*l->cs)) in iwm_store_cscheme() [all …]
|
/freebsd/sys/kern/ |
H A D | kern_umtx.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 75 #include <machine/cpu.h> 90 #define UMTXQ_LOCKED_ASSERT(uc) mtx_assert(&(uc)->uc_lock, MA_OWNED) 96 mtx_assert(&uc->uc_lock, MA_OWNED); \ 97 KASSERT(uc->uc_busy != 0, ("umtx chain is not busy")); \ 104 * Don't propagate time-sharing priority, there is a security reason, 105 * a user can simply introduce PI-mutex, let thread A lock the mutex, 109 * if it is using 100%CPU, this is unfair to other processes. 112 #define UPRI(td) (((td)->td_user_pri >= PRI_MIN_TIMESHARE &&\ [all …]
|
/freebsd/contrib/unbound/doc/ |
H A D | Changelog | 2 - Fix for dnsoverquic and dnstap to use the correct dnstap 6 - Fix for dnstap with dnscrypt and dnstap without dnsoverquic. 9 - Fix to display warning if quic-port is set but dnsoverquic is not 11 - Fix dnsoverquic to extend the number of streams when one is closed. 14 - Fix to disable detection of quic configured ports when quic is 16 - Fix harden-unverified-glue for AAAA cache_fill_missing lookups. 17 - Fix contrib/aaaa-filter-iterator.patch for change in call 21 - Fix cookie_file test sporadic fails for time change during 23 - Fix add reallocarray to alloc stats unit test, and disable 24 override of strdup in unbound-host, and the result of config [all …]
|
/freebsd/sys/dev/e1000/ |
H A D | e1000_ich8lan.c | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 36 * 82562G-2 10/100 Network Connection 38 * 82562GT-2 10/100 Network Connection 40 * 82562V-2 10/100 Network Connection 41 * 82566DC-2 Gigabit Network Connection 43 * 82566DM-2 Gigabit Network Connection 50 * 82567LM-2 Gigabit Network Connection 51 * 82567LF-2 Gigabit Network Connection 52 * 82567V-2 Gigabit Network Connection [all …]
|
/freebsd/sys/dev/bxe/ |
H A D | ecore_hsi.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2007-2017 QLogic Corporation. All rights reserved. 145 /* Up to 16 bytes of NULL-terminated string */ 164 (if multiple found, priority order is: NC-SI, UMP, IPMI) */ 169 /* Use SPIO4 as an arbiter between: 0-NC_SI, 1-IPMI 170 (can only be used when an add-in board, not BMC, pulls-down SPIO4) */ 172 /* Use SPIO4 as an arbiter between: 0-UMP, 1-IPMI 173 (can only be used when an add-in board, not BMC, pulls-down SPIO4) */ 175 /* Use SPIO4 as an arbiter between: 0-NC-SI, 1-UMP [all …]
|
/freebsd/contrib/ntp/ |
H A D | ChangeLog | 1 --- 7 * [Bug 3913] Avoid duplicate IPv6 link-local manycast associations. 10 * [Bug 3910] Memory leak using openssl-3 <hart@ntp.org> 13 * [Bug 3903] lib/isc/win32/strerror.c NTstrerror() is not thread-safe. 15 * [Bug 3901] LIB_GETBUF isn't thread-safe. <hart@ntp.org> 18 * [Bug 3888] ntpd with multiple same-subnet IPs using manycastclient creates 25 * [Bug 3869] Remove long-gone "calldelay" & "crypto sign" from docs. 27 * [Bug 3868] Cannot restric [all...] |