Home
last modified time | relevance | path

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

/linux-6.12.1/arch/powerpc/kernel/
Dfirmware.c30 struct device_node *hyper_node; in check_kvm_guest() local
32 hyper_node = of_find_node_by_path("/hypervisor"); in check_kvm_guest()
33 if (!hyper_node) in check_kvm_guest()
36 if (of_device_is_compatible(hyper_node, "linux,kvm")) in check_kvm_guest()
39 of_node_put(hyper_node); in check_kvm_guest()
/linux-6.12.1/arch/arm/xen/
Denlighten.c216 } hyper_node = {"xen,xen", "xen,xen-", NULL, false}; variable
227 if (of_flat_dt_is_compatible(node, hyper_node.compat)) in fdt_find_hyper_node()
228 hyper_node.found = true; in fdt_find_hyper_node()
231 if (strlen(hyper_node.prefix) + 3 < len && in fdt_find_hyper_node()
232 !strncmp(hyper_node.prefix, s, strlen(hyper_node.prefix))) in fdt_find_hyper_node()
233 hyper_node.version = s + strlen(hyper_node.prefix); in fdt_find_hyper_node()
258 if (!hyper_node.found) { in xen_early_init()
263 if (hyper_node.version == NULL) { in xen_early_init()
268 pr_info("Xen %s support found\n", hyper_node.version); in xen_early_init()