Lines Matching refs:dn
62 static int delete_dt_node(struct device_node *dn)
67 pdn = of_get_parent(dn);
68 is_platfac = of_node_is_type(dn, "ibm,platform-facilities") ||
81 pr_notice("ignoring remove operation for %pOFfp\n", dn);
85 pr_debug("removing node %pOFfp\n", dn);
86 dlpar_detach_node(dn);
90 static int update_dt_property(struct device_node *dn, struct property **prop,
143 pr_debug("updating node %pOF property %s\n", dn, name);
144 of_update_property(dn, new_prop);
151 static int update_dt_node(struct device_node *dn, s32 scope)
171 upwa->phandle = cpu_to_be32(dn->phandle);
208 of_remove_property(dn, of_find_property(dn,
214 rc = update_dt_property(dn, &prop, prop_name,
236 struct device_node *dn;
239 dn = dlpar_configure_connector(drc_index, parent_dn);
240 if (!dn)
250 if (of_node_is_type(dn, "ibm,platform-facilities")) {
251 pr_notice("ignoring add operation for %pOF\n", dn);
252 dlpar_free_cc_nodes(dn);
256 rc = dlpar_attach_node(dn, parent_dn);
258 dlpar_free_cc_nodes(dn);
260 pr_debug("added node %pOFfp\n", dn);