/openbmc/qemu/gdb-xml/ |
H A D | hexagon-hvx.xml | 19 <vector id="vud" type="uint64" count="16"/> 20 <vector id="vd" type="int64" count="16"/> 21 <vector id="vuw" type="uint32" count="32"/> 22 <vector id="vw" type="int32" count="32"/> 23 <vector id="vuh" type="uint16" count="64"/> 24 <vector id="vh" type="int16" count="64"/> 25 <vector id="vub" type="uint8" count="128"/> 26 <vector id="vb" type="int8" count="128"/> 48 <vector id="vpd" type="uint8" count="16"/> 49 <vector id="vpw" type="ui4" count="32"/> [all …]
|
/openbmc/qemu/tests/tcg/xtensa/ |
H A D | linker.ld.S | 38 .vector.window XCHAL_WINDOW_VECTORS_VADDR : 41 *(.vector.window_overflow_4) 43 *(.vector.window_underflow_4) 45 *(.vector.window_overflow_8) 47 *(.vector.window_underflow_8) 49 *(.vector.window_overflow_12) 51 *(.vector.window_underflow_12) 55 .vector.level2 XCHAL_INTLEVEL2_VECTOR_VADDR : 57 *(.vector.level2) 61 .vector.level3 XCHAL_INTLEVEL3_VECTOR_VADDR : [all …]
|
H A D | vectors.S | 3 .macro vector name macro 5 .section .vector.\name, "ax" 15 .section .vector.\name\().text, "ax" 36 vector window_overflow_4 37 vector window_overflow_8 38 vector window_overflow_12 39 vector window_underflow_4 40 vector window_underflow_8 41 vector window_underflow_12 45 vector level2 [all …]
|
/openbmc/qemu/hw/pci/ |
H A D | msix.c | 37 static MSIMessage msix_prepare_message(PCIDevice *dev, unsigned vector) in msix_prepare_message() argument 39 uint8_t *table_entry = dev->msix_table + vector * PCI_MSIX_ENTRY_SIZE; in msix_prepare_message() 47 MSIMessage msix_get_message(PCIDevice *dev, unsigned vector) in msix_get_message() argument 49 return dev->msix_prepare_message(dev, vector); in msix_get_message() 56 void msix_set_message(PCIDevice *dev, int vector, struct MSIMessage msg) in msix_set_message() argument 58 uint8_t *table_entry = dev->msix_table + vector * PCI_MSIX_ENTRY_SIZE; in msix_set_message() 65 static uint8_t msix_pending_mask(int vector) in msix_pending_mask() argument 67 return 1 << (vector % 8); in msix_pending_mask() 70 static uint8_t *msix_pending_byte(PCIDevice *dev, int vector) in msix_pending_byte() argument 72 return dev->msix_pba + vector / 8; in msix_pending_byte() [all …]
|
H A D | msi.c | 140 static MSIMessage msi_prepare_message(PCIDevice *dev, unsigned int vector) in msi_prepare_message() argument 147 assert(vector < nr_vectors); in msi_prepare_message() 159 msg.data |= vector; in msi_prepare_message() 165 MSIMessage msi_get_message(PCIDevice *dev, unsigned int vector) in msi_get_message() argument 167 return dev->msi_prepare_message(dev, vector); in msi_get_message() 184 * If @msi_per_vector_mask, make the device support per-vector masking. 208 "init offset: 0x%"PRIx8" vector: %"PRId8 in msi_init() 300 bool msi_is_masked(const PCIDevice *dev, unsigned int vector) in msi_is_masked() argument 305 assert(vector < PCI_MSI_VECTORS_MAX); in msi_is_masked() 318 return mask & (1U << vector); in msi_is_masked() [all …]
|
/openbmc/telemetry/src/ |
H A D | trigger_factory.hpp | 21 const std::vector<std::string>& triggerActions, 22 const std::vector<std::string>& reportIds, 26 const std::vector<LabeledSensorInfo>& labeledSensorsinfo) 29 std::vector<LabeledSensorInfo> getLabeledSensorsInfo( 32 std::vector<LabeledSensorInfo> getLabeledSensorsInfo( 36 std::vector<std::shared_ptr<interfaces::Threshold>>& currentThresholds, 38 const std::vector<TriggerAction>& triggerActions, 39 const std::shared_ptr<std::vector<std::string>>& reportIds, 44 const std::vector<LabeledSensorInfo>& labeledSensorsInfo) 53 const std::vector<LabeledSensorInfo>& labeledSensorsInfo) const; [all …]
|
H A D | trigger_factory.cpp | 24 std::vector<std::shared_ptr<interfaces::Threshold>>& currentThresholds, in updateDiscreteThresholds() 26 const std::vector<TriggerAction>& triggerActions, in updateDiscreteThresholds() 27 const std::shared_ptr<std::vector<std::string>>& reportIds, in updateDiscreteThresholds() 29 const std::vector<discrete::LabeledThresholdParam>& newParams) const in updateDiscreteThresholds() 32 std::vector<std::shared_ptr<interfaces::Threshold>> newThresholds; in updateDiscreteThresholds() 90 std::vector<std::shared_ptr<interfaces::Threshold>>& currentThresholds, in updateNumericThresholds() 92 const std::vector<TriggerAction>& triggerActions, in updateNumericThresholds() 93 const std::shared_ptr<std::vector<std::string>>& reportIds, in updateNumericThresholds() 95 const std::vector<numeric::LabeledThresholdParam>& newParams) const in updateNumericThresholds() 98 std::vector<std::shared_ptr<interfaces::Threshold>> newThresholds; in updateNumericThresholds() [all …]
|
/openbmc/phosphor-objmgr/src/ |
H A D | handler.hpp | 6 #include <vector> 8 void addObjectMapResult(std::vector<InterfaceMapType::value_type>& objectMap, 12 std::vector<InterfaceMapType::value_type> getAncestors( 14 std::vector<std::string>& interfaces); 18 std::vector<std::string>& interfaces); 20 std::vector<InterfaceMapType::value_type> getSubTree( 22 std::vector<std::string>& interfaces); 24 std::vector<std::string> getSubTreePaths(const InterfaceMapType& interfaceMap, 26 std::vector<std::string>& interfaces); 41 * @return std::vector<InterfaceMapType::value_type> [all …]
|
H A D | handler.cpp | 12 #include <vector> 14 void addObjectMapResult(std::vector<InterfaceMapType::value_type>& objectMap, in addObjectMapResult() 40 std::vector<InterfaceMapType::value_type> getAncestors( in getAncestors() 42 std::vector<std::string>& interfaces) in getAncestors() 57 std::vector<InterfaceMapType::value_type> ret; in getAncestors() 77 std::vector<std::string> output(std::min( in getAncestors() 99 std::vector<std::string>& interfaces) in getObject() 117 std::vector<std::string> output( in getObject() 140 std::vector<InterfaceMapType::value_type> getSubTree( in getSubTree() 142 std::vector<std::string>& interfaces) in getSubTree() [all …]
|
/openbmc/phosphor-net-ipmid/ |
H A D | integrity_algo.cpp | 15 AlgoSHA1::AlgoSHA1(const std::vector<uint8_t>& sik) : in AlgoSHA1() 21 std::vector<uint8_t> AlgoSHA1::generateHMAC(const uint8_t* input, in generateHMAC() 24 std::vector<uint8_t> output(SHA_DIGEST_LENGTH); in generateHMAC() 43 const std::vector<uint8_t>& packet, const size_t length, in verifyIntegrityData() 44 std::vector<uint8_t>::const_iterator integrityDataBegin, in verifyIntegrityData() 45 std::vector<uint8_t>::const_iterator integrityDataEnd) const in verifyIntegrityData() 56 std::vector<uint8_t> AlgoSHA1::generateIntegrityData( in generateIntegrityData() 57 const std::vector<uint8_t>& packet) const in generateIntegrityData() 64 std::vector<uint8_t> AlgoSHA1::generateKn(const std::vector<uint8_t>& sik, in generateKn() 68 std::vector<uint8_t> Kn(sik.size()); in generateKn() [all …]
|
H A D | auth_algo.cpp | 17 std::vector<uint8_t> AlgoSHA1::generateHMAC( in generateHMAC() 18 const std::vector<uint8_t>& input) const in generateHMAC() 20 std::vector<uint8_t> output(SHA_DIGEST_LENGTH); in generateHMAC() 33 std::vector<uint8_t> AlgoSHA1::generateICV( in generateICV() 34 const std::vector<uint8_t>& input) const in generateICV() 36 std::vector<uint8_t> output(SHA_DIGEST_LENGTH); in generateICV() 51 std::vector<uint8_t> AlgoSHA256::generateHMAC( in generateHMAC() 52 const std::vector<uint8_t>& input) const in generateHMAC() 54 std::vector<uint8_t> output(SHA256_DIGEST_LENGTH); in generateHMAC() 68 std::vector<uint8_t> AlgoSHA256::generateICV( in generateICV() [all …]
|
/openbmc/bmcweb/test/redfish-core/lib/ |
H A D | ethernet_test.cpp | 9 #include <vector> 23 std::vector<std::variant<nlohmann::json::object_t, std::nullptr_t>> addr; in TEST() 24 std::vector<IPv4AddressData> existingAddr; in TEST() 26 std::vector<AddressPatch> addrOut; in TEST() 39 std::vector<std::variant<nlohmann::json::object_t, std::nullptr_t>> addr; in TEST() 45 std::vector<IPv4AddressData> existingAddr; in TEST() 47 std::vector<AddressPatch> addrOut; in TEST() 65 std::vector<std::variant<nlohmann::json::object_t, std::nullptr_t>> addr; in TEST() 70 std::vector<IPv4AddressData> existingAddr; in TEST() 72 std::vector<AddressPatch> addrOut; in TEST() [all …]
|
/openbmc/phosphor-power/phosphor-regulators/src/ |
H A D | exception_utils.hpp | 22 #include <vector> 33 * Returns a vector containing the specified exception and any nested inner 36 * If the exception contains nested inner exceptions, the returned vector will 43 * @return vector of exceptions, from innermost to outermost 45 std::vector<std::exception_ptr> getExceptions(std::exception_ptr eptr); 52 * returned vector will be ordered from innermost exception to outermost 58 std::vector<std::string> getMessages(const std::exception& e); 67 * Builds a vector containing the specified exception and any nested inner 70 * Stores the exceptions in the specified vector, from innermost exception to 74 * @param exceptions vector where exceptions will be stored [all …]
|
/openbmc/qemu/docs/system/arm/ |
H A D | cpu-features.rst | 57 optional SVE vector lengths (see "SVE CPU Properties"). While with TCG 58 all SVE vector lengths can be supported, when KVM is in use it's more 88 vector lengths:: 160 The example above disables the PMU and enables the first two SVE vector 164 defaults, it would seem we need to disable many SVE vector lengths, rather 166 disabling many SVE vector lengths would be quite verbose, the ``sve<N>`` CPU 237 is used to enable or disable specific vector lengths, where ``N`` is the 240 Constraints" below. Additionally, as we want all supported vector lengths 249 1) At least one vector length must be enabled when ``sve`` is enabled. 251 2) If a vector length ``N`` is enabled, then, when KVM is enabled, all [all …]
|
/openbmc/qemu/contrib/ivshmem-client/ |
H A D | ivshmem-client.c | 79 unsigned vector; in ivshmem_client_free_peer() local 82 for (vector = 0; vector < peer->vectors_count; vector++) { in ivshmem_client_free_peer() 83 close(peer->vectors[vector]); in ivshmem_client_free_peer() 128 /* new vector */ in ivshmem_client_handle_server_msg() 129 IVSHMEM_CLIENT_DEBUG(client, " new vector %d (fd=%d) for peer id %" in ivshmem_client_handle_server_msg() 275 unsigned vector; in ivshmem_client_get_fds() local 282 for (vector = 0; vector < client->local.vectors_count; vector++) { in ivshmem_client_get_fds() 283 fd = client->local.vectors[vector]; in ivshmem_client_get_fds() 316 IVSHMEM_CLIENT_DEBUG(client, "received event on fd %d vector %d: %" in ivshmem_client_handle_event() 344 /* send a notification on a vector of a peer */ [all …]
|
/openbmc/bmcweb/include/ |
H A D | dbus_utility.hpp | 25 #include <vector> 35 std::vector<std::tuple<std::string, std::string, std::string>>, 36 std::vector<std::string>, 37 std::vector<double>, 48 std::vector<uint32_t>, 49 std::vector<uint16_t>, 51 std::tuple<uint64_t, std::vector<std::tuple<std::string, double, uint64_t>>>, 52 std::vector<sdbusplus::message::object_path>, 53 std::vector<std::tuple<std::string, std::string>>, 54 std::vector<std::tuple<uint32_t, std::vector<uint32_t>>>, [all …]
|
/openbmc/telemetry/tests/src/params/ |
H A D | trigger_params.hpp | 49 TriggerParams& triggerActions(const std::vector<TriggerAction>& val) in triggerActions() 55 const std::vector<TriggerAction>& triggerActions() const in triggerActions() 60 const std::vector<LabeledSensorInfo>& sensors() const in sensors() 65 const std::vector<std::string>& reportIds() const in reportIds() 70 TriggerParams& reportIds(std::vector<std::string> val) in reportIds() 73 reportsProperty = utils::transform<std::vector>( in reportIds() 80 const std::vector<object_path>& reports() const in reports() 85 TriggerParams& reports(std::vector<object_path> val) in reports() 102 const std::vector<numeric::LabeledThresholdParam> numericThresholdParams() in numericThresholdParams() 113 const std::vector<discrete::LabeledThresholdParam> discreteThresholdParams() in discreteThresholdParams() [all …]
|
/openbmc/openpower-pnor-code-mgmt/test/ |
H A D | test_functions.cpp | 13 #include <vector> 21 std::map<std::string, std::vector<std::string>> extensionMap{{ in TEST() 24 std::vector<std::string> compatibleSystem{"system-foo"s}, extensions; in TEST() 29 EXPECT_EQ(extensions, std::vector<std::string>{".EXT"s}); in TEST() 34 std::map<std::string, std::vector<std::string>> extensionMap{{ in TEST() 37 std::vector<std::string> compatibleSystem{"system-foo"s}, in TEST() 43 EXPECT_EQ(extensions, std::vector<std::string>{"foo"s}); in TEST() 48 std::map<std::string, std::vector<std::string>> extensionMap{{ in TEST() 52 std::vector<std::string> compatibleSystem{"system-foo"s}, in TEST() 58 EXPECT_EQ(extensions, std::vector<std::string>{".FOO"s}); in TEST() [all …]
|
/openbmc/entity-manager/src/fru_device/ |
H A D | fru_utils.hpp | 16 #include <vector> 25 using DeviceMap = boost::container::flat_map<int, std::vector<uint8_t>>; 64 const std::vector<std::string> fruAreaNames = {"INTERNAL", "CHASSIS", "BOARD", 68 const std::vector<std::string> chassisFruAreas = {"PART_NUMBER", 71 const std::vector<std::string> boardFruAreas = { 75 const std::vector<std::string> productFruAreas = { 116 std::vector<uint8_t>& getFRUInfo(const uint16_t& bus, const uint8_t& address); 124 std::vector<uint8_t>& fruData, size_t fruAreaStart, 146 std::pair<std::vector<uint8_t>, bool> readFRUContents( 161 /// \param fruData - vector to store fru data [all …]
|
/openbmc/openpower-vpd-parser/vpd-tool/include/ |
H A D | tool_types.hpp | 9 #include <vector> 15 using BinaryVector = std::vector<uint8_t>; 20 std::vector<std::tuple<std::string, std::string, std::string>>, 21 std::vector<std::string>, 22 std::vector<double>, 34 std::vector<uint32_t>, 35 std::vector<uint16_t>, 37 std::tuple<uint64_t, std::vector<std::tuple<std::string, std::string, double, uint64_t>>>, 38 std::vector<std::tuple<std::string, std::string>>, 39 std::vector<std::tuple<uint32_t, std::vector<uint32_t>>>, [all …]
|
/openbmc/qemu/include/hw/ppc/ |
H A D | spapr_ovec.h | 2 * QEMU SPAPR Option/Architecture Vector Definitions 7 * <vector number>: the bit-vector in which the option is located 8 * <vector byte>: the byte offset of the vector entry 9 * <vector bit>: the bit offset within the vector entry 11 * where each vector entry can be one or more bytes. 13 * Firmware expects a somewhat literal encoding of this bit-vector 24 * on a bitmap to approximate the documented "bit-vector" structure and 46 /* option vector 1 */ 49 /* option vector 5 */ 76 SpaprOptionVector *spapr_ovec_parse_vector(target_ulong table_addr, int vector);
|
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/ |
H A D | firmware_handler_unittest.cpp | 9 #include <vector> 22 std::vector<DataHandlerPack> data; in TEST() 33 std::vector<HandlerPack> blobs; in TEST() 38 std::move(blobs), std::vector<DataHandlerPack>(), in TEST() 47 std::vector<DataHandlerPack> data; in TEST() 50 std::vector<HandlerPack> blobs; in TEST() 65 std::vector<DataHandlerPack> data; in TEST() 71 std::vector<HandlerPack> blobs; in TEST() 79 std::vector<HandlerPack> blobs2; in TEST() 83 std::vector<DataHandlerPack> data2; in TEST() [all …]
|
/openbmc/libbej/include/libbej/ |
H A D | bej_encoder_json.hpp | 6 #include <vector> 14 * @param[in] dataPtr - pointer to a valid stack of type std::vector<void*> 23 * @param[in] dataPtr - pointer to a valid stack of type std::vector<void*> 32 * @param[in] dataPtr - pointer to a valid stack of type std::vector<void*> 42 * @param[in] dataPtr - pointer to a valid stack of type std::vector<void*> 51 * @param[in] data - pointer to a valid stack of type std::vector<void*> 81 * @return std::vector<uint8_t> containing encoded JSON bytes. If the 82 * encoding was unsuccessful, the vector will be empty. Note that the 83 * vector resource will be moved to the requester API 85 std::vector<uint8_t> getOutput(); [all …]
|
/openbmc/qemu/include/hw/pci/ |
H A D | msix.h | 8 void msix_set_message(PCIDevice *dev, int vector, MSIMessage msg); 9 MSIMessage msix_get_message(PCIDevice *dev, unsigned int vector); 32 bool msix_is_masked(PCIDevice *dev, unsigned vector); 33 void msix_set_pending(PCIDevice *dev, unsigned vector); 34 void msix_clr_pending(PCIDevice *dev, int vector); 35 int msix_is_pending(PCIDevice *dev, unsigned vector); 37 void msix_vector_use(PCIDevice *dev, unsigned vector); 38 void msix_vector_unuse(PCIDevice *dev, unsigned vector); 40 void msix_set_mask(PCIDevice *dev, int vector, bool mask); 42 void msix_notify(PCIDevice *dev, unsigned vector);
|
/openbmc/telemetry/src/interfaces/ |
H A D | trigger_factory.hpp | 27 const std::vector<std::string>& triggerActions, 28 const std::vector<std::string>& reportIds, 32 const std::vector<LabeledSensorInfo>& labeledSensorsInfo) const = 0; 34 virtual std::vector<LabeledSensorInfo> getLabeledSensorsInfo( 38 virtual std::vector<LabeledSensorInfo> getLabeledSensorsInfo( 42 std::vector<std::shared_ptr<interfaces::Threshold>>& currentThresholds, 44 const std::vector<::TriggerAction>& triggerActions, 45 const std::shared_ptr<std::vector<std::string>>& reportIds, 51 const std::vector<LabeledSensorInfo>& labeledSensorsInfo) const = 0;
|