Lines Matching defs:liobn

165 static void tce_free_pSeriesLP(unsigned long liobn, long, long, long);
168 static int tce_build_pSeriesLP(unsigned long liobn, long tcenum, long tceshift,
186 rc = plpar_tce_put((u64)liobn, (u64)tcenum << tceshift, tce);
190 tce_free_pSeriesLP(liobn, tcenum_start, tceshift,
197 printk("\tindex = 0x%llx\n", (u64)liobn);
297 static void tce_free_pSeriesLP(unsigned long liobn, long tcenum, long tceshift,
303 rc = plpar_tce_put((u64)liobn, (u64)tcenum << tceshift, 0);
307 printk("\tindex = 0x%llx\n", (u64)liobn);
366 __be32 liobn; /* tce table number */
388 u32 liobn;
429 rc = plpar_tce_stuff((u64)be32_to_cpu(maprange->liobn),
443 u64 tce_size, num_tce, dma_offset, next, proto_tce, liobn;
457 return tce_build_pSeriesLP(be32_to_cpu(maprange->liobn),
476 liobn = (u64)be32_to_cpu(maprange->liobn);
504 rc = plpar_tce_put_indirect(liobn,
525 unsigned long liobn, unsigned long win_addr,
530 tbl->it_index = liobn;
753 prop->liobn = p->liobn;
758 unsigned long offset, size, liobn;
760 of_parse_dma_window(rdn, default_prop, &liobn, &offset, &size);
762 prop->liobn = cpu_to_be32((u32)liobn);
801 be32_to_cpu(prop.liobn),
896 static void __remove_dma_window(struct device_node *np, u32 *ddw_avail, u64 liobn)
900 ret = rtas_call(ddw_avail[DDW_REMOVE_PE_DMA_WIN], 1, 1, NULL, liobn);
904 np, ret, ddw_avail[DDW_REMOVE_PE_DMA_WIN], liobn);
908 np, ret, ddw_avail[DDW_REMOVE_PE_DMA_WIN], liobn);
915 u64 liobn;
918 liobn = (u64)be32_to_cpu(dwp->liobn);
921 __remove_dma_window(np, ddw_avail, liobn);
1161 "(liobn = 0x%x starting addr = %x %x)\n",
1163 BUID_LO(buid), page_shift, window_shift, ret, create->liobn,
1252 static struct property *ddw_property_create(const char *propname, u32 liobn, u64 dma_addr,
1273 ddwprop->liobn = cpu_to_be32(liobn);
1440 create.liobn, dn);
1443 win64 = ddw_property_create(win_name, create.liobn, win_addr, page_shift, len);
1501 iommu_table_setparms_common(newtbl, pci->phb->bus->number, create.liobn, win_addr,
1539 __remove_dma_window(pdn, ddw_avail, create.liobn);
1598 be32_to_cpu(prop.liobn),