Searched refs:bus_addr (Results 1 – 3 of 3) sorted by relevance
487 uint32_t bus_addr = addr + MFLASH_BASE_ADDRESS; in mflash_drv_phys2log() local492 return (void *)bus_addr; in mflash_drv_phys2log()495 if ((remap_start >= bus_addr + len) || (remap_end <= bus_addr)) in mflash_drv_phys2log()498 return (void *)bus_addr; in mflash_drv_phys2log()501 if ((remap_start + remap_offset <= bus_addr) && (remap_end + remap_offset >= bus_addr + len)) in mflash_drv_phys2log()504 return (void *)(bus_addr - remap_offset); in mflash_drv_phys2log()522 uint32_t bus_addr = (uint32_t)ptr; in mflash_drv_log2phys() local524 if (bus_addr < MFLASH_BASE_ADDRESS) in mflash_drv_log2phys()533 return (bus_addr - MFLASH_BASE_ADDRESS); in mflash_drv_log2phys()536 if ((remap_start >= bus_addr + len) || (remap_end <= bus_addr)) in mflash_drv_log2phys()[all …]