| /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/idle-states.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> 11 - Anup Patel <anup@brainfault.org> 15 1 - Introduction 18 ARM and RISC-V systems contain HW capable of managing power consumption 19 dynamically, where cores can be put in different low-power states (ranging 20 from simple wfi to power gating) according to OS PM policies. The CPU states [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-2025 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 15 #include "iwl-debug.h" 16 #include "iwl-config.h" 18 #include "iwl-op-mode.h" 22 #include "fw/api/dbg-tlv.h" 23 #include "iwl-dbg-tlv.h" 26 #include "iwl-modparams.h" [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 83 * need to wake up the hpts system to get immediate 86 * the current hpts timer run (this is usually set when 87 * a rack timer is up so we know SACK's are happening 92 * knows how to take the input queue of packets from tp->t_inqueue 175 #define microuptime pace->funcs->microuptime 176 #define swi_add pace->funcs->swi_add 177 #define swi_remove pace->funcs->swi_remove [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 157 if (error == 0 && req->newptr) { in sysctl_net_inet_tcp_mss_check() 179 if (error == 0 && req->newptr) { in sysctl_net_inet_tcp_mss_v6_check() 198 * bandwidth and quickly saturates the CPU and network interface 215 * stacks negotiate TS, but don't send them when sending keep-alive segments. 240 …"If the TCP stack does pacing, is there a limit (-1 = no, 0 = no pacing N = number of connections)… 242 static int tcp_dgp_limit = -1; 244 &tcp_dgp_limit, -1, 245 "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> 75 #include <machine/cpu.h> 131 switch (a->op) { in x86_msr_op_one() 133 v = rdmsr(a->msr); in x86_msr_op_one() 134 v &= ~a->arg1; in x86_msr_op_one() 135 wrmsr(a->msr, v); in x86_msr_op_one() 138 v = rdmsr(a->msr); in x86_msr_op_one() 139 v |= a->arg1; in x86_msr_op_one() 140 wrmsr(a->msr, v); in x86_msr_op_one() [all …]
|
| /freebsd/sys/contrib/dev/acpica/ |
| H A D | changes.txt | 1 ---------------------------------------- 6 Added option to skip the global lock for SMM - Huacai Chen 8 Fixed non-NUL terminated string implementations - Ahmed Salem 10 Fixed CCEL and CDAT templates - Ahmed Salem 12 …ethod parameters (definition) vs arguments (invocation) in different places - Peter Williams, Hans… 14 Define distinct D3 states (D3Hot and D3Cold) that help clarify the device behavior support - Aymeri… 19 ---------------------------------------- 26 Add complete support for 3 new ACPI tables - MRRM,ERDT and RIMT (Tony Luck & V L Sunil) 32 A few fixes including local cache allocation, FFixedHW Region, attribute packing, string vs. non-st… 35 ---------------------------------------- [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-bindings/pinctrl/rockchip.h> 7 #include <dt-bindings/clock/rk3288-cru.h> 8 #include <dt-bindings/power/rk3288-power.h> 9 #include <dt-bindings/thermal/thermal.h> 10 #include <dt-bindings/soc/rockchip,boot-mode.h> 13 #address-cells = <2>; [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 | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC. 7 * UCRL-CODE-235197 31 #include <sys/timer.h> 105 #define TQSTAT_INC(tq, stat) wmsum_add(&tq->tq_sums.tqs_##stat, 1) 106 #define TQSTAT_DEC(tq, stat) wmsum_add(&tq->tq_sums.tqs_##stat, -1) 109 switch (t->tqent_flags & TQENT_LIST_MASK) { \ 110 case TQENT_LIST_NONE: ASSERT(list_empty(&t->tqent_list)); break;\ 120 t->tqent_flags = (t->tqent_flags & ~TQENT_LIST_MASK) | l; 124 MODULE_PARM_DESC(spl_taskq_thread_bind, "Bind taskq thread to CPU by default"); [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/crypto/krb5/src/util/verto/ |
| H A D | ev.c | 7 * Redistribution and use in source and binary forms, with or without modifica- 18 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MER- 20 * EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPE- 24 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTH- 222 /* this block tries to deduce configuration from header-defined symbols and defaults */ 416 /* hp-ux has it in sys/time.h, which we unconditionally include above */ 466 char pad[128 - sizeof (uint32_t)]; 488 #define EV_TV_SET(tv,t) do { tv.tv_sec = (long)t; tv.tv_usec = (long)((t - tv.tv_sec) * 1e6); } whi… 489 #define EV_TS_SET(ts,t) do { ts.tv_sec = (long)t; ts.tv_nsec = (long)((t - ts.tv_sec) * 1e9); } whi… 491 /* the following is ecb.h embedded into libev - use update_ev_c to update from an external copy */ [all …]
|
| /freebsd/sys/contrib/dev/iwlwifi/pcie/gen1_2/ |
| H A D | trans.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright (C) 2007-2015, 2018-2024 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 22 #include "iwl-drv.h" 23 #include "iwl-trans.h" 24 #include "iwl-csr.h" 25 #include "iwl-prph.h" 26 #include "iwl-scd.h" 27 #include "iwl-agn-hw.h" [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/netinet/tcp_stacks/ |
| H A D | rack.c | 1 /*- 2 * Copyright (c) 2016-2020 Netflix, Inc. 66 #include <machine/cpu.h> 159 * - Matt Mathis's Rate Halving which slowly drops 162 * - Yuchung Cheng's RACK TCP (for which its named) that 165 * - Reorder Detection of RFC4737 and the Tail-Loss probe draft 168 * cannot do SACK the state machine below will shuttle the 183 * TCP output is also over-written with a new version since it 188 static int32_t rack_tlp_limit = 2; /* No more than 2 TLPs w-out new data */ 191 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 157 /* Should the following be dynamic too -- loss wise */ 191 * num-measures > min(0) and 225 /* thresholds for reduction on drain in sub-states/drain */ 263 * means in non-recovery/retransmission scenarios 264 * cwnd will never be reached by the flight-size. 269 static int32_t bbr_sack_not_required = 0; /* set to one to allow non-sack to use bbr */ 290 * - Yuchung Cheng's RACK TCP (for which its named) that [all …]
|
| /freebsd/sys/amd64/vmm/ |
| H A D | vmm.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 59 #include <machine/cpu.h> 105 int hostcpu; /* (o) vcpu's host cpu */ 108 void *cookie; /* (i) cpu-specific data */ 127 #define vcpu_lock_init(v) mtx_init(&((v)->mtx), "vcpu lock", 0, MTX_SPIN) 128 #define vcpu_lock_destroy(v) mtx_destroy(&((v)->mtx)) 129 #define vcpu_lock(v) mtx_lock_spin(&((v)->mtx)) 130 #define vcpu_unlock(v) mtx_unlock_spin(&((v)->mtx)) 131 #define vcpu_assert_locked(v) mtx_assert(&((v)->mtx), MA_OWNED) [all …]
|
| /freebsd/sys/net/ |
| H A D | iflib.c | 1 /*- 2 * Copyright (c) 2014-2018, Matthew Macy <mmacy@mattmacy.io> 108 * - Prefetching in tx cleaning should perhaps be a tunable. The distance ahead 111 * - NFLX's m_free path is dominated by vm-based M_EXT manipulation which 113 * - small packet forwarding which is just returning a single mbuf to 120 * - private structures 121 * - iflib private utility functions 122 * - ifnet functions 123 * - vlan registry and other exported functions 124 * - 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))) 230 #define IWM_RIDX_MAX (nitems(iwm_rates)-1) 440 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 - Too many quotes for the EDE message debug printout. 5 - Small debug output improvement when attaching an EDE. 8 - Fix to print warning for when so-sndbuf setsockopt is not granted. 11 - version set to 1.24.0 for release. 12 - tag for 1.24.0rc1. 13 - Update contrib/aaaa-filter-iterator.patch so it applies on 1.24.0. 16 - Fix #1332: CNAME chains are sometimes not followed when RPZs add a 20 - Update documentation for using "SET ... EX" in Redis. 21 - Document max buffer sizes for Redis commands. 22 - Update man pages. [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 …]
|