Home
last modified time | relevance | path

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

/external/arm-trusted-firmware/drivers/nxp/flexspi/nor/
Dfspi.c240 int xspi_read(uint32_t pc_rx_addr, uint32_t *pc_rx_buf, uint32_t x_size_bytes) in xspi_read() argument
248 return xspi_ahb_read(pc_rx_addr, pc_rx_buf, x_size_bytes); in xspi_read()
250 return xspi_ip_read(pc_rx_addr, pc_rx_buf, x_size_bytes); in xspi_read()
254 int xspi_ahb_read(uint32_t pc_rx_addr, uint32_t *pc_rx_buf, uint32_t x_size_bytes) in xspi_ahb_read() argument
266 if (((pc_rx_addr % 4) != 0) || (((uintptr_t)pc_rx_buf % 4) != 0)) { in xspi_ahb_read()
268 __func__, (pc_rx_addr - fspi_flash_base_addr), pc_rx_buf); in xspi_ahb_read()
272 memcpy(pc_rx_buf, (void *)(uintptr_t)pc_rx_addr, x_size_bytes); in xspi_ahb_read()