| /freebsd/sys/contrib/device-tree/Bindings/interrupt-controller/ |
| H A D | riscv,imsics.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/interrupt-controller/riscv,imsics.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: RISC-V Incoming MSI Controller (IMSIC) 10 - Anup Patel <anup@brainfault.org> 13 The RISC-V advanced interrupt architecture (AIA) defines a per-CPU incoming 14 MSI controller (IMSIC) for handling MSIs in a RISC-V platform. The RISC-V 15 AIA specification can be found at https://github.com/riscv/riscv-aia. 17 The IMSIC is a per-CPU (or per-HART) device with separate interrupt file [all …]
|
| /freebsd/sys/netpfil/ipfw/ |
| H A D | dn_sched_qfq.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 73 * We use the base-0 version __fls() to match the description in 89 return fls(word) - 1; in __fls() 98 D("bad index %d", ix); in test_bit() 104 D("bad index %d", ix); in __set_bit() 110 D("bad index %d", ix); in __clear_bit() 125 /*-------------------------------------------*/ 133 QFQ_MAX_INDEX is the maximum index allowed for a group. We need 134 one bit per index. [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonVectorCombine.cpp | 1 //===-- HexagonVectorCombine.cpp ------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // that assist in vector-based optimizations. 13 //===----------------------------------------------------------------------===// 57 #define DEBUG_TYPE "hexagon-vc" 62 cl::opt<bool> DumpModule("hvc-dump-module", cl::Hidden); 63 cl::opt<bool> VAEnabled("hvc-va", cl::Hidden, cl::init(true)); // Align 64 cl::opt<bool> VIEnabled("hvc-vi", cl::Hidden, cl::init(true)); // Idioms 65 cl::opt<bool> VADoFullStores("hvc-va-full-stores", cl::Hidden); [all …]
|
| /freebsd/sys/arm64/arm64/ |
| H A D | disassem.c | 1 /*- 44 #define OP_SIGN_EXT (1UL << 0) /* Sign-extend immediate value */ 47 #define OP_SF32 (1UL << 3) /* Force 32-bit access */ 53 #define OP_SHIFT_ROR (1UL << 11) /* Use ror shift type */ 80 * name - name of operand 81 * pos - position within the instruction (in bits) 82 * len - operand length (in bits) 95 * OP <RD>, <RN>, <RM>{, <shift [LSL, LSR, ASR]> #imm} SF32/64 96 * OP <RD>, <RN>, #<imm>{, <shift [0, 12]>} SF32/64 97 * OP <RD>, <RM> {, <shift> #<imm> } [all …]
|
| /freebsd/sys/contrib/ncsw/Peripherals/FM/Pcd/ |
| H A D | fm_kg.c | 2 * Copyright 2008-2012 Freescale Semiconductor Inc. 61 return XX_LockIntrSpinlock(((t_FmPcdKg *)h_FmPcdKg)->h_HwSpinlock); in KgHwLock() 67 XX_UnlockIntrSpinlock(((t_FmPcdKg *)h_FmPcdKg)->h_HwSpinlock, intFlags); in KgHwUnlock() 73 return FmPcdLockSpinlock(((t_FmPcdKgScheme *)h_Scheme)->p_Lock); in KgSchemeLock() 79 FmPcdUnlockSpinlock(((t_FmPcdKgScheme *)h_Scheme)->p_Lock, intFlags); in KgSchemeUnlock() 85 return FmPcdLockTryLock(((t_FmPcdKgScheme *)h_Scheme)->p_Lock); in KgSchemeFlagTryLock() 91 FmPcdLockUnlock(((t_FmPcdKgScheme *)h_Scheme)->p_Lock); in KgSchemeFlagUnlock() 97 struct fman_kg_regs *regs = p_FmPcd->p_FmPcdKg->p_FmPcdKgRegs; in WriteKgarWait() 216 REPORT_ERROR(MAJOR, E_NOT_SUPPORTED, ("Illegal MPLS header index")); in GetGenHdrCode() 223 REPORT_ERROR(MAJOR, E_NOT_SUPPORTED, ("Illegal IPv4 header index")); in GetGenHdrCode() [all …]
|
| H A D | fman_kg.c | 2 * Copyright 2008-2012 Freescale Semiconductor Inc. 257 iowrite32be(fmkg_ar, ®s->fmkg_ar); in fman_kg_write_ar_wait() 259 while ((fmkg_ar = ioread32be(®s->fmkg_ar)) & FM_KG_KGAR_GO) ; in fman_kg_write_ar_wait() 261 return -EINVAL; in fman_kg_write_ar_wait() 271 kgpe_regs = (struct fman_kg_pe_regs *)&(regs->fmkg_indirect[0]); in fman_kg_write_sp() 272 tmp = ioread32be(&kgpe_regs->fmkg_pe_sp); in fman_kg_write_sp() 279 iowrite32be(tmp, &kgpe_regs->fmkg_pe_sp); in fman_kg_write_sp() 287 kgpe_regs = (struct fman_kg_pe_regs *)&(regs->fmkg_indirect[0]); in fman_kg_write_cpp() 289 iowrite32be(cpp, &kgpe_regs->fmkg_pe_cpp); in fman_kg_write_cpp() 298 *event = ioread32be(®s->fmkg_eer); in fman_kg_get_event() [all …]
|
| /freebsd/stand/libsa/ |
| H A D | ext2fs.c | 1 /*- 27 /*- 32 * The Mach Operating System project at Carnegie-Mellon University. 83 * Pittsburgh PA 15213-3890 128 #define EXT2_MINBSHIFT 10 /* minimum block shift */ 129 #define EXT2_MINFSHIFT 10 /* minimum frag shift */ 137 #define fsb_to_db(fs, blk) ((blk) << (fs)->fs_fsbtodb) 140 * inode to block group offset 141 * inode to block group 145 #define ino_to_bgo(fs, ino) (((ino) - 1) % (fs)->fs_ipg) [all …]
|
| /freebsd/usr.sbin/bsdconfig/usermgmt/ |
| H A D | groupadd | 2 #- 4 # Copyright (c) 2012-2014 Devin Teske 36 f_include $BSDCFG_SHARE/usermgmt/group.subr 41 f_index_menusel_keyword $BSDCFG_LIBE/$APP_DIR/INDEX "$pgm" ipgm && 42 pgm="${ipgm:-$pgm}" 46 # Incorporate rc-file if it exists 47 [ -f "$HOME/.bsdconfigrc" ] && f_include "$HOME/.bsdconfigrc" 50 # Process command-line arguments 57 shift $(( $OPTIND - 1 )) 67 # Add a group [all …]
|
| H A D | groupedit | 2 #- 4 # Copyright (c) 2012-2014 Devin Teske 36 f_include $BSDCFG_SHARE/usermgmt/group.subr 42 f_index_menusel_keyword $BSDCFG_LIBE/$APP_DIR/INDEX "$pgm" ipgm && 43 pgm="${ipgm:-$pgm}" 47 # Incorporate rc-file if it exists 48 [ -f "$HOME/.bsdconfigrc" ] && f_include "$HOME/.bsdconfigrc" 51 # Process command-line arguments 58 shift $(( $OPTIND - 1 )) 68 # If given a group name, operate on it and exit [all …]
|
| H A D | groupdel | 2 #- 4 # Copyright (c) 2012-2014 Devin Teske 36 f_include $BSDCFG_SHARE/usermgmt/group.subr 42 f_index_menusel_keyword $BSDCFG_LIBE/$APP_DIR/INDEX "$pgm" ipgm && 43 pgm="${ipgm:-$pgm}" 47 # Incorporate rc-file if it exists 48 [ -f "$HOME/.bsdconfigrc" ] && f_include "$HOME/.bsdconfigrc" 51 # Process command-line arguments 58 shift $(( $OPTIND - 1 )) 68 # If given a group name, operate on it and exit [all …]
|
| H A D | usermgmt | 2 #- 4 # Copyright (c) 2012-2013 Devin Teske 42 f_index_menusel_keyword $BSDCFG_LIBE/$APP_DIR/INDEX "$pgm" ipgm && 43 pgm="${ipgm:-$pgm}" 49 # Display the dialog(1)-based application main menu. 59 '-' '-' 63 " # END-QUOTE 78 # Obtain default-item from previously stored selection 83 --title \"\$DIALOG_TITLE\" \ 84 --backtitle \"\$DIALOG_BACKTITLE\" \ [all …]
|
| /freebsd/sys/dev/isci/scil/ |
| H A D | scu_completion_codes.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause OR GPL-2.0 9 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 22 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 28 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 91 * These constants provide the shift and mask values for the various parts of 123 * This macro takes a completion code and performs the shift and mask 147 * This macro returns the Protocol Engine Group from the completion code. 153 * This macro reuturns the logical port index from the completion code. 159 * This macro returns the PE index from the completion code. [all …]
|
| /freebsd/usr.sbin/freebsd-update/ |
| H A D | freebsd-update.sh | 3 #- 4 # SPDX-License-Identifier: BSD-2-Clause 6 # Copyright 2004-2007 Colin Percival 30 #### Usage function -- called from command-line handling code. 33 # --debug -- don't filter output from utilities 34 # --no-stats -- don't show progress statistics while fetching files 40 -b basedir -- Operate on a system mounted at basedir 42 -d workdir -- Store working files in workdir 43 (default: /var/db/freebsd-update/) 44 -f conffile -- Read configuration options from conffile [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | VectorUtils.cpp | 1 //===----------- VectorUtils.cpp - Vectorizer utility functions -----------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 38 "max-interleave-group-factor", cl::Hidden, 39 cl::desc("Maximum factor for an interleaved access group (default = 8)"), 48 case Intrinsic::abs: // Begin integer bit-manipulation. in isTriviallyVectorizable() 68 case Intrinsic::sqrt: // Begin floating-point. in isTriviallyVectorizable() 135 return OpdIdx == -1 || OpdIdx == 0; in isVectorIntrinsicWithOverloadTypeAtArg() 139 return OpdIdx == -1 || OpdIdx == 1; in isVectorIntrinsicWithOverloadTypeAtArg() [all …]
|
| /freebsd/crypto/openssl/crypto/ec/ |
| H A D | ecp_sm2p256.c | 2 * Copyright 2023-2025 The OpenSSL Project Authors. All Rights Reserved. 54 /* p and order for SM2 according to GB/T 32918.5-2017 */ 68 /* Right shift: a >> 1 */ 70 /* Sub: r = a - b */ 78 /* Modular sub: r = a - b mod p */ 80 /* Modular sub: r = a - b mod n, where n = ord(p) */ 114 for (i = P256_LIMBS - 1; i >= 0; --i) { in is_greater() 118 return -1; in is_greater() 127 is_equal(a->X, b->X) && \ 128 is_equal(a->Y, b->Y) && \ [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | VectorUtils.h | 1 //===- llvm/Analysis/VectorUtils.h - Vector utilities -----------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 39 /// Retrieve the scalar-to-vector mappings associated to the rule of 46 const StringRef ScalarName = CI.getCalledFunction()->getName(); in getVFABIMappings() 49 // The check for the vector-function-abi-variant attribute is done when in getVFABIMappings() 61 if (Shape && (Shape->ScalarName == ScalarName)) { in getVFABIMappings() 62 assert(CI.getModule()->getFunction(Shape->VectorName) && in getVFABIMappings() 77 // Other non-VFABI variants should be retrieved here. in getMappings() [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/pinctrl/ |
| H A D | rockchip,pinctrl.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Heiko Stuebner <heiko@sntech.de> 18 Please refer to pinctrl-bindings.txt in this directory for details of the 22 The Rockchip pin configuration node is a node of a group of pins which can be 24 config of the pins in that group. The 'pins' selects the function mode 26 various pad settings such as pull-up, etc. 29 defined as gpio sub-nodes of the pinmux controller. 34 - rockchip,px30-pinctrl [all …]
|
| /freebsd/sys/contrib/dpdk_rte_lpm/ |
| H A D | rte_lpm.c | 1 /* SPDX-License-Identifier: BSD-3-Clause 2 * Copyright(c) 2010-2014 Intel Corporation 59 /* Macro to enable/disable run-time checks. */ 74 * depth (IN) : range = 1 - 32 83 * shift while populating the left hand side with 1's in depth_to_mask() 85 return (int)0x80000000 >> (depth - 1); in depth_to_mask() 100 return 1 << (MAX_DEPTH_TBL24 - depth); in depth_to_range() 103 return 1 << (RTE_LPM_MAX_DEPTH - depth); in depth_to_range() 121 l = te->data; 122 if (strncmp(name, l->name, RTE_LPM_NAMESIZE) == 0) [all …]
|
| /freebsd/contrib/bsnmp/snmp_ntp/ |
| H A D | NTP-MIB.txt | 1 -- 2 -- NTP MIB, Revision 0.2, 7/25/97 3 -- 5 NTP-MIB DEFINITIONS ::= BEGIN 8 Integer32, IpAddress, MODULE-IDENTITY, OBJECT-TYPE, Unsigned32, 10 FROM SNMPv2-SMI 12 TEXTUAL-CONVENTION, TruthValue 13 FROM SNMPv2-TC; 15 ntpMIB MODULE-IDENTITY 16 LAST-UPDATED "199707251530Z" [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelDAGToDAG.cpp | 1 //===-- PPCISelDAGToDAG.cpp - PPC --pattern matching inst selector --------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 72 #define DEBUG_TYPE "ppc-isel" 73 #define PASS_NAME "PowerPC DAG->DAG Pattern Instruction Selection" 86 "Number of compares not eliminated as they have non-extending uses."); 91 cl::opt<bool> ANDIGlueBug("expose-ppc-andi-glue-bug", 95 UseBitPermRewriter("ppc-use-bit-perm-rewriter", cl::init(true), 99 "ppc-bit-perm-rewriter-stress-rotates", [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/include/ |
| H A D | libtest.shlib | 1 # SPDX-License-Identifier: CDDL-1.0 10 # or https://opensource.org/licenses/CDDL-1.0. 30 # Copyright (c) 2017, Open-E Inc. All rights reserved. 46 PWD="$(readlink -f $PWD)" 53 if [ -n "$STF_PATH" ]; then 64 [ "$(printf "$1\n$2" | sort -V | tail -n1)" = "$1" ] 74 [ -z "$ver" ] && case "$UNAME" in 78 # RHEL7: 3.10.0-1160.108.1.el7.x86_64 79 # Fedora 37: 6.5.12-100.fc37.x86_64 80 # Debian 12.6: 6.1.0-22-amd64 [all …]
|
| /freebsd/crypto/openssl/util/ |
| H A D | find-doc-nits | 2 # Copyright 2002-2025 The OpenSSL Project Authors. All Rights Reserved. 50 -c List undocumented commands, undocumented options and unimplemented options. 51 -d Detailed list of undocumented (implies -u) 52 -e Detailed list of new undocumented (implies -v) 53 -h Print this help message 54 -l Print bogus links 55 -m Name(s) of manuals to focus on. Default: man1,man3,man5,man7 56 -n Print nits in POD pages 57 -o Causes -e/-v to count symbols added since 1.1.1 as new (implies -v) 58 -i Checks for history entries available for symbols added since 3.0.0 as new [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/MC/ |
| H A D | XCOFFObjectWriter.cpp | 1 //===-- lib/MC/XCOFFObjectWriter.cpp - XCOFF file writer ------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 36 // .text --> contains program code and read-only data. 37 // .data --> contains initialized data, function descriptors, and the TOC. 38 // .bss --> contains uninitialized data. 42 // into a section based on its storage-mapping class, with the exception of 70 return MCSym->getVisibilityType(); in getVisibilityType() 74 return MCSym->getStorageClass(); in getStorageClass() [all …]
|
| /freebsd/sys/contrib/dev/iwlwifi/fw/api/ |
| H A D | sta.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2012-2014, 2018-2021, 2023 Intel Corporation 4 * Copyright (C) 2013-2014 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 11 * enum iwl_sta_flags - flags for the ADD_STA host command 21 * @STA_FLG_MAX_AGG_SIZE_MSK: maximal size for A-MPDU (mask) 22 * @STA_FLG_MAX_AGG_SIZE_SHIFT: maximal size for A-MPDU (bit shift) 23 * @STA_FLG_MAX_AGG_SIZE_8K: maximal size for A-MPDU (8k supported) 24 * @STA_FLG_MAX_AGG_SIZE_16K: maximal size for A-MPDU (16k supported) 25 * @STA_FLG_MAX_AGG_SIZE_32K: maximal size for A-MPDU (32k supported) [all …]
|
| /freebsd/sys/dev/smartpqi/ |
| H A D | smartpqi_structures.h | 1 /*- 2 * Copyright 2016-2023 Microchip Technology, Inc. and/or its subsidiaries. 61 /* As per PQI Spec pqi-2r00a , 6.2.2. */ 225 uint32_t index; /* Index at the top of the stack */ member 229 /* lock-free stack used to push and pop the tag used for IO request */ 255 uint64_t addr; /* !< Bytes 0-7. The starting 64-bit memory byte address of the data block. */ 256 …uint32_t length; /* !< Bytes 8-11. The length in bytes of the data block. Set to 0x00000000 spec… 257 uint8_t res[3]; /* !< Bytes 12-14. */ 258 uint8_t zero : 4; /* !< Byte 15, Bits 0-3. */ 259 uint8_t type : 4; /* !< Byte 15, Bits 4-7. sgl descriptor type */ [all …]
|