/linux/include/linux/spi/ |
A D | spi.h | 24 struct spi_transfer; 592 struct spi_transfer *xfer); 636 struct spi_transfer *transfer); 713 struct spi_transfer *xfer, 716 struct spi_transfer *xfer, 914 struct spi_transfer { struct 1042 spi_transfer_del(struct spi_transfer *t) in spi_transfer_del() 1082 + ntrans * sizeof(struct spi_transfer), in spi_message_alloc() 1086 struct spi_transfer *t = (struct spi_transfer *)(m + 1); in spi_message_alloc() 1244 struct spi_transfer t = { in spi_write() [all …]
|
A D | spi_bitbang.h | 19 struct spi_transfer *t); 28 int (*txrx_bufs)(struct spi_device *spi, struct spi_transfer *t); 43 struct spi_transfer *t);
|
/linux/drivers/video/backlight/ |
A D | ili922x.c | 116 ((struct spi_transfer *)x)->speed_hz = \ 152 struct spi_transfer xfer; in ili922x_read_status() 157 memset(&xfer, 0, sizeof(struct spi_transfer)); in ili922x_read_status() 195 struct spi_transfer xfer_regindex, xfer_regvalue; in ili922x_read() 200 memset(&xfer_regindex, 0, sizeof(struct spi_transfer)); in ili922x_read() 201 memset(&xfer_regvalue, 0, sizeof(struct spi_transfer)); in ili922x_read() 249 struct spi_transfer xfer_regindex, xfer_regvalue; in ili922x_write() 254 memset(&xfer_regindex, 0, sizeof(struct spi_transfer)); in ili922x_write() 255 memset(&xfer_regvalue, 0, sizeof(struct spi_transfer)); in ili922x_write() 324 struct spi_transfer xfer; in set_write_to_gram_reg() [all …]
|
/linux/include/trace/events/ |
A D | spi.h | 179 DECLARE_EVENT_CLASS(spi_transfer, 181 TP_PROTO(struct spi_message *msg, struct spi_transfer *xfer), 188 __field( struct spi_transfer *, xfer ) 220 DEFINE_EVENT(spi_transfer, spi_transfer_start, 222 TP_PROTO(struct spi_message *msg, struct spi_transfer *xfer), 228 DEFINE_EVENT(spi_transfer, spi_transfer_stop, 230 TP_PROTO(struct spi_message *msg, struct spi_transfer *xfer),
|
/linux/drivers/nfc/st95hf/ |
A D | spi.c | 20 struct spi_transfer tx_transfer = { in st95hf_spi_send() 72 struct spi_transfer tx_takedata; in st95hf_spi_recv_response() 76 struct spi_transfer t[2] = { in st95hf_spi_recv_response() 83 memset(&tx_takedata, 0x0, sizeof(struct spi_transfer)); in st95hf_spi_recv_response() 133 struct spi_transfer t[2] = { in st95hf_spi_recv_echo_res()
|
/linux/drivers/staging/greybus/ |
A D | spilib.c | 21 struct spi_transfer *first_xfer; 22 struct spi_transfer *last_xfer; 107 struct spi_transfer *last_xfer = spi->last_xfer; in is_last_xfer_done() 118 struct spi_transfer *last_xfer = spi->last_xfer; in setup_next_xfer() 132 struct spi_transfer, in setup_next_xfer() 151 static struct spi_transfer *get_next_xfer(struct spi_transfer *xfer, in get_next_xfer() 154 if (xfer == list_last_entry(&msg->transfers, struct spi_transfer, in get_next_xfer() 167 struct spi_transfer *xfer; in gb_spi_operation_create() 301 struct spi_transfer *xfer = spi->first_xfer; in gb_spi_decode_response() 337 struct spi_transfer, in gb_spi_transfer_one_message()
|
/linux/drivers/spi/ |
A D | spi-axi-spi-engine.c | 94 struct spi_transfer *tx_xfer; 98 struct spi_transfer *rx_xfer; 131 struct spi_device *spi, struct spi_transfer *xfer) in spi_engine_get_clk_div() 146 struct spi_transfer *xfer) in spi_engine_gen_xfer() 167 struct spi_transfer *xfer) in spi_engine_gen_sleep() 205 struct spi_transfer *xfer; in spi_engine_compile_message() 242 struct spi_transfer **_xfer) in spi_engine_xfer_next() 245 struct spi_transfer *xfer = *_xfer; in spi_engine_xfer_next() 249 struct spi_transfer, transfer_list); in spi_engine_xfer_next() 261 struct spi_transfer *xfer = spi_engine->tx_xfer; in spi_engine_tx_next() [all …]
|
A D | spi-bitbang.c | 50 unsigned, struct spi_transfer *, 61 struct spi_transfer *t, in bitbang_txrx_8() 90 struct spi_transfer *t, in bitbang_txrx_16() 119 struct spi_transfer *t, in bitbang_txrx_32() 141 int spi_bitbang_setup_transfer(struct spi_device *spi, struct spi_transfer *t) in spi_bitbang_setup_transfer() 233 static int spi_bitbang_bufs(struct spi_device *spi, struct spi_transfer *t) in spi_bitbang_bufs() 286 struct spi_transfer *transfer) in spi_bitbang_transfer_one()
|
A D | spi-fsl-espi.c | 95 struct spi_transfer *tx_t; 98 struct spi_transfer *rx_t; 152 struct spi_transfer *t, *first; in fsl_espi_check_message() 160 first = list_first_entry(&m->transfers, struct spi_transfer, in fsl_espi_check_message() 185 struct spi_transfer *t; in fsl_espi_check_rxskip_mode() 324 struct spi_transfer *t) in fsl_espi_setup_transfer() 352 static int fsl_espi_bufs(struct spi_device *spi, struct spi_transfer *t) in fsl_espi_bufs() 407 espi->tx_t = list_first_entry(&m->transfers, struct spi_transfer, in fsl_espi_trans() 411 espi->rx_t = list_first_entry(&m->transfers, struct spi_transfer, in fsl_espi_trans() 439 struct spi_transfer *t, trans = {}; in fsl_espi_do_one_msg() [all …]
|
A D | spi-tegra210-quad.c | 177 struct spi_transfer *curr_xfer; 225 tegra_qspi_calculate_curr_xfer_param(struct tegra_qspi *tqspi, struct spi_transfer *t) in tegra_qspi_calculate_curr_xfer_param() 313 tegra_qspi_read_rx_fifo_to_client_rxbuf(struct tegra_qspi *tqspi, struct spi_transfer *t) in tegra_qspi_read_rx_fifo_to_client_rxbuf() 529 static int tegra_qspi_dma_map_xfer(struct tegra_qspi *tqspi, struct spi_transfer *t) in tegra_qspi_dma_map_xfer() 554 static void tegra_qspi_dma_unmap_xfer(struct tegra_qspi *tqspi, struct spi_transfer *t) in tegra_qspi_dma_unmap_xfer() 821 struct spi_transfer *t, u32 command1) in tegra_qspi_start_transfer_one() 981 struct spi_transfer *transfer; in tegra_qspi_transfer_one_message() 991 struct spi_transfer *xfer = transfer; in tegra_qspi_transfer_one_message() 1003 struct spi_transfer *next_xfer; in tegra_qspi_transfer_one_message() 1078 struct spi_transfer *t = tqspi->curr_xfer; in handle_cpu_based_xfer() [all …]
|
A D | spi-tegra20-sflash.c | 133 struct spi_transfer *curr_xfer; 159 struct spi_transfer *t) in tegra_sflash_calculate_curr_xfer_param() 173 struct tegra_sflash_data *tsd, struct spi_transfer *t) in tegra_sflash_fill_tx_fifo_from_client_txbuf() 203 struct tegra_sflash_data *tsd, struct spi_transfer *t) in tegra_sflash_read_rx_fifo_to_client_rxbuf() 224 struct tegra_sflash_data *tsd, struct spi_transfer *t) in tegra_sflash_start_cpu_based_transfer() 251 struct spi_transfer *t, bool is_first_of_msg, in tegra_sflash_start_transfer_one() 312 struct spi_transfer *xfer; in tegra_sflash_transfer_one_message() 360 struct spi_transfer *t = tsd->curr_xfer; in handle_cpu_based_xfer()
|
A D | spi-atmel.c | 417 struct spi_transfer *xfer) in atmel_spi_use_dma() 424 struct spi_transfer *xfer) in atmel_spi_can_dma() 611 struct spi_transfer *xfer) in atmel_spi_next_xfer_fifo() 681 struct spi_transfer *xfer) in atmel_spi_next_xfer_pio() 695 struct spi_transfer *xfer, in atmel_spi_next_xfer_dma_submit() 790 struct spi_transfer *xfer, in atmel_spi_next_xfer_data() 803 struct spi_transfer *xfer) in atmel_spi_set_xfer_speed() 854 struct spi_transfer *xfer) in atmel_spi_pdc_next_xfer() 954 struct spi_transfer *xfer) in atmel_spi_dma_unmap_xfer() 1051 struct spi_transfer *xfer; in atmel_spi_pio_interrupt() [all …]
|
A D | spi-rspi.c | 244 struct spi_device *spi, struct spi_transfer *xfer); 677 const struct spi_transfer *xfer) in __rspi_can_dma() 683 struct spi_transfer *xfer) in rspi_can_dma() 691 struct spi_transfer *xfer) in rspi_dma_check_then_transfer() 702 struct spi_transfer *xfer) in rspi_common_transfer() 723 struct spi_device *spi, struct spi_transfer *xfer) in rspi_transfer_one() 742 struct spi_transfer *xfer) in rspi_rz_transfer_one() 783 struct spi_transfer *xfer) in qspi_transfer_out_in() 859 struct spi_device *spi, struct spi_transfer *xfer) in qspi_transfer_one() 905 const struct spi_transfer *xfer; in qspi_setup_sequencer() [all …]
|
A D | spi-fsl-cpm.h | 23 struct spi_transfer *t, bool is_dma_mapped); 31 struct spi_transfer *t, in fsl_spi_cpm_bufs()
|
A D | spi-tegra20-slink.c | 195 struct spi_transfer *curr_xfer; 235 struct spi_transfer *t) in tegra_slink_get_packed_size() 253 struct spi_transfer *t) in tegra_slink_calculate_curr_xfer_param() 287 struct tegra_slink_data *tspi, struct spi_transfer *t) in tegra_slink_fill_tx_fifo_from_client_txbuf() 329 struct tegra_slink_data *tspi, struct spi_transfer *t) in tegra_slink_read_rx_fifo_to_client_rxbuf() 362 struct tegra_slink_data *tspi, struct spi_transfer *t) in tegra_slink_copy_client_txbuf_to_spi_txbuf() 393 struct tegra_slink_data *tspi, struct spi_transfer *t) in tegra_slink_copy_spi_rxbuf_to_client_rxbuf() 670 struct spi_transfer *t) in tegra_slink_start_transfer_one() 798 struct spi_transfer *xfer) in tegra_slink_transfer_one() 840 struct spi_transfer *t = tspi->curr_xfer; in handle_cpu_based_xfer() [all …]
|
A D | spi-sprd.c | 174 struct spi_transfer *t) in sprd_spi_transfer_max_timeout() 194 static int sprd_spi_wait_for_tx_end(struct sprd_spi *ss, struct spi_transfer *t) in sprd_spi_wait_for_tx_end() 219 static int sprd_spi_wait_for_rx_end(struct sprd_spi *ss, struct spi_transfer *t) in sprd_spi_wait_for_rx_end() 402 static int sprd_spi_txrx_bufs(struct spi_device *sdev, struct spi_transfer *t) in sprd_spi_txrx_bufs() 517 static int sprd_spi_dma_rx_config(struct sprd_spi *ss, struct spi_transfer *t) in sprd_spi_dma_rx_config() 535 static int sprd_spi_dma_tx_config(struct sprd_spi *ss, struct spi_transfer *t) in sprd_spi_dma_tx_config() 580 struct spi_transfer *t) in sprd_spi_dma_txrx_bufs() 665 static int sprd_spi_init_hw(struct sprd_spi *ss, struct spi_transfer *t) in sprd_spi_init_hw() 716 struct spi_transfer *t) in sprd_spi_setup_transfer() 791 struct spi_transfer *t) in sprd_spi_transfer_one() [all …]
|
A D | spi-bcm63xx.c | 197 struct spi_transfer *t) in bcm63xx_spi_setup_transfer() 227 static int bcm63xx_txrx_bufs(struct spi_device *spi, struct spi_transfer *first, in bcm63xx_txrx_bufs() 234 struct spi_transfer *t = first; in bcm63xx_txrx_bufs() 267 t = list_entry(t->transfer_list.next, struct spi_transfer, in bcm63xx_txrx_bufs() 318 t = list_entry(t->transfer_list.next, struct spi_transfer, in bcm63xx_txrx_bufs() 329 struct spi_transfer *t, *first = NULL; in bcm63xx_spi_transfer_one()
|
/linux/drivers/input/rmi4/ |
A D | rmi_spi.c | 47 struct spi_transfer *rx_xfers; 48 struct spi_transfer *tx_xfers; 58 struct spi_transfer *xfer_buf; in rmi_spi_manage_pools() 98 sizeof(struct spi_transfer), in rmi_spi_manage_pools() 120 struct spi_transfer *xfer; in rmi_spi_xfer() 188 memset(xfer, 0, sizeof(struct spi_transfer)); in rmi_spi_xfer() 197 memset(xfer, 0, sizeof(struct spi_transfer)); in rmi_spi_xfer() 211 memset(xfer, 0, sizeof(struct spi_transfer)); in rmi_spi_xfer() 220 memset(xfer, 0, sizeof(struct spi_transfer)); in rmi_spi_xfer()
|
/linux/net/nfc/nci/ |
A D | spi.c | 34 struct spi_transfer t; in __nci_spi_send() 36 memset(&t, 0, sizeof(struct spi_transfer)); in __nci_spi_send() 178 struct spi_transfer tx, rx; in __nci_spi_read() 184 memset(&tx, 0, sizeof(struct spi_transfer)); in __nci_spi_read() 193 memset(&rx, 0, sizeof(struct spi_transfer)); in __nci_spi_read() 216 memset(&rx, 0, sizeof(struct spi_transfer)); in __nci_spi_read()
|
/linux/drivers/net/ethernet/micrel/ |
A D | ks8851_spi.c | 54 struct spi_transfer spi_xfer1; 55 struct spi_transfer spi_xfer2[2]; 120 struct spi_transfer *xfer = &kss->spi_xfer1; in ks8851_wrreg16_spi() 151 struct spi_transfer *xfer; in ks8851_rdreg() 216 struct spi_transfer *xfer = kss->spi_xfer2; in ks8851_rdfifo_spi() 256 struct spi_transfer *xfer = kss->spi_xfer2; in ks8851_wrfifo_spi()
|
/linux/drivers/staging/wfx/ |
A D | bus_spi.c | 55 struct spi_transfer t_addr = { in wfx_spi_copy_from_io() 59 struct spi_transfer t_msg = { in wfx_spi_copy_from_io() 92 struct spi_transfer t_addr = { in wfx_spi_copy_to_io() 96 struct spi_transfer t_msg = { in wfx_spi_copy_to_io()
|
/linux/drivers/net/ieee802154/ |
A D | cc2520.c | 222 struct spi_transfer xfer = { in cc2520_cmd_strobe() 250 struct spi_transfer xfer = { in cc2520_get_status() 279 struct spi_transfer xfer = { in cc2520_write_register() 312 struct spi_transfer xfer_head = { in cc2520_write_ram() 318 struct spi_transfer xfer_buf = { in cc2520_write_ram() 346 struct spi_transfer xfer1 = { in cc2520_read_register() 352 struct spi_transfer xfer2 = { in cc2520_read_register() 388 struct spi_transfer xfer_head = { in cc2520_write_txfifo() 393 struct spi_transfer xfer_len = { in cc2520_write_txfifo() 397 struct spi_transfer xfer_buf = { in cc2520_write_txfifo() [all …]
|
/linux/drivers/fpga/ |
A D | machxo2-spi.c | 69 struct spi_transfer rx, tx; in get_status() 139 struct spi_transfer tx[2]; in machxo2_cleanup() 193 struct spi_transfer tx[3]; in machxo2_write_init() 257 struct spi_transfer tx; in machxo2_write() 296 struct spi_transfer tx[2]; in machxo2_write_complete()
|
/linux/drivers/mtd/devices/ |
A D | sst25l.c | 70 struct spi_transfer t; in sst25l_status() 75 memset(&t, 0, sizeof(struct spi_transfer)); in sst25l_status() 210 struct spi_transfer transfer[2]; in sst25l_read() 312 struct spi_transfer t; in sst25l_match_device() 318 memset(&t, 0, sizeof(struct spi_transfer)); in sst25l_match_device()
|
/linux/drivers/net/wireless/ti/wl1251/ |
A D | spi.c | 46 struct spi_transfer t; in wl1251_spi_reset() 73 struct spi_transfer t; in wl1251_spi_wake() 132 struct spi_transfer t[3]; in wl1251_spi_read() 172 struct spi_transfer t[2]; in wl1251_spi_write()
|