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

/linux-4.1.27/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.1.27/drivers/input/touchscreen/
H A Dtsc2005.c116 struct spi_transfer spi_xfer; member in struct:tsc2005_spi_rd
215 rd->spi_xfer.tx_buf = &rd->spi_tx; tsc2005_setup_read()
216 rd->spi_xfer.rx_buf = &rd->spi_rx; tsc2005_setup_read()
217 rd->spi_xfer.len = 4; tsc2005_setup_read()
218 rd->spi_xfer.bits_per_word = 24; tsc2005_setup_read()
219 rd->spi_xfer.cs_change = !last; tsc2005_setup_read()
231 spi_message_add_tail(&spi_rd.spi_xfer, &msg); tsc2005_read()
586 spi_message_add_tail(&ts->spi_x.spi_xfer, &ts->spi_read_msg); tsc2005_setup_spi_xfer()
587 spi_message_add_tail(&ts->spi_y.spi_xfer, &ts->spi_read_msg); tsc2005_setup_spi_xfer()
588 spi_message_add_tail(&ts->spi_z1.spi_xfer, &ts->spi_read_msg); tsc2005_setup_spi_xfer()
589 spi_message_add_tail(&ts->spi_z2.spi_xfer, &ts->spi_read_msg); tsc2005_setup_spi_xfer()
/linux-4.1.27/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 162 milliseconds