Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/mimxrt1042/
Dmflash_drv.c482 uint32_t remap_offset = IOMUXC_GPR->GPR32 & 0xFFFFF000; in mflash_drv_phys2log() local
489 if (remap_offset == 0 || (remap_end <= remap_start)) 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()
517 uint32_t remap_offset = IOMUXC_GPR->GPR32 & 0xFFFFF000; in mflash_drv_log2phys() local
530 if (remap_offset == 0 || (remap_end <= remap_start)) in mflash_drv_log2phys()
545 return (bus_addr + remap_offset - MFLASH_BASE_ADDRESS); in mflash_drv_log2phys()
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/mimxrt1062/
Dmflash_drv.c482 uint32_t remap_offset = IOMUXC_GPR->GPR32 & 0xFFFFF000; in mflash_drv_phys2log() local
489 if (remap_offset == 0 || (remap_end <= remap_start)) 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()
517 uint32_t remap_offset = IOMUXC_GPR->GPR32 & 0xFFFFF000; in mflash_drv_log2phys() local
530 if (remap_offset == 0 || (remap_end <= remap_start)) in mflash_drv_log2phys()
545 return (bus_addr + remap_offset - MFLASH_BASE_ADDRESS); in mflash_drv_log2phys()
/hal_nxp-3.5.0/mcux/mcux-sdk/components/flash/mflash/mimxrt1064/
Dmflash_drv.c482 uint32_t remap_offset = IOMUXC_GPR->GPR32 & 0xFFFFF000; in mflash_drv_phys2log() local
489 if (remap_offset == 0 || (remap_end <= remap_start)) 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()
517 uint32_t remap_offset = IOMUXC_GPR->GPR32 & 0xFFFFF000; in mflash_drv_log2phys() local
530 if (remap_offset == 0 || (remap_end <= remap_start)) in mflash_drv_log2phys()
545 return (bus_addr + remap_offset - MFLASH_BASE_ADDRESS); in mflash_drv_log2phys()