| /freebsd/contrib/llvm-project/llvm/lib/ProfileData/ |
| H A D | ProfileSummaryBuilder.cpp | 1 //=-- ProfilesummaryBuilder.cpp - Profile summary computation ------- 145 APInt Temp(128, TotalCount); computeDetailedSummary() local [all...] |
| /freebsd/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,max77705-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/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-schemas/core.yaml# 7 title: Analog Devices LTC2983, LTC2986, LTM2985 Multi-sensor Temperature system 10 - Nuno Sá <nuno.sa@analog.com> 13 Analog Devices LTC2983, LTC2984, LTC2986, LTM2985 Multi-Sensor Digital 16 https://www.analog.com/media/en/technical-documentation/data-sheets/2983fc.pdf 17 https://www.analog.com/media/en/technical-documentation/data-sheets/2984fb.pdf 18 https://www.analog.com/media/en/technical-documentation/data-sheets/29861fa.pdf 19 https://www.analog.com/media/en/technical-documentation/data-sheets/ltm2985.pdf [all …]
|
| /freebsd/sys/contrib/device-tree/src/arm64/qcom/ |
| H A D | msm8916-motorola-surnia.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-motorola-common.dtsi" 10 chassis-type = "handset"; 20 interrupts-extended = <&tlmm 12 IRQ_TYPE_EDGE_FALLING>; 22 pinctrl-0 = <&battery_alert_default>; 23 pinctrl-names = "default"; 25 maxim,rsns-microohm = <10000>; 26 maxim,over-heat-temp = <600>; 27 maxim,cold-temp = <(-200)>; [all …]
|
| H A D | msm8916-motorola-osprey.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-motorola-common.dtsi" 10 chassis-type = "handset"; 12 reg_touch_vdda: regulator-touch-vdda { 13 compatible = "regulator-fixed"; 14 regulator-name = "touch_vdda"; 16 enable-active-high; 17 pinctrl-0 = <&touch_vdda_default>; 18 pinctrl-names = "default"; [all …]
|
| H A D | msm8916-motorola-harpia.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-motorola-common.dtsi" 10 chassis-type = "handset"; 20 interrupts-extended = <&tlmm 62 IRQ_TYPE_EDGE_FALLING>; 22 pinctrl-0 = <&battery_alert_default>; 23 pinctrl-names = "default"; 25 maxim,rsns-microohm = <10000>; 26 maxim,over-heat-temp = <600>; 27 maxim,cold-temp = <(-200)>; [all …]
|
| /freebsd/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/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/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 /*- 283 acpi_ca_version, 0, "Version of Intel ACPI-CA"); 346 if (!cold) { in acpi_modevent() 352 if (!cold && power_pm_get_type() == POWER_PM_TYPE_ACPI) in acpi_modevent() 388 * Pre-allocate space for RSDT/XSDT and DSDT tables and allow resizing in acpi_Startup() 401 /* If the user manually set the disabled hint to 0, force-enable ACPI. */ in acpi_Startup() 425 if (!cold) in acpi_identify() 448 if (rsdp->Revision > 1 && rsdp->XsdtPhysicalAddress != 0) in acpi_identify() 449 paddr = (ACPI_PHYSICAL_ADDRESS)rsdp->XsdtPhysicalAddress; in acpi_identify() 451 paddr = (ACPI_PHYSICAL_ADDRESS)rsdp->RsdtPhysicalAddress; in acpi_identify() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | ModuleSummaryIndex.h | 1 //===- llvm/ModuleSummaryIndex.h - Module Summary Index ---------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 13 //===----------------------------------------------------------------------===// 62 Cold = 1, enumerator 68 // The size of the bit-field might need to be adjusted if more values are 76 /// a scaled number with a scale of \p -ScaleShift. 80 static constexpr uint64_t MaxRelBlockFreq = (1 << RelBlockFreqBits) - 1; 103 /// scale of -ScaleShift. 108 Scaled64 Temp(BlockFreq, ScaleShift); in updateRelBlockFreq() [all …]
|
| /freebsd/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/sys/contrib/openzfs/module/zstd/lib/decompress/ |
| H A D | zstd_decompress_block.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only 3 * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc. 6 * This source code is licensed under both the BSD-style license (found in the 9 * You may select, at your option, one of the above-listed licenses. 15 /*-******************************************************* 51 /*-************************************************************* 64 bpPtr->lastBlock = cBlockHeader & 1; in ZSTD_getcBlockSize() 65 bpPtr->blockType = (blockType_e)((cBlockHeader >> 1) & 3); in ZSTD_getcBlockSize() 66 bpPtr->origSize = cSize; /* only useful for RLE */ in ZSTD_getcBlockSize() 67 if (bpPtr->blockType == bt_rle) return 1; in ZSTD_getcBlockSize() [all …]
|
| /freebsd/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-de 638 int temp; wwv_start() local 2222 int temp; wwv_tsec() local 2316 int temp; carry() local [all...] |
| /freebsd/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 *----------------------- 82 * 0- 1( 2): 0 (alignment) 83 * 2- 7( 6): target 84 * 8-15( 8): lun 85 * 16-31( 8): reserved 86 * 32-47(16): SBP_BIND_HI [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | MachineBasicBlock.cpp | 1 //===-- llvm/CodeGen/MachineBasicBlock.cpp ----------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 30 #include "llvm/Config/llvm-config.h" 46 "print-slotindexes", 52 : BB(B), Number(-1), xParent(&MF) { in MachineBasicBlock() 55 IrrLoopHeaderWeight = B->getIrrLoopHeaderWeight(); in MachineBasicBlock() 64 MCContext &Ctx = MF->getContext(); in getSymbol() 66 // We emit a non-temporary symbol -- with a descriptive name -- if it begins in getSymbol() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/LTO/ |
| H A D | LTO.cpp | 1 //===-LTO.cpp - LLVM Link Time Optimizer ----------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 25 #include "llvm/Config/llvm-config.h" 72 DumpThinCGSCCs("dump-thin-cg-sccs", cl::init(false), cl::Hidden, 78 "enable-lto-internalization", cl::init(true), cl::Hidden, 81 /// Indicate we are linking with an allocator that supports hot/cold operator 132 // command-line flags (which is unsupported in production), but may set in computeLTOCacheKey() 144 AddUnsigned(-1); in computeLTOCacheKey() [all …]
|
| /freebsd/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/contrib/llvm-project/clang/lib/AST/ |
| H A D | Decl.cpp | 1 //===- Decl.cpp - Declaration AST Node Implementation ---------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 78 return D->getASTContext().getPrimaryMergedDecl(D); in getPrimaryMergedDecl() 82 SourceLocation Loc = this->Loc; in print() 83 if (!Loc.isValid() && TheDecl) Loc = TheDecl->getLocation(); in print() 92 ND->getNameForDiagnostic(OS, Context.getPrintingPolicy(), true); in print() 101 return !getLexicalDeclContext()->Equals(getDeclContext()); in isOutOfLine() 108 //===----------------------------------------------------------------------===// [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGCall.cpp | 1 //===--- CGCall.cpp - Encapsulate calling convention details --------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 77 // clang-format off in ClangCallConvToLLVMCallConv() 79 // clang-format on in ClangCallConvToLLVMCallConv() 91 RecTy = Context.getTagDeclType(RD)->getCanonicalTypeInternal(); in DeriveThisType() 96 RecTy = Context.getAddrSpaceQualType(RecTy, MD->getMethodQualifiers().getAddressSpace()); in DeriveThisType() 102 return MD->getType()->getCanonicalTypeUnqualified() in GetFormalType() 106 /// Returns the "extra-canonicalized" return type, which discards [all …]
|
| /freebsd/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/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: 2025-09-15 20:34:02 20 # device device_name <-- single tab 21 # interface interface_name <-- two tabs 38 5301 GW-US54ZGL 802.11bg 54 145f NW-3100 802.11b/g 54Mbps Wireless Network Adapter [zd1211] 64 0200 TP-Link 86 120e ASI120MC-S Planetary Camera [all …]
|