Home
last modified time | relevance | path

Searched refs:FtdiReadReg (Results 1 – 2 of 2) sorted by relevance

/system/tpm/trunks/
Dtrunks_ftdi_spi.cc76 return FtdiReadReg(TPM_STS_REG, sizeof(*status), status); in ReadTpmSts()
136 bool TrunksFtdiSpi::FtdiReadReg(unsigned reg_number, in FtdiReadReg() function in trunks::TrunksFtdiSpi
176 FtdiReadReg(TPM_DID_VID_REG, sizeof(did_vid), &did_vid); in Init()
185 FtdiReadReg(TPM_ACCESS_REG, sizeof(cmd), &cmd); in Init()
193 FtdiReadReg(TPM_ACCESS_REG, sizeof(cmd), &cmd); in Init()
206 FtdiReadReg(TPM_RID_REG, sizeof(cmd), &cmd); in Init()
281 FtdiReadReg(TPM_DATA_FIFO_REG, sizeof(data_header), data_header); in SendCommandAndWait()
310 FtdiReadReg(TPM_DATA_FIFO_REG, transaction_size, in SendCommandAndWait()
325 FtdiReadReg(TPM_DATA_FIFO_REG, sizeof(uint8_t), payload + payload_size); in SendCommandAndWait()
Dtrunks_ftdi_spi.h52 bool FtdiReadReg(unsigned reg_number, size_t bytes, void* buffer);