Lines Matching refs:dn
31 struct device_node *dn;
43 dn = dlpar_configure_connector(cpu_to_be32(drc_index), pmem_node);
44 if (!dn) {
51 rc = dlpar_attach_node(dn, pmem_node);
54 dn, rc, drc_index);
57 dlpar_free_cc_nodes(dn);
62 pr_info("Successfully added %pOF, drc index: %x\n", dn, drc_index);
69 struct device_node *dn;
73 for_each_child_of_node(pmem_node, dn) {
74 if (of_property_read_u32(dn, "ibm,my-drc-index", &index))
80 if (!dn) {
85 pr_debug("Attempting to remove %pOF, drc index: %x\n", dn, drc_index);
88 rc = dlpar_detach_node(dn);
95 drc_index, dn, rc);
96 dlpar_attach_node(dn, pmem_node);