Lines Matching full:latency
45 * Between command and response, there are latency byte (up to 15
51 * some latency byte before the answer is available (max 15).
65 int latency; member
124 memset(&phy->tx_buf[total_length], TPM_DUMMY_BYTE, phy->latency); in st33zp24_spi_send()
126 spi_xfer.len = total_length + phy->latency; in st33zp24_spi_send()
130 ret = phy->rx_buf[total_length + phy->latency - 1]; in st33zp24_spi_send()
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()
167 ret = phy->rx_buf[total_length + phy->latency - 1]; in st33zp24_spi_read8_reg()
169 memcpy(tpm_data, phy->rx_buf + total_length + phy->latency, in st33zp24_spi_read8_reg()
199 int latency = 1, status = 0; in st33zp24_spi_evaluate_latency() local
202 while (!status && latency < MAX_SPI_LATENCY) { in st33zp24_spi_evaluate_latency()
203 phy->latency = latency; in st33zp24_spi_evaluate_latency()
206 latency++; in st33zp24_spi_evaluate_latency()
210 if (latency == MAX_SPI_LATENCY) in st33zp24_spi_evaluate_latency()
213 return latency - 1; in st33zp24_spi_evaluate_latency()
371 phy->latency = st33zp24_spi_evaluate_latency(phy); in st33zp24_spi_probe()
372 if (phy->latency <= 0) in st33zp24_spi_probe()