Searched refs:spiControllerIndex (Results 1 – 3 of 3) sorted by relevance
| /openbmc/phosphor-bmc-code-mgmt/bios/ |
| H A D | spi_device.cpp | 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() [all …]
|
| H A D | bios_software_manager.cpp | 28 std::optional<uint64_t> spiControllerIndex = in initDevice() local 32 if (!spiControllerIndex.has_value()) in initDevice() 87 debug("SPI device: {INDEX1}:{INDEX2}", "INDEX1", spiControllerIndex.value(), in initDevice() 94 ctx, spiControllerIndex.value(), spiDeviceIndex.value(), dryRun, in initDevice()
|
| H A D | spi_device.hpp | 45 SPIDevice(sdbusplus::async::context& ctx, uint64_t spiControllerIndex, 69 uint64_t spiControllerIndex; member in SPIDevice
|