Lines Matching refs:devPath
300 auto devPath = getMTDDevicePath();
302 if (!devPath.has_value())
311 devNum = std::stoi(devPath.value().substr(8));
316 devPath.value(), "ERROR", e);
370 auto devPath = getMTDDevicePath();
372 if (!devPath.has_value())
377 std::string cmd = std::format("flashcp -v {} {}", path, devPath.value());
391 auto devPath = getMTDDevicePath();
393 if (!devPath.has_value())
398 int fd = open(devPath.value().c_str(), O_WRONLY);
401 error("Failed to open device: {PATH}", "PATH", devPath.value());
441 "PATH", devPath.value());