Home
last modified time | relevance | path

Searched refs:deviceName (Results 1 – 20 of 20) sorted by relevance

/openbmc/dbus-sensors/src/fan/
H A DPresenceGpio.cpp33 const std::string& deviceName, in PresenceGpio() argument
35 deviceType(deviceType), deviceName(deviceName), gpioName(gpioName) in PresenceGpio()
55 logPresent(deviceName); in updateAndTracePresence()
59 logRemoved(deviceName); in updateAndTracePresence()
64 const std::string& deviceType, const std::string& deviceName, in EventPresenceGpio() argument
66 PresenceGpio(deviceType, deviceName, gpioName), gpioFd(io) in EventPresenceGpio()
112 "NAME", self->deviceName, "ERROR_MESSAGE", in monitorPresence()
130 const std::string& deviceType, const std::string& deviceName, in PollingPresenceGpio()
132 PresenceGpio(deviceType, deviceName, gpioNam in PollingPresenceGpio()
128 PollingPresenceGpio(const std::string & deviceType,const std::string & deviceName,const std::string & gpioName,bool inverted,boost::asio::io_context & io) PollingPresenceGpio() argument
[all...]
H A DPresenceGpio.hpp15 PresenceGpio(const std::string& deviceType, const std::string& deviceName,
31 std::string deviceName; member in PresenceGpio
36 std::string summary = deviceType + " " + deviceName + " Inserted"; in logPresent()
44 std::string summary = deviceType + " " + deviceName + " Removed"; in logRemoved()
59 const std::string& deviceName,
77 const std::string& deviceName,
H A DFanMain.cpp362 std::string deviceName = in createSensors()
368 if (!getDeviceBusAddr(deviceName, bus, addr)) in createSensors()
361 std::string deviceName = createSensors() local
/openbmc/phosphor-bmc-code-mgmt/bmc/usb/
H A Dusb_manager_main.cpp11 std::string deviceName{}; in main() local
14 app.add_option("-d,--device", deviceName, in main()
20 if (deviceName.empty()) in main()
26 fs::path devicePath = fs::path{"/dev"} / deviceName; in main()
27 fs::path usbPath = fs::path{"/run/media/usb"} / deviceName; in main()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/eject/eject/
H A Deject-2.1.5-spaces.patch49 - *deviceName = strdup(s1);
51 + *deviceName = DeMangleMount(strdup(s1));
60 - *deviceName = strdup(s1);
62 + *deviceName = DeMangleMount(strdup(s1));
/openbmc/phosphor-power/phosphor-power-sequencer/src/
H A Ducd90160_device.hpp58 UCD90xDevice(deviceName, std::move(rails), services, bus, address) in UCD90160Device()
61 constexpr static std::string deviceName{"UCD90160"}; member in phosphor::power::sequencer::UCD90160Device
H A Ducd90320_device.hpp58 UCD90xDevice(deviceName, std::move(rails), services, bus, address) in UCD90320Device()
61 constexpr static std::string deviceName{"UCD90320"}; member in phosphor::power::sequencer::UCD90320Device
H A Dpower_control.cpp398 if (deviceProperties->type == UCD90160Device::deviceName) in createDevice()
404 else if (deviceProperties->type == UCD90320Device::deviceName) in createDevice()
/openbmc/dbus-sensors/src/
H A DUtils.hpp399 bool getDeviceBusAddr(const std::string& deviceName, T& bus, T& addr) in getDeviceBusAddr() argument
401 auto findHyphen = deviceName.find('-'); in getDeviceBusAddr()
404 std::cerr << "found bad device " << deviceName << "\n"; in getDeviceBusAddr()
407 std::string busStr = deviceName.substr(0, findHyphen); in getDeviceBusAddr()
408 std::string addrStr = deviceName.substr(findHyphen + 1); in getDeviceBusAddr()
414 std::cerr << "Error finding bus for " << deviceName << "\n"; in getDeviceBusAddr()
420 std::cerr << "Error finding addr for " << deviceName << "\n"; in getDeviceBusAddr()
/openbmc/estoraged/src/
H A Dutil.cpp250 std::filesystem::path deviceName(dirEntry.path().filename()); in findDevice() local
256 deviceFile /= deviceName; in findDevice()
258 std::string luksName = "luks-" + deviceName.string(); in findDevice()
H A Destoraged.cpp52 std::string deviceName = std::filesystem::path(devPath).filename().string(); in EStoraged() local
55 "/xyz/openbmc_project/inventory/storage/" + deviceName; in EStoraged()
/openbmc/dbus-sensors/src/hwmon-temp/
H A DHwmonTempMain.cpp312 std::string deviceName; in createSensors()
323 deviceName = device.parent_path().stem(); in createSensors()
335 deviceName = device.stem(); in createSensors()
340 if (!getDeviceBusAddr(deviceName, bus, addr)) in createSensors()
395 "NAME", deviceName); in createSensors()
311 std::string deviceName; createSensors() local
/openbmc/linux/drivers/staging/media/av7110/
H A Dvideo-fopen.rst20 .. c:function:: int open(const char *deviceName, int flags)
31 - const char \*deviceName
H A Daudio-fopen.rst20 .. c:function:: int open(const char *deviceName, int flags)
31 - const char \*deviceName
/openbmc/dbus-sensors/src/psu/
H A DPSUSensorMain.cpp359 std::string deviceName; in createSensorsCallback() local
375 deviceName = matchStr.substr(matchStr.find_last_of('/') + 1); in createSensorsCallback()
379 deviceName = in createSensorsCallback()
386 if (!getDeviceBusAddr(deviceName, bus, addr)) in createSensorsCallback()
413 "NAME", deviceName); in createSensorsCallback()
463 lg2::error("failed to find match for '{NAME}'", "NAME", deviceName); in createSensorsCallback()
483 "NAME", deviceName); in createSensorsCallback()
/openbmc/entity-manager/src/
H A Dperform_scan.cpp523 std::string deviceName = generateDeviceName( in updateSystemConfiguration() local
525 getName.value() = deviceName; in updateSystemConfiguration()
526 usedNames.insert(deviceName); in updateSystemConfiguration()
/openbmc/linux/Documentation/userspace-api/media/dvb/
H A Ddmx-fopen.rst18 .. c:function:: int open(const char *deviceName, int flags)
/openbmc/dbus-sensors/src/intel-cpu/
H A DIntelCPUSensorMain.cpp218 std::string deviceName = *it; in createSensors() local
222 if (!getDeviceBusAddr(deviceName, bus, addr)) in createSensors()
/openbmc/phosphor-webui/app/server-control/controllers/
H A Dvirtual-media-controller.js28 vmDevice.deviceName = 'Virtual media device';
/openbmc/qemu/ui/
H A Dcocoa.m1845 NSString *deviceName;
1876 deviceName = [[NSString stringWithFormat: @"%s", currentDevice->value->device] retain];
1883 [menuItem setRepresentedObject: deviceName];
1890 [menuItem setRepresentedObject: deviceName];