Searched refs:hyper_node (Results 1 – 2 of 2) sorted by relevance
/arch/powerpc/include/asm/ |
D | kvm_para.h | 19 struct device_node *hyper_node; in kvm_para_available() local 21 hyper_node = of_find_node_by_path("/hypervisor"); in kvm_para_available() 22 if (!hyper_node) in kvm_para_available() 25 if (!of_device_is_compatible(hyper_node, "linux,kvm")) in kvm_para_available()
|
/arch/arm/xen/ |
D | enlighten.c | 213 } hyper_node = {"xen,xen", "xen,xen-", NULL, false}; variable 224 if (of_flat_dt_is_compatible(node, hyper_node.compat)) in fdt_find_hyper_node() 225 hyper_node.found = true; in fdt_find_hyper_node() 228 if (strlen(hyper_node.prefix) + 3 < len && in fdt_find_hyper_node() 229 !strncmp(hyper_node.prefix, s, strlen(hyper_node.prefix))) in fdt_find_hyper_node() 230 hyper_node.version = s + strlen(hyper_node.prefix); in fdt_find_hyper_node() 256 if (!hyper_node.found) { in xen_early_init() 261 if (hyper_node.version == NULL) { in xen_early_init() 266 pr_info("Xen %s support found\n", hyper_node.version); in xen_early_init()
|