Searched refs:hyper_node (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/arch/powerpc/kernel/ |
D | firmware.c | 28 struct device_node *hyper_node; in check_kvm_guest() local 30 hyper_node = of_find_node_by_path("/hypervisor"); in check_kvm_guest() 31 if (!hyper_node) in check_kvm_guest() 34 if (of_device_is_compatible(hyper_node, "linux,kvm")) in check_kvm_guest() 37 of_node_put(hyper_node); in check_kvm_guest()
|
/linux-6.6.21/arch/arm/xen/ |
D | enlighten.c | 216 } 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()
|