Home
last modified time | relevance | path

Searched +full:group +full:- +full:index +full:- +full:shift (Results 1 – 25 of 265) sorted by relevance

1234567891011

/freebsd/sys/contrib/device-tree/Bindings/interrupt-controller/
H A Driscv,imsics.yaml1 # 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 Ddn_sched_qfq.c1 /*-
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 DHexagonVectorCombine.cpp1 //===-- 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/contrib/ncsw/Peripherals/FM/Pcd/
H A Dfm_kg.c2 * 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 Dfman_kg.c2 * Copyright 2008-2012 Freescale Semiconductor Inc.
257 iowrite32be(fmkg_ar, &regs->fmkg_ar); in fman_kg_write_ar_wait()
259 while ((fmkg_ar = ioread32be(&regs->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(&regs->fmkg_eer); in fman_kg_get_event()
[all …]
/freebsd/sys/arm64/arm64/
H A Ddisassem.c1 /*-
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/stand/libsa/
H A Dext2fs.c1 /*-
27 /*-
32 * The Mach Operating System project at Carnegie-Mellon University.
83 * Pittsburgh PA 15213-3890
127 #define EXT2_MINBSHIFT 10 /* minimum block shift */
128 #define EXT2_MINFSHIFT 10 /* minimum frag shift */
136 #define fsb_to_db(fs, blk) ((blk) << (fs)->fs_fsbtodb)
139 * inode to block group offset
140 * inode to block group
144 #define ino_to_bgo(fs, ino) (((ino) - 1) % (fs)->fs_ipg)
[all …]
/freebsd/usr.sbin/bsdconfig/usermgmt/
H A Dgroupadd2 #-
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 Dgroupedit2 #-
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 Dgroupdel2 #-
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 Dusermgmt2 #-
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/usr.sbin/freebsd-update/
H A Dfreebsd-update.sh3 #-
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/sys/dev/isci/scil/
H A Dscu_completion_codes.h1 /*-
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/contrib/llvm-project/llvm/lib/Analysis/
H A DVectorUtils.cpp1 //===----------- 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/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DVectorUtils.h1 //===- 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/dpdk_rte_lpm/
H A Drte_lpm.c1 /* 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/sys/contrib/device-tree/Bindings/pinctrl/
H A Drockchip,pinctrl.yaml1 # 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/contrib/bsnmp/snmp_ntp/
H A DNTP-MIB.txt1 --
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 DPPCISelDAGToDAG.cpp1 //===-- 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 Dlibtest.shlib9 # or https://opensource.org/licenses/CDDL-1.0.
29 # Copyright (c) 2017, Open-E Inc. All rights reserved.
43 PWD="$(readlink -f $PWD)"
50 if [ -n "$STF_PATH" ]; then
61 [ "$(printf "$1\n$2" | sort -V | tail -n1)" = "$1" ]
71 [ -z "$ver" ] && case "$UNAME" in
75 # RHEL7: 3.10.0-1160.108.1.el7.x86_64
76 # Fedora 37: 6.5.12-100.fc37.x86_64
77 # Debian 12.6: 6.1.0-22-amd64
78 ver=$(uname -r | grep -Eo "^[0-9]+\.[0-9]+\.[0-9]+")
[all …]
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DXCOFFObjectWriter.cpp1 //===-- 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/rtw88/
H A Dphy.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2 /* Copyright(c) 2018-2019 Realtek Corporation
113 struct rtw_dm_info *dm_info = &rtwdev->dm_info; in rtw_phy_cck_pd_init()
118 dm_info->cck_pd_lv[i][j] = CCK_PD_LV0; in rtw_phy_cck_pd_init()
121 dm_info->cck_fa_avg = CCK_FA_AVG_RESET; in rtw_phy_cck_pd_init()
126 struct rtw_hw_reg_offset *edcca_th = rtwdev->chi in rtw_phy_set_edcca_th()
927 u32 shift; rtw_phy_read_rf_sipi() local
974 u32 shift; rtw_phy_write_rf_reg_sipi() local
1905 rtw_phy_get_2g_tx_power_index(struct rtw_dev * rtwdev,struct rtw_2g_txpwr_idx * pwr_idx_2g,enum rtw_bandwidth bandwidth,u8 rate,u8 group) rtw_phy_get_2g_tx_power_index() argument
1952 rtw_phy_get_5g_tx_power_index(struct rtw_dev * rtwdev,struct rtw_5g_txpwr_idx * pwr_idx_5g,enum rtw_bandwidth bandwidth,u8 rate,u8 group) rtw_phy_get_5g_tx_power_index() argument
2098 u8 group, band; rtw_get_tx_power_params() local
[all...]
/freebsd/sys/contrib/dev/iwlwifi/fw/api/
H A Dsta.h1 /* 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 - flag
[all...]
/freebsd/sys/dev/smartpqi/
H A Dsmartpqi_structures.h1 /*-
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 …]
/freebsd/sys/contrib/zstd/lib/dictBuilder/
H A Dcover.c5 * 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.
15 * Effective Construction of Relative Lempel-Ziv Dictionaries
21 /*-*************************************
40 /*-*************************************
47 * Most 32bit platforms have 2GB user-mode addressable space and we allocate a large
50 #define COVER_MAX_SAMPLES_SIZE (sizeof(size_t) == 8 ? ((unsigned)-1) : ((unsigned)1 GB))
53 /*-*************************************
80 if ((clock() - g_time > g_refreshRate) || (displayLevel >= 4)) { \
88 /*-*************************************
[all …]

1234567891011