Lines Matching refs:mlx4_dev

186 static u32 mlx4_alloc_mtt_range(struct mlx4_dev *dev, int order)
204 int mlx4_mtt_init(struct mlx4_dev *dev, int npages, int page_shift,
227 void mlx4_mtt_cleanup(struct mlx4_dev *dev, struct mlx4_mtt *mtt)
240 u64 mlx4_mtt_addr(struct mlx4_dev *dev, struct mlx4_mtt *mtt)
256 static int mlx4_SW2HW_MPT(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *mailbox,
263 static int mlx4_HW2SW_MPT(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *mailbox,
270 int mlx4_mr_reserve_range(struct mlx4_dev *dev, int cnt, int align, u32 *base_mridx)
285 void mlx4_mr_release_range(struct mlx4_dev *dev, u32 base_mridx, int cnt)
292 int mlx4_mr_alloc_reserved(struct mlx4_dev *dev, u32 mridx, u32 pd,
307 int mlx4_mr_alloc(struct mlx4_dev *dev, u32 pd, u64 iova, u64 size, u32 access,
327 void mlx4_mr_free_reserved(struct mlx4_dev *dev, struct mlx4_mr *mr)
343 void mlx4_mr_free(struct mlx4_dev *dev, struct mlx4_mr *mr)
351 int mlx4_mr_enable(struct mlx4_dev *dev, struct mlx4_mr *mr)
421 static int mlx4_write_mtt_chunk(struct mlx4_dev *dev, struct mlx4_mtt *mtt,
451 int mlx4_write_mtt(struct mlx4_dev *dev, struct mlx4_mtt *mtt,
475 int mlx4_buf_write_mtt(struct mlx4_dev *dev, struct mlx4_mtt *mtt,
499 int mlx4_init_mr_table(struct mlx4_dev *dev)
537 void mlx4_cleanup_mr_table(struct mlx4_dev *dev)
572 int mlx4_map_phys_fmr_fbo(struct mlx4_dev *dev, struct mlx4_fmr *fmr,
620 int mlx4_map_phys_fmr(struct mlx4_dev *dev, struct mlx4_fmr *fmr, u64 *page_list,
630 int mlx4_fmr_alloc(struct mlx4_dev *dev, u32 pd, u32 access, int max_pages,
672 int mlx4_fmr_alloc_reserved(struct mlx4_dev *dev, u32 mridx,
715 int mlx4_fmr_enable(struct mlx4_dev *dev, struct mlx4_fmr *fmr)
733 void mlx4_fmr_unmap(struct mlx4_dev *dev, struct mlx4_fmr *fmr,
745 int mlx4_fmr_free(struct mlx4_dev *dev, struct mlx4_fmr *fmr)
757 int mlx4_fmr_free_reserved(struct mlx4_dev *dev, struct mlx4_fmr *fmr)
769 int mlx4_SYNC_TPT(struct mlx4_dev *dev)