Lines Matching refs:cmd
159 uint8_t cmd; in Init() local
182 FtdiReadReg(TPM_ACCESS_REG, sizeof(cmd), &cmd); in Init()
184 if ((cmd & ~tpmEstablishment) != tpmRegValidSts) { in Init()
185 LOG(ERROR) << "invalid reset status: 0x" << std::hex << (unsigned)cmd; in Init()
188 cmd = requestUse; in Init()
189 FtdiWriteReg(TPM_ACCESS_REG, sizeof(cmd), &cmd); in Init()
190 FtdiReadReg(TPM_ACCESS_REG, sizeof(cmd), &cmd); in Init()
191 if ((cmd & ~tpmEstablishment) != (tpmRegValidSts | activeLocality)) { in Init()
193 << (unsigned)cmd; in Init()
203 FtdiReadReg(TPM_RID_REG, sizeof(cmd), &cmd); in Init()
205 did_vid & 0xffff, did_vid >> 16, cmd); in Init()