Searched refs:paddr (Results 1 – 4 of 4) sorted by relevance
/hal_xtensa-3.5.0/src/hal/ |
D | mmu.c | 67 int xthal_static_p2v( unsigned paddr, unsigned *vaddrp, /*unsigned len, unsigned rasid,*/ unsigned… in xthal_static_p2v() argument 71 if( paddr >= XCHAL_KSEG_CACHED_PADDR in xthal_static_p2v() 72 && paddr <= XCHAL_KSEG_CACHED_PADDR + XCHAL_KSEG_CACHED_SIZE ) in xthal_static_p2v() 73 paddr += XCHAL_KSEG_CACHED_VADDR - XCHAL_KSEG_CACHED_PADDR; in xthal_static_p2v() 74 else if( paddr >= XCHAL_KIO_BYPASS_PADDR in xthal_static_p2v() 75 && paddr <= XCHAL_KIO_BYPASS_PADDR + XCHAL_KIO_BYPASS_SIZE ) in xthal_static_p2v() 76 paddr += XCHAL_KIO_BYPASS_VADDR - XCHAL_KIO_BYPASS_PADDR; in xthal_static_p2v() 80 if( paddr >= XCHAL_KSEG_BYPASS_PADDR in xthal_static_p2v() 81 && paddr <= XCHAL_KSEG_BYPASS_PADDR + XCHAL_KSEG_BYPASS_SIZE ) in xthal_static_p2v() 82 paddr += XCHAL_KSEG_BYPASS_VADDR - XCHAL_KSEG_BYPASS_PADDR; in xthal_static_p2v() [all …]
|
D | set_region_translate.c | 121 int xthal_set_region_translation_raw(void *vaddr, void *paddr, unsigned cattr) { in xthal_set_region_translation_raw() argument 132 unsigned ppn_ca = ((unsigned) paddr & 0xFFFFFFF0) + (cattr & 0xF); in xthal_set_region_translation_raw() 167 int xthal_v2p(void* vaddr, void** paddr, unsigned *way, unsigned* cattr) { in xthal_v2p() argument 170 if (paddr) in xthal_v2p() 171 *paddr = vaddr; in xthal_v2p() 187 if (paddr || cattr) { in xthal_v2p() 192 if (paddr) in xthal_v2p() 193 *paddr = ((void*) (ppn + (((unsigned) vaddr) & 0x1fffffff))); in xthal_v2p() 205 if (paddr || cattr) { in xthal_v2p() 214 if (paddr) in xthal_v2p() [all …]
|
D | mpu.c | 1559 extern xthal_MPU_entry xthal_get_entry_for_address(void* paddr, int* infgmap) in xthal_get_entry_for_address() argument 1564 __asm__ __volatile__("PPTLB %0, %1\n\t" : "=a" (p) : "a" (paddr)); in xthal_get_entry_for_address() 1580 if (XTHAL_MPU_ENTRY_GET_VSTARTADDR(Xthal_mpu_bgmap[i]) <= (unsigned) paddr) in xthal_get_entry_for_address()
|
/hal_xtensa-3.5.0/include/xtensa/ |
D | hal.h | 990 extern int xthal_static_p2v( unsigned paddr, unsigned *vaddrp, unsigned cached ); 992 extern int xthal_set_region_translation(void* vaddr, void* paddr, 996 extern int xthal_set_region_translation_raw(void *vaddr, void *paddr, unsigned cattr);
|