Searched refs:tpm_size (Results 1 – 2 of 2) sorted by relevance
/external/u-boot/drivers/tpm/ |
D | tpm_tis_st33zp24_spi.c | 113 const u8 *tpm_data, size_t tpm_size) in st33zp24_spi_write() argument 125 if (tpm_size > 0 && tpm_register == TPM_DATA_FIFO) { in st33zp24_spi_write() 126 tx_buf[total_length++] = tpm_size >> 8; in st33zp24_spi_write() 127 tx_buf[total_length++] = tpm_size; in st33zp24_spi_write() 129 memcpy(tx_buf + total_length, tpm_data, tpm_size); in st33zp24_spi_write() 130 total_length += tpm_size; in st33zp24_spi_write() 164 u8 *tpm_data, size_t tpm_size) in st33zp24_spi_read8_reg() argument 178 phy->latency + tpm_size); in st33zp24_spi_read8_reg() 179 total_length += phy->latency + tpm_size; in st33zp24_spi_read8_reg() 192 if (tpm_size > 0 && ret == 0) { in st33zp24_spi_read8_reg() [all …]
|
D | tpm_tis_st33zp24_i2c.c | 47 const u8 *tpm_data, size_t tpm_size) in st33zp24_i2c_write8_reg() argument 52 memcpy(chip_priv->buf + 1, tpm_data, tpm_size); in st33zp24_i2c_write8_reg() 54 return dm_i2c_write(dev, 0, chip_priv->buf, tpm_size + 1); in st33zp24_i2c_write8_reg() 66 u8 *tpm_data, size_t tpm_size) in st33zp24_i2c_read8_reg() argument 76 return dm_i2c_read(dev, 0, tpm_data, tpm_size); in st33zp24_i2c_read8_reg() 89 const u8 *tpm_data, size_t tpm_size) in st33zp24_i2c_write() argument 92 tpm_data, tpm_size); in st33zp24_i2c_write() 105 u8 *tpm_data, size_t tpm_size) in st33zp24_i2c_read() argument 107 return st33zp24_i2c_read8_reg(dev, tpm_register, tpm_data, tpm_size); in st33zp24_i2c_read()
|