Lines Matching refs:dn
98 static int delete_dt_node(struct device_node *dn) in delete_dt_node() argument
103 pdn = of_get_parent(dn); in delete_dt_node()
104 is_platfac = of_node_is_type(dn, "ibm,platform-facilities") || in delete_dt_node()
117 pr_notice("ignoring remove operation for %pOFfp\n", dn); in delete_dt_node()
121 pr_debug("removing node %pOFfp\n", dn); in delete_dt_node()
122 dlpar_detach_node(dn); in delete_dt_node()
126 static int update_dt_property(struct device_node *dn, struct property **prop, in update_dt_property() argument
179 pr_debug("updating node %pOF property %s\n", dn, name); in update_dt_property()
180 of_update_property(dn, new_prop); in update_dt_property()
187 static int update_dt_node(struct device_node *dn, s32 scope) in update_dt_node() argument
207 upwa->phandle = cpu_to_be32(dn->phandle); in update_dt_node()
244 of_remove_property(dn, of_find_property(dn, in update_dt_node()
250 rc = update_dt_property(dn, &prop, prop_name, in update_dt_node()
273 struct device_node *dn; in add_dt_node() local
276 dn = dlpar_configure_connector(drc_index, parent_dn); in add_dt_node()
277 if (!dn) in add_dt_node()
287 if (of_node_is_type(dn, "ibm,platform-facilities")) { in add_dt_node()
288 pr_notice("ignoring add operation for %pOF\n", dn); in add_dt_node()
289 dlpar_free_cc_nodes(dn); in add_dt_node()
293 rc = dlpar_attach_node(dn, parent_dn); in add_dt_node()
295 dlpar_free_cc_nodes(dn); in add_dt_node()
297 pr_debug("added node %pOFfp\n", dn); in add_dt_node()