Lines Matching refs:spiControllerIndex
28 static std::optional<std::string> getSPIDevAddr(uint64_t spiControllerIndex) in getSPIDevAddr() argument
31 "/sys/class/spi_master/spi" + std::to_string(spiControllerIndex); in getSPIDevAddr()
60 uint64_t spiControllerIndex, uint64_t spiDeviceIndex, in SPIDevice() argument
71 spiControllerIndex(spiControllerIndex), spiDeviceIndex(spiDeviceIndex),
74 auto optAddr = getSPIDevAddr(spiControllerIndex);
87 "NAME", config.configName, "CONTROLLERINDEX", spiControllerIndex,
156 std::format("spi{}.{}", spiControllerIndex, spiDeviceIndex); in bindSPIFlash()
179 std::format("spi{}.{}", spiControllerIndex, spiDeviceIndex); in unbindSPIFlash()
201 std::format("spi{}.{}", spiControllerIndex, spiDeviceIndex); in isSPIFlashBound()
249 "CONTROLLERINDEX", spiControllerIndex, "DEVICEINDEX", in writeSPIFlash()
492 "/sys/class/spi_master/spi" + std::to_string(spiControllerIndex) + in getMTDDevicePath()
493 "/spi" + std::to_string(spiControllerIndex) + "." + in getMTDDevicePath()
513 "CONTROLLERINDEX", spiControllerIndex, "DEVICEINDEX", spiDeviceIndex); in getMTDDevicePath()