Lines Matching full:dn
111 struct device_node *dn; in dtb_setup_hpet() local
115 dn = of_find_compatible_node(NULL, NULL, "intel,ce4100-hpet"); in dtb_setup_hpet()
116 if (!dn) in dtb_setup_hpet()
118 ret = of_address_to_resource(dn, 0, &r); in dtb_setup_hpet()
131 struct device_node *dn; in dtb_cpu_setup() local
134 for_each_of_cpu_node(dn) { in dtb_cpu_setup()
135 apic_id = of_get_cpu_hwid(dn, 0); in dtb_cpu_setup()
137 pr_warn("%pOF: missing local APIC ID\n", dn); in dtb_cpu_setup()
141 set_apicid_to_node(apic_id, of_node_to_nid(dn)); in dtb_cpu_setup()
147 struct device_node *dn; in dtb_lapic_setup() local
152 dn = of_find_compatible_node(NULL, NULL, "intel,ce4100-lapic"); in dtb_lapic_setup()
153 if (dn) { in dtb_lapic_setup()
154 ret = of_address_to_resource(dn, 0, &r); in dtb_lapic_setup()
169 pic_mode = !of_property_read_bool(dn, "intel,virtual-wire-mode"); in dtb_lapic_setup()
238 static void __init dtb_add_ioapic(struct device_node *dn) in dtb_add_ioapic() argument
245 .dev = dn, in dtb_add_ioapic()
248 ret = of_address_to_resource(dn, 0, &r); in dtb_add_ioapic()
250 pr_err("Can't obtain address from device node %pOF.\n", dn); in dtb_add_ioapic()
258 struct device_node *dn; in dtb_ioapic_setup() local
260 for_each_compatible_node(dn, NULL, "intel,ce4100-ioapic") in dtb_ioapic_setup()
261 dtb_add_ioapic(dn); in dtb_ioapic_setup()