Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/mimxrt1042/
Dmflash_drv.c487 uint32_t bus_addr = addr + MFLASH_BASE_ADDRESS; in mflash_drv_phys2log() local
492 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() local
524 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 …]
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/mimxrt1062/
Dmflash_drv.c487 uint32_t bus_addr = addr + MFLASH_BASE_ADDRESS; in mflash_drv_phys2log() local
492 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() local
524 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 …]
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/mimxrt1064/
Dmflash_drv.c487 uint32_t bus_addr = addr + MFLASH_BASE_ADDRESS; in mflash_drv_phys2log() local
492 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() local
524 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 …]