Lines Matching refs:sz
233 static dma_addr_t dma_4v_map_single(struct device *dev, void *ptr, size_t sz, in dma_4v_map_single() argument
249 npages = IO_PAGE_ALIGN(oaddr + sz) - (oaddr & IO_PAGE_MASK); in dma_4v_map_single()
298 size_t sz, enum dma_data_direction direction) in dma_4v_unmap_single() argument
316 npages = IO_PAGE_ALIGN(bus_addr + sz) - (bus_addr & IO_PAGE_MASK); in dma_4v_unmap_single()
524 dma_addr_t bus_addr, size_t sz, in dma_4v_sync_single_for_cpu() argument
594 unsigned long num_tsb_entries, sz, tsbsize; in pci_sun4v_iommu_init() local
621 sz = (num_tsb_entries + 7) / 8; in pci_sun4v_iommu_init()
622 sz = (sz + 7UL) & ~7UL; in pci_sun4v_iommu_init()
623 iommu->arena.map = kzalloc(sz, GFP_KERNEL); in pci_sun4v_iommu_init()
630 sz = probe_existing_entries(pbm, iommu); in pci_sun4v_iommu_init()
631 if (sz) in pci_sun4v_iommu_init()
633 pbm->name, sz); in pci_sun4v_iommu_init()