Home
last modified time | relevance | path

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

/arch/powerpc/platforms/powernv/
Dsetup.c44 struct device_node *fw_features) in fw_feature_is() argument
49 np = of_get_child_by_name(fw_features, name); in fw_feature_is()
103 struct device_node *np, *fw_features; in pnv_setup_security_mitigations() local
111 fw_features = of_get_child_by_name(np, "fw-features"); in pnv_setup_security_mitigations()
114 if (fw_features) { in pnv_setup_security_mitigations()
115 init_fw_feat_flags(fw_features); in pnv_setup_security_mitigations()
116 of_node_put(fw_features); in pnv_setup_security_mitigations()
/arch/powerpc/kvm/
Dpowerpc.c2257 static inline bool have_fw_feat(struct device_node *fw_features, in have_fw_feat() argument
2263 np = of_get_child_by_name(fw_features, name); in have_fw_feat()
2273 struct device_node *np, *fw_features; in kvmppc_get_cpu_char() local
2283 fw_features = of_get_child_by_name(np, "fw-features"); in kvmppc_get_cpu_char()
2285 if (!fw_features) in kvmppc_get_cpu_char()
2287 if (have_fw_feat(fw_features, "enabled", in kvmppc_get_cpu_char()
2290 if (have_fw_feat(fw_features, "enabled", in kvmppc_get_cpu_char()
2293 if (have_fw_feat(fw_features, "enabled", in kvmppc_get_cpu_char()
2296 if (have_fw_feat(fw_features, "enabled", in kvmppc_get_cpu_char()
2299 if (have_fw_feat(fw_features, "enabled", in kvmppc_get_cpu_char()
[all …]