Lines Matching refs:tpm_size
97 int tpm_size) in st33zp24_spi_send() argument
111 if (tpm_size > 0 && tpm_register == TPM_DATA_FIFO) { in st33zp24_spi_send()
112 phy->tx_buf[total_length++] = tpm_size >> 8; in st33zp24_spi_send()
113 phy->tx_buf[total_length++] = tpm_size; in st33zp24_spi_send()
116 memcpy(&phy->tx_buf[total_length], tpm_data, tpm_size); in st33zp24_spi_send()
117 total_length += tpm_size; in st33zp24_spi_send()
140 int tpm_size) in st33zp24_spi_read8_reg() argument
155 phy->latency + tpm_size); in st33zp24_spi_read8_reg()
157 spi_xfer.len = total_length + phy->latency + tpm_size; in st33zp24_spi_read8_reg()
161 if (tpm_size > 0 && ret == 0) { in st33zp24_spi_read8_reg()
165 tpm_size); in st33zp24_spi_read8_reg()
181 int tpm_size) in st33zp24_spi_recv() argument
185 ret = st33zp24_spi_read8_reg(phy_id, tpm_register, tpm_data, tpm_size); in st33zp24_spi_recv()
187 return tpm_size; in st33zp24_spi_recv()