Lines Matching defs:dev

165 u32 __mlx4_alloc_mtt_range(struct mlx4_dev *dev, int order)  in __mlx4_alloc_mtt_range()
189 static u32 mlx4_alloc_mtt_range(struct mlx4_dev *dev, int order) in mlx4_alloc_mtt_range()
209 int mlx4_mtt_init(struct mlx4_dev *dev, int npages, int page_shift, in mlx4_mtt_init()
232 void __mlx4_free_mtt_range(struct mlx4_dev *dev, u32 offset, int order) in __mlx4_free_mtt_range()
246 static void mlx4_free_mtt_range(struct mlx4_dev *dev, u32 offset, int order) in mlx4_free_mtt_range()
266 void mlx4_mtt_cleanup(struct mlx4_dev *dev, struct mlx4_mtt *mtt) in mlx4_mtt_cleanup()
275 u64 mlx4_mtt_addr(struct mlx4_dev *dev, struct mlx4_mtt *mtt) in mlx4_mtt_addr()
291 static int mlx4_SW2HW_MPT(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *mailbox, in mlx4_SW2HW_MPT()
299 static int mlx4_HW2SW_MPT(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *mailbox, in mlx4_HW2SW_MPT()
307 int mlx4_mr_reserve_range(struct mlx4_dev *dev, int cnt, int align, in mlx4_mr_reserve_range()
323 void mlx4_mr_release_range(struct mlx4_dev *dev, u32 base_mridx, int cnt) in mlx4_mr_release_range()
330 int mlx4_mr_alloc_reserved(struct mlx4_dev *dev, u32 mridx, u32 pd, in mlx4_mr_alloc_reserved()
345 static int mlx4_WRITE_MTT(struct mlx4_dev *dev, in mlx4_WRITE_MTT()
353 int __mlx4_mr_reserve(struct mlx4_dev *dev) in __mlx4_mr_reserve()
360 static int mlx4_mr_reserve(struct mlx4_dev *dev) in mlx4_mr_reserve()
374 void __mlx4_mr_release(struct mlx4_dev *dev, u32 index) in __mlx4_mr_release()
381 static void mlx4_mr_release(struct mlx4_dev *dev, u32 index) in mlx4_mr_release()
397 int __mlx4_mr_alloc_icm(struct mlx4_dev *dev, u32 index) in __mlx4_mr_alloc_icm()
404 static int mlx4_mr_alloc_icm(struct mlx4_dev *dev, u32 index) in mlx4_mr_alloc_icm()
418 void __mlx4_mr_free_icm(struct mlx4_dev *dev, u32 index) in __mlx4_mr_free_icm()
425 static void mlx4_mr_free_icm(struct mlx4_dev *dev, u32 index) in mlx4_mr_free_icm()
441 int mlx4_mr_alloc(struct mlx4_dev *dev, u32 pd, u64 iova, u64 size, u32 access, in mlx4_mr_alloc()
460 void mlx4_mr_free_reserved(struct mlx4_dev *dev, struct mlx4_mr *mr) in mlx4_mr_free_reserved()
477 void mlx4_mr_free(struct mlx4_dev *dev, struct mlx4_mr *mr) in mlx4_mr_free()
486 int mlx4_mr_enable(struct mlx4_dev *dev, struct mlx4_mr *mr) in mlx4_mr_enable()
554 static int mlx4_write_mtt_chunk(struct mlx4_dev *dev, struct mlx4_mtt *mtt, in mlx4_write_mtt_chunk()
580 int __mlx4_write_mtt(struct mlx4_dev *dev, struct mlx4_mtt *mtt, in __mlx4_write_mtt()
608 int mlx4_write_mtt(struct mlx4_dev *dev, struct mlx4_mtt *mtt, in mlx4_write_mtt()
652 int mlx4_buf_write_mtt(struct mlx4_dev *dev, struct mlx4_mtt *mtt, in mlx4_buf_write_mtt()
676 int mlx4_init_mr_table(struct mlx4_dev *dev) in mlx4_init_mr_table()
724 void mlx4_cleanup_mr_table(struct mlx4_dev *dev) in mlx4_cleanup_mr_table()
765 int mlx4_map_phys_fmr(struct mlx4_dev *dev, struct mlx4_fmr *fmr, u64 *page_list, in mlx4_map_phys_fmr()
812 int mlx4_fmr_alloc(struct mlx4_dev *dev, u32 pd, u32 access, int max_pages, in mlx4_fmr_alloc()
855 int mlx4_fmr_alloc_reserved(struct mlx4_dev *dev, u32 mridx, in mlx4_fmr_alloc_reserved()
895 int mlx4_fmr_enable(struct mlx4_dev *dev, struct mlx4_fmr *fmr) in mlx4_fmr_enable()
913 void mlx4_fmr_unmap(struct mlx4_dev *dev, struct mlx4_fmr *fmr, in mlx4_fmr_unmap()
945 int mlx4_fmr_free(struct mlx4_dev *dev, struct mlx4_fmr *fmr) in mlx4_fmr_free()
957 int mlx4_fmr_free_reserved(struct mlx4_dev *dev, struct mlx4_fmr *fmr) in mlx4_fmr_free_reserved()
969 int mlx4_SYNC_TPT(struct mlx4_dev *dev) in mlx4_SYNC_TPT()