Searched refs:hyper_node (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/arch/powerpc/include/asm/ |
D | kvm_para.h | 30 struct device_node *hyper_node; in kvm_para_available() local 32 hyper_node = of_find_node_by_path("/hypervisor"); in kvm_para_available() 33 if (!hyper_node) in kvm_para_available() 36 if (!of_device_is_compatible(hyper_node, "linux,kvm")) in kvm_para_available()
|
/Linux-v4.19/arch/arm/xen/ |
D | enlighten.c | 239 } hyper_node = {"xen,xen", "xen,xen-", NULL, false}; variable 250 if (of_flat_dt_is_compatible(node, hyper_node.compat)) in fdt_find_hyper_node() 251 hyper_node.found = true; in fdt_find_hyper_node() 254 if (strlen(hyper_node.prefix) + 3 < len && in fdt_find_hyper_node() 255 !strncmp(hyper_node.prefix, s, strlen(hyper_node.prefix))) in fdt_find_hyper_node() 256 hyper_node.version = s + strlen(hyper_node.prefix); in fdt_find_hyper_node() 282 if (!hyper_node.found) { in xen_early_init() 287 if (hyper_node.version == NULL) { in xen_early_init() 292 pr_info("Xen %s support found\n", hyper_node.version); in xen_early_init()
|