Searched refs:mpt_entry (Results 1 – 6 of 6) sorted by relevance
| /linux-6.15/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | mr.c | 313 **mpt_entry = mlx4_table_find( in mlx4_mr_hw_get_mpt() 331 if (!(*mpt_entry) || !(**mpt_entry)) { in mlx4_mr_hw_get_mpt() 345 struct mlx4_mpt_entry **mpt_entry) in mlx4_mr_hw_write_mpt() argument 366 (*mpt_entry)->lkey = 0; in mlx4_mr_hw_write_mpt() 379 struct mlx4_mpt_entry **mpt_entry) in mlx4_mr_hw_put_mpt() argument 606 mpt_entry->mtt_addr = 0; in mlx4_mr_rereg_mem_write() 630 struct mlx4_mpt_entry *mpt_entry; in mlx4_mr_enable() local 642 mpt_entry = mailbox->buf; in mlx4_mr_enable() 655 mpt_entry->mtt_addr = 0; in mlx4_mr_enable() 841 struct mlx4_mpt_entry *mpt_entry; in mlx4_mw_enable() local [all …]
|
| H A D | resource_tracker.c | 2895 struct mlx4_mpt_entry *mpt_entry = mlx4_table_find( in mlx4_QUERY_MPT_wrapper() local 2899 if (NULL == mpt_entry || NULL == outbox->buf) { in mlx4_QUERY_MPT_wrapper() 2904 memcpy(outbox->buf, mpt_entry, sizeof(*mpt_entry)); in mlx4_QUERY_MPT_wrapper()
|
| /linux-6.15/drivers/infiniband/hw/mthca/ |
| H A D | mthca_mr.c | 431 struct mthca_mpt_entry *mpt_entry; in mthca_mr_alloc() local 455 mpt_entry = mailbox->buf; in mthca_mr_alloc() 457 mpt_entry->flags = cpu_to_be32(MTHCA_MPT_FLAG_SW_OWNS | in mthca_mr_alloc() 462 mpt_entry->flags |= cpu_to_be32(MTHCA_MPT_FLAG_PHYSICAL); in mthca_mr_alloc() 465 mpt_entry->key = cpu_to_be32(key); in mthca_mr_alloc() 466 mpt_entry->pd = cpu_to_be32(pd); in mthca_mr_alloc() 467 mpt_entry->start = cpu_to_be64(iova); in mthca_mr_alloc() 468 mpt_entry->length = cpu_to_be64(total_size); in mthca_mr_alloc() 470 memset_startat(mpt_entry, 0, lkey); in mthca_mr_alloc() 473 mpt_entry->mtt_seg = in mthca_mr_alloc() [all …]
|
| /linux-6.15/drivers/infiniband/hw/hns/ |
| H A D | hns_roce_hw_v2.c | 3296 mpt_entry = mb_buf; in hns_roce_v2_write_mtpt() 3297 memset(mpt_entry, 0, sizeof(*mpt_entry)); in hns_roce_v2_write_mtpt() 3320 hr_reg_enable(mpt_entry, MPT_PA); in hns_roce_v2_write_mtpt() 3376 mpt_entry = mb_buf; in hns_roce_v2_frmr_write_mtpt() 3377 memset(mpt_entry, 0, sizeof(*mpt_entry)); in hns_roce_v2_frmr_write_mtpt() 3385 hr_reg_enable(mpt_entry, MPT_FRE); in hns_roce_v2_frmr_write_mtpt() 3388 hr_reg_clear(mpt_entry, MPT_PA); in hns_roce_v2_frmr_write_mtpt() 3410 mpt_entry = mb_buf; in hns_roce_v2_mw_write_mtpt() 3411 memset(mpt_entry, 0, sizeof(*mpt_entry)); in hns_roce_v2_mw_write_mtpt() 3421 hr_reg_clear(mpt_entry, MPT_PA); in hns_roce_v2_mw_write_mtpt() [all …]
|
| /linux-6.15/include/linux/mlx4/ |
| H A D | device.h | 1527 struct mlx4_mpt_entry ***mpt_entry); 1529 struct mlx4_mpt_entry **mpt_entry); 1530 int mlx4_mr_hw_change_pd(struct mlx4_dev *dev, struct mlx4_mpt_entry *mpt_entry, 1533 struct mlx4_mpt_entry *mpt_entry, 1536 struct mlx4_mpt_entry **mpt_entry); 1540 int page_shift, struct mlx4_mpt_entry *mpt_entry);
|
| /linux-6.15/drivers/infiniband/hw/mlx4/ |
| H A D | mr.c | 203 struct mlx4_mpt_entry *mpt_entry; in mlx4_ib_rereg_user_mr() local 204 struct mlx4_mpt_entry **pmpt_entry = &mpt_entry; in mlx4_ib_rereg_user_mr()
|