Lines Matching refs:spi_xfer
69 struct spi_transfer spi_xfer; member
117 u8 *tx_buf = (u8 *)phy->spi_xfer.tx_buf; in st33zp24_spi_send()
118 u8 *rx_buf = phy->spi_xfer.rx_buf; in st33zp24_spi_send()
139 phy->spi_xfer.len = total_length + nbr_dummy_bytes; in st33zp24_spi_send()
141 ret = spi_sync_transfer(dev, &phy->spi_xfer, 1); in st33zp24_spi_send()
163 u8 *tx_buf = (u8 *)phy->spi_xfer.tx_buf; in read8_reg()
164 u8 *rx_buf = phy->spi_xfer.rx_buf; in read8_reg()
178 phy->spi_xfer.len = total_length + nbr_dummy_bytes + tpm_size; in read8_reg()
181 ret = spi_sync_transfer(dev, &phy->spi_xfer, 1); in read8_reg()
342 phy->spi_xfer.tx_buf = phy->tx_buf; in tpm_st33_spi_probe()
343 phy->spi_xfer.rx_buf = phy->rx_buf; in tpm_st33_spi_probe()