Lines Matching full:dn
110 struct device_node *dn; in dtb_setup_hpet() local
114 dn = of_find_compatible_node(NULL, NULL, "intel,ce4100-hpet"); in dtb_setup_hpet()
115 if (!dn) in dtb_setup_hpet()
117 ret = of_address_to_resource(dn, 0, &r); in dtb_setup_hpet()
130 struct device_node *dn; in dtb_cpu_setup() local
133 for_each_of_cpu_node(dn) { in dtb_cpu_setup()
134 apic_id = of_get_cpu_hwid(dn, 0); in dtb_cpu_setup()
136 pr_warn("%pOF: missing local APIC ID\n", dn); in dtb_cpu_setup()
145 struct device_node *dn; in dtb_lapic_setup() local
150 dn = of_find_compatible_node(NULL, NULL, "intel,ce4100-lapic"); in dtb_lapic_setup()
151 if (dn) { in dtb_lapic_setup()
152 ret = of_address_to_resource(dn, 0, &r); in dtb_lapic_setup()
167 pic_mode = !of_property_read_bool(dn, "intel,virtual-wire-mode"); in dtb_lapic_setup()
236 static void __init dtb_add_ioapic(struct device_node *dn) in dtb_add_ioapic() argument
243 .dev = dn, in dtb_add_ioapic()
246 ret = of_address_to_resource(dn, 0, &r); in dtb_add_ioapic()
248 pr_err("Can't obtain address from device node %pOF.\n", dn); in dtb_add_ioapic()
256 struct device_node *dn; in dtb_ioapic_setup() local
258 for_each_compatible_node(dn, NULL, "intel,ce4100-ioapic") in dtb_ioapic_setup()
259 dtb_add_ioapic(dn); in dtb_ioapic_setup()