Lines Matching refs:a
185 #define _XDM_ERI_TO_NAR(a) ( ((a)&0x3F80)==0x0000 ? (((a)>>2) & 0x1F) \ argument
186 : ((a)&0x3E00)==0x1000 ? (0x20 | (((a)>>2) & 7) | (((a)>>4) & 0x18)) \
187 : ((a)&0x3FC0)==0x2000 ? (0x40 | (((a)>>2) & 0xF)) \
188 : ((a)&0x3FE0)==0x3020 ? (0x50 | (((a)>>2) & 0xF)) \
189 : ((a)&0x3FFC)==0x3F00 ? 0x60 \
190 : ((a)&0x3F80)==0x3F80 ? (0x60 | (((a)>>2) & 0x1F)) \
193 #define XDM_ERI_TO_NAR(a) _XDM_ERI_TO_NAR(a & 0xFFFF) argument
196 #define _XDM_NAR_TO_APB(a) ((a) <= 0x1f ? ((a) << 2) \ argument
197 :(a) >= 0x20 && (a) <= 0x3F ? (0x1000 | (((a)& 7) << 2) | (((a)&0x18)<<4)) \
198 :(a) >= 0x40 && (a) <= 0x4F ? (0x2000 | (((a)&0xF) << 2)) \
199 :(a) >= 0x58 && (a) <= 0x5F ? (0x3000 | (((a)&0xF) << 2)) \
200 :(a) == 0x60 ? (0x3F00) \
201 :(a) >= 0x68 && (a) <= 0x7F ? (0x3F80 | (((a)&0x1F) << 2)) \
204 #define XDM_NAR_TO_APB(a) _XDM_NAR_TO_APB((a & 0xFFFF)) argument
205 #define XDM_NAR_TO_ERI(a) _XDM_NAR_TO_APB((a & 0xFFFF)) | 0x100000 argument
208 #define XDM_APB_TO_ERI(a) ((a) | (0x100000)) argument
209 #define XDM_ERI_TO_APB(a) ((a) & (0x0FFFFF)) argument