Lines Matching refs:tpm_size
102 int tpm_size) in st33zp24_spi_send() argument
116 if (tpm_size > 0 && tpm_register == TPM_DATA_FIFO) { in st33zp24_spi_send()
117 phy->tx_buf[total_length++] = tpm_size >> 8; in st33zp24_spi_send()
118 phy->tx_buf[total_length++] = tpm_size; in st33zp24_spi_send()
121 memcpy(&phy->tx_buf[total_length], tpm_data, tpm_size); in st33zp24_spi_send()
122 total_length += tpm_size; in st33zp24_spi_send()
145 int tpm_size) in st33zp24_spi_read8_reg() argument
160 phy->latency + tpm_size); in st33zp24_spi_read8_reg()
162 spi_xfer.len = total_length + phy->latency + tpm_size; in st33zp24_spi_read8_reg()
166 if (tpm_size > 0 && ret == 0) { in st33zp24_spi_read8_reg()
170 tpm_size); in st33zp24_spi_read8_reg()
186 int tpm_size) in st33zp24_spi_recv() argument
190 ret = st33zp24_spi_read8_reg(phy_id, tpm_register, tpm_data, tpm_size); in st33zp24_spi_recv()
192 return tpm_size; in st33zp24_spi_recv()