Home
last modified time | relevance | path

Searched refs:spi_xfer (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/char/tpm/
A Dtpm_tis_spi_main.c57 spi_xfer->len = 1; in tpm_tis_spi_flow_control()
80 struct spi_transfer spi_xfer; in tpm_tis_spi_transfer() local
93 memset(&spi_xfer, 0, sizeof(spi_xfer)); in tpm_tis_spi_transfer()
94 spi_xfer.tx_buf = phy->iobuf; in tpm_tis_spi_transfer()
96 spi_xfer.len = 4; in tpm_tis_spi_transfer()
97 spi_xfer.cs_change = 1; in tpm_tis_spi_transfer()
106 spi_xfer.tx_buf = NULL; in tpm_tis_spi_transfer()
111 spi_xfer.cs_change = 0; in tpm_tis_spi_transfer()
112 spi_xfer.len = transfer_len; in tpm_tis_spi_transfer()
113 spi_xfer.delay.value = 5; in tpm_tis_spi_transfer()
[all …]
A Dtpm_tis_spi_cr50.c160 struct spi_transfer *spi_xfer) in cr50_spi_flow_control() argument
167 spi_xfer->len = 1; in cr50_spi_flow_control()
171 spi_message_add_tail(spi_xfer, &m); in cr50_spi_flow_control()
/linux/drivers/nfc/st-nci/
A Dspi.c82 struct spi_transfer spi_xfer = { in st_nci_spi_write() local
91 r = spi_sync_transfer(dev, &spi_xfer, 1); in st_nci_spi_write()
124 struct spi_transfer spi_xfer = { in st_nci_spi_read() local
129 r = spi_sync_transfer(dev, &spi_xfer, 1); in st_nci_spi_read()
151 spi_xfer.len = len; in st_nci_spi_read()
152 r = spi_sync_transfer(dev, &spi_xfer, 1); in st_nci_spi_read()
/linux/drivers/char/tpm/st33zp24/
A Dspi.c107 struct spi_transfer spi_xfer = { in st33zp24_spi_send() local
126 spi_xfer.len = total_length + phy->latency; in st33zp24_spi_send()
128 ret = spi_sync_transfer(dev, &spi_xfer, 1); in st33zp24_spi_send()
150 struct spi_transfer spi_xfer = { in st33zp24_spi_read8_reg() local
162 spi_xfer.len = total_length + phy->latency + tpm_size; in st33zp24_spi_read8_reg()
165 ret = spi_sync_transfer(dev, &spi_xfer, 1); in st33zp24_spi_read8_reg()

Completed in 9 milliseconds