Lines Matching refs:PCICFG_MEMGRAN

76 #define	PCICFG_MEMGRAN 0x100000  macro
85 static int pcicfg_slot_memsize = 32 * PCICFG_MEMGRAN; /* 32MB per slot */
86 static int pcicfg_slot_pf_memsize = 32 * PCICFG_MEMGRAN; /* 32MB per slot */
1048 PCICFG_MEMGRAN - 1; /* 1M alignment on memory space */ in pcicfg_ntbridge_allocate_resources()
1105 PCICFG_MEMGRAN - 1; /* 1M alignment on memory space */ in pcicfg_ntbridge_allocate_resources()
3341 PCICFG_ROUND_DOWN(entry->memory_last, PCICFG_MEMGRAN)); in pcicfg_update_bridge()
3345 PCICFG_ROUND_DOWN(entry->memory_last, PCICFG_MEMGRAN)))); in pcicfg_update_bridge()
3351 if ((length = (PCICFG_ROUND_UP(entry->memory_last, PCICFG_MEMGRAN) in pcicfg_update_bridge()
3362 PCICFG_ROUND_DOWN(entry->pf_memory_last, PCICFG_MEMGRAN)); in pcicfg_update_bridge()
3366 entry->pf_memory_last, PCICFG_MEMGRAN)))); in pcicfg_update_bridge()
3368 PCICFG_ROUND_DOWN(entry->pf_memory_last, PCICFG_MEMGRAN))); in pcicfg_update_bridge()
3369 if ((length = (PCICFG_ROUND_UP(entry->pf_memory_last, PCICFG_MEMGRAN) in pcicfg_update_bridge()
3902 PCICFG_MEMGRAN - 1; /* 1M alignment on memory space */ in pcicfg_probe_bridge()
3998 PCICFG_MEMGRAN - 1; /* 1M alignment on memory space */ in pcicfg_probe_bridge()
4044 PCICFG_MEMGRAN) - 1))); in pcicfg_probe_bridge()
4047 PCICFG_MEMGRAN) - 1)); in pcicfg_probe_bridge()
4053 if (PCICFG_ROUND_DOWN((pf_mem_answer + pf_mem_alen), PCICFG_MEMGRAN) in pcicfg_probe_bridge()
4059 PCICFG_MEMGRAN); in pcicfg_probe_bridge()
4062 PCICFG_MEMGRAN)); in pcicfg_probe_bridge()
4085 PCICFG_ROUND_DOWN((mem_answer + mem_alen), PCICFG_MEMGRAN) - 1))); in pcicfg_probe_bridge()
4091 if (PCICFG_ROUND_DOWN((mem_answer + mem_alen), PCICFG_MEMGRAN) in pcicfg_probe_bridge()
4097 PCICFG_MEMGRAN); in pcicfg_probe_bridge()
4100 PCICFG_MEMGRAN)); in pcicfg_probe_bridge()
4342 mem_end = PCICFG_ROUND_UP(phdl.memory_base, PCICFG_MEMGRAN); in pcicfg_probe_bridge()
4344 pf_mem_end = PCICFG_ROUND_UP(phdl.pf_memory_base, PCICFG_MEMGRAN); in pcicfg_probe_bridge()