Lines Matching refs:latency
77 int latency; member
136 memset(&phy->tx_buf[total_length], TPM_DUMMY_BYTE, phy->latency); in st33zp24_spi_send()
138 spi_xfer.len = total_length + phy->latency; in st33zp24_spi_send()
142 ret = phy->rx_buf[total_length + phy->latency - 1]; in st33zp24_spi_send()
172 phy->latency + tpm_size); in st33zp24_spi_read8_reg()
174 spi_xfer.len = total_length + phy->latency + tpm_size; in st33zp24_spi_read8_reg()
179 ret = phy->rx_buf[total_length + phy->latency - 1]; in st33zp24_spi_read8_reg()
181 memcpy(tpm_data, phy->rx_buf + total_length + phy->latency, in st33zp24_spi_read8_reg()
211 int latency = 1, status = 0; in st33zp24_spi_evaluate_latency() local
214 while (!status && latency < MAX_SPI_LATENCY) { in st33zp24_spi_evaluate_latency()
215 phy->latency = latency; in st33zp24_spi_evaluate_latency()
218 latency++; in st33zp24_spi_evaluate_latency()
222 if (latency == MAX_SPI_LATENCY) in st33zp24_spi_evaluate_latency()
225 return latency - 1; in st33zp24_spi_evaluate_latency()
383 phy->latency = st33zp24_spi_evaluate_latency(phy); in st33zp24_spi_probe()
384 if (phy->latency <= 0) in st33zp24_spi_probe()