Lines Matching defs:dev

150 u32 __mlx4_alloc_mtt_range(struct mlx4_dev *dev, int order)  in __mlx4_alloc_mtt_range()
174 static u32 mlx4_alloc_mtt_range(struct mlx4_dev *dev, int order) in mlx4_alloc_mtt_range()
194 int mlx4_mtt_init(struct mlx4_dev *dev, int npages, int page_shift, in mlx4_mtt_init()
217 void __mlx4_free_mtt_range(struct mlx4_dev *dev, u32 offset, int order) in __mlx4_free_mtt_range()
231 static void mlx4_free_mtt_range(struct mlx4_dev *dev, u32 offset, int order) in mlx4_free_mtt_range()
251 void mlx4_mtt_cleanup(struct mlx4_dev *dev, struct mlx4_mtt *mtt) in mlx4_mtt_cleanup()
260 u64 mlx4_mtt_addr(struct mlx4_dev *dev, struct mlx4_mtt *mtt) in mlx4_mtt_addr()
276 static int mlx4_SW2HW_MPT(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *mailbox, in mlx4_SW2HW_MPT()
284 static int mlx4_HW2SW_MPT(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *mailbox, in mlx4_HW2SW_MPT()
293 int mlx4_mr_hw_get_mpt(struct mlx4_dev *dev, struct mlx4_mr *mmr, in mlx4_mr_hw_get_mpt()
344 int mlx4_mr_hw_write_mpt(struct mlx4_dev *dev, struct mlx4_mr *mmr, in mlx4_mr_hw_write_mpt()
378 void mlx4_mr_hw_put_mpt(struct mlx4_dev *dev, in mlx4_mr_hw_put_mpt()
390 int mlx4_mr_hw_change_pd(struct mlx4_dev *dev, struct mlx4_mpt_entry *mpt_entry, in mlx4_mr_hw_change_pd()
405 int mlx4_mr_hw_change_access(struct mlx4_dev *dev, in mlx4_mr_hw_change_access()
417 static int mlx4_mr_alloc_reserved(struct mlx4_dev *dev, u32 mridx, u32 pd, in mlx4_mr_alloc_reserved()
431 static int mlx4_WRITE_MTT(struct mlx4_dev *dev, in mlx4_WRITE_MTT()
439 int __mlx4_mpt_reserve(struct mlx4_dev *dev) in __mlx4_mpt_reserve()
446 static int mlx4_mpt_reserve(struct mlx4_dev *dev) in mlx4_mpt_reserve()
460 void __mlx4_mpt_release(struct mlx4_dev *dev, u32 index) in __mlx4_mpt_release()
467 static void mlx4_mpt_release(struct mlx4_dev *dev, u32 index) in mlx4_mpt_release()
483 int __mlx4_mpt_alloc_icm(struct mlx4_dev *dev, u32 index) in __mlx4_mpt_alloc_icm()
490 static int mlx4_mpt_alloc_icm(struct mlx4_dev *dev, u32 index) in mlx4_mpt_alloc_icm()
504 void __mlx4_mpt_free_icm(struct mlx4_dev *dev, u32 index) in __mlx4_mpt_free_icm()
511 static void mlx4_mpt_free_icm(struct mlx4_dev *dev, u32 index) in mlx4_mpt_free_icm()
527 int mlx4_mr_alloc(struct mlx4_dev *dev, u32 pd, u64 iova, u64 size, u32 access, in mlx4_mr_alloc()
546 static int mlx4_mr_free_reserved(struct mlx4_dev *dev, struct mlx4_mr *mr) in mlx4_mr_free_reserved()
567 int mlx4_mr_free(struct mlx4_dev *dev, struct mlx4_mr *mr) in mlx4_mr_free()
582 void mlx4_mr_rereg_mem_cleanup(struct mlx4_dev *dev, struct mlx4_mr *mr) in mlx4_mr_rereg_mem_cleanup()
589 int mlx4_mr_rereg_mem_write(struct mlx4_dev *dev, struct mlx4_mr *mr, in mlx4_mr_rereg_mem_write()
627 int mlx4_mr_enable(struct mlx4_dev *dev, struct mlx4_mr *mr) in mlx4_mr_enable()
692 static int mlx4_write_mtt_chunk(struct mlx4_dev *dev, struct mlx4_mtt *mtt, in mlx4_write_mtt_chunk()
718 int __mlx4_write_mtt(struct mlx4_dev *dev, struct mlx4_mtt *mtt, in __mlx4_write_mtt()
746 int mlx4_write_mtt(struct mlx4_dev *dev, struct mlx4_mtt *mtt, in mlx4_write_mtt()
790 int mlx4_buf_write_mtt(struct mlx4_dev *dev, struct mlx4_mtt *mtt, in mlx4_buf_write_mtt()
814 int mlx4_mw_alloc(struct mlx4_dev *dev, u32 pd, enum mlx4_mw_type type, in mlx4_mw_alloc()
838 int mlx4_mw_enable(struct mlx4_dev *dev, struct mlx4_mw *mw) in mlx4_mw_enable()
888 void mlx4_mw_free(struct mlx4_dev *dev, struct mlx4_mw *mw) in mlx4_mw_free()
907 int mlx4_init_mr_table(struct mlx4_dev *dev) in mlx4_init_mr_table()
955 void mlx4_cleanup_mr_table(struct mlx4_dev *dev) in mlx4_cleanup_mr_table()
969 int mlx4_SYNC_TPT(struct mlx4_dev *dev) in mlx4_SYNC_TPT()