Searched refs:FtdiReadReg (Results 1 – 2 of 2) sorted by relevance
/system/tpm/trunks/ |
D | trunks_ftdi_spi.cc | 76 return FtdiReadReg(TPM_STS_REG, sizeof(*status), status); in ReadTpmSts() 134 bool TrunksFtdiSpi::FtdiReadReg(unsigned reg_number, size_t bytes, in FtdiReadReg() function in trunks::TrunksFtdiSpi 173 FtdiReadReg(TPM_DID_VID_REG, sizeof(did_vid), &did_vid); in Init() 182 FtdiReadReg(TPM_ACCESS_REG, sizeof(cmd), &cmd); in Init() 190 FtdiReadReg(TPM_ACCESS_REG, sizeof(cmd), &cmd); in Init() 203 FtdiReadReg(TPM_RID_REG, sizeof(cmd), &cmd); in Init() 278 FtdiReadReg(TPM_DATA_FIFO_REG, sizeof(data_header), data_header); in SendCommandAndWait() 309 FtdiReadReg(TPM_DATA_FIFO_REG, transaction_size, in SendCommandAndWait() 324 FtdiReadReg(TPM_DATA_FIFO_REG, sizeof(uint8_t), payload + payload_size); in SendCommandAndWait()
|
D | trunks_ftdi_spi.h | 52 bool FtdiReadReg(unsigned reg_number, size_t bytes,
|