Home
last modified time | relevance | path

Searched refs:bindPath (Results 1 – 6 of 6) sorted by relevance

/openbmc/phosphor-fan-presence/presence/
H A Deeprom_device.hpp79 auto bindPath = path / "bind"; in bindTimerExpired() local
80 std::ofstream bind{bindPath}; in bindTimerExpired()
92 "PATH", bindPath, "ADDR", address); in bindTimerExpired()
/openbmc/phosphor-power/phosphor-power-supply/
H A Dpower_supply.cpp32 bindPath("/sys/bus/i2c/drivers/" + driver), isPowerOn(std::move(callback)), in PowerSupply()
110 if (bindPath.string().find(driverName) != std::string::npos) in bindOrUnbindDriver()
113 path = bindPath / action; in bindOrUnbindDriver()
118 path = bindPath / driverName / action; in bindOrUnbindDriver()
119 bindPath = bindPath / driverName; in bindOrUnbindDriver()
122 if ((std::filesystem::exists(bindPath / bindDevice) && present) || in bindOrUnbindDriver()
123 (!std::filesystem::exists(bindPath / bindDevice) && !present)) in bindOrUnbindDriver()
459 if (bindPath.string().find(IBMCFFPS_DD_NAME) != std::string::npos) in determineMFRFault()
592 if (bindPath.string().find(IBMCFFPS_DD_NAME) != in analyze()
1085 (bindPath.string().find(IBMCFFPS_DD_NAME) == std::string::npos)) in setupInputPowerPeakSensor()
H A Dnew_power_supply.cpp33 bindPath("/sys/bus/i2c/drivers/" + driver), isPowerOn(std::move(callback)), in PowerSupply()
125 if (bindPath.string().find(driverName) != std::string::npos) in bindOrUnbindDriver()
128 path = bindPath / action; in bindOrUnbindDriver()
133 path = bindPath / driverName / action; in bindOrUnbindDriver()
134 bindPath = bindPath / driverName; in bindOrUnbindDriver()
137 if ((std::filesystem::exists(bindPath / bindDevice) && present) || in bindOrUnbindDriver()
138 (!std::filesystem::exists(bindPath / bindDevice) && !present)) in bindOrUnbindDriver()
474 if (bindPath.string().find(IBMCFFPS_DD_NAME) != std::string::npos) in determineMFRFault()
607 if (bindPath.string().find(IBMCFFPS_DD_NAME) != in analyze()
1100 (bindPath.string().find(IBMCFFPS_DD_NAME) == std::string::npos)) in setupInputPowerPeakSensor()
H A Dpower_supply.hpp807 std::filesystem::path bindPath; member in phosphor::power::psu::PowerSupply
H A Dnew_power_supply.hpp823 std::filesystem::path bindPath; member in phosphor::power::psu::PowerSupply
/openbmc/phosphor-bmc-code-mgmt/eeprom-device/
H A Deeprom_device.cpp159 auto bindPath = driverPath + "/bind"; in bindEEPROM() local
160 std::ofstream ofbind(bindPath, std::ofstream::out); in bindEEPROM()
163 error("Failed to open bind file: {PATH}", "PATH", bindPath); in bindEEPROM()