Home
last modified time | relevance | path

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

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