/freebsd/sys/contrib/device-tree/Bindings/nvmem/layouts/ |
H A D | onie,tlv-layout.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/nvmem/layouts/onie,tlv-layou [all...] |
H A D | nvmem-layout.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/nvmem/layouts/nvmem-layout.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 11 - Michael Walle <michael@walle.cc> 12 - Miquel Raynal <miquel.raynal@bootlin.com> 18 perform their parsing. The nvmem-layout container is here to describe these. 21 - $ref: fixed-layout.yaml 22 - $ref: kontron,sl28-vpd.yaml [all …]
|
/freebsd/sys/dev/sfxge/common/ |
H A D | ef10_image.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2017-2018 Solarflare Communications Inc. 47 /* DER encodings for ASN.1 tags (see ITU-T X.690) */ 68 /* Parse header of DER encoded ASN.1 TLV and match tag */ 76 if (cursor == NULL || cursor->buffer == NULL || cursor->length < 2) { in efx_asn1_parse_header_match_tag() 81 cursor->tag = cursor->buffer[0]; in efx_asn1_parse_header_match_tag() 82 if (cursor->tag != tag) { in efx_asn1_parse_header_match_tag() 88 if ((cursor->tag & 0x1F) == 0x1F) { in efx_asn1_parse_header_match_tag() 94 if ((cursor->buffer[1] & 0x80) == 0) { in efx_asn1_parse_header_match_tag() [all …]
|
H A D | ef10_tlv_layout.h | 1 /*- 2 * Copyright (c) 2012-2016 Solarflare Communications Inc. 33 * To update the tlv layout, please edit the copy in 39 /* These structures define the layouts for the TLV items stored in static and 48 * systems which are little-endian and do not do strange things with structure 49 * padding. (Big-endian host systems will require some byte-swapping.) 51 * ----- 53 * Please refer to SF-108797-SW for a general overview of the TLV partition 56 * ----- 62 * - L is a location, indicating where this tag is expected to be found: [all …]
|
H A D | efx_regs_mcdi.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright 2008-2013 Solarflare Communications Inc. All rights reserved. 32 /* Power-on reset state */ 54 /* The 'doorbell' addresses are hard-wired to alert the MC when written */ 57 /* The rest of these are firmware-defined */ 65 /* Values to be written to the per-port status dword in shared 94 * | | \--- Response 95 * | \------- Error 96 * \------------------------------ Resync (always set) [all …]
|
/freebsd/sys/contrib/dev/iwlwifi/fw/ |
H A D | file.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2008-2014, 2018-2024 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 13 /* v1/v2 uCode file layout */ 953 _iwl_tlv_array_len(const struct iwl_ucode_tlv * tlv,size_t fixed_size,size_t var_size) _iwl_tlv_array_len() argument [all...] |
/freebsd/sys/netinet/ |
H A D | ip_fw.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2002-2009 Luigi Rizzo, Universita` di Pisa 51 * Most commands (queue, pipe, tag, untag, limit...) can have a 16-bit 56 * the use of a 16-bit fields for that value. In reality, we can have 75 uint16_t reserved[2]; /* Align to 64-bit boundary */ 153 * such structures contain pointers or other 64-bit entities, 155 * 64-bit architectures, so the must be handled with care. 338 * a single 16-bit value (arg1), or a couple of 8-bit values. 343 * The size of the instruction (in 32-bit words) is in the low [all …]
|
/freebsd/sys/net80211/ |
H A D | ieee80211_output.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 5 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 98 return (vap->iv_opmode == IEEE80211_M_IBSS); in doprint() 111 * A-MPDU state stuff, fast-frames state stuff, encapsulation 124 struct ieee80211com *ic = vap->iv_ic; in ieee80211_vap_pkt_send_dest() 125 struct ifnet *ifp = vap->iv_ifp; in ieee80211_vap_pkt_send_dest() 135 if ((ni->ni_flags & IEEE80211_NODE_PWR_MGT) && in ieee80211_vap_pkt_send_dest() 136 (m->m_flags & M_PWR_SAV) == 0) { in ieee80211_vap_pkt_send_dest() 156 ni->ni_macaddr, NULL, in ieee80211_vap_pkt_send_dest() [all …]
|
/freebsd/sys/netpfil/ipfw/ |
H A D | ip_fw_sockopt.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2002-2009 Luigi Rizzo, Universita` di Pisa 138 #define CTL3_SMALLBUF 4096 /* small page-size write buffer */ 206 rule->cntr = uma_zalloc_pcpu(V_ipfw_cntr_zone, M_WAITOK | M_ZERO); in ipfw_alloc_rule() 207 rule->refcnt = 1; in ipfw_alloc_rule() 222 if (rule->refcnt > 1) in ipfw_free_rule() 224 uma_zfree_pcpu(V_ipfw_cntr_zone, rule->cntr); in ipfw_free_rule() 238 for (lo = 0, hi = chain->n_rules - 1; lo < hi;) { in ipfw_find_rule() 240 r = chain->map[i]; in ipfw_find_rule() [all …]
|
H A D | ip_fw_table.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 69 * Special IPFW_VTYPE_LEGACY ( (uint32_t)-1 ) represents old 70 * single-value-for-all approach. 129 #define CHAIN_TO_NI(chain) (CHAIN_TO_TCFG(chain)->namehash) 130 #define KIDX_TO_TI(ch, k) (&(((struct table_info *)(ch)->tablestate)[k])) 132 #define TA_BUF_SZ 128 /* On-stack buffer for add/delete state */ 141 TAILQ_FOREACH(os, &tcfg->state_list, next) in rollback_toperation_state() 142 os->func(object, os); in rollback_toperation_state() 151 TAILQ_INSERT_HEAD(&tcfg->state_list, &ts->opstate, next); in add_toperation_state() [all …]
|
/freebsd/sys/dev/ice/ |
H A D | ice_lib.c | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 148 struct ice_link_default_override_tlv *tlv); 267 * ice_map_bar - Map PCIe BAR memory in ice_map_bar() 278 if (bar->res != NULL) { in ice_map_bar() 283 bar->rid = PCIR_BAR(bar_num); 284 bar->res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &bar->ri 9623 ice_print_ldo_tlv(struct ice_softc * sc,struct ice_link_default_override_tlv * tlv) ice_print_ldo_tlv() argument 9651 struct ice_link_default_override_tlv tlv = { 0 }; ice_set_link_management_mode() local [all...] |
/freebsd/sys/dev/iwm/ |
H A D | if_iwmreg.h | 10 * Copyright(c) 2005 - 2014 Intel Corporation. All rights reserved. 31 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 35 * Copyright(c) 2005 - 2014 Intel Corporation. All rights reserved. 73 * BEGIN iwl-csr.h 81 * low power states due to driver-invoked device resets 82 * (e.g. IWM_CSR_RESET_REG_FLAG_SW_RESET) or uCode-driven power-saving modes. 95 #define IWM_CSR_INT_COALESCING (0x004) /* accum ints, 32-usec units */ 109 * 31-16: Reserved 110 * 15-4: Type of device: see IWM_CSR_HW_REV_TYPE_xxx definitions 111 * 3-2: Revision step: 0 = A, 1 = B, 2 = C, 3 = D [all …]
|
/freebsd/sbin/ipfw/ |
H A D | ipfw2.c | 1 /*- 2 * Copyright (c) 2002-2003 Luigi Rizzo 3 * Copyright (c) 1996 Alex Nash, Paul Traina, Poul-Henning Kamp 75 static int ipfw_socket = -1; 206 {"src-addr", DYN_SRC_ADDR}, 207 {"src-port", DYN_SRC_PORT}, 208 {"dst-addr", DYN_DST_ADDR}, 209 {"dst-port", DYN_DST_PORT}, 220 * Note, we cannot use "-:&/" in the names because they are field 222 * end-delimite 2708 ipfw_obj_tlv *tlv; foreach_state() local [all...] |
/freebsd/sys/dev/ixl/ |
H A D | i40e_adminq_cmd.h | 3 Copyright (c) 2013-2018, Intel Corporation 48 #define I40E_FW_MINOR_VERSION(_h) ((_h)->mac.type == I40E_MAC_XL710 ? \ 52 /* API version 1.7 implements additional link and PHY-specific APIs */ 54 /* API version 1.9 for X722 implements additional link and PHY-specific APIs */ 85 /* Flags sub-structure 328 * - no suffix for direct command descriptor structures 329 * - _data for indirect sent data 330 * - _resp for indirect return data (data which is both will use _data) 331 * - _completion for direct return data 332 * - _element_ for repeated elements (may also be _data or _resp) [all …]
|
/freebsd/contrib/tcpdump/ |
H A D | print-bgp.c | 39 #include "netdissect-stdinc.h" 127 #define BGPTYPE_DPA 11 /* deprecated, draft-ietf-idr-bgp-dpa */ 142 #define BGPTYPE_LARGE_COMMUNITY 32 /* draft-ietf-idr-large-community-05 */ 163 { BGPTYPE_MP_REACH_NLRI, "Multi-Protocol Reach NLRI"}, 164 { BGPTYPE_MP_UNREACH_NLRI, "Multi-Protocol Unreach NLRI"}, 181 #define BGP_CONFED_AS_SEQUENCE 3 /* draft-ietf-idr-rfc3065bis-01 */ 182 #define BGP_CONFED_AS_SET 4 /* draft-ietf-idr-rfc3065bis-01 */ 220 #define BGP_CAPCODE_DYN_CAP 67 /* draft-ietf-idr-dynamic-cap */ 221 #define BGP_CAPCODE_MULTISESS 68 /* draft-ietf-idr-bgp-multisession */ 223 #define BGP_CAPCODE_ENH_RR 70 /* draft-keyur-bgp-enhanced-route-refresh */ [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
H A D | MachOPlatform.cpp | 1 //===------ MachOPlatform.cpp - Utilities for executing MachO in Orc ------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 119 // Creates a Bootstrap-Complete LinkGraph to run deferred actions. 154 G->createSection("__orc_rt_cplt_bs", MemProt::Read); in materialize() 156 G->createZeroFillBlock(PlaceholderSection, 1, ExecutorAddr(), 1, 0); in materialize() 157 G->addDefinedSymbol(PlaceholderBlock, 0, *CompleteBootstrapSymbol, 1, in materialize() 161 G->allocActions().reserve(DeferredAAs.size() + 3); in materialize() 164 G->allocActions().push_back( in materialize() 170 G->allocActions().push_back( in materialize() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | AsmPrinter.cpp | 1 //===- AsmPrinter.cpp - Common AsmPrinter code ----------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 135 #define DEBUG_TYPE "asm-printer" 147 "pgo-analysis-map", cl::Hidden, cl::CommaSeparated, 149 "func-entry-count", "Function Entry Count"), 150 clEnumValN(PGOMapFeaturesEnum::BBFreq, "bb-freq", 152 clEnumValN(PGOMapFeaturesEnum::BrProb, "br-prob", 197 /// This is a per-function list of symbols whose corresponding BasicBlock got [all …]
|
/freebsd/contrib/libpcap/ |
H A D | CHANGES | 5 Mark pcap_vasprintf() as printf-like. 16 Avoid casting hack for the Windows cleanup-on-exit routine. 21 Remove the unused pcap-rpcap-int.h header file. 23 Make some static variables thread-local; fixes issue #1174. 36 Avoid 32-bit unsigned integer overflow in USB captures. Fixes 49 Report {non-existent zone}/{interface} errors appropriately. 50 Allow attaching to links owned by a non-global zone. (Based on 55 in recent SDKs, including tagging pcap-namedb.h routines. 63 Report non-existent devices correctly. 86 Make sure we don't overflow when rounding up the TLV length. [all …]
|
/freebsd/sys/contrib/dev/iwlwifi/mvm/ |
H A D | mac80211.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright (C) 2012-2014, 2018-2024 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 25 #include "iwl-dr [all...] |
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/ |
H A D | MachODump.cpp | 1 //===-- MachODump.cpp - Object file dumping utility for llvm --------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // This file implements the MachO-specific dumper for llvm-objdump. 11 //===----------------------------------------------------------------------===// 16 #include "llvm-objdump.h" 17 #include "llvm-c/Disassembler.h" 111 FunctionStartsType = StringSwitch<FunctionStartsMode>(A->getValue()) in parseMachOOptions() 138 TT = MachOObj->getArchTriple(McpuDefault); in GetTarget() 143 // We've inferred a 32-bit ARM target from the object file. All MachO CPUs in GetTarget() [all …]
|
/freebsd/sys/dev/bxe/ |
H A D | ecore_hsi.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2007-2017 QLogic Corporation. All rights reserved. 145 /* Up to 16 bytes of NULL-terminated string */ 164 (if multiple found, priority order is: NC-SI, UMP, IPMI) */ 169 /* Use SPIO4 as an arbiter between: 0-NC_SI, 1-IPMI 170 (can only be used when an add-in board, not BMC, pulls-down SPIO4) */ 172 /* Use SPIO4 as an arbiter between: 0-UMP, 1-IPMI 173 (can only be used when an add-in board, not BMC, pulls-down SPIO4) */ 175 /* Use SPIO4 as an arbiter between: 0-NC-SI, 1-UMP [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.cpp | 1 //===-- AArch64ISelLowering.cpp - AArch64 DAG Lowering Implementation ----===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 109 #define DEBUG_TYPE "aarch64-lower" 119 "aarch64-elf-ldtls-generation", cl::Hidden, 124 EnableOptimizeLogicalImm("aarch64-enable-logical-imm", cl::Hidden, 134 EnableCombineMGatherIntrinsics("aarch64-enable-mgather-combine", cl::Hidden, 139 static cl::opt<bool> EnableExtToTBL("aarch64-enable-ext-to-tbl", cl::Hidden, 146 static cl::opt<unsigned> MaxXors("aarch64-max-xors", cl::init(16), cl::Hidden, [all …]
|