Lines Matching refs:spiflash
14 csi_error_t csi_spiflash_spi_init(csi_spiflash_t *spiflash, uint32_t spi_idx, void *spi_cs_callback) in csi_spiflash_spi_init() argument
16 spiflash->spi_qspi.spi.dev.idx = spi_idx; in csi_spiflash_spi_init()
18 spiflash->spi_cs_callback = spi_cs_callback; in csi_spiflash_spi_init()
22 void csi_spiflash_spi_uninit(csi_spiflash_t *spiflash) in csi_spiflash_spi_uninit() argument
24 if(spiflash->spi_cs_callback != NULL) in csi_spiflash_spi_uninit()
25 spiflash->spi_cs_callback = NULL; in csi_spiflash_spi_uninit()
28 csi_error_t csi_spiflash_get_flash_info(csi_spiflash_t *spiflash, csi_spiflash_info_t *flash_info) in csi_spiflash_get_flash_info() argument
31 ( void ) spiflash; in csi_spiflash_get_flash_info()
50 int32_t csi_spiflash_read(csi_spiflash_t *spiflash, uint32_t offset, void *data, uint32_t size) in csi_spiflash_read() argument
53 ( void ) spiflash; in csi_spiflash_read()
123 int32_t csi_spiflash_program(csi_spiflash_t *spiflash, uint32_t offset, const void *data, uint32_t … in csi_spiflash_program() argument
126 ( void ) spiflash; in csi_spiflash_program()
197 csi_error_t csi_spiflash_erase(csi_spiflash_t *spiflash, uint32_t offset, uint32_t size) in csi_spiflash_erase() argument
200 ( void ) spiflash; in csi_spiflash_erase()