Lines Matching refs:dn
115 struct device_node *dn; in dtb_setup_hpet() local
119 dn = of_find_compatible_node(NULL, NULL, "intel,ce4100-hpet"); in dtb_setup_hpet()
120 if (!dn) in dtb_setup_hpet()
122 ret = of_address_to_resource(dn, 0, &r); in dtb_setup_hpet()
135 struct device_node *dn; in dtb_cpu_setup() local
139 for_each_of_cpu_node(dn) { in dtb_cpu_setup()
140 apic_id = of_get_cpu_hwid(dn, 0); in dtb_cpu_setup()
142 pr_warn("%pOF: missing local APIC ID\n", dn); in dtb_cpu_setup()
151 struct device_node *dn; in dtb_lapic_setup() local
156 dn = of_find_compatible_node(NULL, NULL, "intel,ce4100-lapic"); in dtb_lapic_setup()
157 if (dn) { in dtb_lapic_setup()
158 ret = of_address_to_resource(dn, 0, &r); in dtb_lapic_setup()
239 static void __init dtb_add_ioapic(struct device_node *dn) in dtb_add_ioapic() argument
246 .dev = dn, in dtb_add_ioapic()
249 ret = of_address_to_resource(dn, 0, &r); in dtb_add_ioapic()
251 printk(KERN_ERR "Can't obtain address from device node %pOF.\n", dn); in dtb_add_ioapic()
259 struct device_node *dn; in dtb_ioapic_setup() local
261 for_each_compatible_node(dn, NULL, "intel,ce4100-ioapic") in dtb_ioapic_setup()
262 dtb_add_ioapic(dn); in dtb_ioapic_setup()