Home
last modified time | relevance | path

Searched refs:Type (Results 1 – 25 of 1386) sorted by relevance

12345678910>>...56

/openbmc/phosphor-power/
H A Dpmbus.hpp154 enum class Type enum
173 virtual uint64_t read(const std::string& name, Type type,
175 virtual std::string readString(const std::string& name, Type type) = 0;
176 virtual std::vector<uint8_t> readBinary(const std::string& name, Type type,
179 Type type) = 0;
184 virtual fs::path getPath(Type type) = 0;
266 bool readBit(const std::string& name, Type type);
280 bool readBitInPage(const std::string& name, size_t page, Type type);
289 bool exists(const std::string& name, Type type);
300 uint64_t read(const std::string& name, Type type,
[all …]
H A Dpmbus.cpp84 fs::path PMBus::getPath(Type type) in getPath()
90 case Type::Base: in getDeviceName()
93 case Type::Hwmon: in getDeviceName()
96 case Type::Debug: in getDeviceName()
99 case Type::DeviceDebug: in getDeviceName()
105 case Type::HwmonDeviceDebug: in getDeviceName()
133 bool PMBus::readBitInPage(const std::string& name, size_t page, Type type) in readBit()
139 bool PMBus::readBit(const std::string& name, Type type) in readBit()
188 bool PMBus::exists(const std::string& name, Type type) in read()
195 uint64_t PMBus::read(const std::string& name, Type typ in read()
[all...]
/openbmc/telemetry/tests/src/
H A Dtest_trigger_actions.cpp17 using LogParam = std::tuple<::numeric::Type, double, TriggerValue>;
22 std::make_tuple(::numeric::Type::upperCritical, 91.1, in getCorrectParams()
24 std::make_tuple(::numeric::Type::upperCritical, 90, TriggerValue(91.1)), in getCorrectParams()
25 std::make_tuple(::numeric::Type::lowerCritical, 91.2, in getCorrectParams()
27 std::make_tuple(::numeric::Type::lowerCritical, 90, TriggerValue(91.2)), in getCorrectParams()
28 std::make_tuple(::numeric::Type::upperWarning, 88.5, in getCorrectParams()
30 std::make_tuple(::numeric::Type::upperWarning, 90, TriggerValue(88.5)), in getCorrectParams()
31 std::make_tuple(::numeric::Type::lowerWarning, 88.6, in getCorrectParams()
33 std::make_tuple(::numeric::Type::lowerWarning, 90, TriggerValue(88.6))); in getCorrectParams()
38 return Values(std::make_tuple(::numeric::Type::upperCritical, 90.0, in getIncorrectParams()
[all …]
/openbmc/witherspoon-pfault-analysis/
H A Dpmbus.hpp93 enum class Type enum
159 bool readBit(const std::string& name, Type type);
173 bool readBitInPage(const std::string& name, size_t page, Type type);
182 bool exists(const std::string& name, Type type);
192 uint64_t read(const std::string& name, Type type);
202 std::string readString(const std::string& name, Type type);
213 std::vector<uint8_t> readBinary(const std::string& name, Type type,
225 void write(const std::string& name, int value, Type type);
264 fs::path getPath(Type type);
H A Dpmbus.cpp61 fs::path PMBus::getPath(Type type) in getPath()
67 case Type::Base: in getPath()
70 case Type::Hwmon: in getPath()
73 case Type::Debug: in getPath()
76 case Type::DeviceDebug: in getPath()
82 case Type::HwmonDeviceDebug: in getPath()
110 bool PMBus::readBitInPage(const std::string& name, size_t page, Type type) in readBitInPage()
116 bool PMBus::readBit(const std::string& name, Type type) in readBit()
164 bool PMBus::exists(const std::string& name, Type type) in exists()
171 uint64_t PMBus::read(const std::string& name, Type type) in read()
[all …]
/openbmc/bmcweb/redfish-core/include/utils/
H A Djson_utils.hpp58 template <typename Type>
62 template <typename Type>
63 struct IsOptional<std::optional<Type>> : std::true_type
66 template <typename Type>
70 template <typename Type>
71 struct IsVector<std::vector<Type>> : std::true_type
74 template <typename Type>
78 template <typename Type, std::size_t size>
79 struct IsStdArray<std::array<Type, size>> : std::true_type
82 template <typename Type>
[all …]
/openbmc/libpldm/abi/x86_64/
H A Dgcc.dump10294 'Type' => 'Intrinsic'
10299 'Type' => 'Intrinsic'
10304 'Type' => 'Intrinsic'
10309 'Type' => 'Intrinsic'
10314 'Type' => 'Intrinsic'
10319 'Type' => 'Intrinsic'
10324 'Type' => 'Intrinsic'
10329 'Type' => 'Intrinsic'
10338 'Type' => 'Typedef'
10343 'Type' => 'Intrinsic'
[all …]
/openbmc/phosphor-health-monitor/
H A Dhealth_metric_config.cpp38 std::unordered_map<std::string, ThresholdIntf::Type>{
39 {"HardShutdown", ThresholdIntf::Type::HardShutdown},
40 {"SoftShutdown", ThresholdIntf::Type::SoftShutdown},
41 {"PerformanceLoss", ThresholdIntf::Type::PerformanceLoss},
42 {"Critical", ThresholdIntf::Type::Critical},
43 {"Warning", ThresholdIntf::Type::Warning}};
46 static const auto validTypes = std::unordered_map<std::string, Type>{
47 {"CPU", Type::cpu},
48 {"Memory", Type::memory},
49 {"Storage", Type::storage},
[all …]
/openbmc/witherspoon-pfault-analysis/power-supply/
H A Dpower_supply.cpp97 statusWord = pmbusIntf.read(STATUS_WORD, Type::Debug);
128 witherspoon::pmbus::Type type) in captureCmd()
156 statusWord = pmbusIntf.read(STATUS_WORD, Type::Debug); in analyze()
338 captureCmd(nv, STATUS_INPUT, Type::Debug); in checkInputFault()
381 captureCmd(nv, STATUS_INPUT, Type::Debug); in checkPGOrUnitOffFault()
383 captureCmd(nv, status0Vout, Type::Debug); in checkPGOrUnitOffFault()
384 captureCmd(nv, STATUS_IOUT, Type::Debug); in checkPGOrUnitOffFault()
385 captureCmd(nv, STATUS_MFR, Type::Debug); in checkPGOrUnitOffFault()
421 captureCmd(nv, STATUS_INPUT, Type::Debug); in checkCurrentOutOverCurrentFault()
423 captureCmd(nv, status0Vout, Type::Debug); in checkCurrentOutOverCurrentFault()
[all …]
/openbmc/phosphor-inventory-manager/
H A Devents.hpp25 enum class Type enum
42 explicit Event(const std::vector<Filter>& filters, Type t = Type::STARTUP) : in Event()
47 Type type;
75 Event(filters, Type::DBUS_SIGNAL), signature(sig) in DbusSignal()
/openbmc/telemetry/src/types/
H A Dtrigger_types.hpp65 enum class Type enum
83 constexpr std::array<std::pair<std::string_view, Type>, 4> convDataType = {
85 Type::lowerCritical),
87 Type::lowerWarning),
89 Type::upperWarning),
91 Type::upperCritical)};
106 inline Type toType(const std::string& str) in toType()
111 inline std::string typeToString(Type v) in typeToString()
129 std::tuple<Type, uint64_t, Direction, double>, utils::tstring::Type,
205 struct EnumTraits<numeric::Type>
/openbmc/phosphor-power/phosphor-power-sequencer/test/
H A Dmock_pmbus.hpp46 (const std::string& name, Type type, bool errTrace),
48 MOCK_METHOD(std::string, readString, (const std::string& name, Type type),
51 (const std::string& name, Type type, size_t length),
54 (const std::string& name, std::vector<uint8_t> data, Type type),
60 MOCK_METHOD(fs::path, getPath, (Type type), (override));
H A Dpmbus_driver_device_tests.cpp343 EXPECT_CALL(pmbus, read("status13", Type::Debug, true)) in TEST_F()
371 EXPECT_CALL(pmbus, read("status0", Type::Debug, true)) in TEST_F()
413 EXPECT_CALL(pmbus, read("status13_vout", Type::Debug, true)) in TEST_F()
441 EXPECT_CALL(pmbus, read("status0_vout", Type::Debug, true)) in TEST_F()
486 EXPECT_CALL(pmbus, getPath(Type::Hwmon)) in TEST_F()
489 EXPECT_CALL(pmbus, readString("in13_label", Type::Hwmon)) in TEST_F()
492 EXPECT_CALL(pmbus, readString("in13_input", Type::Hwmon)) in TEST_F()
523 EXPECT_CALL(pmbus, getPath(Type::Hwmon)) in TEST_F()
526 EXPECT_CALL(pmbus, readString("in13_label", Type::Hwmon)) in TEST_F()
571 EXPECT_CALL(pmbus, getPath(Type::Hwmon)) in TEST_F()
[all …]
/openbmc/phosphor-health-monitor/test/
H A Dtest_health_metric_config.cpp22 bool isValidSubType(metric::Type type, metric::SubType subType) in isValidSubType()
32 case metric::Type::cpu: in isValidSubType()
37 case metric::Type::memory: in isValidSubType()
45 case metric::Type::storage: in isValidSubType()
46 case metric::Type::inode: in isValidSubType()
60 EXPECT_NE(type, metric::Type::unknown); in TEST()
/openbmc/phosphor-power/power-supply/
H A Dpower_supply.cpp76 statusWord = pmbusIntf.read(STATUS_WORD, Type::Debug);
122 phosphor::pmbus::Type type) in captureCmd()
149 statusWord = pmbusIntf.read(STATUS_WORD, Type::Debug); in analyze()
307 captureCmd(nv, STATUS_INPUT, Type::Debug); in checkInputFault()
350 captureCmd(nv, STATUS_INPUT, Type::Debug); in checkPGOrUnitOffFault()
352 captureCmd(nv, status0Vout, Type::Debug); in checkPGOrUnitOffFault()
353 captureCmd(nv, STATUS_IOUT, Type::Debug); in checkPGOrUnitOffFault()
354 captureCmd(nv, STATUS_MFR, Type::Debug); in checkPGOrUnitOffFault()
390 captureCmd(nv, STATUS_INPUT, Type::Debug); in checkCurrentOutOverCurrentFault()
392 captureCmd(nv, status0Vout, Type::Debug); in checkCurrentOutOverCurrentFault()
[all …]
/openbmc/pldm/pldmd/
H A Dinvoker.hpp13 using Type = uint8_t; typedef
26 void registerHandler(Type pldmType, std::unique_ptr<CmdHandler> handler) in registerHandler()
40 Response handle(pldm_tid_t tid, Type pldmType, Command pldmCommand, in handle()
48 std::map<Type, std::unique_ptr<CmdHandler>> handlers;
/openbmc/docs/
H A DREST-cheatsheet.md28 …curl -c cjar -b cjar -k -H "Content-Type: application/json" -X POST https://${bmc}/login -d "{\"da…
49 …export token=`curl -k -H "Content-Type: application/json" -X POST https://${bmc}/login -d '{"usern…
63 export token=`curl -k -H "Content-Type: application/json" -X POST https://${bmc}/login -d '{"userna…
84 …curl -k -H "X-Auth-Token: $token" -H "Content-Type: application/json" -d '{"data": "xyz.openbmc_pr…
90 …curl -k -H "X-Auth-Token: $token" -H "Content-Type: application/json" -X PUT -d '{"data":"xyz.open…
96 …curl -k -H "X-Auth-Token: $token" -H "Content-Type: application/json" -d '{"data": "xyz.openbmc_pr…
102 …curl -k -H "X-Auth-Token: $token" -H "Content-Type: application/json" -X PUT -d '{"data":"xyz.open…
108 …curl -k -H "X-Auth-Token: $token" -H "Content-Type: application/json" -X PUT -d '{"data":"xyz.open…
114 …curl -k -H "X-Auth-Token: $token" -H "Content-Type: application/json" -X GET https://${bmc}/xyz/op…
120 …curl -k -H "X-Auth-Token: $token" -H "Content-Type: application/json" -X DELETE https://${bmc}/xyz…
[all …]
H A DREDFISH-cheatsheet.md25 curl --insecure -H "Content-Type: application/json" -X POST -D headers.txt https://${bmc}/redfish/v…
39 export token=`curl -k -H "Content-Type: application/json" -X POST https://${bmc}/login -d '{"userna…
70 curl -k -H "X-Auth-Token: $token" -H "Content-Type: application/json" -X POST https://${bmc}/redfis…
76 curl -k -H "X-Auth-Token: $token" -H "Content-Type: application/json" -X POST https://${bmc}/redfis…
82 curl -k -H "X-Auth-Token: $token" -H "Content-Type: application/json" -X POST https://${bmc}/redfis…
88 curl -k -H "X-Auth-Token: $token" -H "Content-Type: application/json" -X POST https://${bmc}/redfis…
96 curl -k -H "X-Auth-Token: $token" -H "Content-Type: application/json" -X POST https://${bmc}/redfis…
106 curl -k -H "X-Auth-Token: $token" -H "Content-Type: application/json" -X POST https://${bmc}/redfis…
122 curl -k -H "X-Auth-Token: $token" -H "Content-Type: application/json" -X POST https://${bmc}/redfis…
134 curl -k -H "X-Auth-Token: $token" -H "Content-Type: application/octet-stream" -X POST -T <image fil…
[all …]
/openbmc/entity-manager/src/gpio-presence/
H A DREADME.md19 "Type": "GPIODeviceDetect"
25 "Type": "GPIODeviceDetect"
31 "Type": "GPIODeviceDetect"
37 "Type": "GPIODeviceDetect"
43 "Type": "GPIODeviceDetect"
50 "Type": "Board",
68 "Type": "NCT7802"
75 "Type": "Board",
/openbmc/openpower-hw-diags/test/
H A Dtest-lpc-timeout.cpp49 "Callout Type": "Procedure Callout", in TEST()
104 "Callout Type": "Part Callout", in TEST()
105 "Part Type": "PNOR", in TEST()
109 "Callout Type": "Clock Callout", in TEST()
110 "Clock Type": "OSC_REF_CLOCK_0", in TEST()
114 "Callout Type": "Hardware Callout", in TEST()
H A Dtest-chnl-timeout.cpp67 "Bus Type": "OMI_BUS", in TEST()
68 "Callout Type": "Bus Callout", in TEST()
75 "Callout Type": "Hardware Callout", in TEST()
135 "Bus Type": "OMI_BUS", in TEST()
136 "Callout Type": "Bus Callout", in TEST()
143 "Callout Type": "Hardware Callout", in TEST()
204 "Bus Type": "OMI_BUS", in TEST()
205 "Callout Type": "Bus Callout", in TEST()
212 "Bus Type": "OMI_BUS", in TEST()
213 "Callout Type": "Connected Callout", in TEST()
[all …]
/openbmc/pldm/libpldmresponder/examples/fru/
H A DBoard_VINI.json5 // FRU Record Type - OEM FRU Record
7 // Encoding Type for FRU fields - ASCII
13 // FRU Field Type 2 - Keyword RT
23 // FRU Field Type 3 - Keyword B3
H A DCpu_General.json5 // FRU Record Type - General FRU Record
7 // Encoding Type for FRU fields - ASCII
13 // FRU Field Type 3 - Part Number
23 // FRU Field Type 4 - Serial Number
H A DBoard_General.json5 // FRU Record Type - General FRU Record
7 // Encoding Type for FRU fields - ASCII
13 // FRU Field Type 3 - Part Number
23 // FRU Field Type 4 - Serial Number
/openbmc/telemetry/src/
H A Dtrigger_actions.cpp42 case ::numeric::Type::upperCritical: in getRedfishMessageId()
44 case ::numeric::Type::lowerCritical: in getRedfishMessageId()
46 case ::numeric::Type::upperWarning: in getRedfishMessageId()
48 case ::numeric::Type::lowerWarning: in getRedfishMessageId()
57 case ::numeric::Type::upperCritical: in getRedfishMessageId()
59 case ::numeric::Type::lowerCritical: in getRedfishMessageId()
61 case ::numeric::Type::upperWarning: in getRedfishMessageId()
63 case ::numeric::Type::lowerWarning: in getRedfishMessageId()
102 const std::vector<TriggerAction>& ActionsEnum, ::numeric::Type type, in fillActions()

12345678910>>...56