Lines Matching refs:dn
275 struct device_node *dn,
282 node = phb->dn;
288 "missing tce entries !\n", dn->full_name);
324 struct device_node *dn,
332 of_parse_dma_window(dn, dma_window, &tbl->it_index, &offset, &size);
343 struct device_node *dn;
350 dn = pci_bus_to_OF_node(bus);
352 pr_debug("pci_dma_bus_setup_pSeries: setting up bus %s\n", dn->full_name);
360 pci = PCI_DN(dn);
367 while (isa_dn && isa_dn != dn)
374 for (children = 0, tmp = dn->child; tmp; tmp = tmp->sibling)
409 iommu_table_setparms(pci->phb, dn, tbl);
424 struct device_node *dn, *pdn;
428 dn = pci_bus_to_OF_node(bus);
431 dn->full_name);
434 for (pdn = dn; pdn != NULL; pdn = pdn->parent) {
459 if (pdn != dn)
460 PCI_DN(dn)->iommu_table = ppci->iommu_table;
466 struct device_node *dn;
471 dn = dev->dev.of_node;
478 struct pci_controller *phb = PCI_DN(dn)->phb;
483 iommu_table_setparms(phb, dn, tbl);
484 PCI_DN(dn)->iommu_table = iommu_init_table(tbl, phb->node);
485 set_iommu_table_base(&dev->dev, PCI_DN(dn)->iommu_table);
493 while (dn && PCI_DN(dn) && PCI_DN(dn)->iommu_table == NULL)
494 dn = dn->parent;
496 if (dn && PCI_DN(dn))
497 set_iommu_table_base(&dev->dev, PCI_DN(dn)->iommu_table);
505 struct device_node *pdn, *dn;
518 dn = pci_device_to_OF_node(dev);
519 pr_debug(" node is %s\n", dn->full_name);
521 for (pdn = dn; pdn && PCI_DN(pdn) && !PCI_DN(pdn)->iommu_table;
530 "no DMA window found for pci dev=%s dn=%s\n",
531 pci_name(dev), dn? dn->full_name : "<null>");