Searched refs:mem_log (Results 1 – 1 of 1) sorted by relevance
202 int i, j, n, mem_log, win_idx = 3, start_idx = 1, end_idx = 4; in setup_pci_atmu() local351 mem_log = ilog2(sz); in setup_pci_atmu()356 if ((1ull << mem_log) != mem) { in setup_pci_atmu()357 mem_log++; in setup_pci_atmu()358 if ((1ull << mem_log) > mem) in setup_pci_atmu()363 piwar |= ((mem_log - 1) & PIWAR_SZ_MASK); in setup_pci_atmu()382 mem_log = ilog2(mem); in setup_pci_atmu()385 if ((1ull << mem_log) != mem) in setup_pci_atmu()386 mem_log++; in setup_pci_atmu()388 piwar = (piwar & ~PIWAR_SZ_MASK) | (mem_log - 1); in setup_pci_atmu()[all …]