Searched refs:eepromPath (Results 1 – 3 of 3) sorted by relevance
80 std::string eepromPath = FRU_EEPROM; in getGUID() local91 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()
1377 std::string eepromPath = FRU_EEPROM; in setGUID() local1388 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()
235 auto eepromPath = getEEPROMPath(bus, address); in writeEEPROM() local236 if (eepromPath.empty()) in writeEEPROM()265 std::string cmd = "dd if=" + path + " of=" + eepromPath + " bs=1k"; in writeEEPROM()