/Zephyr-latest/drivers/spi/ |
D | spi_context.h | 28 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 …]
|
D | spi_grlib_spimctrl.c | 43 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()
|
D | spi_ifx_cat1.c | 39 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()
|
D | spi_ambiq_spic.c | 40 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()
|
D | spi_mchp_mss_qspi.c | 108 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()
|
D | spi_it8xxx2.c | 97 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()
|
D | spi_cc13xx_cc26xx.c | 33 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()
|
D | spi_oc_simple.h | 32 struct spi_context ctx;
|
D | spi_ambiq_bleif.c | 38 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()
|
D | spi_xlnx_axi_quadspi.c | 98 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()
|
D | spi_nxp_s32.h | 44 struct spi_context ctx;
|
D | spi_sifive.h | 68 struct spi_context ctx;
|
D | spi_esp32_spim.h | 48 struct spi_context ctx;
|
D | spi_numaker.c | 38 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()
|
D | spi_smartbond.c | 71 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 …]
|
D | spi_mchp_mss.c | 113 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()
|
D | spi_ambiq_spid.c | 39 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()
|
D | spi_b91.c | 42 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()
|
D | spi_npcx_spip.c | 28 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()
|
D | spi_andes_atcspi200.c | 37 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 …]
|
D | spi_bitbang.c | 19 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()
|
D | spi_nrfx_spi.c | 22 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()
|
D | spi_xmc4xxx.c | 59 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()
|
D | spi_litex.c | 19 struct spi_context ctx; 150 struct spi_context *ctx = &dev_data->ctx; in spi_litex_xfer()
|
D | spi_litex_litespi.c | 37 struct spi_context ctx; 141 struct spi_context *ctx = &data->ctx; in spi_litex_xfer()
|