Home
last modified time | relevance | path

Searched refs:spi_transfer (Results 1 – 25 of 293) sorted by relevance

12345678910>>...12

/Linux-v6.6/include/linux/spi/
Dspi.h27 struct spi_transfer;
122 extern int spi_delay_to_ns(struct spi_delay *_delay, struct spi_transfer *xfer);
123 extern int spi_delay_exec(struct spi_delay *_delay, struct spi_transfer *xfer);
125 struct spi_transfer *xfer);
654 struct spi_transfer *xfer);
704 struct spi_transfer *transfer);
790 struct spi_transfer *xfer,
793 struct spi_transfer *xfer,
1029 struct spi_transfer { struct
1147 struct spi_transfer t[];
[all …]
Dspi_bitbang.h19 struct spi_transfer *t);
28 int (*txrx_bufs)(struct spi_device *spi, struct spi_transfer *t);
43 struct spi_transfer *t);
/Linux-v6.6/drivers/nfc/st95hf/
Dspi.c20 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-v6.6/include/trace/events/
Dspi.h179 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-v6.6/drivers/video/backlight/
Dili922x.c116 ((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-v6.6/drivers/staging/greybus/
Dspilib.c21 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-v6.6/drivers/spi/
Dspi-bitbang.c50 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()
Dspi-axi-spi-engine.c94 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 …]
Dspi-fsl-espi.c95 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 …]
Dspi-fsl-cpm.h23 struct spi_transfer *t, bool is_dma_mapped);
31 struct spi_transfer *t, in fsl_spi_cpm_bufs()
Dspi-tegra210-quad.c219 struct spi_transfer *curr_xfer;
268 tegra_qspi_calculate_curr_xfer_param(struct tegra_qspi *tqspi, struct spi_transfer *t) in tegra_qspi_calculate_curr_xfer_param()
307 tegra_qspi_fill_tx_fifo_from_client_txbuf(struct tegra_qspi *tqspi, struct spi_transfer *t) in tegra_qspi_fill_tx_fifo_from_client_txbuf()
356 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()
400 tegra_qspi_copy_client_txbuf_to_qspi_txbuf(struct tegra_qspi *tqspi, struct spi_transfer *t) in tegra_qspi_copy_client_txbuf_to_qspi_txbuf()
443 tegra_qspi_copy_qspi_rxbuf_to_client_rxbuf(struct tegra_qspi *tqspi, struct spi_transfer *t) in tegra_qspi_copy_qspi_rxbuf_to_client_rxbuf()
485 static int tegra_qspi_start_tx_dma(struct tegra_qspi *tqspi, struct spi_transfer *t, int len) in tegra_qspi_start_tx_dma()
513 static int tegra_qspi_start_rx_dma(struct tegra_qspi *tqspi, struct spi_transfer *t, int len) in tegra_qspi_start_rx_dma()
572 static int tegra_qspi_dma_map_xfer(struct tegra_qspi *tqspi, struct spi_transfer *t) in tegra_qspi_dma_map_xfer()
597 static void tegra_qspi_dma_unmap_xfer(struct tegra_qspi *tqspi, struct spi_transfer *t) in tegra_qspi_dma_unmap_xfer()
[all …]
Dspi-tegra20-sflash.c133 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()
Dspi-atmel.c264 struct spi_transfer *current_transfer;
412 static inline bool atmel_spi_is_vmalloc_xfer(struct spi_transfer *xfer) in atmel_spi_is_vmalloc_xfer()
418 struct spi_transfer *xfer) in atmel_spi_use_dma()
425 struct spi_transfer *xfer) in atmel_spi_can_dma()
576 struct spi_transfer *xfer) in atmel_spi_next_xfer_single()
608 struct spi_transfer *xfer) in atmel_spi_next_xfer_fifo()
678 struct spi_transfer *xfer) in atmel_spi_next_xfer_pio()
692 struct spi_transfer *xfer, in atmel_spi_next_xfer_dma_submit()
785 struct spi_transfer *xfer, in atmel_spi_next_xfer_data()
798 struct spi_transfer *xfer) in atmel_spi_set_xfer_speed()
[all …]
Dspi-rspi.c245 struct spi_device *spi, struct spi_transfer *xfer);
682 const struct spi_transfer *xfer) in __rspi_can_dma()
688 struct spi_transfer *xfer) in rspi_can_dma()
696 struct spi_transfer *xfer) in rspi_dma_check_then_transfer()
707 struct spi_transfer *xfer) in rspi_common_transfer()
728 struct spi_device *spi, struct spi_transfer *xfer) in rspi_transfer_one()
747 struct spi_transfer *xfer) in rspi_rz_transfer_one()
788 struct spi_transfer *xfer) in qspi_transfer_out_in()
802 static int qspi_transfer_out(struct rspi_data *rspi, struct spi_transfer *xfer) in qspi_transfer_out()
834 static int qspi_transfer_in(struct rspi_data *rspi, struct spi_transfer *xfer) in qspi_transfer_in()
[all …]
Dspi-tegra20-slink.c197 struct spi_transfer *curr_xfer;
237 struct spi_transfer *t) in tegra_slink_get_packed_size()
255 struct spi_transfer *t) in tegra_slink_calculate_curr_xfer_param()
289 struct tegra_slink_data *tspi, struct spi_transfer *t) in tegra_slink_fill_tx_fifo_from_client_txbuf()
331 struct tegra_slink_data *tspi, struct spi_transfer *t) in tegra_slink_read_rx_fifo_to_client_rxbuf()
364 struct tegra_slink_data *tspi, struct spi_transfer *t) in tegra_slink_copy_client_txbuf_to_spi_txbuf()
395 struct tegra_slink_data *tspi, struct spi_transfer *t) in tegra_slink_copy_spi_rxbuf_to_client_rxbuf()
471 struct tegra_slink_data *tspi, struct spi_transfer *t) in tegra_slink_start_dma_based_transfer()
556 struct tegra_slink_data *tspi, struct spi_transfer *t) in tegra_slink_start_cpu_based_transfer()
672 struct spi_transfer *t) in tegra_slink_start_transfer_one()
[all …]
Dspi-sprd.c173 struct spi_transfer *t) in sprd_spi_transfer_max_timeout()
193 static int sprd_spi_wait_for_tx_end(struct sprd_spi *ss, struct spi_transfer *t) in sprd_spi_wait_for_tx_end()
218 static int sprd_spi_wait_for_rx_end(struct sprd_spi *ss, struct spi_transfer *t) in sprd_spi_wait_for_rx_end()
401 static int sprd_spi_txrx_bufs(struct spi_device *sdev, struct spi_transfer *t) in sprd_spi_txrx_bufs()
516 static int sprd_spi_dma_rx_config(struct sprd_spi *ss, struct spi_transfer *t) in sprd_spi_dma_rx_config()
534 static int sprd_spi_dma_tx_config(struct sprd_spi *ss, struct spi_transfer *t) in sprd_spi_dma_tx_config()
579 struct spi_transfer *t) in sprd_spi_dma_txrx_bufs()
664 static int sprd_spi_init_hw(struct sprd_spi *ss, struct spi_transfer *t) in sprd_spi_init_hw()
715 struct spi_transfer *t) in sprd_spi_setup_transfer()
790 struct spi_transfer *t) in sprd_spi_transfer_one()
[all …]
/Linux-v6.6/net/nfc/nci/
Dspi.c34 struct spi_transfer t; in __nci_spi_send()
36 memset(&t, 0, sizeof(struct spi_transfer)); in __nci_spi_send()
180 struct spi_transfer tx, rx; in __nci_spi_read()
186 memset(&tx, 0, sizeof(struct spi_transfer)); in __nci_spi_read()
195 memset(&rx, 0, sizeof(struct spi_transfer)); in __nci_spi_read()
218 memset(&rx, 0, sizeof(struct spi_transfer)); in __nci_spi_read()
/Linux-v6.6/drivers/input/rmi4/
Drmi_spi.c47 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-v6.6/drivers/net/ethernet/micrel/
Dks8851_spi.c54 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-v6.6/drivers/iio/accel/
Dadxl367_spi.c24 struct spi_transfer reg_write_xfer[2];
27 struct spi_transfer reg_read_xfer[2];
30 struct spi_transfer fifo_xfer[2];
/Linux-v6.6/drivers/net/wireless/silabs/wfx/
Dbus_spi.c69 struct spi_transfer t_addr = { in wfx_spi_copy_from_io()
73 struct spi_transfer t_msg = { in wfx_spi_copy_from_io()
105 struct spi_transfer t_addr = { in wfx_spi_copy_to_io()
109 struct spi_transfer t_msg = { in wfx_spi_copy_to_io()
/Linux-v6.6/drivers/net/ieee802154/
Dcc2520.c221 struct spi_transfer xfer = { in cc2520_cmd_strobe()
249 struct spi_transfer xfer = { in cc2520_get_status()
278 struct spi_transfer xfer = { in cc2520_write_register()
311 struct spi_transfer xfer_head = { in cc2520_write_ram()
317 struct spi_transfer xfer_buf = { in cc2520_write_ram()
345 struct spi_transfer xfer1 = { in cc2520_read_register()
351 struct spi_transfer xfer2 = { in cc2520_read_register()
387 struct spi_transfer xfer_head = { in cc2520_write_txfifo()
392 struct spi_transfer xfer_len = { in cc2520_write_txfifo()
396 struct spi_transfer xfer_buf = { in cc2520_write_txfifo()
[all …]
/Linux-v6.6/drivers/fpga/
Dmachxo2-spi.c69 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-v6.6/drivers/mtd/devices/
Dsst25l.c70 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-v6.6/drivers/net/wireless/ti/wl1251/
Dspi.c46 struct spi_transfer t; in wl1251_spi_reset()
74 struct spi_transfer t; in wl1251_spi_wake()
134 struct spi_transfer t[3]; in wl1251_spi_read()
175 struct spi_transfer t[2]; in wl1251_spi_write()

12345678910>>...12