Searched refs:qspi_ctxt (Results 1 – 3 of 3) sorted by relevance
/lk-master/platform/zynq/include/dev/ |
A D | qspi.h | 15 struct qspi_ctxt { struct 21 int qspi_set_speed(struct qspi_ctxt *qspi, uint32_t khz); argument 22 int qspi_init(struct qspi_ctxt *qspi, uint32_t khz); 23 int qspi_enable_linear(struct qspi_ctxt *qspi); 24 int qspi_disable_linear(struct qspi_ctxt *qspi); 25 void qspi_rd(struct qspi_ctxt *qspi, uint32_t cmd, uint32_t asize, uint32_t *data, uint32_t count); 27 void qspi_wr1(struct qspi_ctxt *qspi, uint32_t cmd); 28 void qspi_wr2(struct qspi_ctxt *qspi, uint32_t cmd); 29 void qspi_wr3(struct qspi_ctxt *qspi, uint32_t cmd); 30 uint32_t qspi_rd1(struct qspi_ctxt *qspi, uint32_t cmd); [all …]
|
/lk-master/platform/zynq/ |
A D | qspi.c | 81 int qspi_set_speed(struct qspi_ctxt *qspi, uint32_t khz) { in qspi_set_speed() 118 int qspi_init(struct qspi_ctxt *qspi, uint32_t khz) { in qspi_init() 147 int qspi_enable_linear(struct qspi_ctxt *qspi) { in qspi_enable_linear() 188 int qspi_disable_linear(struct qspi_ctxt *qspi) { in qspi_disable_linear() 210 void qspi_cs(struct qspi_ctxt *qspi, unsigned int cs) { in qspi_cs() 220 static inline void qspi_xmit(struct qspi_ctxt *qspi) { in qspi_xmit() 235 void qspi_rd(struct qspi_ctxt *qspi, uint32_t cmd, uint32_t asize, uint32_t *data, uint32_t count) { in qspi_rd() 304 void qspi_wr1(struct qspi_ctxt *qspi, uint32_t cmd) { in qspi_wr1() 317 void qspi_wr2(struct qspi_ctxt *qspi, uint32_t cmd) { in qspi_wr2() 330 void qspi_wr3(struct qspi_ctxt *qspi, uint32_t cmd) { in qspi_wr3() [all …]
|
A D | spiflash.c | 47 struct qspi_ctxt qspi; 69 static void qspi_rd32(struct qspi_ctxt *qspi, uint32_t addr, uint32_t *data, uint32_t count) { in qspi_rd32() 73 static inline void qspi_wren(struct qspi_ctxt *qspi) { in qspi_wren() 77 static inline void qspi_clsr(struct qspi_ctxt *qspi) { in qspi_clsr() 81 static inline uint32_t qspi_rd_cr1(struct qspi_ctxt *qspi) { in qspi_rd_cr1() 85 static inline uint32_t qspi_rd_status(struct qspi_ctxt *qspi) { in qspi_rd_status() 89 static inline void qspi_wr_status_cr1(struct qspi_ctxt *qspi, uint8_t status, uint8_t cr1) { in qspi_wr_status_cr1() 96 static ssize_t qspi_erase_sector(struct qspi_ctxt *qspi, uint32_t addr) { in qspi_erase_sector() 140 static ssize_t qspi_write_page(struct qspi_ctxt *qspi, uint32_t addr, const uint8_t *data) { in qspi_write_page()
|
Completed in 6 milliseconds