| /freebsd-src/contrib/llvm-project/llvm/lib/ProfileData/ |
| H A D | ProfileSummaryBuilder.cpp | 1 //=-- ProfilesummaryBuilder.cpp - Profile summary computation ---------------=// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 23 "profile-summary-contextless", cl::Hidden, 27 // considered hot/cold. These two parameters are percentile values (multiplied 31 // threshold for determining cold count (everything <= this threshold is 32 // considered cold). 34 "profile-summary-cutoff-hot", cl::Hidden, cl::init(990000), 39 "profile-summary-cutoff-cold", cl::Hidden, cl::init(999999), [all …]
|
| /freebsd-src/sys/contrib/device-tree/Bindings/power/supply/ |
| H A D | maxim,max17042.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 13 - $ref: power-supply.yaml# 18 - maxim,max17042 19 - maxim,max17047 20 - maxim,max17050 21 - maxim,max17055 22 - maxim,max77849-battery [all …]
|
| H A D | charger-manager.txt | 1 charger-manager bindings 5 - compatible : "charger-manager" 6 - <>-supply : for regulator consumer, named according to cm-regulator-name 7 - cm-chargers : name of chargers 8 - cm-fuel-gauge : name of battery fuel gauge 9 - subnode <regulator> : 10 - cm-regulator-name : name of charger regulator 11 - subnode <cable> : 12 - cm-cable-name : name of charger cable - one of USB, USB-HOST, 13 SDP, DCP, CDP, ACA, FAST-CHARGER, SLOW-CHARGER, WPT, [all …]
|
| H A D | max17042_battery.txt | 5 - compatible : one of the following 12 - maxim,rsns-microohm : Resistance of rsns resistor in micro Ohms 13 (datasheet-recommended value is 10000). 14 Defining this property enables current-sense functionality. 18 - maxim,cold-temp : Temperature threshold to report battery 19 as cold (in tenths of degree Celsius). 20 - maxim,over-heat-temp : Temperature threshold to report battery 22 - maxim,dead-volt : Voltage threshold to report battery 24 - maxim,over-volt : Voltage threshold to report battery 29 battery-charger@36 { [all …]
|
| H A D | charger-manager.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/charger-manager.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 18 const: charger-manager 20 cm-chargers: 22 $ref: /schemas/types.yaml#/definitions/string-array 24 cm-num-chargers: 28 cm-fuel-gauge: [all …]
|
| /freebsd-src/sys/contrib/device-tree/Bindings/iio/temperature/ |
| H A D | adi,ltc2983.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schema [all...] |
| /freebsd-src/sys/dev/usb/ |
| H A D | usb_hub.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 6 * Copyright (c) 2008-2022 Hans Petter Selasky 108 #define UHUB_PROTO(sc) ((sc)->sc_udev->ddesc.bDeviceProtocol) 198 usb_needs_explore(sc->sc_udev->bus, 0); in uhub_intr_callback() 206 if (xfer->error != USB_ERR_CANCELLED) { in uhub_intr_callback() 208 * Do a clear-stall. The "stall_pipe" flag in uhub_intr_callback() 220 /*------------------------------------------------------------------------* 224 *------------------------------------------------------------------------*/ 230 struct usb_device *udev = pm->udev; in uhub_reset_tt_proc() [all …]
|
| /freebsd-src/sys/dev/usb/controller/ |
| H A D | ohci.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 100 #define OBARR(sc) bus_space_barrier((sc)->sc_io_tag, (sc)->sc_io_hdl, 0, (sc)->sc_io_size, \ 103 do { OBARR(sc); bus_space_write_1((sc)->sc_io_tag, (sc)->sc_io_hdl, (r), (x)); } while (0) 105 do { OBARR(sc); bus_space_write_2((sc)->sc_io_tag, (sc)->sc_io_hdl, (r), (x)); } while (0) 107 do { OBARR(sc); bus_space_write_4((sc)->sc_io_tag, (sc)->sc_io_hdl, (r), (x)); } while (0) 108 #define OREAD1(sc, r) (OBARR(sc), bus_space_read_1((sc)->sc_io_tag, (sc)->sc_io_hdl, (r))) 109 #define OREAD2(sc, r) (OBARR(sc), bus_space_read_2((sc)->sc_io_tag, (sc)->sc_io_hdl, (r))) 110 #define OREAD4(sc, r) (OBARR(sc), bus_space_read_4((sc)->sc_io_tag, (sc)->sc_io_hdl, (r))) 142 usb_pc_cpu_invalidate(&sc->sc_hw.hcca_pc); in ohci_get_hcca() [all …]
|
| /freebsd-src/sys/dev/acpica/ |
| H A D | acpi_thermal.c | 1 /*- 56 #define TZ_KELVTOC(x) (((x) - TZ_ZEROC) / 10), abs(((x) - TZ_ZEROC) % 10) 70 #define TZ_NOTIFYCOUNT (TZ_VALIDCHECKS - 1) 93 #define TZ_ACTIVE_NONE -1 94 #define TZ_ACTIVE_UNKNOWN -2 96 int tz_thflags; /*Current temp-related flags*/ 183 static int acpi_tz_cooling_unit = -1; 192 result = -10; in acpi_tz_probe() 209 sc->tz_dev = dev; in acpi_tz_attach() 210 sc->tz_handle = acpi_get_handle(dev); in acpi_tz_attach() [all …]
|
| H A D | acpi.c | 1 /*- 264 acpi_ca_version, 0, "Version of Intel ACPI-CA"); 327 if (!cold) { in acpi_modevent() 333 if (!cold && power_pm_get_type() == POWER_PM_TYPE_ACPI) in acpi_modevent() 369 * Pre-allocate space for RSDT/XSDT and DSDT tables and allow resizing in acpi_Startup() 382 /* If the user manually set the disabled hint to 0, force-enable ACPI. */ in acpi_Startup() 406 if (!cold) in acpi_identify() 429 if (rsdp->Revision > 1 && rsdp->XsdtPhysicalAddress != 0) in acpi_identify() 430 paddr = (ACPI_PHYSICAL_ADDRESS)rsdp->XsdtPhysicalAddres in acpi_identify() 4438 char temp[128]; acpi_debug_sysctl() local [all...] |
| /freebsd-src/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | ModuleSummaryIndex.h | 1 //===- llvm/ModuleSummaryIndex.h - Module Summary Index -------- 61 Cold = 1, global() enumerator [all...] |
| /freebsd-src/sys/contrib/dev/athk/ath11k/ |
| H A D | qmi.c | 1 // SPDX-License-Identifier: BSD-3-Clause-Clear 3 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. 4 * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. 1733 req.mem_cfg_mode = ab->qmi.target_mem_mode; in ath11k_qmi_host_cap_send() 1738 if (ab->hw_params.m3_fw_support) { in ath11k_qmi_host_cap_send() 1751 req.cal_done = ab->qmi.cal_done; in ath11k_qmi_host_cap_send() 1753 if (ab->hw_params.internal_sleep_clock) { in ath11k_qmi_host_cap_send() 1756 /* Notify firmware that this is non-qualcomm platform. */ in ath11k_qmi_host_cap_send() 1761 * non-qualcomm platforms should select internal sleep in ath11k_qmi_host_cap_send() 1767 if (ab->hw_params.global_reset) in ath11k_qmi_host_cap_send() [all …]
|
| /freebsd-src/sys/contrib/openzfs/module/zstd/lib/decompress/ |
| H A D | zstd_decompress_block.c | 2 * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc. 5 * This source code is licensed under both the BSD-style license (found in the 8 * You may select, at your option, one of the above-listed licenses. 14 /*-******************************************************* 50 /*-************************************************************* 63 bpPtr->lastBlock = cBlockHeader & 1; in ZSTD_getcBlockSize() 64 bpPtr->blockType = (blockType_e)((cBlockHeader >> 1) & 3); in ZSTD_getcBlockSize() 65 bpPtr->origSize = cSize; /* only useful for RLE */ in ZSTD_getcBlockSize() 66 if (bpPtr->blockType == bt_rle) return 1; in ZSTD_getcBlockSize() 67 RETURN_ERROR_IF(bpPtr->blockType == bt_reserved, corruption_detected, ""); in ZSTD_getcBlockSize() [all …]
|
| /freebsd-src/contrib/ntp/ntpd/ |
| H A D | refclock_wwv.c | 2 * refclock_wwv - clock driver for NIST WWV/H time/frequency station 43 * kHz and mu-law companding. This is the same standard as used by the 53 * Report 97-8-1, University of Delaware, August 1997, 25 pp., available 61 * a nonzero ICOM ID select code. The C-IV trace is turned on if the 68 * port, where 0 is the mike port (default) and 1 is the line-in port. 74 * CEVNT_PROP propagation failure - no stations heard 82 #define PRECISION (-10) /* precision assumed (about 1 ms) */ 99 #define AUDIO_PHI 5e-6 /* dispersion growth factor */ 201 * Tone frequency definitions. The increments are for 4.5-deg sine 233 * The on-time synchronization point is the positive-going zero crossing [all …]
|
| /freebsd-src/sys/dev/firewire/ |
| H A D | sbp.c | 1 /*- 2 * SPDX-License-Identifier: BSD-4-Clause 5 * Copyright (c) 1998-2002 Katsushi Kobayashi and Hidetoshi Shimokawa 75 #define SBP_QUEUE_LEN ((SBP_DMA_SIZE - SBP_LOGIN_SIZE) / sizeof(struct sbp_ocb)) 81 *--- [all...] |
| /freebsd-src/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | MachineBasicBlock.cpp | 1 //===-- llvm/CodeGen/MachineBasicBlock.cpp -------- [all...] |
| /freebsd-src/contrib/llvm-project/llvm/lib/LTO/ |
| H A D | LTO.cpp | 1 //===-LTO.cpp - LLVM Link Time Optimizer -------- [all...] |
| /freebsd-src/sys/contrib/zstd/lib/decompress/ |
| H A D | zstd_decompress_block.c | 5 * This source code is licensed under both the BSD-style license (found in the 8 * You may select, at your option, one of the above-listed licenses. 14 /*-******************************************************* 50 /*-************************************************************* 63 bpPtr->lastBlock = cBlockHeader & 1; in ZSTD_getcBlockSize() 64 bpPtr->blockType = (blockType_e)((cBlockHeader >> 1) & 3); in ZSTD_getcBlockSize() 65 bpPtr->origSize = cSize; /* only useful for RLE */ in ZSTD_getcBlockSize() 66 if (bpPtr->blockType == bt_rle) return 1; in ZSTD_getcBlockSize() 67 RETURN_ERROR_IF(bpPtr->blockType == bt_reserved, corruption_detected, ""); in ZSTD_getcBlockSize() 79 dctx->litBuffer = (BYTE*)dst + ZSTD_BLOCKSIZE_MAX + WILDCOPY_OVERLENGTH; in ZSTD_allocateLiteralsBuffer() [all …]
|
| /freebsd-src/contrib/llvm-project/clang/lib/AST/ |
| H A D | Decl.cpp | 1 //===- Decl.cpp - Declaration AST Node Implementation -------- 399 FunctionTemplateDecl *temp = specInfo->getTemplate(); mergeTemplateLV() local 473 ClassTemplateDecl *temp = spec->getSpecializedTemplate(); mergeTemplateLV() local 530 VarTemplateDecl *temp = spec->getSpecializedTemplate(); mergeTemplateLV() local 864 } else if (const auto *temp = dyn_cast<TemplateDecl>(D)) { getLVForNamespaceScopeDecl() local 1005 const ClassTemplateDecl *temp = spec->getSpecializedTemplate(); getLVForClassMember() local 1035 } else if (const auto *temp = dyn_cast<TemplateDecl>(D)) { getLVForClassMember() local [all...] |
| /freebsd-src/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGCall.cpp | 1 //===--- CGCall.cpp - Encapsulate calling convention details ------ 2927 Address Temp; global() member 3162 Address temp = EmitFunctionProlog() local 4236 Address temp = emitWritebackArg() local [all...] |
| /freebsd-src/sys/contrib/dev/ath/ath_hal/ar9300/ |
| H A D | ar9300_reset.c | 121 ahp->ah_hwp = HAL_TRUE_CHIP; in ar9300_attach_hw_platform() 196 * Mask used to construct AAD for CCMP-AES in ar9300_init_mfp() 197 * Cisco spec defined bits 0-3 as mask in ar9300_init_mfp() 226 centers->ctl_center = centers->ext_center = in ar9300_get_channel_centers() 227 centers->synth_center = ichan->channel; in ar9300_get_channel_centers() 238 centers->synth_center = ichan->channel + HT40_CHANNEL_CENTER_SHIFT; in ar9300_get_channel_centers() 241 centers->synth_center = ichan->channel - HT40_CHANNEL_CENTER_SHIFT; in ar9300_get_channel_centers() 242 extoff = -1; in ar9300_get_channel_centers() 245 centers->ctl_center = in ar9300_get_channel_centers() 246 centers->synth_center - (extoff * HT40_CHANNEL_CENTER_SHIFT); in ar9300_get_channel_centers() [all …]
|
| /freebsd-src/share/misc/ |
| H A D | usb_vendors | 6 # http://www.linux-usb.org/usb-ids.html 7 # or send entries as patches (diff -u old new) in the 10 # http://www.linux-usb.org/usb.ids 13 # Date: 2024-12-04 20:34:02 20 # device device_name <-- single tab 21 # interface interface_name <-- tw [all...] |
| /freebsd-src/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | R600ISelLowering.cpp | 1 //===-- R600ISelLowering.cpp - R600 DAG Lowering Implementation ------- 810 SDValue Temp; LowerSELECT_CC() local [all...] |
| H A D | SIRegisterInfo.cpp | 1 //===-- SIRegisterInfo.cpp - SI Register Information ------- [all...] |
| /freebsd-src/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeReader.cpp | 1 //===- BitcodeReader.cpp - Internal BitcodeReader implementation -------- 4940 Instruction *Temp = nullptr; parseFunctionBody() local [all...] |