Lines Matching full:arbel

61 	__be32 mtt_sz;		/* Arbel only */
311 /* For Arbel, all MTTs must fit in the same page. */ in mthca_write_mtt_size()
338 /* For Arbel, all MTTs must fit in the same page. */ in mthca_arbel_write_mtt_seg()
581 /* For Arbel, all MTTs must fit in the same page. */ in mthca_fmr_alloc()
583 mr->attr.max_pages * sizeof *mr->mem.arbel.mtts > PAGE_SIZE) in mthca_fmr_alloc()
601 mr->mem.arbel.mpt = mthca_table_find(dev->mr_table.mpt_table, key, NULL); in mthca_fmr_alloc()
602 BUG_ON(!mr->mem.arbel.mpt); in mthca_fmr_alloc()
616 mr->mem.arbel.mtts = mthca_table_find(dev->mr_table.mtt_table, in mthca_fmr_alloc()
618 &mr->mem.arbel.dma_handle); in mthca_fmr_alloc()
619 BUG_ON(!mr->mem.arbel.mtts); in mthca_fmr_alloc()
778 *(u8 *) fmr->mem.arbel.mpt = MTHCA_MPT_STATUS_SW; in mthca_arbel_map_phys_fmr()
782 dma_sync_single_for_cpu(&dev->pdev->dev, fmr->mem.arbel.dma_handle, in mthca_arbel_map_phys_fmr()
786 fmr->mem.arbel.mtts[i] = cpu_to_be64(page_list[i] | in mthca_arbel_map_phys_fmr()
789 dma_sync_single_for_device(&dev->pdev->dev, fmr->mem.arbel.dma_handle, in mthca_arbel_map_phys_fmr()
792 fmr->mem.arbel.mpt->key = cpu_to_be32(key); in mthca_arbel_map_phys_fmr()
793 fmr->mem.arbel.mpt->lkey = cpu_to_be32(key); in mthca_arbel_map_phys_fmr()
794 fmr->mem.arbel.mpt->length = cpu_to_be64(list_len * (1ull << fmr->attr.page_shift)); in mthca_arbel_map_phys_fmr()
795 fmr->mem.arbel.mpt->start = cpu_to_be64(iova); in mthca_arbel_map_phys_fmr()
799 *(u8 *) fmr->mem.arbel.mpt = MTHCA_MPT_STATUS_HW; in mthca_arbel_map_phys_fmr()
823 *(u8 *) fmr->mem.arbel.mpt = MTHCA_MPT_STATUS_SW; in mthca_arbel_fmr_unmap()