Home
last modified time | relevance | path

Searched refs:devName (Results 1 – 7 of 7) sorted by relevance

/openbmc/dbus-sensors/src/tests/
H A Dtest_Utils.cpp188 std::string devName; in TEST() local
190 auto ret = getDeviceBusAddr(devName, bus, addr); in TEST()
193 devName = "NoHyphen"; in TEST()
194 ret = getDeviceBusAddr(devName, bus, addr); in TEST()
197 devName = "pwm-fan"; in TEST()
198 ret = getDeviceBusAddr(devName, bus, addr); in TEST()
206 std::string devName = "FF-00FF"; in TEST() local
208 auto ret = getDeviceBusAddr(devName, bus, addr); in TEST()
216 std::string devName = "12-fan"; in TEST() local
226 std::string devName = "0-22400000001"; in TEST() local
[all …]
/openbmc/phosphor-power/tools/power-utils/
H A Dutils.cpp230 std::pair<uint8_t, uint8_t> parseDeviceName(const std::string& devName) in parseDeviceName() argument
234 auto pos = devName.find('-'); in parseDeviceName()
236 uint8_t busId = std::stoi(devName.substr(0, pos)); in parseDeviceName()
237 uint8_t devAddr = std::stoi(devName.substr(pos + 1), nullptr, 16); in parseDeviceName()
H A Dupdater.hpp115 return devName; in getDevName()
149 std::string devName; member in updater::Updater
H A Dupdater.cpp214 devPath(devPath), devName(utils::getDeviceName(devPath)), imageDir(imageDir) in Updater()
246 out << devName; in bindUnbind()
381 auto [id, addr] = utils::parseDeviceName(devName); in createI2CDevice()
H A Dutils.hpp117 std::pair<uint8_t, uint8_t> parseDeviceName(const std::string& devName);
/openbmc/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_mst_types.h47 #define IS_SYNAPTICS_CASCADED_PANAMERA(devName, data) ((IS_SYNAPTICS_PANAMERA(devName) && ((int)dat… argument
/openbmc/phosphor-host-ipmid/user_channel/
H A Dchannel_layer.cpp33 std::string devName("/sys/class/net/" + getChannelName(chNum)); in doesDeviceExist() local
35 if (stat(devName.data(), &fileStat) != 0) in doesDeviceExist()