Lines Matching full:latency
41 * Between command and response, there are latency byte (up to 15
47 * some latency byte before the answer is available (max 15).
60 int latency; member
119 memset(&phy->tx_buf[total_length], TPM_DUMMY_BYTE, phy->latency); in st33zp24_spi_send()
121 spi_xfer.len = total_length + phy->latency; in st33zp24_spi_send()
125 ret = phy->rx_buf[total_length + phy->latency - 1]; in st33zp24_spi_send()
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()
162 ret = phy->rx_buf[total_length + phy->latency - 1]; in st33zp24_spi_read8_reg()
164 memcpy(tpm_data, phy->rx_buf + total_length + phy->latency, in st33zp24_spi_read8_reg()
194 int latency = 1, status = 0; in st33zp24_spi_evaluate_latency() local
197 while (!status && latency < MAX_SPI_LATENCY) { in st33zp24_spi_evaluate_latency()
198 phy->latency = latency; in st33zp24_spi_evaluate_latency()
201 latency++; in st33zp24_spi_evaluate_latency()
205 if (latency == MAX_SPI_LATENCY) in st33zp24_spi_evaluate_latency()
208 return latency - 1; in st33zp24_spi_evaluate_latency()
233 phy->latency = st33zp24_spi_evaluate_latency(phy); in st33zp24_spi_probe()
234 if (phy->latency <= 0) in st33zp24_spi_probe()