/Linux-v5.4/include/linux/spi/ |
D | spi.h | 20 struct spi_transfer; 78 struct spi_transfer *xfer, 232 struct spi_transfer; 542 struct spi_transfer *xfer); 583 struct spi_transfer *transfer); 811 struct spi_transfer { struct 927 spi_message_add_tail(struct spi_transfer *t, struct spi_message *m) in spi_message_add_tail() 933 spi_transfer_del(struct spi_transfer *t) in spi_transfer_del() 949 struct spi_transfer *xfers, unsigned int num_xfers) in spi_message_init_with_transfers() 967 + ntrans * sizeof(struct spi_transfer), in spi_message_alloc() [all …]
|
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-v5.4/include/trace/events/ |
D | spi.h | 122 DECLARE_EVENT_CLASS(spi_transfer, 124 TP_PROTO(struct spi_message *msg, struct spi_transfer *xfer), 131 __field( struct spi_transfer *, xfer ) 163 DEFINE_EVENT(spi_transfer, spi_transfer_start, 165 TP_PROTO(struct spi_message *msg, struct spi_transfer *xfer), 171 DEFINE_EVENT(spi_transfer, spi_transfer_stop, 173 TP_PROTO(struct spi_message *msg, struct spi_transfer *xfer),
|
/Linux-v5.4/drivers/nfc/st95hf/ |
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-v5.4/drivers/video/backlight/ |
D | ili922x.c | 114 ((struct spi_transfer *)x)->speed_hz = \ 150 struct spi_transfer xfer; in ili922x_read_status() 155 memset(&xfer, 0, sizeof(struct spi_transfer)); in ili922x_read_status() 193 struct spi_transfer xfer_regindex, xfer_regvalue; in ili922x_read() 198 memset(&xfer_regindex, 0, sizeof(struct spi_transfer)); in ili922x_read() 199 memset(&xfer_regvalue, 0, sizeof(struct spi_transfer)); in ili922x_read() 247 struct spi_transfer xfer_regindex, xfer_regvalue; in ili922x_write() 252 memset(&xfer_regindex, 0, sizeof(struct spi_transfer)); in ili922x_write() 253 memset(&xfer_regvalue, 0, sizeof(struct spi_transfer)); in ili922x_write() 320 struct spi_transfer xfer; in set_write_to_gram_reg() [all …]
|
/Linux-v5.4/drivers/staging/greybus/ |
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() 297 struct spi_transfer *xfer = spi->first_xfer; in gb_spi_decode_response() 333 struct spi_transfer, in gb_spi_transfer_one_message()
|
/Linux-v5.4/drivers/spi/ |
D | spi-bitbang.c | 50 unsigned, struct spi_transfer *, 61 struct spi_transfer *t, in bitbang_txrx_8() 89 struct spi_transfer *t, in bitbang_txrx_16() 117 struct spi_transfer *t, in bitbang_txrx_32() 138 int spi_bitbang_setup_transfer(struct spi_device *spi, struct spi_transfer *t) in spi_bitbang_setup_transfer() 220 static int spi_bitbang_bufs(struct spi_device *spi, struct spi_transfer *t) in spi_bitbang_bufs() 273 struct spi_transfer *transfer) in spi_bitbang_transfer_one()
|
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() 198 struct spi_transfer *xfer; in spi_engine_compile_message() 236 struct spi_transfer **_xfer) in spi_engine_xfer_next() 239 struct spi_transfer *xfer = *_xfer; in spi_engine_xfer_next() 243 struct spi_transfer, transfer_list); in spi_engine_xfer_next() 255 struct spi_transfer *xfer = spi_engine->tx_xfer; in spi_engine_tx_next() 272 struct spi_transfer *xfer = spi_engine->rx_xfer; in spi_engine_rx_next()
|
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() 397 static int fsl_espi_trans(struct spi_message *m, struct spi_transfer *trans) in fsl_espi_trans() 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() [all …]
|
D | spi-fsl-cpm.h | 23 struct spi_transfer *t, bool is_dma_mapped); 31 struct spi_transfer *t, in fsl_spi_cpm_bufs()
|
D | spi-dw-mid.c | 108 struct spi_device *spi, struct spi_transfer *xfer) in mid_spi_can_dma() 142 struct spi_transfer *xfer) in dw_spi_dma_prepare_tx() 188 struct spi_transfer *xfer) in dw_spi_dma_prepare_rx() 219 static int mid_spi_dma_setup(struct dw_spi *dws, struct spi_transfer *xfer) in mid_spi_dma_setup() 240 static int mid_spi_dma_transfer(struct dw_spi *dws, struct spi_transfer *xfer) in mid_spi_dma_transfer()
|
D | spi-atmel.c | 288 struct spi_transfer *current_transfer; 434 static inline bool atmel_spi_is_vmalloc_xfer(struct spi_transfer *xfer) in atmel_spi_is_vmalloc_xfer() 440 struct spi_transfer *xfer) in atmel_spi_use_dma() 447 struct spi_transfer *xfer) in atmel_spi_can_dma() 614 struct spi_transfer *xfer) in atmel_spi_next_xfer_single() 646 struct spi_transfer *xfer) in atmel_spi_next_xfer_fifo() 716 struct spi_transfer *xfer) in atmel_spi_next_xfer_pio() 730 struct spi_transfer *xfer, in atmel_spi_next_xfer_dma_submit() 830 struct spi_transfer *xfer, in atmel_spi_next_xfer_data() 843 struct spi_transfer *xfer) in atmel_spi_set_xfer_speed() [all …]
|
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()
|
D | spi-rspi.c | 241 struct spi_device *spi, struct spi_transfer *xfer); 661 const struct spi_transfer *xfer) in __rspi_can_dma() 667 struct spi_transfer *xfer) in rspi_can_dma() 675 struct spi_transfer *xfer) in rspi_dma_check_then_transfer() 686 struct spi_transfer *xfer) in rspi_common_transfer() 705 struct spi_device *spi, struct spi_transfer *xfer) in rspi_transfer_one() 724 struct spi_transfer *xfer) in rspi_rz_transfer_one() 765 struct spi_transfer *xfer) in qspi_transfer_out_in() 779 static int qspi_transfer_out(struct rspi_data *rspi, struct spi_transfer *xfer) in qspi_transfer_out() 811 static int qspi_transfer_in(struct rspi_data *rspi, struct spi_transfer *xfer) in qspi_transfer_in() [all …]
|
D | spi-dw.h | 96 int (*dma_setup)(struct dw_spi *dws, struct spi_transfer *xfer); 98 struct spi_transfer *xfer); 99 int (*dma_transfer)(struct dw_spi *dws, struct spi_transfer *xfer);
|
D | spi-tegra20-slink.c | 195 struct spi_transfer *curr_xfer; 238 struct spi_transfer *t) in tegra_slink_get_packed_size() 256 struct spi_transfer *t) in tegra_slink_calculate_curr_xfer_param() 290 struct tegra_slink_data *tspi, struct spi_transfer *t) in tegra_slink_fill_tx_fifo_from_client_txbuf() 332 struct tegra_slink_data *tspi, struct spi_transfer *t) in tegra_slink_read_rx_fifo_to_client_rxbuf() 365 struct tegra_slink_data *tspi, struct spi_transfer *t) in tegra_slink_copy_client_txbuf_to_spi_txbuf() 396 struct tegra_slink_data *tspi, struct spi_transfer *t) in tegra_slink_copy_spi_rxbuf_to_client_rxbuf() 472 struct tegra_slink_data *tspi, struct spi_transfer *t) in tegra_slink_start_dma_based_transfer() 557 struct tegra_slink_data *tspi, struct spi_transfer *t) in tegra_slink_start_cpu_based_transfer() 678 struct spi_transfer *t) in tegra_slink_start_transfer_one() [all …]
|
D | spi-fsl-lib.h | 35 struct spi_transfer *xfer_in_progress; 107 struct spi_transfer *t, unsigned int len);
|
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() 587 struct spi_transfer *t) in sprd_spi_dma_txrx_bufs() 672 static void sprd_spi_init_hw(struct sprd_spi *ss, struct spi_transfer *t) in sprd_spi_init_hw() 717 struct spi_transfer *t) in sprd_spi_setup_transfer() 789 struct spi_transfer *t) in sprd_spi_transfer_one() [all …]
|
/Linux-v5.4/drivers/input/rmi4/ |
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() 196 memset(xfer, 0, sizeof(struct spi_transfer)); in rmi_spi_xfer() 210 memset(xfer, 0, sizeof(struct spi_transfer)); in rmi_spi_xfer() 218 memset(xfer, 0, sizeof(struct spi_transfer)); in rmi_spi_xfer()
|
/Linux-v5.4/net/nfc/nci/ |
D | spi.c | 34 struct spi_transfer t; in __nci_spi_send() 36 memset(&t, 0, sizeof(struct spi_transfer)); in __nci_spi_send() 177 struct spi_transfer tx, rx; in __nci_spi_read() 183 memset(&tx, 0, sizeof(struct spi_transfer)); in __nci_spi_read() 192 memset(&rx, 0, sizeof(struct spi_transfer)); in __nci_spi_read() 215 memset(&rx, 0, sizeof(struct spi_transfer)); in __nci_spi_read()
|
/Linux-v5.4/drivers/mtd/devices/ |
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-v5.4/drivers/fpga/ |
D | machxo2-spi.c | 69 struct spi_transfer rx, tx; in get_status() 139 struct spi_transfer tx[2]; in machxo2_cleanup() 192 struct spi_transfer tx[3]; in machxo2_write_init() 253 struct spi_transfer tx; in machxo2_write() 291 struct spi_transfer tx[2]; in machxo2_write_complete()
|
/Linux-v5.4/drivers/net/ieee802154/ |
D | cc2520.c | 223 struct spi_transfer xfer = { in cc2520_cmd_strobe() 253 struct spi_transfer xfer = { in cc2520_get_status() 282 struct spi_transfer xfer = { in cc2520_write_register() 315 struct spi_transfer xfer_head = { in cc2520_write_ram() 321 struct spi_transfer xfer_buf = { in cc2520_write_ram() 349 struct spi_transfer xfer1 = { in cc2520_read_register() 355 struct spi_transfer xfer2 = { in cc2520_read_register() 391 struct spi_transfer xfer_head = { in cc2520_write_txfifo() 396 struct spi_transfer xfer_len = { in cc2520_write_txfifo() 400 struct spi_transfer xfer_buf = { in cc2520_write_txfifo() [all …]
|
/Linux-v5.4/drivers/net/wireless/ti/wl1251/ |
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()
|
/Linux-v5.4/drivers/iio/pressure/ |
D | mpl115_spi.c | 41 struct spi_transfer xfer = { in mpl115_spi_read() 62 struct spi_transfer xfer = { in mpl115_spi_write()
|