Home
last modified time | relevance | path

Searched refs:userCode (Results 1 – 5 of 5) sorted by relevance

/openbmc/phosphor-bmc-code-mgmt/cpld/lattice/
H A Dlattice_base_cpld.cpp104 userCode in jedFileParser() enumerator
180 state = ParseState::userCode; in jedFileParser()
227 case ParseState::userCode: in jedFileParser()
483 auto userCode = std::make_unique<uint32_t>(0); in getVersion() local
487 if (!(co_await readUserCode(*userCode))) in getVersion()
493 lg2::debug("CPLD version: {VERSION}", "VERSION", *userCode); in getVersion()
512 if (!(co_await readUserCode(*userCode))) in getVersion()
531 "VERSION", *userCode); in getVersion()
539 if (*userCode == 0) in getVersion()
544 version = uint32ToHexStr(*userCode); in getVersion()
H A Dlattice_xo5_cpld.cpp298 sdbusplus::async::task<bool> LatticeXO5CPLD::readUserCode(uint32_t& userCode) in readUserCode() argument
310 userCode |= response[4] << 24; in readUserCode()
311 userCode |= response[3] << 16; in readUserCode()
312 userCode |= response[2] << 8; in readUserCode()
313 userCode |= response[1]; in readUserCode()
H A Dlattice_xo3_cpld.hpp27 sdbusplus::async::task<bool> readUserCode(uint32_t& userCode) override;
H A Dlattice_xo5_cpld.hpp25 sdbusplus::async::task<bool> readUserCode(uint32_t& userCode) override;
H A Dlattice_xo3_cpld.cpp174 sdbusplus::async::task<bool> LatticeXO3CPLD::readUserCode(uint32_t& userCode) in readUserCode() argument
188 userCode |= response.at(i) << ((3 - i) * 8); in readUserCode()