Searched refs:spi_dev_t (Results 1 – 15 of 15) sorted by relevance
54 typedef spi_dev_t spi_dma_dev_t;74 static inline void spi_ll_master_init(spi_dev_t *hw) in spi_ll_master_init()92 static inline void spi_ll_slave_init(spi_dev_t *hw) in spi_ll_slave_init()119 static inline bool spi_ll_usr_is_done(spi_dev_t *hw) in spi_ll_usr_is_done()129 static inline void spi_ll_master_user_start(spi_dev_t *hw) in spi_ll_master_user_start()139 static inline void spi_ll_slave_user_start(spi_dev_t *hw) in spi_ll_slave_user_start()151 static inline uint32_t spi_ll_get_running_cmd(spi_dev_t *hw) in spi_ll_get_running_cmd()161 static inline void spi_ll_cpu_tx_fifo_reset(spi_dev_t *hw) in spi_ll_cpu_tx_fifo_reset()171 static inline void spi_ll_cpu_rx_fifo_reset(spi_dev_t *hw) in spi_ll_cpu_rx_fifo_reset()183 static inline void spi_ll_dma_tx_fifo_reset(spi_dev_t *hw) in spi_ll_dma_tx_fifo_reset()[all …]
49 {abort();(spi_dev_t*)0;}\71 static inline void spi_flash_ll_reset(spi_dev_t *dev) in spi_flash_ll_reset()84 static inline bool spi_flash_ll_cmd_is_done(const spi_dev_t *dev) in spi_flash_ll_cmd_is_done()94 static inline void spi_flash_ll_erase_chip(spi_dev_t *dev) in spi_flash_ll_erase_chip()104 static inline void spi_flash_ll_erase_sector(spi_dev_t *dev) in spi_flash_ll_erase_sector()115 static inline void spi_flash_ll_erase_block(spi_dev_t *dev) in spi_flash_ll_erase_block()126 static inline void spi_flash_ll_set_write_protect(spi_dev_t *dev, bool wp) in spi_flash_ll_set_write_protect()142 static inline void spi_flash_ll_get_buffer_data(spi_dev_t *dev, void *buffer, uint32_t read_len) in spi_flash_ll_get_buffer_data()166 static inline void spi_flash_ll_write_word(spi_dev_t *dev, uint32_t word) in spi_flash_ll_write_word()178 static inline void spi_flash_ll_set_buffer_data(spi_dev_t *dev, const void *buffer, uint32_t length) in spi_flash_ll_set_buffer_data()[all …]
35 spi_dev_t *dev = get_spi_dev(host); in spi_flash_hal_erase_chip()49 spi_dev_t *dev = get_spi_dev(host); in spi_flash_hal_erase_sector()66 spi_dev_t *dev = get_spi_dev(host); in spi_flash_hal_erase_block()82 spi_dev_t *dev = get_spi_dev(host); in spi_flash_hal_program_page()91 spi_dev_t *dev = get_spi_dev(host); in spi_flash_hal_set_write_protect()99 static inline spi_dev_t *get_spi_dev(spi_flash_host_inst_t *host) in get_spi_dev()106 spi_dev_t *dev = get_spi_dev(host); in get_host_id()114 spi_dev_t *dev = get_spi_dev(host); in spi_flash_hal_check_status()
25 static inline spi_dev_t *get_spi_dev(spi_flash_host_inst_t *host)32 spi_dev_t *dev = get_spi_dev(host);46 spi_dev_t *dev = get_spi_dev(host);79 spi_dev_t *dev = get_spi_dev(host);147 spi_dev_t *dev = get_spi_dev(host);183 spi_dev_t *dev = get_spi_dev(host);
41 spi_dev_t *hw = hal->hw; in spi_hal_setup_device()62 spi_dev_t *hw = hal->hw; in spi_hal_setup_trans()139 spi_dev_t *hw = hal->hw; in spi_hal_prepare_data()
51 spi_dev_t *hw = SPI_LL_GET_HW(host_id); in spi_hal_init()76 spi_dev_t *hw = hal->hw; in spi_hal_deinit()
41 spi_dev_t *dev = get_spi_dev(host); in spi_flash_hal_gpspi_check_status()
43 spi_dev_t *hw = SPI_LL_GET_HW(hal_config->host_id); in spi_slave_hal_init()
64 spi_dev_t* hw = SPI_LL_GET_HW(hal_config->host_id); in spi_slave_hd_hal_init()
678 } spi_dev_t; typedef679 extern spi_dev_t SPI0; /* SPI0 IS FOR INTERNAL USE*/680 extern spi_dev_t SPI1;681 extern spi_dev_t SPI2;682 extern spi_dev_t SPI3;
74 spi_dev_t *hw; //Pointer to the hardware registers
46 spi_dev_t *hw; ///< Beginning address of the peripheral registers.
41 …spi_dev_t *spi; ///< Pointer to SPI peripheral registers (SP1, SPI2 or SPI3). Set befo…
121 spi_dev_t *hw; ///< Beginning address of the peripheral registers.
96 …spi_dev_t *dev; ///< Beginning address of the peripheral r…