| /freebsd/sys/contrib/device-tree/Bindings/net/dsa/ |
| H A D | qca8k.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schema [all...] |
| /freebsd/sys/contrib/dev/rtw89/ |
| H A D | regd.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 2 /* Copyright(c) 2019-2020 Realtek Corporation 310 struct rtw89_regulatory_info *regulatory = &rtwdev->regulatory; in rtw89_regd_find_reg_by_name() 311 const struct rtw89_regd_ctrl *regd_ctrl = ®ulatory->ctrl; in rtw89_regd_find_reg_by_name() 314 for (i = 0; i < regd_ctrl->nr; i++) { in rtw89_regd_find_reg_by_name() 315 if (!memcmp(regd_ctrl->map[i].alpha2, alpha2, 2)) in rtw89_regd_find_reg_by_name() 316 return ®d_ctrl->map[i]; in rtw89_regd_find_reg_by_name() 329 struct rtw89_regulatory_info *regulatory = &rtwdev->regulatory; in rtw89_regd_get_index() 330 const struct rtw89_regd_ctrl *regd_ctrl = ®ulatory->ctrl; in rtw89_regd_get_index() 337 return regd - regd_ctrl->map; in rtw89_regd_get_index() [all …]
|
| H A D | mac.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 2 /* Copyright(c) 2019-2020 Realtek Corporation 41 u32 val, enum rtw89_mac_mem_sel sel) in rtw89_mac_mem_write() argument 43 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def; in rtw89_mac_mem_write() 44 u32 addr = mac->mem_base_addrs[sel] + offset; in rtw89_mac_mem_write() 46 rtw89_write32(rtwdev, mac->filter_model_addr, addr); in rtw89_mac_mem_write() 47 rtw89_write32(rtwdev, mac->indir_access_addr, val); in rtw89_mac_mem_write() 51 enum rtw89_mac_mem_sel sel) in rtw89_mac_mem_read() argument 53 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def; in rtw89_mac_mem_read() 54 u32 addr = mac->mem_base_addrs[sel] + offset; in rtw89_mac_mem_read() [all …]
|
| /freebsd/sys/contrib/device-tree/src/arm64/rockchip/ |
| H A D | rk3399-gru.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 * Copyright 2016-2017 Google, Inc 8 #include <dt-bindings/input/input.h> 9 #include "rk3399-op1.dtsi" 18 stdout-path = "serial2:115200n8"; 22 * Power Tree 27 * - Rails that only connect to the EC (or devices that the EC talks to) 29 * - Rails _are_ included if the rails go to the AP even if the AP 30 * doesn't currently care about them / they are always on. The idea 38 * - The EC controls the enable and the EC always enables a rail as [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSelect.cpp | 1 //===- InstCombineSelect.cpp ----------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 53 /// Replace a select operand based on an equality comparison with the identity 55 static Instruction *foldSelectBinOpIdentity(SelectInst &Sel, in foldSelectBinOpIdentity() argument 62 if (!match(Sel.getCondition(), m_Cmp(Pred, m_Value(X), m_Constant(C)))) in foldSelectBinOpIdentity() 77 if (!match(Sel.getOperand(IsEq ? 1 : 2), m_BinOp(BO))) in foldSelectBinOpIdentity() 81 // If this a floating-point compare with 0.0, any zero constant will do. in foldSelectBinOpIdentity() 82 Type *Ty = BO->getType(); in foldSelectBinOpIdentity() [all …]
|
| H A D | InstCombineAndOrXor.cpp | 1 //===- InstCombineAndOrXor.cpp --------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 34 if (Constant *TorF = getPredForICmpCode(Code, Sign, LHS->getType(), NewPred)) in getNewICmpValue() 44 if (Constant *TorF = getPredForFCmpCode(Code, LHS->getType(), NewPred)) in getFCmpValue() 58 Type *Ty = V->getType(); in insertRangeTest() 60 // V >= Min && V < Hi --> V < Hi in insertRangeTest() 61 // V < Min || V >= Hi --> V >= Hi in insertRangeTest() 68 // V >= Lo && V < Hi --> V - Lo u< Hi - Lo in insertRangeTest() [all …]
|
| /freebsd/sys/contrib/device-tree/src/arm64/qcom/ |
| H A D | sc7280-qcard.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 * stuffed) on it. This device tree tries to encapsulate all the things that 14 #include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h> 15 #include <dt-bindings/iio/qcom,spmi-adc7-pmr735a.h> 16 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 17 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 21 /* PMICs depend on spmi_bus label and so must come after SoC */ 34 wcd9385: audio-codec-1 { 35 compatible = "qcom,wcd9385-codec"; 36 pinctrl-names = "default", "sleep"; [all …]
|
| /freebsd/sys/dev/usb/ |
| H A D | usb_request.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 6 * Copyright (c) 2008-2020 Hans Petter Selasky. All rights reserved. 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 109 .bus_index = -1, 110 .dev_index = -1, 111 .bmRequestType_value = -1, 112 .bRequest_value = -1, 132 /*------------------------------------------------------------------------* 136 *------------------------------------------------------------------------*/ [all …]
|
| /freebsd/sys/contrib/device-tree/src/arm/samsung/ |
| H A D | exynos4210-i9100.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Samsung's Exynos4210 based Galaxy S2 (GT-I9100 version) device tree 11 /dts-v1/; 13 #include "exynos4412-ppmu-common.dtsi" 15 #include <dt-bindings/gpio/gpio.h> 16 #include <dt-bindings/input/linux-even [all...] |
| /freebsd/contrib/wpa/wpa_supplicant/ |
| H A D | events.c | 2 * WPA Supplicant - Driver event processing 3 * Copyright (c) 2003-2019, Jouni Malinen <j@w1.fi> 72 if (ssid == NULL || ssid->disabled_until.sec == 0) in wpas_temp_disabled() 76 if (ssid->disabled_until.sec > now.sec) in wpas_temp_disabled() 77 return ssid->disabled_until.sec - now.sec; in wpas_temp_disabled() 87 * wpas_reenabled_network_time - Time until first network is re-enabled 90 * (in sec) until the first network is re-enabled. Otherwise returns 0. 94 * re-enabled. The function assumes that at least one network is enabled. 102 if (wpa_s->conf->auto_interworking && wpa_s->conf->interworking && in wpas_reenabled_network_time() 103 wpa_s->conf->cred) in wpas_reenabled_network_time() [all …]
|
| /freebsd/sys/contrib/alpine-hal/ |
| H A D | al_hal_nb_regs.h | 1 /*- 10 found at http://www.gnu.org/licenses/gpl-2.0.html 30 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 101 /* [0x6c] Read-only that reflects CPU Cluster Local GIC base high address */ 103 /* [0x70] Read-only that reflects CPU Cluster Local GIC base low address */ 105 /* [0x74] Read-only that reflects the device's IOGIC base high address. */ 107 /* [0x78] Read-only that reflects IOGIC base low address */ 310 /* [0x20] Specifies the state of the CPU with reference to power modes. */ 478 /* Disable L1 data cache and L2 snoop tag RAMs automatic invalidate on reset functionality */ 480 /* Value read in the Cluster ID Affinity Level-1 field, bits[15:8], of the Multiprocessor Affinity [all …]
|
| /freebsd/sys/net80211/ |
| H A D | ieee80211_hostap.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2007-2008 Sam Leffler, Errno Consulting 22 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 79 ic->ic_vattach[IEEE80211_M_HOSTAP] = hostap_vattach; in ieee80211_hostap_attach() 95 vap->iv_newstate = hostap_newstate; in hostap_vattach() 96 vap->iv_input = hostap_input; in hostap_vattach() 97 vap->iv_recv_mgmt = hostap_recv_mgmt; in hostap_vattach() 98 vap->iv_recv_ctl = hostap_recv_ctl; in hostap_vattach() 99 vap->iv_opdetach = hostap_vdetach; in hostap_vattach() [all …]
|
| /freebsd/sys/dev/ath/ath_hal/ar5416/ |
| H A D | ar5416reg.h | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting 5 * Copyright (c) 2002-2008 Atheros Communications, Inc. 34 #define AR_WA 0x4004 /* PCIE work-arounds */ 120 /* RTC_DERIVED_* - only for AR9130 */ 149 #define AR_TXOP_X 0x81ec /* txop for legacy non-qos */ 154 /* generic timers based on tsf - all uS */ 209 #define AR_GTTM_IGNORE_IDLE 0x00000002 // ignore channel idle 210 #define AR_GTTM_RESET_IDLE 0x00000004 // reset counter on channel idle low [all …]
|
| /freebsd/sys/dev/cas/ |
| H A D | if_casreg.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 * from: FreeBSD: if_gemreg.h 174987 2007-12-30 01:32:03Z marius 84 * Bits 0-9 of CAS_STATUS auto-clear when read. CAS_CLEAR_ALIAS specifies 85 * which of bits 0-9 auto-clear when reading CAS_STATUS_ALIAS. 116 #define CAS_BIM_CONF_BD64_DIS 0x00000004 /* 64-bit mode disable */ 118 #define CAS_BIM_CONF_BUS32_WIDE 0x00000010 /* PCI bus is 32-bit (ro). */ 150 #define CAS_BIM_RAM_BIST_START 0x00000001 /* Start BIST on read buffer. */ 158 #define CAS_PROBE_MUX_SELECT_EN 0xf0000000 /* enable probe on P_A[15:0] */ [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopStrengthReduce.cpp | 1 //===- LoopStrengthReduce.cpp - Strength Reduce IVs in Loops --------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 // on the target. 13 // This pass performs a strength reduction on array references inside loops that 15 // rewrites expressions to take advantage of scaled-index addressing modes 16 // available on the target, and it performs a variety of other optimizations 19 // Terminology note: this code has a lot of handling for "post-increment" or 20 // "post-inc" users. This is not talking about post-increment addressing modes; 31 // example, the icmp is a post-increment user, since it uses %i.next, which is [all …]
|
| H A D | SROA.cpp | 1 //===- SROA.cpp - Scalar Replacement Of Aggregates ------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 13 /// or bitfield-style integer scalar if appropriate. 20 /// serving the purpose of SSA formation. The algorithm iterates on the 23 //===----------------------------------------------------------------------===// 46 #include "llvm/Config/llvm-config.h" 120 static cl::opt<bool> SROASkipMem2Reg("sroa-skip-mem2reg", cl::init(false), 164 /// integer value, or it can involve speculating operations on a PHI or 167 /// onto insert and extract operations on a vector value, and convert them to [all …]
|
| /freebsd/sys/contrib/dev/ath/ath_hal/ar9300/ |
| H A D | ar9300reg.h | 32 /* MAC Control Register - only write values of 1 have effect */ 37 #define AR_CR_SWI 0x00000040 // One-shot software interrupt 47 #define AR_CFG_AP_ADHOC_INDICATION 0x00000020 // AP/adhoc indication (0-AP 1-Adhoc) 55 /* Rx DMA Data Buffer Pointer Threshold - High and Low Priority register */ 124 #define AR_RXCFG_ZLFDMA 0x00000010 // Enable DMA of zero-length frame 212 #define AR_GTTM_IGNORE_IDLE 0x00000002 // ignore channel idle 213 #define AR_GTTM_RESET_IDLE 0x00000004 // reset counter on channel idle low 238 #define AR_ISR_HP_RXOK 0x00000001 // At least one frame rx on high-priority queue sans errors 239 #define AR_ISR_LP_RXOK 0x00000002 // At least one frame rx on low-priority queue sans errors 249 #define AR_ISR_MIB 0x00001000 // MIB interrupt - see MIBC [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGObjC.cpp | 1 //===---- CGObjC.cpp - Emit LLVM Code for Objective-C ---------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // This contains code to emit Objective-C code as LLVM code. 11 //===----------------------------------------------------------------------===// 54 CGM.getObjCRuntime().GenerateConstantString(E->getString()).getPointer(); in EmitObjCStringLiteral() 58 /// EmitObjCBoxedExpr - This routine generates code to call 67 const ObjCMethodDecl *BoxingMethod = E->getBoxingMethod(); in EmitObjCBoxedExpr() 68 const Expr *SubExpr = E->getSubExpr(); in EmitObjCBoxedExpr() 70 if (E->isExpressibleAsConstantInitializer()) { in EmitObjCBoxedExpr() [all …]
|
| /freebsd/sbin/ifconfig/ |
| H A D | ifieee80211.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 /*- 54 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 110 #define IEEE80211_NODE_PWR_MGT 0x000010 /* power save mode enabled */ 118 #define IEEE80211_NODE_MIMO_PS 0x001000 /* MIMO power save enabled */ 131 /* XXX should also figure out where to put these for k/u-space sharing. */ 257 errx(-1, "missing or corrupted regdomain database"); in getregdata() 272 const struct ieee80211_channel *fc = &chaninfo->ic_chans[i]; in canpromote() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | LoopVectorize.cpp | 1 //===- LoopVectorize.cpp - A Loop Vectorizer ------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 // and generates target-independent LLVM-IR. 20 // 2. LoopVectorizationLegality - A unit that checks for the legality 22 // 3. InnerLoopVectorizer - A unit that performs the actual 24 // 4. LoopVectorizationCostModel - A unit that checks for the profitability 25 // of vectorization. It decides on the optimal vector width, which 28 // There is a development effort going on to migrate loop vectorizer to the 31 // http://lists.llvm.org/pipermail/llvm-dev/2017-December/119523.html). For this [all …]
|
| H A D | SLPVectorizer.cpp | 1 //===- SLPVectorizer.cpp - A bottom up SLP Vectorizer -------- 16796 if (auto *Sel = dyn_cast<SelectInst>(Op)) { createOp() local 16925 auto *Sel = cast<SelectInst>(I); hasSameParent() local 16937 if (auto *Sel = dyn_cast<SelectInst>(I)) hasRequiredNumberOfUses() local 16990 if (auto *Sel = dyn_cast<SelectInst>(Root)) matchAssociativeReduction() local [all...] |
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | IVDescriptors.cpp | 1 //===- llvm/Analysis/IVDescriptors.cpp - IndVar Descriptors -----*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 30 #define DEBUG_TYPE "iv-descriptors" 34 for (const Use &Use : I->operands()) in areAllUsesIn() 64 /// Determines if Phi may have been type-promoted. If Phi has a single user 71 if (!Phi->hasOneUse()) in lookThroughAnd() 75 Instruction *I, *J = cast<Instruction>(Phi->use_begin()->getUser()); in lookThroughAnd() 77 // Matches either I & 2^x-1 or 2^x-1 & I. If we find a match, we update RT in lookThroughAnd() [all …]
|
| H A D | InstructionSimplify.cpp | 1 //===- InstructionSimplify.cpp - Fold instruction operands ----------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 // ("add i32 1, 1" -> "2") but can also handle non-constant operands, either 12 // returning a constant ("and i32 %x, 0" -> "0") or an already existing value 13 // ("and i32 %x, %x" -> "%x"). All operands are assumed to have already been 17 //===----------------------------------------------------------------------===// 87 BinOpCode = BO->getOpcode(); in foldSelectWithBinaryOp() 103 // --> in foldSelectWithBinaryOp() 110 // --> in foldSelectWithBinaryOp() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 1 //===-- TargetLowering.cpp - Implement the TargetLowering class -----------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 58 if (F.getFnAttribute("disable-tail-calls").getValueAsBool()) in isInTailCallPosition() 62 // the return. Ignore following attributes because they don't affect the in isInTailCallPosition() 97 // for the function live-in value of register Reg) in parametersInCSRMatch() 99 if (Value->getOpcode() == ISD::AssertZext) in parametersInCSRMatch() 101 if (Value->getOpcode() != ISD::CopyFromReg) in parametersInCSRMatch() 103 Register ArgReg = cast<RegisterSDNode>(Value->getOperand(1))->getReg(); in parametersInCSRMatch() [all …]
|
| /freebsd/usr.sbin/bhyve/ |
| H A D | pci_nvme.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 31 * bhyve PCIe-NVMe device emulation. 34 * -s <n>,nvme,devpath,maxq=#,qsz=#,ioslots=#,sectsz=#,ser=A-Z,eui64=#,dsm=<opt> 45 * ser = serial number (20-chars max) 52 - create async event for smart and log 53 - intr coalesce 120 /* Convert a zero-based value into a one-based value */ 122 /* Convert a one-based value into a zero-based value */ [all …]
|