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

/linux-4.4.14/drivers/char/tpm/st33zp24/
H A Dspi.c69 struct spi_transfer spi_xfer; member in struct:st33zp24_spi_phy
117 u8 *tx_buf = (u8 *)phy->spi_xfer.tx_buf; st33zp24_spi_send()
118 u8 *rx_buf = phy->spi_xfer.rx_buf; st33zp24_spi_send()
139 phy->spi_xfer.len = total_length + nbr_dummy_bytes; st33zp24_spi_send()
141 ret = spi_sync_transfer(dev, &phy->spi_xfer, 1); st33zp24_spi_send()
163 u8 *tx_buf = (u8 *)phy->spi_xfer.tx_buf; read8_reg()
164 u8 *rx_buf = phy->spi_xfer.rx_buf; read8_reg()
178 phy->spi_xfer.len = total_length + nbr_dummy_bytes + tpm_size; read8_reg()
181 ret = spi_sync_transfer(dev, &phy->spi_xfer, 1); read8_reg()
342 phy->spi_xfer.tx_buf = phy->tx_buf; tpm_st33_spi_probe()
343 phy->spi_xfer.rx_buf = phy->rx_buf; tpm_st33_spi_probe()
/linux-4.4.14/drivers/nfc/st-nci/
H A Dspi.c100 struct spi_transfer spi_xfer = { st_nci_spi_write() local
109 r = spi_sync_transfer(dev, &spi_xfer, 1); st_nci_spi_write()
145 struct spi_transfer spi_xfer = { st_nci_spi_read() local
150 r = spi_sync_transfer(dev, &spi_xfer, 1); st_nci_spi_read()
172 spi_xfer.len = len; st_nci_spi_read()
173 r = spi_sync_transfer(dev, &spi_xfer, 1); st_nci_spi_read()
/linux-4.4.14/drivers/tty/serial/
H A Difx6x60.c759 ifx_dev->spi_xfer.len = IFX_SPI_TRANSFER_SIZE; ifx_spi_io()
760 ifx_dev->spi_xfer.cs_change = 0; ifx_spi_io()
761 ifx_dev->spi_xfer.speed_hz = ifx_dev->spi_dev->max_speed_hz; ifx_spi_io()
762 /* ifx_dev->spi_xfer.speed_hz = 390625; */ ifx_spi_io()
763 ifx_dev->spi_xfer.bits_per_word = ifx_spi_io()
766 ifx_dev->spi_xfer.tx_buf = ifx_dev->tx_buffer; ifx_spi_io()
767 ifx_dev->spi_xfer.rx_buf = ifx_dev->rx_buffer; ifx_spi_io()
776 ifx_dev->spi_xfer.tx_dma = ifx_dev->tx_dma; ifx_spi_io()
777 ifx_dev->spi_xfer.rx_dma = ifx_dev->rx_dma; ifx_spi_io()
782 ifx_dev->spi_xfer.tx_dma = (dma_addr_t)0; ifx_spi_io()
783 ifx_dev->spi_xfer.rx_dma = (dma_addr_t)0; ifx_spi_io()
786 spi_message_add_tail(&ifx_dev->spi_xfer, &ifx_dev->spi_msg); ifx_spi_io()
H A Difx6x60.h109 struct spi_transfer spi_xfer; member in struct:ifx_spi_device

Completed in 139 milliseconds