Searched refs:arbel (Results 1 – 8 of 8) sorted by relevance
/freebsd/sys/dev/mthca/ |
H A D | mthca_mr.c | 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() [all …]
|
H A D | mthca_cmd.c | 849 MTHCA_GET(dev->fw.arbel.fw_pages, outbox, QUERY_FW_SIZE_OFFSET); in mthca_QUERY_FW() 850 MTHCA_GET(dev->fw.arbel.clr_int_base, outbox, QUERY_FW_CLR_INT_BASE_OFFSET); in mthca_QUERY_FW() 851 MTHCA_GET(dev->fw.arbel.eq_arm_base, outbox, QUERY_FW_EQ_ARM_BASE_OFFSET); in mthca_QUERY_FW() 852 MTHCA_GET(dev->fw.arbel.eq_set_ci_base, outbox, QUERY_FW_EQ_SET_CI_BASE_OFFSET); in mthca_QUERY_FW() 853 mthca_dbg(dev, "FW size %d KB\n", dev->fw.arbel.fw_pages << 2); in mthca_QUERY_FW() 860 dev->fw.arbel.fw_pages = in mthca_QUERY_FW() 861 ALIGN(dev->fw.arbel.fw_pages, PAGE_SIZE / MTHCA_ICM_PAGE_SIZE) >> in mthca_QUERY_FW() 866 (unsigned long long) dev->fw.arbel.clr_int_base, in mthca_QUERY_FW() 867 (unsigned long long) dev->fw.arbel.eq_arm_base, in mthca_QUERY_FW() 868 (unsigned long long) dev->fw.arbel.eq_set_ci_base); in mthca_QUERY_FW() [all …]
|
H A D | mthca_eq.c | 194 dev->eq_regs.arbel.eq_set_ci_base + eq->eqn * 8); in arbel_set_eq_ci() 216 writel(eqn_mask, dev->eq_regs.arbel.eq_arm); in arbel_eq_req_not() 666 dev->fw.arbel.clr_int_base, MTHCA_CLR_INT_SIZE, in mthca_map_eq_regs() 678 dev->fw.arbel.eq_arm_base) + 4, 4, in mthca_map_eq_regs() 679 &dev->eq_regs.arbel.eq_arm)) { in mthca_map_eq_regs() 686 dev->fw.arbel.eq_set_ci_base, in mthca_map_eq_regs() 688 &dev->eq_regs.arbel.eq_set_ci_base)) { in mthca_map_eq_regs() 690 iounmap(dev->eq_regs.arbel.eq_arm); in mthca_map_eq_regs() 719 iounmap(dev->eq_regs.arbel.eq_set_ci_base); in mthca_unmap_eq_regs() 720 iounmap(dev->eq_regs.arbel.eq_arm); in mthca_unmap_eq_regs()
|
H A D | mthca_main.c | 352 mdev->fw.arbel.fw_icm = in mthca_load_fw() 353 mthca_alloc_icm(mdev, mdev->fw.arbel.fw_pages, in mthca_load_fw() 355 if (!mdev->fw.arbel.fw_icm) { in mthca_load_fw() 360 err = mthca_MAP_FA(mdev, mdev->fw.arbel.fw_icm); in mthca_load_fw() 377 mthca_free_icm(mdev, mdev->fw.arbel.fw_icm, 0); in mthca_load_fw() 399 mdev->fw.arbel.aux_icm = mthca_alloc_icm(mdev, aux_pages, in mthca_init_icm() 401 if (!mdev->fw.arbel.aux_icm) { in mthca_init_icm() 406 err = mthca_MAP_ICM_AUX(mdev, mdev->fw.arbel.aux_icm); in mthca_init_icm() 552 mthca_free_icm(mdev, mdev->fw.arbel.aux_icm, 0); in mthca_init_icm() 572 mthca_free_icm(mdev, mdev->fw.arbel.aux_icm, 0); in mthca_free_icms() [all …]
|
H A D | mthca_provider.h | 95 } arbel; member
|
H A D | mthca_dev.h | 316 } arbel; member 335 } arbel; member
|
H A D | mthca_cmd.h | 183 } arbel; member
|
H A D | mthca_profile.c | 124 mem_avail = dev_lim->hca.arbel.max_icm_sz; in mthca_make_profile()
|