Searched refs:spi_xfer (Results 1 – 5 of 5) sorted by relevance
/drivers/char/tpm/ |
D | tpm_tis_spi_main.c | 50 struct spi_transfer *spi_xfer) in tpm_tis_spi_flow_control() argument 58 spi_xfer->len = 1; in tpm_tis_spi_flow_control() 60 spi_message_add_tail(spi_xfer, &m); in tpm_tis_spi_flow_control() 85 struct spi_transfer spi_xfer[3]; in tpm_tis_spi_transfer_half() local 99 memset(&spi_xfer, 0, sizeof(spi_xfer)); in tpm_tis_spi_transfer_half() 101 spi_xfer[0].tx_buf = phy->iobuf; in tpm_tis_spi_transfer_half() 102 spi_xfer[0].len = 1; in tpm_tis_spi_transfer_half() 103 spi_message_add_tail(&spi_xfer[0], &m); in tpm_tis_spi_transfer_half() 105 spi_xfer[1].tx_buf = phy->iobuf + 1; in tpm_tis_spi_transfer_half() 106 spi_xfer[1].len = 3; in tpm_tis_spi_transfer_half() [all …]
|
D | tpm_tis_spi_cr50.c | 163 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()
|
/drivers/char/tpm/st33zp24/ |
D | spi.c | 102 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()
|
/drivers/nfc/st-nci/ |
D | spi.c | 82 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()
|
/drivers/net/ethernet/vertexcom/ |
D | mse102x.c | 85 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()
|