Lines Matching full:a
25 * Returns the kernel segment base of a given address
28 #define KSEGX(a) (((unsigned long)(a)) & 0xe0000000) argument
30 #define KSEGX(a) ((a) & 0xe0000000) argument
34 * Returns the physical address of a KSEG0/KSEG1 address
37 #define PHYSADDR(a) (((unsigned long)(a)) & 0x1fffffff) argument
39 #define PHYSADDR(a) ((a) & 0x1fffffff) argument
43 * Map an address to a certain kernel segment
46 #define KSEG0ADDR(a) ((__typeof__(a))(((unsigned long)(a) & 0x1fffffff) | KSEG0)) argument
47 #define KSEG1ADDR(a) ((__typeof__(a))(((unsigned long)(a) & 0x1fffffff) | KSEG1)) argument
48 #define KSEG2ADDR(a) ((__typeof__(a))(((unsigned long)(a) & 0x1fffffff) | KSEG2)) argument
49 #define KSEG3ADDR(a) ((__typeof__(a))(((unsigned long)(a) & 0x1fffffff) | KSEG3)) argument
51 #define KSEG0ADDR(a) (((a) & 0x1fffffff) | KSEG0) argument
52 #define KSEG1ADDR(a) (((a) & 0x1fffffff) | KSEG1) argument
53 #define KSEG2ADDR(a) (((a) & 0x1fffffff) | KSEG2) argument
54 #define KSEG3ADDR(a) (((a) & 0x1fffffff) | KSEG3) argument