| /freebsd-13-stable/sys/contrib/edk2/Include/Library/ |
| HD | PcdLib.h | 43 Returns the Boolean value for the PCD feature flag specified by TokenName. 47 @param TokenName The name of the PCD token to retrieve a current value for. 49 @return Boolean value for the PCD feature flag. 56 Retrieves an 8-bit fixed PCD token value based on a token name. 58 Returns the 8-bit value for the token specified by TokenName. 62 @param TokenName The name of the PCD token to retrieve a current value for. 64 @return 8-bit value for the token specified by TokenName. 71 Retrieves a 16-bit fixed PCD token value based on a token name. 73 Returns the 16-bit value for the token specified by TokenName. 77 @param TokenName The name of the PCD token to retrieve a current value for. [all …]
|
| /freebsd-13-stable/sys/contrib/dev/rtw88/ |
| HD | fw.h | 387 #define SET_PKT_H2C_CATEGORY(h2c_pkt, value) \ argument 388 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(6, 0)) 389 #define SET_PKT_H2C_CMD_ID(h2c_pkt, value) \ argument 390 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(15, 8)) 391 #define SET_PKT_H2C_SUB_CMD_ID(h2c_pkt, value) \ argument 392 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(31, 16)) 393 #define SET_PKT_H2C_TOTAL_LEN(h2c_pkt, value) \ argument 394 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x01, value, GENMASK(15, 0)) 403 #define FW_OFFLOAD_H2C_SET_SEQ_NUM(h2c_pkt, value) \ argument 404 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x01, value, GENMASK(31, 16)) [all …]
|
| /freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
| HD | ScopedPrinter.h | 34 T Value; member 36 : Name(N), AltName(A), Value(V) {} in EnumEntry() 37 constexpr EnumEntry(StringRef N, T V) : Name(N), AltName(N), Value(V) {} in EnumEntry() 45 HexNumber(char Value) : Value(static_cast<unsigned char>(Value)) {} in HexNumber() 46 HexNumber(signed char Value) : Value(static_cast<unsigned char>(Value)) {} in HexNumber() 47 HexNumber(signed short Value) : Value(static_cast<unsigned short>(Value)) {} in HexNumber() 48 HexNumber(signed int Value) : Value(static_cast<unsigned int>(Value)) {} in HexNumber() 49 HexNumber(signed long Value) : Value(static_cast<unsigned long>(Value)) {} in HexNumber() 50 HexNumber(signed long long Value) in HexNumber() 51 : Value(static_cast<unsigned long long>(Value)) {} in HexNumber() [all …]
|
| /freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| HD | BuildLibCalls.h | 20 class Value; variable 91 /// pointer. Ptr is required to be some pointer type, and the return value has 93 Value *emitStrLen(Value *Ptr, IRBuilderBase &B, const DataLayout &DL, 97 /// pointer. Ptr is required to be some pointer type, and the return value has 99 Value *emitStrDup(Value *Ptr, IRBuilderBase &B, const TargetLibraryInfo *TLI); 103 /// return value has 'i8*' type. 104 Value *emitStrChr(Value *Ptr, char C, IRBuilderBase &B, 108 Value *emitStrNCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilderBase &B, 113 Value *emitStrCpy(Value *Dst, Value *Src, IRBuilderBase &B, 118 Value *emitStpCpy(Value *Dst, Value *Src, IRBuilderBase &B, [all …]
|
| HD | SimplifyLibCalls.h | 23 class Value; variable 49 /// optimal value to replace the instruction with or 0 if a more 52 Value *optimizeCall(CallInst *CI, IRBuilderBase &B); 55 Value *optimizeMemCpyChk(CallInst *CI, IRBuilderBase &B); 56 Value *optimizeMemMoveChk(CallInst *CI, IRBuilderBase &B); 57 Value *optimizeMemSetChk(CallInst *CI, IRBuilderBase &B); 60 Value *optimizeStrpCpyChk(CallInst *CI, IRBuilderBase &B, LibFunc Func); 61 Value *optimizeStrpNCpyChk(CallInst *CI, IRBuilderBase &B, LibFunc Func); 62 Value *optimizeStrLenChk(CallInst *CI, IRBuilderBase &B); 63 Value *optimizeMemPCpyChk(CallInst *CI, IRBuilderBase &B); [all …]
|
| /freebsd-13-stable/sys/contrib/dev/rtw89/ |
| HD | cam.h | 15 static inline void FWCMD_SET_ADDR_IDX(void *cmd, u32 value) in FWCMD_SET_ADDR_IDX() argument 17 le32p_replace_bits((__le32 *)(cmd) + 1, value, GENMASK(7, 0)); in FWCMD_SET_ADDR_IDX() 20 static inline void FWCMD_SET_ADDR_OFFSET(void *cmd, u32 value) in FWCMD_SET_ADDR_OFFSET() argument 22 le32p_replace_bits((__le32 *)(cmd) + 1, value, GENMASK(15, 8)); in FWCMD_SET_ADDR_OFFSET() 25 static inline void FWCMD_SET_ADDR_LEN(void *cmd, u32 value) in FWCMD_SET_ADDR_LEN() argument 27 le32p_replace_bits((__le32 *)(cmd) + 1, value, GENMASK(23, 16)); in FWCMD_SET_ADDR_LEN() 30 static inline void FWCMD_SET_ADDR_VALID(void *cmd, u32 value) in FWCMD_SET_ADDR_VALID() argument 32 le32p_replace_bits((__le32 *)(cmd) + 2, value, BIT(0)); in FWCMD_SET_ADDR_VALID() 35 static inline void FWCMD_SET_ADDR_NET_TYPE(void *cmd, u32 value) in FWCMD_SET_ADDR_NET_TYPE() argument 37 le32p_replace_bits((__le32 *)(cmd) + 2, value, GENMASK(2, 1)); in FWCMD_SET_ADDR_NET_TYPE() [all …]
|
| /freebsd-13-stable/libexec/getty/ |
| HD | gettytab.h | 39 char *defalt; /* value we find by looking in defaults */ 40 char *value; /* value that we find there */ member 46 long value; /* number we find there */ member 54 char value; /* true/false flag */ member 61 #define NX gettystrs[0].value 62 #define CL gettystrs[1].value 63 #define IM gettystrs[2].value 64 #define LM gettystrs[3].value 65 #define ER gettystrs[4].value 66 #define KL gettystrs[5].value [all …]
|
| /freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| HD | ValueTypes.td | 14 class ValueType<int size, int value> { 18 int Value = value; 31 class VTAny<int value> : ValueType<0, value> { 35 class VTInt<int size, int value> 36 : ValueType<size, value> { 40 class VTFP<int size, int value> 41 : ValueType<size, value> { 45 class VTVec<int nelem, ValueType elt, int value> 46 : ValueType<!mul(nelem, elt.Size), value> { 54 class VTScalableVec<int nelem, ValueType elt, int value> [all …]
|
| /freebsd-13-stable/sys/dev/sfxge/common/ |
| HD | ef10_mac.c | 612 efx_qword_t value; in ef10_mac_stats_update() local 651 EF10_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_PKTS, &value); in ef10_mac_stats_update() 652 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_PKTS]), &value); in ef10_mac_stats_update() 654 EF10_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_CONTROL_PKTS, &value); in ef10_mac_stats_update() 655 EFSYS_STAT_SUBR_QWORD(&(stat[EFX_MAC_TX_PKTS]), &value); in ef10_mac_stats_update() 657 EF10_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_PAUSE_PKTS, &value); in ef10_mac_stats_update() 658 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_PAUSE_PKTS]), &value); in ef10_mac_stats_update() 660 EF10_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_UNICAST_PKTS, &value); in ef10_mac_stats_update() 661 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_UNICST_PKTS]), &value); in ef10_mac_stats_update() 663 EF10_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_MULTICAST_PKTS, &value); in ef10_mac_stats_update() [all …]
|
| HD | siena_mac.c | 277 efx_qword_t value; in siena_mac_stats_update() local 299 SIENA_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_PKTS, &value); in siena_mac_stats_update() 300 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_PKTS]), &value); in siena_mac_stats_update() 301 SIENA_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_CONTROL_PKTS, &value); in siena_mac_stats_update() 302 EFSYS_STAT_SUBR_QWORD(&(stat[EFX_MAC_TX_PKTS]), &value); in siena_mac_stats_update() 304 SIENA_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_PAUSE_PKTS, &value); in siena_mac_stats_update() 305 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_PAUSE_PKTS]), &value); in siena_mac_stats_update() 307 SIENA_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_UNICAST_PKTS, &value); in siena_mac_stats_update() 308 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_UNICST_PKTS]), &value); in siena_mac_stats_update() 310 SIENA_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_MULTICAST_PKTS, &value); in siena_mac_stats_update() [all …]
|
| /freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| HD | InstructionSimplify.h | 12 // returning a constant ("and i32 %x, 0" -> "0") or an already existing value 54 class Value; variable 61 Value *simplifyAddInst(Value *LHS, Value *RHS, bool IsNSW, bool IsNUW, 65 Value *simplifySubInst(Value *LHS, Value *RHS, bool IsNSW, bool IsNUW, 69 Value *simplifyMulInst(Value *LHS, Value *RHS, bool IsNSW, bool IsNUW, 73 Value *simplifySDivInst(Value *LHS, Value *RHS, bool IsExact, 77 Value *simplifyUDivInst(Value *LHS, Value *RHS, bool IsExact, 81 Value *simplifySRemInst(Value *LHS, Value *RHS, const SimplifyQuery &Q); 84 Value *simplifyURemInst(Value *LHS, Value *RHS, const SimplifyQuery &Q); 87 Value *simplifyFNegInst(Value *Op, FastMathFlags FMF, const SimplifyQuery &Q); [all …]
|
| /freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
| HD | IRBuilder.h | 39 #include "llvm/IR/Value.h" 153 Value *Insert(Value *V, const Twine &Name = "") const { 447 /// filled in with the null terminated string value specified. The new global 457 /// Get a constant value representing either true or false. 462 /// Get the constant value for i1 true. 467 /// Get the constant value for i1 false. 472 /// Get a constant 8-bit value. 477 /// Get a constant 16-bit value. 482 /// Get a constant 32-bit value. 487 /// Get a constant 64-bit value. [all …]
|
| HD | ValueHandle.h | 1 //===- ValueHandle.h - Value Smart Pointer classes --------------*- C++ -*-===// 18 #include "llvm/IR/Value.h" 24 /// This is the common base class of value handles. 26 /// ValueHandle's are smart pointers to Value's that have special behavior when 27 /// the value is deleted or ReplaceAllUsesWith'd. See the specific handles 30 friend class Value; variable 51 Value *Val = nullptr; 53 void setValPtr(Value *V) { Val = V; } in setValPtr() 58 ValueHandleBase(HandleBaseKind Kind, Value *V) in ValueHandleBase() 69 Value *operator=(Value *RHS) { [all …]
|
| HD | Value.h | 1 //===- llvm/Value.h - Definition of the Value class -------------*- C++ -*-===// 9 // This file declares the Value class. 55 using ValueName = StringMapEntry<Value *>; 58 // Value Class 61 /// LLVM Value Representation 64 /// computed by a program that may be used as operands to other values. Value is 66 /// All Values have a Type. Type is not a subclass of Value. Some values can 67 /// have a name and they belong to some Module. Setting the name on the Value 70 /// Every value has a "use list" that keeps track of which other Values are 71 /// using this Value. A Value can also have an arbitrary number of ValueHandle [all …]
|
| HD | IRBuilderFolder.h | 30 // Value-based folders. 32 // Return an existing value or a constant if the operation can be simplified. 36 virtual Value *FoldBinOp(Instruction::BinaryOps Opc, Value *LHS, 37 Value *RHS) const = 0; 39 virtual Value *FoldExactBinOp(Instruction::BinaryOps Opc, Value *LHS, 40 Value *RHS, bool IsExact) const = 0; 42 virtual Value *FoldNoWrapBinOp(Instruction::BinaryOps Opc, Value *LHS, 43 Value *RHS, bool HasNUW, 46 virtual Value *FoldBinOpFMF(Instruction::BinaryOps Opc, Value *LHS, 47 Value *RHS, FastMathFlags FMF) const = 0; [all …]
|
| /freebsd-13-stable/sys/dev/cxgbe/cudbg/ |
| HD | cudbg_wtp.c | 260 u32 value; in read_sge_debug_data() local 265 value = t4_read_reg(padap, A_SGE_DEBUG_DATA_LOW); in read_sge_debug_data() 266 /*printf("LOW 0x%08x\n", value);*/ in read_sge_debug_data() 267 sge_dbg_reg[(i << 1) | 1] = HTONL_NIBBLE(value); in read_sge_debug_data() 268 value = t4_read_reg(padap, A_SGE_DEBUG_DATA_HIGH); in read_sge_debug_data() 269 /*printf("HIGH 0x%08x\n", value);*/ in read_sge_debug_data() 270 sge_dbg_reg[(i << 1)] = HTONL_NIBBLE(value); in read_sge_debug_data() 282 t4_tp_mib_read(padap, &tp_mib[i].value, 1, in read_tp_mib_data() 300 u32 value = 0; in t5_wtp_data() local 333 value = t4_read_reg(padap, A_PCIE_CMDR_REQ_CNT); in t5_wtp_data() [all …]
|
| /freebsd-13-stable/sys/contrib/octeon-sdk/ |
| HD | cvmx-fau.h | 88 * bit will be set. Otherwise the value of the register before 94 int64_t value : 63; member 99 * bit will be set. Otherwise the value of the register before 105 int32_t value : 31; member 110 * bit will be set. Otherwise the value of the register before 116 int16_t value : 15; member 121 * bit will be set. Otherwise the value of the register before 127 int8_t value : 7; member 132 * the error bit will be set. Otherwise the value of the 147 * @param noadd 0 = Store value is atomically added to the current value [all …]
|
| /freebsd-13-stable/contrib/libcbor/src/cbor/ |
| HD | ints.h | 24 /** Extracts the integer value 27 * @return the value 31 /** Extracts the integer value 34 * @return the value 38 /** Extracts the integer value 41 * @return the value 45 /** Extracts the integer value 48 * @return the value 52 /** Extracts the integer value 55 * @return the value, extended to `uint64_t` [all …]
|
| /freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AVR/MCTargetDesc/ |
| HD | AVRAsmBackend.cpp | 38 static void signed_width(unsigned Width, uint64_t Value, in signed_width() argument 41 if (!isIntN(Width, Value)) { in signed_width() 58 static void unsigned_width(unsigned Width, uint64_t Value, in unsigned_width() argument 61 if (!isUIntN(Width, Value)) { in unsigned_width() 77 /// Adjusts the value of a branch target before fixup application. 78 static void adjustBranch(unsigned Size, const MCFixup &Fixup, uint64_t &Value, in adjustBranch() argument 80 // We have one extra bit of precision because the value is rightshifted by in adjustBranch() 82 unsigned_width(Size + 1, Value, std::string("branch target"), Fixup, Ctx); in adjustBranch() 84 // Rightshifts the value by one. in adjustBranch() 85 AVR::fixups::adjustBranchTarget(Value); in adjustBranch() [all …]
|
| /freebsd-13-stable/sys/dev/bhnd/nvram/ |
| HD | bhnd_nvram_value.c | 61 static void *bhnd_nvram_val_alloc_bytes(bhnd_nvram_val *value, size_t ilen, 63 static int bhnd_nvram_val_set(bhnd_nvram_val *value, const void *inp, 65 static int bhnd_nvram_val_set_inline(bhnd_nvram_val *value, 84 /** Initialize an empty value instance with @p _fmt, @p _storage, and 94 /** Assert that @p value's backing representation state has initialized 98 value->data_storage == BHND_NVRAM_VAL_DATA_NONE && \ 99 value->data_len == 0 && \ 100 value->data.ptr == NULL, \ 101 ("previously initialized value")) 124 bhnd_nvram_val_storage val_storage; /**< value structure storage */ [all …]
|
| /freebsd-13-stable/contrib/netbsd-tests/lib/libbluetooth/ |
| HD | t_sdp_get.c | 59 sdp_data_t value, seq; in ATF_TC_BODY() local 65 ATF_REQUIRE(sdp_get_data(&test, &value)); in ATF_TC_BODY() 66 ATF_CHECK_EQ(sdp_data_type(&value), SDP_DATA_UINT16); in ATF_TC_BODY() 67 ATF_CHECK_EQ(sdp_data_size(&value), 3); in ATF_TC_BODY() 69 ATF_REQUIRE(sdp_get_data(&test, &value)); in ATF_TC_BODY() 70 ATF_CHECK_EQ(sdp_data_type(&value), SDP_DATA_SEQ8); in ATF_TC_BODY() 71 ATF_CHECK_EQ(sdp_data_size(&value), 7); in ATF_TC_BODY() 73 ATF_REQUIRE(sdp_get_data(&test, &value)); in ATF_TC_BODY() 74 ATF_CHECK_EQ(sdp_data_type(&value), SDP_DATA_SEQ16); in ATF_TC_BODY() 75 ATF_CHECK_EQ(sdp_data_size(&value), 4); in ATF_TC_BODY() [all …]
|
| /freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Object/ |
| HD | GOFF.h | 57 /// \param Value value of bit field. 59 uint8_t Length, uint8_t &Value) { in getBits() argument 64 get<uint8_t>(Bytes, ByteIndex, Value); in getBits() 65 Value = (Value >> (8 - BitIndex - Length)) & ((1 << Length) - 1); in getBits() 69 static void get(const uint8_t *Bytes, uint8_t ByteIndex, T &Value) { in get() argument 72 Value = support::endian::read<T, llvm::endianness::big>(&Bytes[ByteIndex]); in get() 126 uint8_t Value; in getSymbolType() local 127 get<uint8_t>(Record, 3, Value); in getSymbolType() 128 SymbolType = (GOFF::ESDSymbolType)Value; in getSymbolType() 148 uint8_t Value; in getNameSpaceId() local [all …]
|
| /freebsd-13-stable/sys/kern/ |
| HD | subr_filter.c | 55 * You generally call apply_filter_xxx() to apply the new value 63 * To access the current flitered value you can use the macro 65 * has the "current" value in the filter. 97 tf->entries[i].value = set_val; in setup_time_filter() 128 tf->entries[i].value = set_val; in setup_time_filter_small() 136 check_update_times(struct time_filter *tf, uint64_t value, uint32_t now) in check_update_times() argument 148 tf->entries[i].value = tf->entries[j].value; in check_update_times() 156 tf->entries[i].value = value; in check_update_times() 165 tf->entries[i].value = value; in check_update_times() 171 check_update_times_small(struct time_filter_small *tf, uint32_t value, uint32_t now) in check_update_times_small() argument [all …]
|
| /freebsd-13-stable/lib/libsdp/ |
| HD | util.c | 295 } value; in sdp_print() local 314 SDP_GET8(value.uint8, start); in sdp_print() 315 printf("uint8 %u\n", value.uint8); in sdp_print() 318 SDP_GET16(value.uint16, start); in sdp_print() 319 printf("uint16 %u\n", value.uint16); in sdp_print() 322 SDP_GET32(value.uint32, start); in sdp_print() 323 printf("uint32 %u\n", value.uint32); in sdp_print() 326 SDP_GET64(value.uint64, start); in sdp_print() 327 printf("uint64 %ju\n", value.uint64); in sdp_print() 332 SDP_GET128(&value.int128, start); in sdp_print() [all …]
|
| /freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/ |
| HD | DWARFFormValue.h | 57 dwarf::Form Form; /// Form for this value. 60 ValueType Value; /// Contains all data for the form. variable 64 DWARFFormValue(dwarf::Form F, const ValueType &V) : Form(F), Value(V) {} in DWARFFormValue() 81 uint64_t getRawUValue() const { return Value.uval; } in getRawUValue() 94 /// Extracts a value in \p Data at offset \p *OffsetPtr. The information 108 /// getAsFoo functions below return the extracted value as Foo if only 123 /// Correctly extract any file paths from a form value. 127 /// table prologue, and each DWARFFormValue has the DWARFUnit the form value 132 /// \returns A valid string value on success, or std::nullopt if the form 137 /// Skip a form's value in \p DebugInfoData at the offset specified by [all …]
|