Home
last modified time | relevance | path

Searched full:bitfield (Results 1 – 25 of 387) sorted by relevance

12345678910>>...16

/freebsd/sys/dev/bxe/
H A Decore_hsi.h3577 …NTEXT_STATE (0xFF<<0) /* BitField agg_vars1Various …
3579 …_CONTEXT_EXISTS_IN_QM0 (0x1<<8) /* BitField agg_vars1Various …
3581 …_CONTEXT_EXISTS_IN_QM1 (0x1<<9) /* BitField agg_vars1Various …
3583 …CONTEXT_EXISTS_IN_QM2 (0x1<<10) /* BitField agg_vars1Various …
3585 …CONTEXT_EXISTS_IN_QM3 (0x1<<11) /* BitField agg_vars1Various …
3587 …CONTEXT_RESERVED_ULP_RX_SE_CF_EN (0x1<<12) /* BitField agg_vars1Various …
3589 …CONTEXT_RESERVED_ULP_RX_INV_CF_EN (0x1<<13) /* BitField agg_vars1Various …
3591 …CONTEXT_AUX4_CF (0x3<<14) /* BitField agg_vars1Various …
3593 …CONTEXT_RESERVED66 (0x3<<16) /* BitField agg_vars1Various …
3595 …CONTEXT_FIN_RECEIVED_CF_EN (0x1<<18) /* BitField agg_vars1Various …
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DBitfields.h1 //===-- llvm/ADT/Bitfield.h - Get and Set bits in an integer ---*- C++ -*--===//
30 /// using Bool = Bitfield::Element<bool, 0, 1>;
31 /// Bitfield::set<Bool>(Storage, true);
34 /// EXPECT_EQ(Bitfield::get<Bool>(Storage), true);
40 /// using Suit = Bitfield::Element<SuitEnum, 1, 2, SuitEnum::SPADES>;
41 /// Bitfield::set<Suit>(Storage, SuitEnum::HEARTS);
44 /// EXPECT_EQ(Bitfield::get<Suit>(Storage), SuitEnum::HEARTS);
47 /// using Value = Bitfield::Element<unsigned, 3, 5>;
48 /// Bitfield::set<Value>(Storage, 10);
51 /// EXPECT_EQ(Bitfield::get<Value>(Storage), 10U);
[all …]
/freebsd/contrib/wpa/src/utils/
H A Dbitfield.h2 * Bitfield
12 struct bitfield;
14 struct bitfield * bitfield_alloc(size_t max_bits);
15 void bitfield_free(struct bitfield *bf);
16 void bitfield_set(struct bitfield *bf, size_t bit);
17 void bitfield_clear(struct bitfield *bf, size_t bit);
18 int bitfield_is_set(struct bitfield *bf, size_t bit);
19 int bitfield_get_first_zero(struct bitfield *bf);
H A Dbitfield.c2 * Bitfield
12 #include "bitfield.h"
15 struct bitfield { struct
21 struct bitfield * bitfield_alloc(size_t max_bits) in bitfield_alloc() argument
23 struct bitfield *bf; in bitfield_alloc()
34 void bitfield_free(struct bitfield *bf) in bitfield_free()
40 void bitfield_set(struct bitfield *bf, size_t bit) in bitfield_set()
48 void bitfield_clear(struct bitfield *bf, size_t bit) in bitfield_clear()
56 int bitfield_is_set(struct bitfield *bf, size_t bit) in bitfield_is_set()
76 int bitfield_get_first_zero(struct bitfield *bf) in bitfield_get_first_zero()
/freebsd/contrib/llvm-project/llvm/include/llvm/Bitcode/
H A DBitcodeCommon.h25 using AlignLower = Bitfield::Element<unsigned, 0, 5>;
26 using UsedWithInAlloca = Bitfield::Element<bool, AlignLower::NextBit, 1>;
27 using ExplicitType = Bitfield::Element<bool, UsedWithInAlloca::NextBit, 1>;
28 using SwiftError = Bitfield::Element<bool, ExplicitType::NextBit, 1>;
29 using AlignUpper = Bitfield::Element<unsigned, SwiftError::NextBit, 3>;
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/
H A DDumpDataExtractor.h31 /// plus appropriate offset, and a colon and space. Bitfield values
61 /// If the value to display is a bitfield, this value should
62 /// be the number of bits that the bitfield item has within the
65 /// values in order to display multiple bitfield values that
70 /// If the value to display is a bitfield, this value should
72 /// bitfield item occupies within the item's byte size value.
75 /// to display multiple bitfield values that exist within the
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGRecordLayout.h25 /// Structure with information about how a bitfield should be accessed.
33 /// Then accessing a particular bitfield involves converting this byte array
36 /// subsequence of bits which make up that particular bitfield. This structure
39 /// this bitfield falls within. Let's assume the following C struct:
49 /// bitfield, and the second is the padding out to a 4-byte alignment.
78 /// bitfield.
81 /// The offset of the bitfield storage from the start of the struct.
90 /// bitfield.
93 /// The offset of the bitfield storage from the start of the struct.
232 assert(it != BitFields.end() && "Unable to find bitfield info"); in getBitFieldInfo()
H A DCGRecordLayoutBuilder.cpp54 /// * The allocation of bitfield access units is described in more detail in
66 /// if we do not clip the tail padding off of the bitfield in the complete
102 /// The Microsoft bitfield layout rule allocates discrete storage
251 // a bitfield as a single large integer load, we can imagine the bits in setBitFieldInfo()
267 // 3) Clip bitfield storages members if their tail padding is or might be in lower()
320 // storage type isn't necessary, the first (non-0-length-bitfield) field's in lowerUnion()
405 // Create members for bitfields. Field is a bitfield, and FieldEnd is the end
406 // iterator of the record. Return the first non-bitfield encountered. We need
408 // affect the upper bound of bitfield access unit allocation.
416 // bitfield run is a contiguous collection of bitfields that can be stored in accumulateBitFields()
[all …]
H A DCGValue.h186 BitField, // This is a bitfield l-value, use getBitfield*.
204 // BitField start bit and size
230 // to make the default bitfield pattern all-zeroes.
280 bool isBitField() const { return LVType == BitField; }
414 // bitfield lvalue
472 R.LVType = BitField;
/freebsd/contrib/file/magic/Magdir/
H A Daria36 # bitfield length; the length of bitfield like: 4 6 Ah 10h 13h 167h
37 >(6.L+30) ubelong x \b, %#x bytes bitfield
38 # bitfield; bitfield which represents current download progress
/freebsd/sys/dev/bwi/
H A Dbitops.h47 * A "bitfield" is a span of consecutive bits defined by a bitmask,
48 * where 1s select the bits in the bitfield. __SHIFTIN, __SHIFTOUT,
51 * __SHIFTIN(v, mask): Left-shift bits `v' into the bitfield
55 * __SHIFTOUT(v, mask): Extract and return the bitfield selected
63 * greatest unsigned value that a bitfield
/freebsd/contrib/llvm-project/lld/MachO/Arch/
H A DARM64Common.h36 inline uint64_t bitField(uint64_t value, int right, int width, int left) { in bitField() function
50 llvm::support::endian::write32le(loc, base | bitField(va, 2, 26, 0)); in encodeBranch26()
56 llvm::support::endian::write32le(loc, base | bitField(va, 2, 26, 0)); in encodeBranch26()
67 llvm::support::endian::write32le(loc, base | bitField(va, 12, 2, 29) | in encodePage21()
68 bitField(va, 14, 19, 5)); in encodePage21()
74 llvm::support::endian::write32le(loc, base | bitField(va, 12, 2, 29) | in encodePage21()
75 bitField(va, 14, 19, 5)); in encodePage21()
102 base | bitField(va, scale, 12 - scale, 10)); in encodePageOff12()
/freebsd/contrib/llvm-project/llvm/lib/XRay/
H A DFileHeaderReader.cpp24 // (4) uint32 : bitfield in readBinaryFormatHeader()
45 uint32_t Bitfield = HeaderExtractor.getU32(&OffsetPtr); in readBinaryFormatHeader() local
52 FileHeader.ConstantTSC = Bitfield & 1uL; in readBinaryFormatHeader()
53 FileHeader.NonstopTSC = Bitfield & 1uL << 1; in readBinaryFormatHeader()
/freebsd/sys/contrib/device-tree/Bindings/mux/
H A Dreg-mux.txt1 Generic register bitfield-based multiplexer controller bindings
11 - mux-reg-masks : an array of register offset and pre-shifted bitfield mask
20 bitfield described by the corresponding register offset and bitfield mask
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DRecordLayoutBuilder.cpp629 /// UnfilledBitsInLastUnit - If the last field laid out was a bitfield,
631 /// an adjacent bitfield if necessary. The unit in question is usually
636 /// storage unit of the previous field if it was a bitfield.
1516 // The bitfield is allocated starting at the next offset aligned in LayoutWideBitField()
1553 // last allocated bitfield (i.e. the first bit offset available for in LayoutBitField()
1563 // in the System V generic ABI. The basic bitfield layout rule in in LayoutBitField()
1565 // where the entire bitfield would fit in an aligned storage unit of in LayoutBitField()
1566 // the declared type; it's okay if an earlier or later non-bitfield in LayoutBitField()
1570 // the bitfield at the next available bit offset. in LayoutBitField()
1575 // the standard algorithm. The basic bitfield layout rule is to in LayoutBitField()
[all …]
H A DRandstruct.cpp97 // Start a bitfield run if this is the first bitfield we have found. in randomizeStructureLayoutImpl()
108 // Else, current field is not a bitfield. If we were previously in a in randomizeStructureLayoutImpl()
109 // bitfield run, end it. in randomizeStructureLayoutImpl()
151 // If we were processing a bitfield run bucket, tie it off. in randomizeStructureLayoutImpl()
/freebsd/cddl/usr.sbin/dtrace/tests/common/print/
H A DMakefile13 tst.bitfield.d \
14 tst.bitfield.d.out \
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaBase.h85 // function with a bitfield lvalue argument since non-const reference to
86 // bitfield is not allowed.
165 // function with a bitfield lvalue argument since non-const reference to
166 // bitfield is not allowed.
/freebsd/contrib/llvm-project/lldb/bindings/interface/
H A DSBTypeExtensions.i14 is_bitfield = property(IsBitfield, None, doc='''A read only property that returns true if this member is a bitfield.''')
15 bitfield_bit_size = property(GetBitfieldSizeInBits, None, doc='''A read only property that returns the bitfield size in bits for this member as an integer, or zero if this member is not a bitfield.''')
/freebsd/sys/contrib/device-tree/Bindings/interrupt-controller/
H A Drenesas,intc-irqpin.yaml41 sense-bitfield-width:
46 Width of a single sense bitfield in the SENSE register, if different from the
/freebsd/contrib/llvm-project/llvm/tools/llvm-xray/
H A Dxray-account.cpp136 auto Depth = Bitfield::get<RecursionStatus::Depth>(Storage); in operator ++()
139 Bitfield::set<RecursionStatus::Depth>(Storage, Depth); // ++Storage in operator ++()
142 Bitfield::set<RecursionStatus::IsRecursive>(Storage, in operator ++()
147 auto Depth = Bitfield::get<RecursionStatus::Depth>(Storage); in operator --()
150 Bitfield::set<RecursionStatus::Depth>(Storage, Depth); // --Storage in operator --()
153 Bitfield::set<RecursionStatus::IsRecursive>(Storage, false); // Storage = 0 in operator --()
157 return Bitfield::get<RecursionStatus::IsRecursive>(Storage); // Storage s< 0 in isRecursive()
/freebsd/sys/contrib/dev/acpica/compiler/
H A Daslbtypes.c3 * Module Name: aslbtypes - Support for bitfield types
177 * bitfield type code. Implements the implicit source conversion
320 * DESCRIPTION: Convert an encoded ACPI type to a bitfield type applying the
418 * PARAMETERS: Btype - Bitfield of ACPI types
490 * DESCRIPTION: Get the (bitfield) ACPI type associated with the parse node.
674 * PARAMETERS: Btype - Bitfield of ACPI types
678 * DESCRIPTION: Convert a bitfield type to an encoded type
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DPrettyBuiltinDumper.cpp81 case PDB_BuiltinType::Bitfield: in getTypeName()
82 return "bitfield"; in getTypeName()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeView.h290 /// Equivalent to CV_fldattr_t bitfield.
415 /// Corresponds to CV_LVARFLAGS bitfield.
432 /// Corresponds to the CV_PUBSYMFLAGS bitfield.
442 /// Corresponds to the CV_PROCFLAGS bitfield.
456 /// Corresponds to COMPILESYM2::Flags bitfield.
472 /// Corresponds to COMPILESYM3::Flags bitfield.
/freebsd/sys/contrib/device-tree/Bindings/ata/
H A Dahci-common.yaml64 Bitfield of the HBA generic platform capabilities like Staggered
115 Bitfield of the HBA port-specific platform capabilities like Hot

12345678910>>...16