Home
last modified time | relevance | path

Searched refs:ui_len (Results 1 – 1 of 1) sorted by relevance

/external/arm-trusted-firmware/drivers/nxp/flexspi/nor/
Dfspi.c279 int xspi_ip_read(uint32_t pc_rx_addr, uint32_t *pv_rx_buf, uint32_t ui_len) in xspi_ip_read() argument
289 x_len_bytes = ui_len; in xspi_ip_read()
403 void xspi_ip_write(uint32_t pc_wr_addr, uint32_t *pv_wr_buf, uint32_t ui_len) in xspi_ip_write() argument
415 x_len_bytes = ui_len; in xspi_ip_write()
498 int xspi_write(uint32_t pc_wr_addr, void *pv_wr_buf, uint32_t ui_len) in xspi_write() argument
509 if ((ui_len <= F_PAGE_256) && ((x_addr % F_PAGE_256) == 0)) { in xspi_write()
510 x_page1_len = ui_len; in xspi_write()
512 } else if ((ui_len <= F_PAGE_256) && ((x_addr % F_PAGE_256) != 0)) { in xspi_write()
514 if (ui_len > x_page1_len) { in xspi_write()
515 x_page_l_len = (ui_len - x_page1_len) % F_PAGE_256; in xspi_write()
[all …]