Lines Matching defs:dev
153 u32 __mlx4_alloc_mtt_range(struct mlx4_dev *dev, int order) in __mlx4_alloc_mtt_range()
177 static u32 mlx4_alloc_mtt_range(struct mlx4_dev *dev, int order) in mlx4_alloc_mtt_range()
197 int mlx4_mtt_init(struct mlx4_dev *dev, int npages, int page_shift, in mlx4_mtt_init()
220 void __mlx4_free_mtt_range(struct mlx4_dev *dev, u32 offset, int order) in __mlx4_free_mtt_range()
234 static void mlx4_free_mtt_range(struct mlx4_dev *dev, u32 offset, int order) in mlx4_free_mtt_range()
254 void mlx4_mtt_cleanup(struct mlx4_dev *dev, struct mlx4_mtt *mtt) in mlx4_mtt_cleanup()
263 u64 mlx4_mtt_addr(struct mlx4_dev *dev, struct mlx4_mtt *mtt) in mlx4_mtt_addr()
279 static int mlx4_SW2HW_MPT(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *mailbox, in mlx4_SW2HW_MPT()
287 static int mlx4_HW2SW_MPT(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *mailbox, in mlx4_HW2SW_MPT()
296 int mlx4_mr_hw_get_mpt(struct mlx4_dev *dev, struct mlx4_mr *mmr, in mlx4_mr_hw_get_mpt()
347 int mlx4_mr_hw_write_mpt(struct mlx4_dev *dev, struct mlx4_mr *mmr, in mlx4_mr_hw_write_mpt()
380 void mlx4_mr_hw_put_mpt(struct mlx4_dev *dev, in mlx4_mr_hw_put_mpt()
392 int mlx4_mr_hw_change_pd(struct mlx4_dev *dev, struct mlx4_mpt_entry *mpt_entry, in mlx4_mr_hw_change_pd()
407 int mlx4_mr_hw_change_access(struct mlx4_dev *dev, in mlx4_mr_hw_change_access()
419 static int mlx4_mr_alloc_reserved(struct mlx4_dev *dev, u32 mridx, u32 pd, in mlx4_mr_alloc_reserved()
433 static int mlx4_WRITE_MTT(struct mlx4_dev *dev, in mlx4_WRITE_MTT()
441 int __mlx4_mpt_reserve(struct mlx4_dev *dev) in __mlx4_mpt_reserve()
448 static int mlx4_mpt_reserve(struct mlx4_dev *dev) in mlx4_mpt_reserve()
462 void __mlx4_mpt_release(struct mlx4_dev *dev, u32 index) in __mlx4_mpt_release()
469 static void mlx4_mpt_release(struct mlx4_dev *dev, u32 index) in mlx4_mpt_release()
485 int __mlx4_mpt_alloc_icm(struct mlx4_dev *dev, u32 index, gfp_t gfp) in __mlx4_mpt_alloc_icm()
492 static int mlx4_mpt_alloc_icm(struct mlx4_dev *dev, u32 index, gfp_t gfp) in mlx4_mpt_alloc_icm()
506 void __mlx4_mpt_free_icm(struct mlx4_dev *dev, u32 index) in __mlx4_mpt_free_icm()
513 static void mlx4_mpt_free_icm(struct mlx4_dev *dev, u32 index) in mlx4_mpt_free_icm()
529 int mlx4_mr_alloc(struct mlx4_dev *dev, u32 pd, u64 iova, u64 size, u32 access, in mlx4_mr_alloc()
548 static int mlx4_mr_free_reserved(struct mlx4_dev *dev, struct mlx4_mr *mr) in mlx4_mr_free_reserved()
569 int mlx4_mr_free(struct mlx4_dev *dev, struct mlx4_mr *mr) in mlx4_mr_free()
584 void mlx4_mr_rereg_mem_cleanup(struct mlx4_dev *dev, struct mlx4_mr *mr) in mlx4_mr_rereg_mem_cleanup()
591 int mlx4_mr_rereg_mem_write(struct mlx4_dev *dev, struct mlx4_mr *mr, in mlx4_mr_rereg_mem_write()
629 int mlx4_mr_enable(struct mlx4_dev *dev, struct mlx4_mr *mr) in mlx4_mr_enable()
694 static int mlx4_write_mtt_chunk(struct mlx4_dev *dev, struct mlx4_mtt *mtt, in mlx4_write_mtt_chunk()
720 int __mlx4_write_mtt(struct mlx4_dev *dev, struct mlx4_mtt *mtt, in __mlx4_write_mtt()
748 int mlx4_write_mtt(struct mlx4_dev *dev, struct mlx4_mtt *mtt, in mlx4_write_mtt()
792 int mlx4_buf_write_mtt(struct mlx4_dev *dev, struct mlx4_mtt *mtt, in mlx4_buf_write_mtt()
817 int mlx4_mw_alloc(struct mlx4_dev *dev, u32 pd, enum mlx4_mw_type type, in mlx4_mw_alloc()
841 int mlx4_mw_enable(struct mlx4_dev *dev, struct mlx4_mw *mw) in mlx4_mw_enable()
891 void mlx4_mw_free(struct mlx4_dev *dev, struct mlx4_mw *mw) in mlx4_mw_free()
910 int mlx4_init_mr_table(struct mlx4_dev *dev) in mlx4_init_mr_table()
958 void mlx4_cleanup_mr_table(struct mlx4_dev *dev) in mlx4_cleanup_mr_table()
999 int mlx4_map_phys_fmr(struct mlx4_dev *dev, struct mlx4_fmr *fmr, u64 *page_list, in mlx4_map_phys_fmr()
1046 int mlx4_fmr_alloc(struct mlx4_dev *dev, u32 pd, u32 access, int max_pages, in mlx4_fmr_alloc()
1089 int mlx4_fmr_enable(struct mlx4_dev *dev, struct mlx4_fmr *fmr) in mlx4_fmr_enable()
1107 void mlx4_fmr_unmap(struct mlx4_dev *dev, struct mlx4_fmr *fmr, in mlx4_fmr_unmap()
1137 int mlx4_fmr_free(struct mlx4_dev *dev, struct mlx4_fmr *fmr) in mlx4_fmr_free()
1153 int mlx4_SYNC_TPT(struct mlx4_dev *dev) in mlx4_SYNC_TPT()