Home
last modified time | relevance | path

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

123

/Zephyr-latest/drivers/spi/
Dspi_context.h28 struct spi_context { struct
78 static inline bool spi_context_configured(struct spi_context *ctx, in spi_context_configured()
84 static inline bool spi_context_is_slave(struct spi_context *ctx) in spi_context_is_slave()
89 static inline void spi_context_lock(struct spi_context *ctx, in spi_context_lock()
111 static inline void spi_context_release(struct spi_context *ctx, int status) in spi_context_release()
132 static inline size_t spi_context_total_tx_len(struct spi_context *ctx);
133 static inline size_t spi_context_total_rx_len(struct spi_context *ctx);
135 static inline int spi_context_wait_for_completion(struct spi_context *ctx) in spi_context_wait_for_completion()
183 static inline void spi_context_complete(struct spi_context *ctx, in spi_context_complete()
215 static inline int spi_context_cs_configure_all(struct spi_context *ctx) in spi_context_cs_configure_all()
[all …]
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()
Dspi_ifx_cat1.c39 struct spi_context ctx;
59 static uint8_t get_dfs_value(struct spi_context *ctx) in get_dfs_value()
76 struct spi_context *ctx = &data->ctx; in transfer_chunk()
104 struct spi_context *ctx = &data->ctx; in spi_interrupt_callback()
128 struct spi_context *ctx = &data->ctx; in spi_config()
241 struct spi_context *ctx = &data->ctx; in transceive()
Dspi_ambiq_spic.c40 struct spi_context ctx;
48 typedef void (*spi_context_update_trx)(struct spi_context *ctx, uint8_t dfs, uint32_t len);
87 struct spi_context *ctx = &data->ctx; in spi_ambiq_callback()
100 struct spi_context *ctx = &data->ctx; in spi_ambiq_reset()
127 struct spi_context *ctx = &(data->ctx); in spi_config()
211 struct spi_context *ctx = &data->ctx; in spi_ambiq_xfer_half_duplex()
267 struct spi_context *ctx = &data->ctx; in spi_ambiq_xfer_full_duplex()
312 struct spi_context *ctx = &data->ctx; in spi_ambiq_xfer()
Dspi_mchp_mss_qspi.c108 struct spi_context ctx;
143 struct spi_context *ctx = &data->ctx; in mss_qspi_transmit_x8()
164 struct spi_context *ctx = &data->ctx; in mss_qspi_transmit_x32()
186 struct spi_context *ctx = &data->ctx; in mss_qspi_receive_x32()
208 struct spi_context *ctx = &data->ctx; in mss_qspi_receive_x8()
259 struct spi_context *ctx = &data->ctx; in mss_qspi_transmit()
313 struct spi_context *ctx = &data->ctx; in mss_qspi_receive()
430 struct spi_context *ctx = &data->ctx; in mss_qspi_interrupt()
508 struct spi_context *ctx = &data->ctx; in mss_qspi_transceive()
Dspi_it8xxx2.c97 struct spi_context ctx;
145 struct spi_context *ctx = &data->ctx; in spi_it8xxx2_configure()
202 static inline bool spi_it8xxx2_transfer_done(struct spi_context *ctx) in spi_it8xxx2_transfer_done()
210 struct spi_context *ctx = &data->ctx; in spi_it8xxx2_complete()
224 struct spi_context *ctx = &data->ctx; in spi_it8xxx2_tx()
257 struct spi_context *ctx = &data->ctx; in spi_it8xxx2_rx()
277 struct spi_context *ctx = &data->ctx; in spi_it8xxx2_tx_rx()
322 struct spi_context *ctx = &data->ctx; in spi_it8xxx2_next_xfer()
389 struct spi_context *ctx = &data->ctx; in transceive()
450 struct spi_context *ctx = &data->ctx; in it8xxx2_spi_isr()
Dspi_cc13xx_cc26xx.c33 struct spi_context ctx;
43 struct spi_context *ctx = &data->ctx; in spi_cc13xx_cc26xx_configure()
140 struct spi_context *ctx = &data->ctx; in spi_cc13xx_cc26xx_transceive()
189 struct spi_context *ctx = &data->ctx; in spi_cc13xx_cc26xx_release()
Dspi_oc_simple.h32 struct spi_context ctx;
Dspi_ambiq_bleif.c38 struct spi_context ctx;
51 struct spi_context *ctx = &(data->ctx); in spi_config()
102 struct spi_context *ctx = &data->ctx; in spi_ambiq_xfer()
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()
Dspi_nxp_s32.h44 struct spi_context ctx;
Dspi_sifive.h68 struct spi_context ctx;
Dspi_esp32_spim.h48 struct spi_context ctx;
Dspi_numaker.c38 struct spi_context ctx;
144 struct spi_context *ctx = &data->ctx; in spi_numaker_txrx()
229 struct spi_context *ctx = &data->ctx; in spi_numaker_transceive()
274 struct spi_context *ctx = &data->ctx; in spi_numaker_release()
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 …]
Dspi_mchp_mss.c113 struct spi_context ctx;
183 struct spi_context *ctx = &data->ctx; in mss_spi_readwr_fifo()
302 struct spi_context *ctx = &data->ctx; in mss_spi_interrupt()
331 struct spi_context *ctx = &data->ctx; in mss_spi_configure()
379 struct spi_context *ctx = &data->ctx; in mss_spi_transceive()
Dspi_ambiq_spid.c39 struct spi_context ctx;
68 struct spi_context *ctx = &data->ctx; in spi_ambiq_reset()
101 struct spi_context *ctx = &(data->ctx); in spi_config()
186 struct spi_context *ctx = &data->ctx; in spi_ambiq_xfer()
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()
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()
Dspi_andes_atcspi200.c37 struct spi_context ctx;
114 struct spi_context *ctx = &data->ctx; in spi_transfer()
162 struct spi_context *ctx = &(data->ctx); in configure()
230 struct spi_context *ctx = &data->ctx; in spi_dma_move_buffers()
258 struct spi_context *ctx = &data->ctx; in dma_rx_callback()
279 struct spi_context *ctx = &data->ctx; in dma_tx_callback()
305 struct spi_context *ctx = &data->ctx; in spi_dma_tx_load()
423 struct spi_context *ctx = &data->ctx; in spi_dma_rx_load()
536 struct spi_context *ctx = &data->ctx; in spi_transfer_dma()
609 struct spi_context *ctx = &data->ctx; in transceive()
[all …]
Dspi_bitbang.c19 struct spi_context ctx;
76 struct spi_context *ctx = &data->ctx; in spi_bitbang_transceive()
250 struct spi_context *ctx = &data->ctx; in spi_bitbang_release()
Dspi_nrfx_spi.c22 struct spi_context ctx;
92 struct spi_context *ctx = &dev_data->ctx; in configure()
163 struct spi_context *ctx = &dev_data->ctx; in finish_transaction()
175 struct spi_context *ctx = &dev_data->ctx; in transfer_next_chunk()
Dspi_xmc4xxx.c59 struct spi_context ctx;
113 struct spi_context *ctx = &data->ctx; in spi_xmc4xxx_shift_frames()
165 struct spi_context *ctx = &data->ctx; in spi_xmc4xxx_isr()
194 struct spi_context *ctx = &data->ctx; in spi_xmc4xxx_configure()
266 struct spi_context *ctx = &data->ctx; in spi_xmc4xxx_transceive()
354 struct spi_context *ctx = &data->ctx; in spi_xmc4xxx_transceive_dma()
Dspi_litex.c19 struct spi_context ctx;
150 struct spi_context *ctx = &dev_data->ctx; in spi_litex_xfer()
Dspi_litex_litespi.c37 struct spi_context ctx;
141 struct spi_context *ctx = &data->ctx; in spi_litex_xfer()

123