Home
last modified time | relevance | path

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

/linux-6.1.9/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()
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()
95 spi_xfer.rx_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()
100 spi_message_add_tail(&spi_xfer, &m); in tpm_tis_spi_transfer()
[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-6.1.9/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-6.1.9/drivers/char/tpm/st33zp24/
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()
/linux-6.1.9/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()