WIN 270 arch/mips/include/asm/mach-loongson64/loongson.h #define LOONGSON_PCIMAP_WIN(WIN, ADDR) \ WIN 271 arch/mips/include/asm/mach-loongson64/loongson.h ((((ADDR)>>26) & LOONGSON_PCIMAP_PCIMAP_LO0) << ((WIN)*6)) WIN 385 arch/mips/include/asm/mips-boards/bonito64.h #define BONITO_PCIMAP_WIN(WIN, ADDR) ((((ADDR)>>26) & BONITO_PCIMAP_PCIMAP_LO0) << ((WIN)*6)) WIN 410 arch/mips/include/asm/mips-boards/bonito64.h #define BONITO_PCIMEMBASECFGSIZE(WIN, SIZE) (((~((SIZE)-1))>>(BONITO_PCIMEMBASECFG_ASHIFT-BONITO_PCIMEMBASECFG_MEMBASE##WIN##_MASK_SHIFT)) & BONITO_PCIMEMBASECFG_MEMBASE##WIN##_MASK) WIN 411 arch/mips/include/asm/mips-boards/bonito64.h #define BONITO_PCIMEMBASECFGBASE(WIN, BASE) (((BASE)>>(BONITO_PCIMEMBASECFG_ASHIFT-BONITO_PCIMEMBASECFG_MEMBASE##WIN##_TRANS_SHIFT)) & BONITO_PCIMEMBASECFG_MEMBASE##WIN##_TRANS) WIN 413 arch/mips/include/asm/mips-boards/bonito64.h #define BONITO_PCIMEMBASECFG_SIZE(WIN, CFG) (((((~(CFG)) & BONITO_PCIMEMBASECFG_MEMBASE##WIN##_MASK)) << (BONITO_PCIMEMBASECFG_ASHIFT - BONITO_PCIMEMBASECFG_MEMBASE##WIN##_MASK_SHIFT)) | BONITO_PCIMEMBASECFG_AMASK) WIN 416 arch/mips/include/asm/mips-boards/bonito64.h #define BONITO_PCIMEMBASECFG_ADDRMASK(WIN, CFG) ((((CFG) & BONITO_PCIMEMBASECFG_MEMBASE##WIN##_MASK) >> BONITO_PCIMEMBASECFG_MEMBASE##WIN##_MASK_SHIFT) << BONITO_PCIMEMBASECFG_ASHIFT) WIN 417 arch/mips/include/asm/mips-boards/bonito64.h #define BONITO_PCIMEMBASECFG_ADDRTRANS(WIN, CFG) ((((CFG) & BONITO_PCIMEMBASECFG_MEMBASE##WIN##_TRANS) >> BONITO_PCIMEMBASECFG_MEMBASE##WIN##_TRANS_SHIFT) << BONITO_PCIMEMBASECFG_ASHIFT) WIN 419 arch/mips/include/asm/mips-boards/bonito64.h #define BONITO_PCITOPHYS(WIN, ADDR, CFG) ( \ WIN 420 arch/mips/include/asm/mips-boards/bonito64.h (((ADDR) & (~(BONITO_PCIMEMBASECFG_MASK))) & (~(BONITO_PCIMEMBASECFG_ADDRMASK(WIN, CFG)))) | \ WIN 421 arch/mips/include/asm/mips-boards/bonito64.h (BONITO_PCIMEMBASECFG_ADDRTRANS(WIN, CFG)) \