Searched refs:pc_rx_addr (Results 1 – 1 of 1) sorted by relevance
/trusted-firmware-a-latest/drivers/nxp/flexspi/nor/ |
D | fspi.c | 243 int xspi_read(uint32_t pc_rx_addr, uint32_t *pc_rx_buf, uint32_t x_size_bytes) in xspi_read() argument 251 return xspi_ahb_read(pc_rx_addr, pc_rx_buf, x_size_bytes); in xspi_read() 253 return xspi_ip_read(pc_rx_addr, pc_rx_buf, x_size_bytes); in xspi_read() 257 int xspi_ahb_read(uint32_t pc_rx_addr, uint32_t *pc_rx_buf, uint32_t x_size_bytes) in xspi_ahb_read() argument 259 VERBOSE("In func %s 0x%x\n", __func__, (pc_rx_addr)); in xspi_ahb_read() 262 pc_rx_addr = ((uint32_t)(pcRxAddr & MASK_24BIT_ADDRESS)); in xspi_ahb_read() 264 pc_rx_addr = ((uint32_t)(pcRxAddr & MASK_32BIT_ADDRESS)); in xspi_ahb_read() 267 pc_rx_addr = ((uint32_t)(pcRxAddr + fspi_flash_base_addr)); in xspi_ahb_read() 269 if (((pc_rx_addr % 4) != 0) || (((uintptr_t)pc_rx_buf % 4) != 0)) { in xspi_ahb_read() 271 __func__, (pc_rx_addr - fspi_flash_base_addr), pc_rx_buf); in xspi_ahb_read() [all …]
|