Lines Matching refs:paddr
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()
83 else if( paddr >= XCHAL_KIO_CACHED_PADDR in xthal_static_p2v()
84 && paddr <= XCHAL_KIO_CACHED_PADDR + XCHAL_KIO_CACHED_SIZE ) in xthal_static_p2v()
85 paddr += XCHAL_KIO_CACHED_VADDR - XCHAL_KIO_CACHED_PADDR; in xthal_static_p2v()
90 *vaddrp = paddr; /* virtual == physical */ in xthal_static_p2v()