Lines Matching +full:used +full:- +full:by +full:- +full:rtas

1 // SPDX-License-Identifier: GPL-2.0-or-later
53 /* Handled an interrupt latched by KVM */ in icp_native_get_xirr()
58 return in_be32(&icp_native_regs[cpu]->xirr.word); in icp_native_get_xirr()
65 out_be32(&icp_native_regs[cpu]->xirr.word, value); in icp_native_set_xirr()
72 out_8(&icp_native_regs[cpu]->xirr.bytes[0], value); in icp_native_set_cppr()
77 out_8(&icp_native_regs[n_cpu]->qirr.bytes[0], value); in icp_native_set_qirr()
131 /* We don't have a linux mapping, so have rtas mask it. */ in icp_native_get_irq()
152 * Currently not used to send IPIs to another CPU in icp_native_cause_ipi_rm()
163 xics_phys = paca_ptrs[cpu]->kvm_hstate.xics_phys; in icp_native_cause_ipi_rm()
170 * Called when an interrupt is received on an off-line CPU to
216 int i, cpu = -1; in icp_native_map_one_cpu()
219 * have a hard -> linux processor id matching. in icp_native_map_one_cpu()
233 if (cpu == -1) in icp_native_map_one_cpu()
240 return -ENOMEM; in icp_native_map_one_cpu()
244 return -EBUSY; in icp_native_map_one_cpu()
253 return -ENOMEM; in icp_native_map_one_cpu()
270 * should be fixed one of these days. -BenH. in icp_native_init_one_node()
272 ireg = of_get_property(np, "ibm,interrupt-server-ranges", &ilen); in icp_native_init_one_node()
289 return -1; in icp_native_init_one_node()
300 return -1; in icp_native_init_one_node()
304 return -1; in icp_native_init_one_node()
329 for_each_compatible_node(np, NULL, "ibm,ppc-xicp") in icp_native_init()
334 "PowerPC-External-Interrupt-Presentation") { in icp_native_init()
341 return -ENODEV; in icp_native_init()