Searched refs:mpt_entry (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/infiniband/hw/mthca/ |
| H A D | mthca_mr.c | 430 struct mthca_mpt_entry *mpt_entry; in mthca_mr_alloc() local 454 mpt_entry = mailbox->buf; in mthca_mr_alloc() 456 mpt_entry->flags = cpu_to_be32(MTHCA_MPT_FLAG_SW_OWNS | in mthca_mr_alloc() 461 mpt_entry->flags |= cpu_to_be32(MTHCA_MPT_FLAG_PHYSICAL); in mthca_mr_alloc() 463 mpt_entry->page_size = cpu_to_be32(buffer_size_shift - 12); in mthca_mr_alloc() 464 mpt_entry->key = cpu_to_be32(key); in mthca_mr_alloc() 465 mpt_entry->pd = cpu_to_be32(pd); in mthca_mr_alloc() 466 mpt_entry->start = cpu_to_be64(iova); in mthca_mr_alloc() 467 mpt_entry->length = cpu_to_be64(total_size); in mthca_mr_alloc() 469 memset_startat(mpt_entry, 0, lkey); in mthca_mr_alloc() [all …]
|
| /linux/drivers/infiniband/hw/hns/ |
| H A D | hns_roce_hw_v2.c | 3535 struct hns_roce_v2_mpt_entry *mpt_entry, in set_mtpt_pbl() argument 3557 mpt_entry->pbl_size = cpu_to_le32(mr->npages); in set_mtpt_pbl() 3558 mpt_entry->pbl_ba_l = cpu_to_le32(pbl_ba >> MPT_PBL_BA_ADDR_S); in set_mtpt_pbl() 3559 hr_reg_write(mpt_entry, MPT_PBL_BA_H, in set_mtpt_pbl() 3562 mpt_entry->pa0_l = cpu_to_le32(lower_32_bits(pages[0])); in set_mtpt_pbl() 3563 hr_reg_write(mpt_entry, MPT_PA0_H, upper_32_bits(pages[0])); in set_mtpt_pbl() 3565 mpt_entry->pa1_l = cpu_to_le32(lower_32_bits(pages[1])); in set_mtpt_pbl() 3566 hr_reg_write(mpt_entry, MPT_PA1_H, upper_32_bits(pages[1])); in set_mtpt_pbl() 3567 hr_reg_write(mpt_entry, MPT_PBL_BUF_PG_SZ, in set_mtpt_pbl() 3576 struct hns_roce_v2_mpt_entry *mpt_entry; in hns_roce_v2_write_mtpt() local [all …]
|
| /linux/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/drivers/infiniband/hw/mlx4/ |
| H A D | mr.c | 207 struct mlx4_mpt_entry *mpt_entry; in mlx4_ib_rereg_user_mr() local 208 struct mlx4_mpt_entry **pmpt_entry = &mpt_entry; in mlx4_ib_rereg_user_mr()
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | resource_tracker.c | 2888 struct mlx4_mpt_entry *mpt_entry = mlx4_table_find( in mlx4_QUERY_MPT_wrapper() local 2892 if (NULL == mpt_entry || NULL == outbox->buf) { in mlx4_QUERY_MPT_wrapper() 2897 memcpy(outbox->buf, mpt_entry, sizeof(*mpt_entry)); in mlx4_QUERY_MPT_wrapper()
|