Lines Matching refs:phys
21 static int arm_smccc_do_one_page(u32 func_id, phys_addr_t phys) in arm_smccc_do_one_page() argument
23 phys_addr_t end = phys + PAGE_SIZE; in arm_smccc_do_one_page()
25 while (phys < end) { in arm_smccc_do_one_page()
28 arm_smccc_1_1_invoke(func_id, phys, 0, 0, &res); in arm_smccc_do_one_page()
32 phys += pkvm_granule; in arm_smccc_do_one_page()
72 static int mmio_guard_ioremap_hook(phys_addr_t phys, size_t size, in mmio_guard_ioremap_hook() argument
85 phys = PAGE_ALIGN_DOWN(phys); in mmio_guard_ioremap_hook()
86 end = phys + PAGE_ALIGN(size); in mmio_guard_ioremap_hook()
88 while (phys < end) { in mmio_guard_ioremap_hook()
92 err = arm_smccc_do_one_page(func_id, phys); in mmio_guard_ioremap_hook()
96 phys += PAGE_SIZE; in mmio_guard_ioremap_hook()