Lines Matching defs:nid
113 int nid;
258 static int __init cell_iommu_find_ioc(int nid, unsigned long *base)
267 if (of_node_to_nid(np) != nid)
285 if (nidp && *nidp == nid) {
308 __func__, iommu->nid, segments);
312 page = alloc_pages_node(iommu->nid, GFP_KERNEL, get_order(stab_size));
336 iommu->nid, ptab_size, get_order(ptab_size));
337 page = alloc_pages_node(iommu->nid, GFP_KERNEL, get_order(ptab_size));
347 __func__, iommu->nid, iommu->stab, ptab,
384 if (cell_iommu_find_ioc(iommu->nid, &xlate_base))
386 __func__, iommu->nid);
402 IIC_IRQ_IOEX_ATI | (iommu->nid << IIC_IRQ_NODE_SHIFT));
474 window = kzalloc_node(sizeof(*window), GFP_KERNEL, iommu->nid);
484 window->table.it_index = iommu->nid;
491 if (!iommu_init_table(&window->table, iommu->nid, 0, 0))
512 page = alloc_pages_node(iommu->nid, GFP_KERNEL, 0);
524 static struct cbe_iommu *cell_iommu_for_node(int nid)
529 if (iommus[i].nid == nid)
623 int nid, i;
626 nid = of_node_to_nid(np);
627 if (nid < 0) {
633 nid, np);
653 iommu->nid = nid;
1005 "fixed window 0x%lx-0x%lx\n", iommu->nid, dbase,