/openbmc/linux/drivers/usb/typec/tcpm/ |
H A D | Kconfig | 4 tristate "USB Type-C Port Controller Manager" 9 The Type-C Port Controller Manager provides a USB PD and USB Type-C 10 state machine for use with Type-C Port Controllers. 15 tristate "Type-C Port Controller Interface driver" 19 Type-C Port Controller driver for TCPCI-compliant controller. 24 tristate "Richtek RT1711H Type-C chip driver" 26 Richtek RT1711H Type-C chip driver that works with 27 Type-C Port Controller Manager to provide USB PD and USB 28 Type-C functionalities. 31 tristate "Mediatek MT6360 Type-C driver" [all …]
|
/openbmc/phosphor-power/ |
H A D | pmbus.hpp | 154 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 D | pmbus.cpp | 61 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() 112 bool PMBus::readBitInPage(const std::string& name, size_t page, Type type) in readBitInPage() 118 bool PMBus::readBit(const std::string& name, Type type) in readBit() 170 bool PMBus::exists(const std::string& name, Type type) in exists() 177 uint64_t PMBus::read(const std::string& name, Type type, bool errTrace) in read() [all …]
|
/openbmc/linux/drivers/usb/typec/ |
H A D | Kconfig | 4 tristate "USB Type-C Support" 6 USB Type-C Specification defines a cable and connector for USB where 8 be Type-A plug on one end of the cable and Type-B plug on the other. 10 specific Configuration Channel (CC) which goes through the USB Type-C 22 USB Type-C connector, however it is mostly used together with USB 23 Type-C connectors. 25 USB Type-C and USB Power Delivery Specifications define a set of state 27 Simple USB Type-C PHYs, for example USB Type-C Port Controller 29 machines to be handled in the OS, but stand-alone USB Type-C and Power 31 The USB Type-C and Power Delivery controllers usually function [all …]
|
/openbmc/bmcweb/redfish-core/include/utils/ |
H A D | json_utils.hpp | 71 template <typename Type> 75 template <typename Type> 76 struct IsOptional<std::optional<Type>> : std::true_type 79 template <typename Type> 83 template <typename Type> 84 struct IsVector<std::vector<Type>> : std::true_type 87 template <typename Type> 91 template <typename Type, std::size_t size> 92 struct IsStdArray<std::array<Type, size>> : std::true_type 95 template <typename Type> [all …]
|
/openbmc/linux/drivers/usb/typec/mux/ |
H A D | Kconfig | 3 menu "USB Type-C Multiplexer/DeMultiplexer Switch support" 12 common USB Type-C connector. 16 tristate "Generic GPIO based SBU mux for USB Type-C applications" 19 connected state and the swapping of the SBU lines in a Type-C port. 22 tristate "Pericom PI3USB30532 Type-C cross switch driver" 25 Say Y or M if your system has a Pericom PI3USB30532 Type-C cross 26 switch / mux chip found on some devices with a Type-C port. 37 switches used with USB Type-C Alternate Modes. 40 tristate "On Semiconductor NB7VPQ904M Type-C redriver driver" 46 Say Y or M if your system has a On Semiconductor NB7VPQ904M Type-C [all …]
|
/openbmc/witherspoon-pfault-analysis/ |
H A D | pmbus.hpp | 93 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 D | pmbus.cpp | 61 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/libpldm/abi/x86_64/ |
H A D | gcc.dump | 9740 'Type' => 'Intrinsic' 9745 'Type' => 'Intrinsic' 9750 'Type' => 'Intrinsic' 9755 'Type' => 'Intrinsic' 9760 'Type' => 'Intrinsic' 9765 'Type' => 'Intrinsic' 9774 'Type' => 'Typedef' 9779 'Type' => 'Intrinsic' 9784 'Type' => 'Intrinsic' 9789 'Type' => 'Intrinsic' [all …]
|
/openbmc/witherspoon-pfault-analysis/power-supply/ |
H A D | power_supply.cpp | 97 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/docs/ |
H A D | REST-cheatsheet.md | 27 …$ curl -c cjar -b cjar -k -H "Content-Type: application/json" -X POST https://${bmc}/login -d "{\"… 47 …$ export token=`curl -k -H "Content-Type: application/json" -X POST https://${bmc}/login -d '{"use… 61 $ export token=`curl -k -H "Content-Type: application/json" -X POST https://${bmc}/login -d '{"user… 82 …$ curl -k -H "X-Auth-Token: $token" -H "Content-Type: application/json" -d '{"data": "xyz.openbmc_… 88 …$ curl -k -H "X-Auth-Token: $token" -H "Content-Type: application/json" -X PUT -d '{"data":"xyz.op… 94 …$ curl -k -H "X-Auth-Token: $token" -H "Content-Type: application/json" -d '{"data": "xyz.openbmc_… 100 …$ curl -k -H "X-Auth-Token: $token" -H "Content-Type: application/json" -X PUT -d '{"data":"xyz.op… 106 …$ curl -k -H "X-Auth-Token: $token" -H "Content-Type: application/json" -X PUT -d '{"data":"xyz.op… 112 …$ curl -k -H "X-Auth-Token: $token" -H "Content-Type: application/json" -X GET https://${bmc}/xyz/… 118 …$ curl -k -H "X-Auth-Token: $token" -H "Content-Type: application/json" -X DELETE https://${bmc}/x… [all …]
|
H A D | REDFISH-cheatsheet.md | 25 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/phosphor-health-monitor/ |
H A D | health_metric_config.cpp | 38 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/telemetry/tests/src/ |
H A D | test_trigger_actions.cpp | 17 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/phosphor-power/phosphor-power-sequencer/test/ |
H A D | pmbus_driver_device_tests.cpp | 295 EXPECT_CALL(pmbus, read("status13", Type::Debug, true)) in TEST_F() 315 EXPECT_CALL(pmbus, read("status0", Type::Debug, true)) in TEST_F() 349 EXPECT_CALL(pmbus, read("status13_vout", Type::Debug, true)) in TEST_F() 369 EXPECT_CALL(pmbus, read("status0_vout", Type::Debug, true)) in TEST_F() 406 EXPECT_CALL(pmbus, getPath(Type::Hwmon)) in TEST_F() 409 EXPECT_CALL(pmbus, readString("in13_label", Type::Hwmon)) in TEST_F() 412 EXPECT_CALL(pmbus, readString("in13_input", Type::Hwmon)) in TEST_F() 435 EXPECT_CALL(pmbus, getPath(Type::Hwmon)) in TEST_F() 438 EXPECT_CALL(pmbus, readString("in13_label", Type::Hwmon)) in TEST_F() 475 EXPECT_CALL(pmbus, getPath(Type::Hwmon)) in TEST_F() [all …]
|
H A D | mock_pmbus.hpp | 46 (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));
|
/openbmc/telemetry/src/types/ |
H A D | trigger_types.hpp | 69 enum class Type enum 87 constexpr std::array<std::pair<std::string_view, Type>, 4> convDataType = { 89 Type::lowerCritical), 91 Type::lowerWarning), 93 Type::upperWarning), 95 Type::upperCritical)}; 110 inline Type toType(const std::string& str) in toType() 115 inline std::string typeToString(Type v) in typeToString() 133 utils::LabeledTuple<std::tuple<Type, uint64_t, Direction, double>, 134 utils::tstring::Type, utils::tstring::DwellTime, [all …]
|
/openbmc/phosphor-power/power-supply/ |
H A D | power_supply.cpp | 76 statusWord = pmbusIntf.read(STATUS_WORD, Type::Debug); 122 phosphor::pmbus::Type type) in captureCmd() 150 statusWord = pmbusIntf.read(STATUS_WORD, Type::Debug); in analyze() 308 captureCmd(nv, STATUS_INPUT, Type::Debug); in checkInputFault() 351 captureCmd(nv, STATUS_INPUT, Type::Debug); in checkPGOrUnitOffFault() 353 captureCmd(nv, status0Vout, Type::Debug); in checkPGOrUnitOffFault() 354 captureCmd(nv, STATUS_IOUT, Type::Debug); in checkPGOrUnitOffFault() 355 captureCmd(nv, STATUS_MFR, Type::Debug); in checkPGOrUnitOffFault() 391 captureCmd(nv, STATUS_INPUT, Type::Debug); in checkCurrentOutOverCurrentFault() 393 captureCmd(nv, status0Vout, Type::Debug); in checkCurrentOutOverCurrentFault() [all …]
|
/openbmc/phosphor-inventory-manager/ |
H A D | events.hpp | 25 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/phosphor-health-monitor/test/ |
H A D | test_health_metric_config.cpp | 22 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/openpower-hw-diags/test/ |
H A D | test-lpc-timeout.cpp | 49 "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 D | test-pll-unlock.cpp | 66 "Callout Type": "Clock Callout", in TEST() 67 "Clock Type": "OSC_REF_CLOCK_1", in TEST() 71 "Callout Type": "Hardware Callout", in TEST() 139 "Callout Type": "Clock Callout", in TEST() 140 "Clock Type": "OSC_REF_CLOCK_0", in TEST() 144 "Callout Type": "Hardware Callout", in TEST() 150 "Callout Type": "Hardware Callout", in TEST() 204 "Callout Type": "Hardware Callout", in TEST() 210 "Callout Type": "Hardware Callout", in TEST() 276 "Callout Type": "Hardware Callout", in TEST() [all …]
|
/openbmc/pldm/pldmd/ |
H A D | invoker.hpp | 13 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/pldm/libpldmresponder/examples/fru/ |
H A D | Board_VINI.json | 5 // 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
|
/openbmc/entity-manager/docs/ |
H A D | associations.md | 21 "Type": "BackplanePort" 36 "Type": "DownstreamPort" 53 The below example shows two PSU ports on the motherboard, where the `Type` 63 "Type": "PSU 1 Port" 67 "Type": "PSU 2 Port" 81 "Type": "DownstreamPort",
|