Lines Matching defs:devPath
348 auto devPath = getMTDDevicePath();
350 if (!devPath.has_value())
359 devNum = std::stoi(devPath.value().substr(8));
364 devPath.value(), "ERROR", e);
418 auto devPath = getMTDDevicePath();
420 if (!devPath.has_value())
425 std::string cmd = std::format("flashcp -v {} {}", path, devPath.value());
439 auto devPath = getMTDDevicePath();
441 if (!devPath.has_value())
446 int fd = open(devPath.value().c_str(), O_WRONLY);
449 error("Failed to open device: {PATH}", "PATH", devPath.value());
489 "PATH", devPath.value());