Home
last modified time | relevance | path

Searched refs:spi_context (Results 1 – 25 of 69) sorted by relevance

123

/drivers/spi/
A Dspi_context.h33 struct spi_context { struct
103 static inline bool spi_context_configured(struct spi_context *ctx, in spi_context_configured()
112 static inline bool spi_context_is_slave(struct spi_context *ctx) in spi_context_is_slave()
122 static inline void spi_context_lock(struct spi_context *ctx, in spi_context_lock()
268 static inline void spi_context_complete(struct spi_context *ctx, in spi_context_complete()
366 static inline int spi_context_cs_get_all(struct spi_context *ctx) in spi_context_cs_get_all()
466 void spi_context_buffers_setup(struct spi_context *ctx, in spi_context_buffers_setup()
537 bool spi_context_tx_on(struct spi_context *ctx) in spi_context_tx_on()
546 bool spi_context_tx_buf_on(struct spi_context *ctx) in spi_context_tx_buf_on()
596 bool spi_context_rx_on(struct spi_context *ctx) in spi_context_rx_on()
[all …]
A Dspi_grlib_spimctrl.c43 struct spi_context ctx;
46 static int spi_config(struct spi_context *ctx, const struct spi_config *config) in spi_config()
105 struct spi_context *ctx = &SPI_DATA(dev)->ctx; in transceive()
162 struct spi_context *ctx = &SPI_DATA(dev)->ctx; in spim_isr()
A Dspi_ifx_cat1.c39 struct spi_context ctx;
62 static uint8_t get_dfs_value(struct spi_context *ctx) in get_dfs_value()
79 struct spi_context *ctx = &data->ctx; in transfer_chunk()
107 struct spi_context *ctx = &data->ctx; in spi_interrupt_callback()
131 struct spi_context *ctx = &data->ctx; in spi_config()
244 struct spi_context *ctx = &data->ctx; in transceive()
A Dspi_mchp_mss_qspi.c119 struct spi_context ctx;
154 struct spi_context *ctx = &data->ctx; in mss_qspi_transmit_x8()
175 struct spi_context *ctx = &data->ctx; in mss_qspi_transmit_x32()
197 struct spi_context *ctx = &data->ctx; in mss_qspi_receive_x32()
219 struct spi_context *ctx = &data->ctx; in mss_qspi_receive_x8()
270 struct spi_context *ctx = &data->ctx; in mss_qspi_transmit()
324 struct spi_context *ctx = &data->ctx; in mss_qspi_receive()
441 struct spi_context *ctx = &data->ctx; in mss_qspi_interrupt()
519 struct spi_context *ctx = &data->ctx; in mss_qspi_transceive()
A Dspi_it8xxx2.c101 struct spi_context ctx;
166 struct spi_context *ctx = &data->ctx; in spi_it8xxx2_configure()
223 static inline bool spi_it8xxx2_transfer_done(struct spi_context *ctx) in spi_it8xxx2_transfer_done()
231 struct spi_context *ctx = &data->ctx; in spi_it8xxx2_complete()
246 struct spi_context *ctx = &data->ctx; in spi_it8xxx2_tx()
279 struct spi_context *ctx = &data->ctx; in spi_it8xxx2_rx()
299 struct spi_context *ctx = &data->ctx; in spi_it8xxx2_tx_rx()
344 struct spi_context *ctx = &data->ctx; in spi_it8xxx2_next_xfer()
407 struct spi_context *ctx = &data->ctx; in transceive()
471 struct spi_context *ctx = &data->ctx; in it8xxx2_spi_isr()
A Dspi_it51xxx.c120 struct spi_context ctx;
195 struct spi_context *ctx = &data->ctx; in spi_it51xxx_ctrl_mode_selection()
265 struct spi_context *ctx = &data->ctx; in spi_it51xxx_configure()
380 struct spi_context *ctx = &data->ctx; in spi_it51xxx_fifo_rx()
408 struct spi_context *ctx = &data->ctx; in spi_it51xxx_fifo_tx()
437 struct spi_context *ctx = &data->ctx; in spi_it51xxx_tx()
449 struct spi_context *ctx = &data->ctx; in spi_it51xxx_rx()
464 struct spi_context *ctx = &data->ctx; in spi_it51xxx_next_xfer()
505 struct spi_context *ctx = &data->ctx; in transceive()
592 struct spi_context *ctx = &data->ctx; in it51xxx_spi_fifo_done_handle()
[all …]
A Dspi_ambiq_spic.c38 struct spi_context ctx;
46 typedef void (*spi_context_update_trx)(struct spi_context *ctx, uint8_t dfs, uint32_t len);
80 struct spi_context *ctx = &data->ctx; in spi_ambiq_callback()
92 struct spi_context *ctx = &data->ctx; in spi_ambiq_reset()
119 struct spi_context *ctx = &(data->ctx); in spi_config()
196 struct spi_context *ctx = &data->ctx; in spi_ambiq_xfer_half_duplex()
269 struct spi_context *ctx = &data->ctx; in spi_ambiq_xfer_full_duplex()
314 struct spi_context *ctx = &data->ctx; in spi_ambiq_xfer()
A Dspi_cc13xx_cc26xx.c33 struct spi_context ctx;
43 struct spi_context *ctx = &data->ctx; in spi_cc13xx_cc26xx_configure()
141 struct spi_context *ctx = &data->ctx; in spi_cc13xx_cc26xx_transceive()
190 struct spi_context *ctx = &data->ctx; in spi_cc13xx_cc26xx_release()
A Dspi_ambiq_bleif.c33 struct spi_context ctx;
46 struct spi_context *ctx = &(data->ctx); in spi_config()
97 struct spi_context *ctx = &data->ctx; in spi_ambiq_xfer()
A Dspi_xlnx_axi_quadspi.c98 struct spi_context ctx;
123 struct spi_context *ctx = &data->ctx; in xlnx_quadspi_cs_control()
148 struct spi_context *ctx = &data->ctx; in xlnx_quadspi_configure()
237 struct spi_context *ctx = &data->ctx; in xlnx_quadspi_start_tx()
341 struct spi_context *ctx = &data->ctx; in xlnx_quadspi_read_fifo()
387 struct spi_context *ctx = &data->ctx; in xlnx_quadspi_transceive()
490 struct spi_context *ctx = &data->ctx; in xlnx_quadspi_isr()
A Dspi_litex_litespi.c53 struct spi_context ctx;
157 struct spi_context *ctx = &data->ctx; in spi_litex_spi_do_tx()
182 struct spi_context *ctx = &data->ctx; in spi_litex_spi_do_rx()
199 struct spi_context *ctx = &data->ctx; in spi_litex_xfer()
328 struct spi_context *ctx = &data->ctx; in spi_litex_irq_handler()
A Dspi_oc_simple.h32 struct spi_context ctx;
A Dspi_smartbond.c71 struct spi_context ctx;
415 struct spi_context *ctx = &data->ctx; in spi_smartbond_transfer_mode_get()
467 struct spi_context *ctx = &data->ctx; in spi_smartbond_write()
493 struct spi_context *ctx = &data->ctx; in spi_smartbond_transfer()
534 struct spi_context *ctx = &data->ctx; in spi_smartbond_read()
561 struct spi_context *ctx = &data->ctx; in spi_smartbond_isr_trigger()
601 struct spi_context *ctx = &data->ctx; in spi_smartbond_transceive_async()
634 struct spi_context *ctx = &data->ctx; in spi_smartbond_isr()
770 struct spi_context *ctx = &data->ctx; in spi_smartbond_tx_dma_cb()
785 struct spi_context *ctx = &data->ctx; in spi_smartbond_rx_dma_cb()
[all …]
A Dspi_numaker.c41 struct spi_context ctx;
149 struct spi_context *ctx = &data->ctx; in spi_numaker_txrx()
212 struct spi_context *ctx = &data->ctx; in spi_numaker_transceive()
277 struct spi_context *ctx = &data->ctx; in spi_numaker_release()
A Dspi_egis_et171.c61 struct spi_context ctx;
162 struct spi_context *ctx = &data->ctx; in spi_transfer()
208 struct spi_context *ctx = &(data->ctx); in configure()
281 struct spi_context *ctx = &data->ctx; in spi_dma_move_buffers()
309 struct spi_context *ctx = &data->ctx; in dma_rx_callback()
336 struct spi_context *ctx = &data->ctx; in dma_tx_callback()
402 struct spi_context *ctx = &data->ctx; in spi_dma_tx_load()
512 struct spi_context *ctx = &data->ctx; in spi_dma_rx_load()
585 struct spi_context *ctx = &data->ctx; in spi_transfer_dma()
650 struct spi_context *ctx = &data->ctx; in transceive()
[all …]
A Dspi_mchp_mss.c123 struct spi_context ctx;
193 struct spi_context *ctx = &data->ctx; in mss_spi_readwr_fifo()
312 struct spi_context *ctx = &data->ctx; in mss_spi_interrupt()
341 struct spi_context *ctx = &data->ctx; in mss_spi_configure()
389 struct spi_context *ctx = &data->ctx; in mss_spi_transceive()
A Dspi_nxp_s32.h44 struct spi_context ctx;
A Dspi_sifive.h68 struct spi_context ctx;
A Dspi_npcx_spip.c28 struct spi_context ctx;
217 struct spi_context *ctx = &data->ctx; in spi_npcx_spip_isr()
260 struct spi_context *ctx = &data->ctx; in transceive()
345 struct spi_context *ctx = &data->ctx; in spi_npcx_spip_release()
A Dspi_ambiq_spid.c36 struct spi_context ctx;
64 struct spi_context *ctx = &data->ctx; in spi_ambiq_reset()
97 struct spi_context *ctx = &(data->ctx); in spi_config()
182 struct spi_context *ctx = &data->ctx; in spi_ambiq_xfer()
A Dspi_b91.c42 struct spi_context ctx;
153 static void spi_b91_tx(uint8_t peripheral_id, struct spi_context *ctx, uint8_t len) in spi_b91_tx()
172 static void spi_b91_rx(uint8_t peripheral_id, struct spi_context *ctx, uint8_t len) in spi_b91_rx()
194 struct spi_context *ctx = &SPI_DATA(dev)->ctx; in spi_b91_txrx()
A Dspi_bitbang.c19 struct spi_context ctx;
82 struct spi_context *ctx = &data->ctx; in spi_bitbang_transceive()
264 struct spi_context *ctx = &data->ctx; in spi_bitbang_release()
A Dspi_esp32_spim.h54 struct spi_context ctx;
A Dspi_nrfx_spi.c22 struct spi_context ctx;
92 struct spi_context *ctx = &dev_data->ctx; in configure()
167 struct spi_context *ctx = &dev_data->ctx; in finish_transaction()
179 struct spi_context *ctx = &dev_data->ctx; in transfer_next_chunk()
/drivers/spi/spi_nxp_lpspi/
A Dspi_nxp_lpspi.c37 struct spi_context *ctx = &data->ctx; in lpspi_rx_word_write_bytes()
57 struct spi_context *ctx = &data->ctx; in lpspi_rx_buf_write_words()
76 struct spi_context *ctx = &data->ctx; in lpspi_handle_rx_irq()
156 struct spi_context *ctx = &data->ctx; in lpspi_next_tx_fill()
204 struct spi_context *ctx = &data->ctx; in lpspi_handle_tx_irq()
233 struct spi_context *ctx = &data->ctx; in lpspi_end_xfer()
252 struct spi_context *ctx = &data->ctx; in lpspi_isr()
354 struct spi_context *ctx = &data->ctx; in transceive()

Completed in 48 milliseconds

123