| /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() 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() 321 void msi_set_mask(PCIDevice *dev, int vector, bool mask, Error **errp) in msi_set_mask() argument 327 if (vector >= PCI_MSI_VECTORS_MAX) { in msi_set_mask() [all …]
|
| /openbmc/phosphor-net-ipmid/ |
| H A D | integrity_algo.hpp | 72 const std::vector<uint8_t>& packet, const size_t packetLen, 73 std::vector<uint8_t>::const_iterator integrityDataBegin, 74 std::vector<uint8_t>::const_iterator integrityDataEnd) const = 0; 84 std::vector<uint8_t> virtual generateIntegrityData( 85 const std::vector<uint8_t>& input) const = 0; 131 std::vector<uint8_t> virtual generateKn( 132 const std::vector<uint8_t>& sik, const rmcp::Const_n& data) const = 0; 144 std::vector<uint8_t> k1; 168 explicit AlgoSHA1(const std::vector<uint8_t>& sik); 191 const std::vector<uint8_t>& packet, const size_t length, [all …]
|
| 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 | crypt_algo.hpp | 46 explicit Interface(const std::vector<uint8_t>& k2) : k2(k2) {} in Interface() 64 virtual std::vector<uint8_t> decryptPayload( 65 const std::vector<uint8_t>& packet, const size_t sessHeaderLen, 76 virtual std::vector<uint8_t> encryptPayload( 77 std::vector<uint8_t>& payload) const = 0; 105 std::vector<uint8_t> k2; 144 explicit AlgoAES128(const std::vector<uint8_t>& k2) : Interface(k2) {} in AlgoAES128() 162 std::vector<uint8_t> decryptPayload(const std::vector<uint8_t>& packet, 174 std::vector<uint8_t> encryptPayload( 175 std::vector<uint8_t>& payload) const override; [all …]
|
| H A D | auth_algo.hpp | 78 std::vector<uint8_t> virtual generateHMAC( 79 const std::vector<uint8_t>& input) const = 0; 94 std::vector<uint8_t> virtual generateICV( 95 const std::vector<uint8_t>& input) const = 0; 128 std::vector<uint8_t> sessionIntegrityKey; 176 std::vector<uint8_t> generateHMAC( 177 const std::vector<uint8_t>& input) const override; 179 std::vector<uint8_t> generateICV( 180 const std::vector<uint8_t>& input) const override; 210 std::vector<uint8_t> generateHMAC( [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/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 | 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); 43 std::vector<InterfaceMapType::value_type> getAssociatedSubTree( 48 std::vector<std::string>& interfaces); [all …]
|
| H A D | handler.cpp | 15 void addObjectMapResult(std::vector<InterfaceMapType::value_type>& objectMap, in addObjectMapResult() 41 std::vector<InterfaceMapType::value_type> getAncestors( in getAncestors() 43 std::vector<std::string>& interfaces) in getAncestors() 58 std::vector<InterfaceMapType::value_type> ret; in getAncestors() 78 std::vector<std::string> output(std::min( in getAncestors() 100 std::vector<std::string>& interfaces) in getObject() 118 std::vector<std::string> output( in getObject() 141 std::vector<InterfaceMapType::value_type> getSubTree( in getSubTree() 143 std::vector<std::string>& interfaces) in getSubTree() 168 std::vector<InterfaceMapType::value_type> ret; in getSubTree() [all …]
|
| /openbmc/entity-manager/src/fru_device/ |
| H A D | fru_utils.hpp | 25 using DeviceMap = std::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, 153 std::pair<std::vector<uint8_t>, bool> readFRUContents( 174 bool findFruAreaLocationAndField(std::vector<uint8_t>& fruData, 189 bool copyRestFRUArea(std::vector<uint8_t>& fruData, [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/bmcweb/include/ |
| H A D | dbus_utility.hpp | 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::tuple<uint64_t, std::vector<std::tuple<std::string, std::string, double, uint64_t>>>, 53 std::vector<sdbusplus::message::object_path>, 54 std::vector<std::tuple<std::string, std::string>>, 55 std::vector<std::tuple<uint32_t, std::vector<uint32_t>>>, [all …]
|
| /openbmc/bmcweb/test/redfish-core/lib/ |
| H A D | ethernet_test.cpp | 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() 90 std::vector<std::variant<nlohmann::json::object_t, std::nullptr_t>> addr; in TEST() [all …]
|
| /openbmc/openpower-pnor-code-mgmt/test/ |
| H A D | test_functions.cpp | 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() 63 std::map<std::string, std::vector<std::string>> extensionMap; in TEST() [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() 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() 347 const IvshmemClientPeer *peer, unsigned vector) in ivshmem_client_notify() argument 352 if (vector >= peer->vectors_count) { in ivshmem_client_notify() 354 vector, peer->id); in ivshmem_client_notify() 357 fd = peer->vectors[vector]; in ivshmem_client_notify() [all …]
|
| /openbmc/openpower-vpd-parser/vpd-tool/include/ |
| H A D | tool_types.hpp | 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>>>, 40 std::vector<std::tuple<uint32_t, size_t>>, [all …]
|
| /openbmc/entity-manager/test/ |
| H A D | test_gpio_presence_state.cpp | 24 std::vector<std::string> gpioNames = {"GPIO1"}; in TEST_F() 25 std::vector<uint64_t> gpioValues = {0}; // Active low in TEST_F() 39 std::vector<std::string> gpioNames = {"GPIO2"}; in TEST_F() 40 std::vector<uint64_t> gpioValues = {1}; // Active high in TEST_F() 54 std::vector<std::string> gpioNames = {"GPIO1", "GPIO2", "GPIO3"}; in TEST_F() 55 std::vector<uint64_t> gpioValues = {0, 1, 0}; // Active low, high, low in TEST_F() 73 std::vector<std::string> gpioNames = {"GPIO1"}; in TEST_F() 74 std::vector<uint64_t> gpioValues = {0}; // Active low in TEST_F() 89 std::vector<std::string> gpioNames = {"GPIO1"}; in TEST_F() 90 std::vector<uint64_t> gpioValues = {0}; // Active low in TEST_F() [all …]
|
| /openbmc/pldm/fw-update/test/ |
| H A D | package_parser_test.cpp | 10 void imageGenerate(std::vector<uint8_t>& image, size_t size) in imageGenerate() 18 void imageInsert(std::vector<uint8_t>& fwPkgHdr, std::vector<uint8_t>& image) in imageInsert() 26 std::vector<uint8_t> fwPkgHdr{ in TEST() 43 std::vector<uint8_t> compImage; in TEST() 60 std::vector<uint8_t>{0x16, 0x20, 0x23, 0xC9, 0x3E, 0xC5, 0x41, 0x15, in TEST() 75 std::vector<uint8_t> fwPkgHdr{ in TEST() 108 std::vector<uint8_t> compImage1, compImage2, compImage3; in TEST() 129 std::vector<uint8_t>{0x12, 0x44, 0xD2, 0x64, 0x8D, 0x7D, 0x47, 0x18, in TEST() 133 std::vector<uint8_t>{0x47, 0x16, 0x00, 0x00}}, in TEST() 135 std::make_tuple("OpenBMC", std::vector<uint8_t>{0x12, 0x34})}}, in TEST() [all …]
|
| /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;
|
| /openbmc/pldm/common/ |
| H A D | utils.hpp | 139 std::optional<std::vector<set_effecter_state_field>> parseEffecterData( 140 const std::vector<uint8_t>& effecterData, uint8_t effecterCount); 181 uint64_t, double, std::string, std::vector<uint8_t>, 182 std::vector<uint64_t>, std::vector<std::string>>; 185 using DBusInterfaceAdded = std::vector< 187 std::vector<std::pair<pldm::dbus::Property, 192 using Entities = std::vector<pldm_entity_node*>; 193 using EntityAssociations = std::vector<Entities>; 198 using Interfaces = std::vector<std::string>; 199 using MapperServiceMap = std::vector<std::pair<ServiceName, Interfaces>>; [all …]
|
| /openbmc/pldm/platform-mc/ |
| H A D | terminus.hpp | 61 bool setSupportedCommands(const std::vector<uint8_t>& cmds) in setSupportedCommands() 133 std::vector<std::vector<uint8_t>> pdrs{}; 147 std::vector<std::shared_ptr<NumericSensor>> numericSensors{}; 201 const std::vector<uint8_t>& pdrData); 209 const std::vector<uint8_t>& pdrData); 217 const std::vector<uint8_t>& pdrData); 233 parseCompactNumericSensorPDR(const std::vector<uint8_t>& pdrData); 241 const std::vector<uint8_t>& pdrData); 259 std::vector<std::string> getSensorNames(const SensorID& sensorId); 280 std::vector<uint8_t> supportedCmds; [all …]
|