/freebsd/sys/contrib/device-tree/Bindings/pci/ |
H A D | intel-gw-pcie.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/intel-gw-pcie.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rahul Tanwar <rtanwar@maxlinear.com> 16 const: intel,lgm-pcie 18 - compatible 21 - $ref: /schemas/pci/snps,dw-pcie.yaml# 26 - const: intel,lgm-pcie 27 - const: snps,dw-pcie [all …]
|
/freebsd/lib/libc/stdio/ |
H A D | open_wmemstream.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 31 #include <assert.h> 41 #include "un-namespace.h" 55 wmemstream_grow(struct wmemstream *ms, fpos_t newoff) in wmemstream_grow() argument 61 newsize = SSIZE_MAX / sizeof(wchar_t) - 1; in wmemstream_grow() 64 if (newsize > ms->len) { in wmemstream_grow() 65 buf = reallocarray(*ms->bufp, newsize + 1, sizeof(wchar_t)); in wmemstream_grow() 69 ms, ms->len, newsize); in wmemstream_grow() 71 wmemset(buf + ms->len + 1, 0, newsize - ms->len); in wmemstream_grow() [all …]
|
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/ |
H A D | zstd_compress.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. 11 /*-************************************* 34 /*-************************************* 39 * full-block strategy. 49 /*-************************************* 71 assert(cctx != NULL); in ZSTD_initCCtx() 73 cctx->customMem = memManager; in ZSTD_initCCtx() 74 cctx->bmi2 = ZSTD_cpuid_bmi2(ZSTD_cpuid()); in ZSTD_initCCtx() [all …]
|
H A D | zstd_compress_internal.h | 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. 18 /*-************************************* 32 /*-************************************* 42 … benefit is that ZSTD_DUBT_UNSORTED_MARK cannot be mishandled after table re-use with a different … 46 /*-************************************* 101 /* All tables are allocated inside cctx->workspace by ZSTD_resetCCtx_internal() */ 117 …ZSTD_OptPrice_e priceType; /* prices can be determined dynamically, or follow a pre-defined cost… 118 const ZSTD_entropyCTables_t* symbolCosts; /* pre-calculated dictionary statistics */ [all …]
|
/freebsd/sys/contrib/zstd/lib/compress/ |
H A D | zstd_compress.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. 11 /*-************************************* 46 * Maximum size of the hash table dedicated to find 3-bytes matches, 57 /*-************************************* 62 * full-block strategy. 72 /*-************************************* 87 … * row-based matchfinder. Unless the cdict is reloaded, we will use 99 assert(cctx != NULL); in ZSTD_initCCtx() 101 cctx->customMem = memManager; in ZSTD_initCCtx() [all …]
|
H A D | zstd_compress_internal.h | 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. 18 /*-************************************* 31 /*-************************************* 41 … benefit is that ZSTD_DUBT_UNSORTED_MARK cannot be mishandled after table re-use with a different … 45 /*-************************************* 88 * Stores Literals Block Type for a super-block in hType, and 99 * Stores symbol compression modes for a super-block in {ll, ol, ml}Type, and 164 /* All tables are allocated inside cctx->workspace by ZSTD_resetCCtx_internal() */ 180 …ZSTD_OptPrice_e priceType; /* prices can be determined dynamically, or follow a pre-defined cost… [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/rtc/ |
H A D | ingenic,rtc.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: Ingenic SoCs Real-Time Clock 10 - Paul Cercueil <paul@crapouillou.net> 13 - $ref: rtc.yaml# 14 - if: 20 - ingenic,jz4770-rtc 21 - ingenic,jz4780-rtc 24 "#clock-cells": false [all …]
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | DAGISelMatcherOpt.cpp | 1 //===- DAGISelMatcherOpt.cpp - Optimize a DAG Matcher ---------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 21 #define DEBUG_TYPE "isel-opt" 23 /// ContractNodes - Turn multiple matcher node patterns like 'MoveChild+Record' 34 for (unsigned i = 0, e = Scope->getNumChildren(); i != e; ++i) { in ContractNodes() 35 std::unique_ptr<Matcher> Child(Scope->takeChild(i)); in ContractNodes() 37 Scope->resetChild(i, Child.release()); in ContractNodes() 46 if (RecordMatcher *RM = dyn_cast<RecordMatcher>(MC->getNext())) in ContractNodes() [all …]
|
/freebsd/sys/arm/qualcomm/ |
H A D | ipq4018_usb_hs_phy.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 50 {"qcom,usb-hs-ipq4019-phy", 1}, 77 * For power-off - assert por, sleep for 10ms, assert srif, in ipq4018_usb_hs_phynode_phy_enable() 78 * sleep for 10ms in ipq4018_usb_hs_phynode_phy_enable() 80 rv = hwreset_assert(sc->por_rst); in ipq4018_usb_hs_phynode_phy_enable() 84 rv = hwreset_assert(sc->srif_rst); in ipq4018_usb_hs_phynode_phy_enable() 90 * For power-on - power off first, then deassert srif, then in ipq4018_usb_hs_phynode_phy_enable() 91 * sleep for 10ms, then deassert por. in ipq4018_usb_hs_phynode_phy_enable() 94 rv = hwreset_deassert(sc->srif_rst); in ipq4018_usb_hs_phynode_phy_enable() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/sound/ |
H A D | ti,tas5086.txt | 1 Texas Instruments TAS5086 6-channel PWM Processor 5 - compatible: Should contain "ti,tas5086". 6 - reg: The i2c address. Should contain <0x1b>. 10 - reset-gpio: A GPIO spec to define which pin is connected to the 11 chip's !RESET pin. If specified, the driver will 12 assert a hardware reset at probe time. 14 - ti,charge-period: This property should contain the time in microseconds 15 that closely matches the external single-ended 16 split-capacitor charge period. The hardware chip 20 When not specified, the hardware default of 1300ms [all …]
|
/freebsd/sys/dev/etherswitch/ar40xx/ |
H A D | ar40xx_hw.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 81 * Reset the ESS switch. This also resets the ESS ethernet 91 ret = hwreset_assert(sc->sc_ess_rst); in ar40xx_hw_ess_reset() 93 device_printf(sc->sc_dev, "ERROR: failed to assert reset\n"); in ar40xx_hw_ess_reset() 98 ret = hwreset_deassert(sc->sc_ess_rst); in ar40xx_hw_ess_reset() 100 device_printf(sc->sc_dev, in ar40xx_hw_ess_reset() 101 "ERROR: failed to deassert reset\n"); in ar40xx_hw_ess_reset() 160 sc->sc_vlan.vlan = 1; in ar40xx_hw_vlan_init() 163 sc->sc_vlan.vlan_id[AR40XX_LAN_VLAN] = AR40XX_LAN_VLAN in ar40xx_hw_vlan_init() [all …]
|
/freebsd/sys/arm/allwinner/ |
H A D | aw_cir.c | 1 /*- 49 #define READ(_sc, _r) bus_read_4((_sc)->res[0], (_r)) 50 #define WRITE(_sc, _r, _v) bus_write_4((_sc)->res[0], (_r), (_v)) 83 #define AW_IR_RXSTA_COUNTER(val) (((val) >> 8) & (sc->fifo_size * 2 - 1)) 96 /* Idle Threshold = (2 + 1) * 128 * 42.7 = ~16.4ms > 9ms */ 99 /* Bit 15 - value (pulse/space) */ 101 /* Bits 0:14 - sample duration */ 114 /* 80 * 42.7 = ~3.4ms, Lead1(4.5ms) > AW_IR_L1_MIN */ 116 /* 40 * 42.7 = ~1.7ms, Lead0(4.5ms) Lead0R(2.25ms) > AW_IR_L0_MIN */ 127 #define AW_IR_ACTIVE_T (((AW_IR_ACTIVE_T_VAL - 1) & 0xff) << 16) [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/ |
H A D | DWARFStreamer.cpp |
|
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Classic/ |
H A D | DWARFStreamer.cpp | 1 //===- DwarfStreamer.cpp --------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 38 if (Error Err = Streamer->init(TheTriple, "__DWARF")) in createStreamer() 58 MRI.reset(TheTarget->createMCRegInfo(TripleName)); in init() 67 MAI.reset(TheTarget->createMCAsmInfo(*MRI, TripleName, MCOptions)); in init() 72 MSTI.reset(TheTarget->createMCSubtargetInfo(TripleName, "", "")); in init() 78 MC.reset(new MCContext(TheTriple, MAI.get(), MRI.get(), MSTI.get(), nullptr, in init() 80 MOFI.reset(TheTarget->createMCObjectFileInfo(*MC, /*PIC=*/false, false)); in init() 81 MC->setObjectFileInfo(MOFI.get()); in init() [all …]
|
/freebsd/tests/sys/kern/ |
H A D | prace.c | 1 /*- 4 * SPDX-License-Identifier: BSD-2-Clause 9 * handler and repeatedly calls either ppoll() or pselect() with a 1 ms 28 #include <atf-c.h> 57 /* sleep for 1 ms with signals unblocked */ in child() 71 * the default action and re-raise SIGINT. in child() 77 /* reset for next attempt */ in child() 106 for (useconds_t timeout = 1100; timeout > 900; timeout--) { in prace() 121 /* assert that the child died of SIGKILL */ in prace()
|
/freebsd/contrib/llvm-project/clang/lib/Lex/ |
H A D | PPLexerChange.cpp | 1 //===--- PPLexerChange.cpp - Handle changing lexers in the preprocessor ---===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 29 //===----------------------------------------------------------------------===// 31 //===----------------------------------------------------------------------===// 33 /// isInPrimaryFile - Return true if we're in the top-level file, not in a 40 assert(IsFileLexer(IncludeMacroStack[0]) && in isInPrimaryFile() 44 [&](const IncludeStackInfo &ISI) -> bool { return IsFileLexer(ISI); }); in isInPrimaryFile() 47 /// getCurrentLexer - Return the current file lexer being lexed from. Note [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Lex/ |
H A D | Token.h | 1 //===--- Token.h - Token interface ------------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 27 /// Token - This structure provides full information about a lexed token. 45 /// UintData - This holds either the length of the token text, when 50 /// PtrData - This is a union of four different pointer types, which depends 59 /// This is a pointer to sema-specific data for the annotation token. 66 /// Kind - The actual flavor of token this is. 69 /// Flags - Bits we track about this token, members of the TokenFlags enum. [all …]
|
/freebsd/sys/dev/smartpqi/ |
H A D | smartpqi_init.c | 1 /*- 2 * Copyright 2016-2023 Microchip Technology, Inc. and/or its subsidiaries. 83 softs->pqi_dev_cap.max_iqs = capability->max_iqs; in pqisrc_report_pqi_capability() 84 softs->pqi_dev_cap.max_iq_elements = capability->max_iq_elements; in pqisrc_report_pqi_capability() 85 softs->pqi_dev_cap.max_iq_elem_len = capability->max_iq_elem_len; in pqisrc_report_pqi_capability() 86 softs->pqi_dev_cap.min_iq_elem_len = capability->min_iq_elem_len; in pqisrc_report_pqi_capability() 87 softs->pqi_dev_cap.max_oqs = capability->max_oqs; in pqisrc_report_pqi_capability() 88 softs->pqi_dev_cap.max_oq_elements = capability->max_oq_elements; in pqisrc_report_pqi_capability() 89 softs->pqi_dev_cap.max_oq_elem_len = capability->max_oq_elem_len; in pqisrc_report_pqi_capability() 90 softs->pqi_dev_cap.intr_coales_time_granularity = capability->intr_coales_time_granularity; in pqisrc_report_pqi_capability() [all …]
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | spa_log_spacemap.c | 9 * or https://opensource.org/licenses/CDDL-1.0. 39 * whose workloads are primarily random-writes. Random-write workloads are also 40 * typically random-free, meaning that they are freeing from locations scattered 43 * changes in memory and log them altogether in one pool-wide space map on-disk 55 * - The pool has a new feature flag and a new entry in the MOS. The feature 58 * to DMU_POOL_LOG_SPACEMAP_ZAP] is populated with a ZAP whose key-value 60 * This entry is our on-disk reference of the log space maps that exist in 66 * - Each vdev has a new entry in its vdev_top_zap (see field 68 * each metaslab in this vdev. This field is the on-disk counterpart of the 69 * in-memory field ms_unflushed_txg which tells us from which TXG and onwards [all …]
|
H A D | metaslab.c | 9 * or https://opensource.org/licenses/CDDL-1.0. 50 * moving on to the next top-level vdev. 82 * The in-core space map representation is more compact than its on-disk form. 83 * The zfs_condense_pct determines how much more compact the in-core 84 * space map representation must be before we compact it on-disk. 171 * in a space map to continue allocations in a first-fit fashion. 173 * switch to using best-fit allocations. 181 * high-performance storage. 213 * unloaded sooner. These settings are intended to be generous -- to keep 250 * Enable/disable segment-based metaslab selection. [all …]
|
/freebsd/sys/riscv/sifive/ |
H A D | fu740_pci_dw.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 101 #define FUDW_MGMT_READ(_sc, _o) bus_read_4((_sc)->mgmt_res, (_o)) 102 #define FUDW_MGMT_WRITE(_sc, _o, _v) bus_write_4((_sc)->mgmt_res, (_o), (_v)) 105 { "sifive,fu740-pcie", 1 }, 125 } while (--timeout > 0); in fupci_phy_read() 128 device_printf(sc->dev, "Timeout waiting for read ACK\n"); in fupci_phy_read() 141 } while (--timeout > 0); in fupci_phy_read() 144 device_printf(sc->dev, "Timeout waiting for read un-ACK\n"); in fupci_phy_read() 167 } while (--timeout > 0); in fupci_phy_write() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/rockchip/ |
H A D | rk3399-gru-scarlet.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Google Gru-scarlet board device tree source 8 #include "rk3399-gru.dtsi" 11 chassis-type = "tablet"; 16 pp1250_s3: pp1250-s3 { 17 compatible = "regulator-fixed"; 18 regulator-name = "pp1250_s3"; 21 regulator-always-on; 22 regulator-boot-on; 23 regulator-min-microvolt = <1250000>; [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/freescale/ |
H A D | imx8mn-var-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 * Copyright 2019-2020 Variscite Ltd. 11 model = "Variscite VAR-SOM-MX8MN module"; 12 compatible = "variscite,var-som-mx8mn", "fsl,imx8mn"; 15 stdout-path = &uart4; 23 reg_eth_phy: regulator-et [all...] |
/freebsd/sys/dev/pccbb/ |
H A D | pccbb.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2000-2001 Jonathan Chen All rights reserved. 5 * Copyright (c) 2002-2004 M. Warner Losh <imp@FreeBSD.org> 30 /*- 65 * http://www-s.ti.com/cgi-bin/sc/generic2.cgi?family=PCI+CARDBUS+CONTROLLERS 137 "Starting ioport for 16-bit cards"); 142 "Starting ioport for 32-bit cards"); 178 SLIST_FOREACH(rle, &sc->rl, link) { in cbb_remove_res() 179 if (rle->res == res) { in cbb_remove_res() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
H A D | HLSL.cpp | 1 //===--- HLSL.cpp - HLSL ToolChain Implementations --------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 70 // [ps|vs|gs|hs|ds|cs|ms|as]_[major]_[minor] in tryParseProfile() 85 .Case("ms", Triple::EnvironmentType::Mesh) in tryParseProfile() 104 // E.g., dxilv1.Y-unknown-shadermodelX.Y-hull in tryParseProfile() 184 assert(DxvPath != "dxv" && "cannot find dxv"); in ConstructJob() 187 assert(Inputs.size() == 1 && "Unable to handle multiple inputs."); in ConstructJob() 189 assert(Input.isFilename() && "Unexpected verify input"); in ConstructJob() 193 CmdArgs.push_back("-o"); in ConstructJob() [all …]
|