Home
last modified time | relevance | path

Searched refs:eepromPath (Results 1 – 3 of 3) sorted by relevance

/openbmc/fb-ipmi-oem/src/
H A Dappcommands.cpp80 std::string eepromPath = FRU_EEPROM; in getGUID() local
91 eepromPath = ss.str(); in getGUID()
97 if (access(eepromPath.c_str(), F_OK) == -1) in getGUID()
99 std::cerr << "Unable to access: " << eepromPath << std::endl; in getGUID()
104 fd = open(eepromPath.c_str(), O_RDONLY); in getGUID()
107 std::cerr << "Unable to open: " << eepromPath << std::endl; in getGUID()
H A Doemcommands.cpp1377 std::string eepromPath = FRU_EEPROM; in setGUID() local
1388 eepromPath = ss.str(); in setGUID()
1394 if (access(eepromPath.c_str(), F_OK) == -1) in setGUID()
1396 std::cerr << "Unable to access: " << eepromPath << std::endl; in setGUID()
1401 fd = open(eepromPath.c_str(), O_WRONLY); in setGUID()
1404 std::cerr << "Unable to open: " << eepromPath << std::endl; in setGUID()
/openbmc/phosphor-bmc-code-mgmt/eeprom-device/
H A Deeprom_device.cpp235 auto eepromPath = getEEPROMPath(bus, address); in writeEEPROM() local
236 if (eepromPath.empty()) in writeEEPROM()
265 std::string cmd = "dd if=" + path + " of=" + eepromPath + " bs=1k"; in writeEEPROM()