| /drivers/spi/ |
| A D | spi_context.h | 33 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 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()
|
| A D | spi_ifx_cat1.c | 39 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 D | spi_mchp_mss_qspi.c | 119 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 D | spi_it8xxx2.c | 101 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 D | spi_it51xxx.c | 120 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 D | spi_ambiq_spic.c | 38 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 D | spi_cc13xx_cc26xx.c | 33 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 D | spi_ambiq_bleif.c | 33 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 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()
|
| A D | spi_litex_litespi.c | 53 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 D | spi_oc_simple.h | 32 struct spi_context ctx;
|
| A 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 …]
|
| A D | spi_numaker.c | 41 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 D | spi_egis_et171.c | 61 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 D | spi_mchp_mss.c | 123 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 D | spi_nxp_s32.h | 44 struct spi_context ctx;
|
| A D | spi_sifive.h | 68 struct spi_context ctx;
|
| A 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()
|
| A D | spi_ambiq_spid.c | 36 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 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()
|
| A D | spi_bitbang.c | 19 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 D | spi_esp32_spim.h | 54 struct spi_context ctx;
|
| A D | spi_nrfx_spi.c | 22 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 D | spi_nxp_lpspi.c | 37 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()
|