Lines Matching defs:nid
111 int nid;
256 static int cell_iommu_find_ioc(int nid, unsigned long *base)
265 if (of_node_to_nid(np) != nid)
283 if (nidp && *nidp == nid) {
306 __func__, iommu->nid, segments);
310 page = alloc_pages_node(iommu->nid, GFP_KERNEL, get_order(stab_size));
334 iommu->nid, ptab_size, get_order(ptab_size));
335 page = alloc_pages_node(iommu->nid, GFP_KERNEL, get_order(ptab_size));
345 __func__, iommu->nid, iommu->stab, ptab,
382 if (cell_iommu_find_ioc(iommu->nid, &xlate_base))
384 __func__, iommu->nid);
400 IIC_IRQ_IOEX_ATI | (iommu->nid << IIC_IRQ_NODE_SHIFT));
472 window = kzalloc_node(sizeof(*window), GFP_KERNEL, iommu->nid);
482 window->table.it_index = iommu->nid;
489 iommu_init_table(&window->table, iommu->nid, 0, 0);
509 page = alloc_pages_node(iommu->nid, GFP_KERNEL, 0);
521 static struct cbe_iommu *cell_iommu_for_node(int nid)
526 if (iommus[i].nid == nid)
620 int nid, i;
623 nid = of_node_to_nid(np);
624 if (nid < 0) {
630 nid, np);
650 iommu->nid = nid;
1000 "fixed window 0x%lx-0x%lx\n", iommu->nid, dbase,