Searched refs:pc_rx_addr (Results 1 – 1 of 1) sorted by relevance
/trusted-firmware-a/drivers/nxp/flexspi/nor/ |
A D | fspi.c | 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() 256 VERBOSE("In func %s 0x%x\n", __func__, (pc_rx_addr)); in xspi_ahb_read() 259 pc_rx_addr = ((uint32_t)(pcRxAddr & MASK_24BIT_ADDRESS)); in xspi_ahb_read() 261 pc_rx_addr = ((uint32_t)(pcRxAddr & MASK_32BIT_ADDRESS)); in xspi_ahb_read() 264 pc_rx_addr = ((uint32_t)(pcRxAddr + fspi_flash_base_addr)); in xspi_ahb_read() 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() 279 int xspi_ip_read(uint32_t pc_rx_addr, uint32_t *pv_rx_buf, uint32_t ui_len) in xspi_ip_read() argument [all …]
|
Completed in 3 milliseconds