Searched refs:mpt_entry (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| 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 …]
|
| 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/drivers/infiniband/hw/mthca/ |
| A D | mthca_mr.c | 433 struct mthca_mpt_entry *mpt_entry; in mthca_mr_alloc() local 457 mpt_entry = mailbox->buf; in mthca_mr_alloc() 459 mpt_entry->flags = cpu_to_be32(MTHCA_MPT_FLAG_SW_OWNS | in mthca_mr_alloc() 464 mpt_entry->flags |= cpu_to_be32(MTHCA_MPT_FLAG_PHYSICAL); in mthca_mr_alloc() 467 mpt_entry->key = cpu_to_be32(key); in mthca_mr_alloc() 468 mpt_entry->pd = cpu_to_be32(pd); in mthca_mr_alloc() 469 mpt_entry->start = cpu_to_be64(iova); in mthca_mr_alloc() 470 mpt_entry->length = cpu_to_be64(total_size); in mthca_mr_alloc() 472 memset(&mpt_entry->lkey, 0, in mthca_mr_alloc() 476 mpt_entry->mtt_seg = in mthca_mr_alloc() [all …]
|
| /linux/drivers/infiniband/hw/hns/ |
| A D | hns_roce_hw_v2.c | 3072 mpt_entry = mb_buf; in hns_roce_v2_write_mtpt() 3073 memset(mpt_entry, 0, sizeof(*mpt_entry)); in hns_roce_v2_write_mtpt() 3077 hr_reg_enable(mpt_entry, MPT_L_INV_EN); in hns_roce_v2_write_mtpt() 3083 hr_reg_write_bool(mpt_entry, MPT_RR_EN, in hns_roce_v2_write_mtpt() 3085 hr_reg_write_bool(mpt_entry, MPT_RW_EN, in hns_roce_v2_write_mtpt() 3087 hr_reg_write_bool(mpt_entry, MPT_LW_EN, in hns_roce_v2_write_mtpt() 3097 hr_reg_enable(mpt_entry, MPT_PA); in hns_roce_v2_write_mtpt() 3162 mpt_entry = mb_buf; in hns_roce_v2_frmr_write_mtpt() 3163 memset(mpt_entry, 0, sizeof(*mpt_entry)); in hns_roce_v2_frmr_write_mtpt() 3209 mpt_entry = mb_buf; in hns_roce_v2_mw_write_mtpt() [all …]
|
| A D | hns_roce_hw_v1.c | 1848 struct hns_roce_v1_mpt_entry *mpt_entry; in hns_roce_v1_write_mtpt() local 1855 memset(mpt_entry, 0, sizeof(*mpt_entry)); in hns_roce_v1_write_mtpt() 1912 roce_set_field(mpt_entry->mpt_byte_36, in hns_roce_v1_write_mtpt() 1918 roce_set_field(mpt_entry->mpt_byte_36, in hns_roce_v1_write_mtpt() 1921 roce_set_field(mpt_entry->mpt_byte_40, in hns_roce_v1_write_mtpt() 1927 roce_set_field(mpt_entry->mpt_byte_40, in hns_roce_v1_write_mtpt() 1930 roce_set_field(mpt_entry->mpt_byte_44, in hns_roce_v1_write_mtpt() 1936 roce_set_field(mpt_entry->mpt_byte_44, in hns_roce_v1_write_mtpt() 1939 roce_set_field(mpt_entry->mpt_byte_48, in hns_roce_v1_write_mtpt() 1946 roce_set_field(mpt_entry->mpt_byte_56, in hns_roce_v1_write_mtpt() [all …]
|
| /linux/include/linux/mlx4/ |
| A D | device.h | 1508 struct mlx4_mpt_entry ***mpt_entry); 1510 struct mlx4_mpt_entry **mpt_entry); 1511 int mlx4_mr_hw_change_pd(struct mlx4_dev *dev, struct mlx4_mpt_entry *mpt_entry, 1514 struct mlx4_mpt_entry *mpt_entry, 1517 struct mlx4_mpt_entry **mpt_entry); 1521 int page_shift, struct mlx4_mpt_entry *mpt_entry);
|
| /linux/drivers/infiniband/hw/mlx4/ |
| A D | mr.c | 466 struct mlx4_mpt_entry *mpt_entry; in mlx4_ib_rereg_user_mr() local 467 struct mlx4_mpt_entry **pmpt_entry = &mpt_entry; in mlx4_ib_rereg_user_mr()
|
Completed in 56 milliseconds