Lines Matching defs:PCICFG_MEMGRAN
74 #define PCICFG_MEMGRAN 0x100000
83 static int pcicfg_slot_memsize = 32 * PCICFG_MEMGRAN; /* 32MB per slot */
84 static int pcicfg_slot_pf_memsize = 32 * PCICFG_MEMGRAN; /* 32MB per slot */
1020 PCICFG_MEMGRAN - 1; /* 1M alignment on memory space */
1025 * PCICFG_ROUND_UP(mem_request->ra_len, PCICFG_MEMGRAN);
1077 PCICFG_MEMGRAN - 1; /* 1M alignment on memory space */
1082 * PCICFG_ROUND_UP(pf_mem_request->ra_len, PCICFG_MEMGRAN);
3614 PCICFG_ROUND_DOWN(entry->memory_last, PCICFG_MEMGRAN));
3618 PCICFG_ROUND_DOWN(entry->memory_last, PCICFG_MEMGRAN))));
3624 if ((length = (PCICFG_ROUND_UP(entry->memory_last, PCICFG_MEMGRAN)
3635 PCICFG_ROUND_DOWN(entry->pf_memory_last, PCICFG_MEMGRAN));
3639 entry->pf_memory_last, PCICFG_MEMGRAN))));
3641 PCICFG_ROUND_DOWN(entry->pf_memory_last, PCICFG_MEMGRAN)));
3642 if ((length = (PCICFG_ROUND_UP(entry->pf_memory_last, PCICFG_MEMGRAN)
4169 PCICFG_MEMGRAN - 1; /* 1M alignment on memory space */
4265 PCICFG_MEMGRAN - 1; /* 1M alignment on memory space */
4311 PCICFG_MEMGRAN) - 1)));
4314 PCICFG_MEMGRAN) - 1));
4320 if (PCICFG_ROUND_DOWN((pf_mem_answer + pf_mem_alen), PCICFG_MEMGRAN)
4326 PCICFG_MEMGRAN);
4329 PCICFG_MEMGRAN));
4352 PCICFG_ROUND_DOWN((mem_answer + mem_alen), PCICFG_MEMGRAN) - 1)));
4358 if (PCICFG_ROUND_DOWN((mem_answer + mem_alen), PCICFG_MEMGRAN)
4364 PCICFG_MEMGRAN);
4367 PCICFG_MEMGRAN));
4609 mem_end = PCICFG_ROUND_UP(phdl.memory_base, PCICFG_MEMGRAN);
4611 pf_mem_end = PCICFG_ROUND_UP(phdl.pf_memory_base, PCICFG_MEMGRAN);