Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/char/tpm/
Dtpm_tis_spi_main.c49 struct spi_transfer *spi_xfer) in tpm_tis_spi_flow_control() argument
57 spi_xfer->len = 1; in tpm_tis_spi_flow_control()
59 spi_message_add_tail(spi_xfer, &m); in tpm_tis_spi_flow_control()
84 struct spi_transfer spi_xfer[3]; in tpm_tis_spi_transfer_half() local
98 memset(&spi_xfer, 0, sizeof(spi_xfer)); in tpm_tis_spi_transfer_half()
100 spi_xfer[0].tx_buf = phy->iobuf; in tpm_tis_spi_transfer_half()
101 spi_xfer[0].len = 1; in tpm_tis_spi_transfer_half()
102 spi_message_add_tail(&spi_xfer[0], &m); in tpm_tis_spi_transfer_half()
104 spi_xfer[1].tx_buf = phy->iobuf + 1; in tpm_tis_spi_transfer_half()
105 spi_xfer[1].len = 3; in tpm_tis_spi_transfer_half()
[all …]
Dtpm_tis_spi_cr50.c163 struct spi_transfer *spi_xfer) in cr50_spi_flow_control() argument
170 spi_xfer->len = 1; in cr50_spi_flow_control()
174 spi_message_add_tail(spi_xfer, &m); in cr50_spi_flow_control()
/Linux-v6.6/drivers/char/tpm/st33zp24/
Dspi.c102 struct spi_transfer spi_xfer = { in st33zp24_spi_send() local
121 spi_xfer.len = total_length + phy->latency; in st33zp24_spi_send()
123 ret = spi_sync_transfer(dev, &spi_xfer, 1); in st33zp24_spi_send()
145 struct spi_transfer spi_xfer = { in st33zp24_spi_read8_reg() local
157 spi_xfer.len = total_length + phy->latency + tpm_size; in st33zp24_spi_read8_reg()
160 ret = spi_sync_transfer(dev, &spi_xfer, 1); in st33zp24_spi_read8_reg()
/Linux-v6.6/drivers/nfc/st-nci/
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-v6.6/drivers/net/ethernet/vertexcom/
Dmse102x.c85 struct spi_transfer spi_xfer; member
107 (unsigned long)mses->spi_xfer.effective_speed_hz); in mse102x_info_show()
151 struct spi_transfer *xfer = &mses->spi_xfer; in mse102x_tx_cmd_spi()
174 struct spi_transfer *xfer = &mses->spi_xfer; in mse102x_rx_cmd_spi()
223 struct spi_transfer *xfer = &mses->spi_xfer; in mse102x_tx_frame_spi()
267 struct spi_transfer *xfer = &mses->spi_xfer; in mse102x_rx_frame_spi()
703 spi_message_add_tail(&mses->spi_xfer, &mses->spi_msg); in mse102x_probe_spi()