Searched refs:mtts (Results 1 – 9 of 9) sorted by relevance
/Linux-v4.19/drivers/infiniband/hw/mthca/ |
D | mthca_mr.c | 319 u64 __iomem *mtts; in mthca_tavor_write_mtt_seg() local 322 mtts = dev->mr_table.tavor_fmr.mtt_base + mtt->first_seg * dev->limits.mtt_seg_size + in mthca_tavor_write_mtt_seg() 326 mtts + i); in mthca_tavor_write_mtt_seg() 333 __be64 *mtts; in mthca_arbel_write_mtt_seg() local 343 mtts = mthca_table_find(dev->mr_table.mtt_table, mtt->first_seg + in mthca_arbel_write_mtt_seg() 346 BUG_ON(!mtts); in mthca_arbel_write_mtt_seg() 352 mtts[i] = cpu_to_be64(buffer_list[i] | MTHCA_MTT_FLAG_PRESENT); in mthca_arbel_write_mtt_seg() 583 mr->attr.max_pages * sizeof *mr->mem.arbel.mtts > PAGE_SIZE) in mthca_fmr_alloc() 616 mr->mem.arbel.mtts = mthca_table_find(dev->mr_table.mtt_table, in mthca_fmr_alloc() 619 BUG_ON(!mr->mem.arbel.mtts); in mthca_fmr_alloc() [all …]
|
D | mthca_provider.h | 87 u64 __iomem *mtts; member 91 __be64 *mtts; member
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/ |
D | mr.c | 695 __be64 *mtts; in mlx4_write_mtt_chunk() local 699 mtts = mlx4_table_find(&priv->mr_table.mtt_table, mtt->offset + in mlx4_write_mtt_chunk() 702 if (!mtts) in mlx4_write_mtt_chunk() 709 mtts[i] = cpu_to_be64(page_list[i] | MLX4_MTT_FLAG_PRESENT); in mlx4_write_mtt_chunk() 1020 fmr->mtts[i] = cpu_to_be64(page_list[i] | MLX4_MTT_FLAG_PRESENT); in mlx4_map_phys_fmr() 1055 if (max_pages * sizeof(*fmr->mtts) > PAGE_SIZE) in mlx4_fmr_alloc() 1068 fmr->mtts = mlx4_table_find(&priv->mr_table.mtt_table, in mlx4_fmr_alloc() 1072 if (!fmr->mtts) { in mlx4_fmr_alloc()
|
/Linux-v4.19/drivers/infiniband/hw/hns/ |
D | hns_roce_cq.c | 93 u64 *mtts; in hns_roce_cq_alloc() local 104 mtts = hns_roce_table_find(hr_dev, mtt_table, in hns_roce_cq_alloc() 106 if (!mtts) { in hns_roce_cq_alloc() 147 hr_dev->hw->write_cqc(hr_dev, hr_cq, mailbox->buf, mtts, dma_handle, in hns_roce_cq_alloc()
|
D | hns_roce_hw_v2.c | 1902 u64 *mtts, dma_addr_t dma_handle, int nent, in hns_roce_v2_write_cqc() argument 1923 cq_context->cqe_cur_blk_addr = (u32)(mtts[0] >> PAGE_ADDR_SHIFT); in hns_roce_v2_write_cqc() 1930 cpu_to_le32((mtts[0]) >> (32 + PAGE_ADDR_SHIFT))); in hns_roce_v2_write_cqc() 1936 cq_context->cqe_nxt_blk_addr = (u32)(mtts[1] >> PAGE_ADDR_SHIFT); in hns_roce_v2_write_cqc() 1940 cpu_to_le32((mtts[1]) >> (32 + PAGE_ADDR_SHIFT))); in hns_roce_v2_write_cqc() 2983 u64 *mtts; in modify_qp_init_to_rtr() local 2989 mtts = hns_roce_table_find(hr_dev, &hr_dev->mr_table.mtt_table, in modify_qp_init_to_rtr() 2991 if (!mtts) { in modify_qp_init_to_rtr() 3081 context->rq_cur_blk_addr = (u32)(mtts[hr_qp->rq.offset / page_size] in modify_qp_init_to_rtr() 3088 mtts[hr_qp->rq.offset / page_size] in modify_qp_init_to_rtr() [all …]
|
D | hns_roce_mr.c | 709 __le64 *mtts; in hns_roce_write_mtt_chunk() local 732 mtts = hns_roce_table_find(hr_dev, table, in hns_roce_write_mtt_chunk() 735 if (!mtts) in hns_roce_write_mtt_chunk() 741 mtts[i] = cpu_to_le64(page_list[i] >> PAGE_ADDR_SHIFT); in hns_roce_write_mtt_chunk() 743 mtts[i] = cpu_to_le64(page_list[i]); in hns_roce_write_mtt_chunk()
|
D | hns_roce_hw_v1.c | 2108 u64 *mtts, dma_addr_t dma_handle, int nent, in hns_roce_v1_write_cqc() argument 2148 cq_context->cur_cqe_ba0_l = cpu_to_le32((u32)(mtts[0])); in hns_roce_v1_write_cqc() 2152 CQ_CONTEXT_CQC_BYTE_20_CUR_CQE_BA0_H_S, (mtts[0]) >> 32); in hns_roce_v1_write_cqc() 2620 u64 *mtts; in hns_roce_v1_m_sqp() local 2627 mtts = hns_roce_table_find(hr_dev, &hr_dev->mr_table.mtt_table, in hns_roce_v1_m_sqp() 2629 if (!mtts) { in hns_roce_v1_m_sqp() 2673 cpu_to_le32((u32)(mtts[rq_pa_start])); in hns_roce_v1_m_sqp() 2678 (mtts[rq_pa_start]) >> 32); in hns_roce_v1_m_sqp() 2692 context->cur_sq_wqe_ba_l = cpu_to_le32((u32)mtts[0]); in hns_roce_v1_m_sqp() 2697 (mtts[0]) >> 32); in hns_roce_v1_m_sqp() [all …]
|
D | hns_roce_device.h | 768 struct hns_roce_cq *hr_cq, void *mb_buf, u64 *mtts,
|
/Linux-v4.19/include/linux/mlx4/ |
D | device.h | 712 __be64 *mtts; member
|