Lines Matching refs:align
432 uint64_t align = attrp->dma_attr_align;
440 DEBUG4(DBG_DMA_ALLOCH, pci_p->pci_dip, "seg=%x.%08x align=%x.%08x\n",
441 HI32(nocross), LO32(nocross), HI32(align), LO32(align));
455 if (align && (align > IOMMU_PAGE_SIZE))
457 align = 1; /* align on 1 page boundary */
462 align = MAX(align, IOMMU_PAGE_SIZE) - 1;
463 if ((align & nocross) != align) {
469 align = IOMMU_BTOP(align + 1);
488 if ((nocross < UINT32_MAX) || (align > 1)) {
497 if (DEV_NOSYSLIMIT(lo, hi, syslo, syshi, align))
502 if (DEV_NOFASTLIMIT(lo, hi, syslo, syshi, align))
889 xfer_sz = IOMMU_PTOB(IOMMU_BTOP(xfer_sz + pg_off)); /* page align */
998 * size_t align, size_t phase, size_t nocross,