Home
last modified time | relevance | path

Searched refs:mem_log (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/arch/powerpc/sysdev/
Dfsl_pci.c196 int i, j, n, mem_log, win_idx = 3, start_idx = 1, end_idx = 4; in setup_pci_atmu() local
345 mem_log = ilog2(sz); in setup_pci_atmu()
350 if ((1ull << mem_log) != mem) { in setup_pci_atmu()
351 mem_log++; in setup_pci_atmu()
352 if ((1ull << mem_log) > mem) in setup_pci_atmu()
357 piwar |= ((mem_log - 1) & PIWAR_SZ_MASK); in setup_pci_atmu()
376 mem_log = ilog2(mem); in setup_pci_atmu()
379 if ((1ull << mem_log) != mem) in setup_pci_atmu()
380 mem_log++; in setup_pci_atmu()
382 piwar = (piwar & ~PIWAR_SZ_MASK) | (mem_log - 1); in setup_pci_atmu()
[all …]