Lines Matching refs:dn
32 struct device_node *dn;
44 dn = dlpar_configure_connector(cpu_to_be32(drc_index), pmem_node);
45 if (!dn) {
52 rc = dlpar_attach_node(dn, pmem_node);
55 dn, rc, drc_index);
58 dlpar_free_cc_nodes(dn);
63 pr_info("Successfully added %pOF, drc index: %x\n", dn, drc_index);
70 struct device_node *dn;
74 for_each_child_of_node(pmem_node, dn) {
75 if (of_property_read_u32(dn, "ibm,my-drc-index", &index))
81 if (!dn) {
86 pr_debug("Attempting to remove %pOF, drc index: %x\n", dn, drc_index);
89 rc = dlpar_detach_node(dn);
96 drc_index, dn, rc);
97 dlpar_attach_node(dn, pmem_node);