/linux/drivers/gpu/drm/amd/display/dc/dml/dsc/ |
A D | qp_tables.h | 28 const qp_table qp_table_422_10bpc_min = { 61 const qp_table qp_table_444_8bpc_max = { 102 const qp_table qp_table_420_12bpc_max = { 135 const qp_table qp_table_444_10bpc_min = { 188 const qp_table qp_table_420_8bpc_max = { 209 const qp_table qp_table_444_8bpc_min = { 250 const qp_table qp_table_444_12bpc_min = { 315 const qp_table qp_table_420_12bpc_min = { 495 const qp_table qp_table_420_8bpc_min = { 516 const qp_table qp_table_422_8bpc_min = { [all …]
|
A D | rc_calc_fpu.h | 79 typedef struct qp_entry qp_table[]; typedef
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
A D | qp.c | 51 struct mlx4_qp_table *qp_table = &mlx4_priv(dev)->qp_table; in mlx4_qp_event() local 226 struct mlx4_qp_table *qp_table = &priv->qp_table; in __mlx4_qp_reserve_range() local 278 struct mlx4_qp_table *qp_table = &priv->qp_table; in __mlx4_qp_release_range() local 311 struct mlx4_qp_table *qp_table = &priv->qp_table; in __mlx4_qp_alloc_icm() local 314 err = mlx4_table_get(dev, &qp_table->qp_table, qpn); in __mlx4_qp_alloc_icm() 346 mlx4_table_put(dev, &qp_table->qp_table, qpn); in __mlx4_qp_alloc_icm() 368 struct mlx4_qp_table *qp_table = &priv->qp_table; in __mlx4_qp_free_icm() local 374 mlx4_table_put(dev, &qp_table->qp_table, qpn); in __mlx4_qp_free_icm() 393 struct mlx4_qp_table *qp_table = &mlx4_priv(dev)->qp_table; in mlx4_qp_lookup() local 407 struct mlx4_qp_table *qp_table = &priv->qp_table; in mlx4_qp_alloc() local [all …]
|
A D | profile.c | 189 for (priv->qp_table.rdmarc_shift = 0; in mlx4_make_profile() 190 request->num_qp << priv->qp_table.rdmarc_shift < profile[i].num; in mlx4_make_profile() 191 ++priv->qp_table.rdmarc_shift) in mlx4_make_profile() 193 dev->caps.max_qp_dest_rdma = 1 << priv->qp_table.rdmarc_shift; in mlx4_make_profile() 194 priv->qp_table.rdmarc_base = (u32) profile[i].start; in mlx4_make_profile() 196 init_hca->log_rd_per_qp = priv->qp_table.rdmarc_shift; in mlx4_make_profile()
|
A D | main.c | 1590 err = mlx4_init_icm_table(dev, &priv->qp_table.cmpt_table, in mlx4_init_cmpt_table() 1636 mlx4_cleanup_icm_table(dev, &priv->qp_table.cmpt_table); in mlx4_init_cmpt_table() 1720 err = mlx4_init_icm_table(dev, &priv->qp_table.qp_table, in mlx4_init_icm() 1814 mlx4_cleanup_icm_table(dev, &priv->qp_table.altc_table); in mlx4_init_icm() 1817 mlx4_cleanup_icm_table(dev, &priv->qp_table.auxc_table); in mlx4_init_icm() 1820 mlx4_cleanup_icm_table(dev, &priv->qp_table.qp_table); in mlx4_init_icm() 1835 mlx4_cleanup_icm_table(dev, &priv->qp_table.cmpt_table); in mlx4_init_icm() 1854 mlx4_cleanup_icm_table(dev, &priv->qp_table.altc_table); in mlx4_free_icms() 1855 mlx4_cleanup_icm_table(dev, &priv->qp_table.auxc_table); in mlx4_free_icms() 1856 mlx4_cleanup_icm_table(dev, &priv->qp_table.qp_table); in mlx4_free_icms() [all …]
|
A D | mlx4.h | 723 struct mlx4_icm_table qp_table; member 899 struct mlx4_qp_table qp_table; member
|
/linux/drivers/infiniband/hw/hns/ |
A D | hns_roce_qp.c | 216 struct hns_roce_qp_table *qp_table = &hr_dev->qp_table; in alloc_qpn() local 231 mutex_lock(&qp_table->bank_mutex); in alloc_qpn() 243 qp_table->bank[bankid].inuse++; in alloc_qpn() 320 struct hns_roce_qp_table *qp_table = &hr_dev->qp_table; in alloc_qpc() local 333 ret = hns_roce_table_get(hr_dev, &qp_table->qp_table, hr_qp->qpn); in alloc_qpc() 376 hns_roce_table_put(hr_dev, &qp_table->qp_table, hr_qp->qpn); in alloc_qpc() 403 struct hns_roce_qp_table *qp_table = &hr_dev->qp_table; in free_qpc() local 1434 struct hns_roce_qp_table *qp_table = &hr_dev->qp_table; in hns_roce_init_qp_table() local 1443 mutex_init(&qp_table->scc_mutex); in hns_roce_init_qp_table() 1444 mutex_init(&qp_table->bank_mutex); in hns_roce_init_qp_table() [all …]
|
A D | hns_roce_main.c | 668 ret = hns_roce_init_hem_table(hr_dev, &hr_dev->qp_table.qp_table, in hns_roce_init_hem() 676 ret = hns_roce_init_hem_table(hr_dev, &hr_dev->qp_table.irrl_table, in hns_roce_init_hem() 688 &hr_dev->qp_table.trrl_table, in hns_roce_init_hem() 722 &hr_dev->qp_table.sccc_table, in hns_roce_init_hem() 783 &hr_dev->qp_table.sccc_table); in hns_roce_init_hem() 794 &hr_dev->qp_table.trrl_table); in hns_roce_init_hem() 797 hns_roce_cleanup_hem_table(hr_dev, &hr_dev->qp_table.irrl_table); in hns_roce_init_hem() 800 hns_roce_cleanup_hem_table(hr_dev, &hr_dev->qp_table.qp_table); in hns_roce_init_hem()
|
A D | hns_roce_hem.c | 958 &hr_dev->qp_table.sccc_table); in hns_roce_cleanup_hem() 961 &hr_dev->qp_table.trrl_table); in hns_roce_cleanup_hem() 966 hns_roce_cleanup_hem_table(hr_dev, &hr_dev->qp_table.irrl_table); in hns_roce_cleanup_hem() 967 hns_roce_cleanup_hem_table(hr_dev, &hr_dev->qp_table.qp_table); in hns_roce_cleanup_hem()
|
A D | hns_roce_device.h | 519 struct hns_roce_hem_table qp_table; member 991 struct hns_roce_qp_table qp_table; member
|
A D | hns_roce_hw_v2.c | 4342 mtts = hns_roce_table_find(hr_dev, &hr_dev->qp_table.irrl_table, in modify_qp_init_to_rtr() 4350 mtts = hns_roce_table_find(hr_dev, &hr_dev->qp_table.trrl_table, in modify_qp_init_to_rtr() 4504 u32 *spare_idx = hr_dev->qp_table.idx_table.spare_idx; in get_dip_ctx_idx() 4505 u32 *head = &hr_dev->qp_table.idx_table.head; in get_dip_ctx_idx() 4506 u32 *tail = &hr_dev->qp_table.idx_table.tail; in get_dip_ctx_idx() 5294 mutex_lock(&hr_dev->qp_table.scc_mutex); in hns_roce_v2_qp_flow_control_init() 5336 mutex_unlock(&hr_dev->qp_table.scc_mutex); in hns_roce_v2_qp_flow_control_init()
|
/linux/drivers/infiniband/hw/mthca/ |
A D | mthca_qp.c | 244 spin_lock(&dev->qp_table.lock); in mthca_qp_event() 248 spin_unlock(&dev->qp_table.lock); in mthca_qp_event() 265 spin_lock(&dev->qp_table.lock); in mthca_qp_event() 268 spin_unlock(&dev->qp_table.lock); in mthca_qp_event() 772 dev->qp_table.rdb_shift)); in __mthca_modify_qp() 1098 ret = mthca_table_get(dev, dev->qp_table.qp_table, qp->qpn); in mthca_map_memfree() 1119 mthca_table_put(dev, dev->qp_table.qp_table, qp->qpn); in mthca_map_memfree() 1130 mthca_table_put(dev, dev->qp_table.qp_table, qp->qpn); in mthca_unmap_memfree() 1422 spin_lock(&dev->qp_table.lock); in mthca_alloc_sqp() 1424 spin_unlock(&dev->qp_table.lock); in mthca_alloc_sqp() [all …]
|
A D | mthca_main.c | 443 mdev->qp_table.qp_table = mthca_alloc_icm_table(mdev, init_hca->qpc_base, in mthca_init_icm() 448 if (!mdev->qp_table.qp_table) { in mthca_init_icm() 459 if (!mdev->qp_table.eqp_table) { in mthca_init_icm() 468 mdev->qp_table.rdb_shift, 0, in mthca_init_icm() 470 if (!mdev->qp_table.rdb_table) { in mthca_init_icm() 530 mthca_free_icm_table(mdev, mdev->qp_table.rdb_table); in mthca_init_icm() 533 mthca_free_icm_table(mdev, mdev->qp_table.eqp_table); in mthca_init_icm() 536 mthca_free_icm_table(mdev, mdev->qp_table.qp_table); in mthca_init_icm() 563 mthca_free_icm_table(mdev, mdev->qp_table.rdb_table); in mthca_free_icms() 564 mthca_free_icm_table(mdev, mdev->qp_table.eqp_table); in mthca_free_icms() [all …]
|
A D | mthca_profile.c | 206 for (dev->qp_table.rdb_shift = 0; in mthca_make_profile() 207 request->num_qp << dev->qp_table.rdb_shift < profile[i].num; in mthca_make_profile() 208 ++dev->qp_table.rdb_shift) in mthca_make_profile() 210 dev->qp_table.rdb_base = (u32) profile[i].start; in mthca_make_profile()
|
A D | mthca_dev.h | 259 struct mthca_icm_table *qp_table; member 344 struct mthca_qp_table qp_table; member
|
A D | mthca_cq.c | 520 *cur_qp = mthca_array_get(&dev->qp_table.qp, in mthca_poll_one()
|
A D | mthca_provider.c | 107 props->max_qp_rd_atom = 1 << mdev->qp_table.rdb_shift; in mthca_query_device()
|
/linux/drivers/infiniband/hw/mlx5/ |
A D | qpc.c | 156 struct mlx5_qp_table *table = &dev->qp_table; in create_resource_common() 178 struct mlx5_qp_table *table = &dev->qp_table; in destroy_resource_common() 486 struct mlx5_qp_table *table = &dev->qp_table; in mlx5_init_qp_table() 500 struct mlx5_qp_table *table = &dev->qp_table; in mlx5_cleanup_qp_table() 640 struct mlx5_qp_table *table = &dev->qp_table; in mlx5_core_res_hold()
|
A D | mlx5_ib.h | 1126 struct mlx5_qp_table qp_table; member
|
A D | cq.c | 489 mqp = radix_tree_lookup(&dev->qp_table.tree, qpn); in mlx5_poll_one()
|
/linux/drivers/infiniband/sw/rdmavt/ |
A D | qp.c | 385 rdi->qp_dev->qp_table = in rvt_driver_qp_init() 387 sizeof(*rdi->qp_dev->qp_table), in rvt_driver_qp_init() 389 if (!rdi->qp_dev->qp_table) in rvt_driver_qp_init() 393 RCU_INIT_POINTER(rdi->qp_dev->qp_table[i], NULL); in rvt_driver_qp_init() 406 kfree(rdi->qp_dev->qp_table); in rvt_driver_qp_init() 470 kfree(rdi->qp_dev->qp_table); in rvt_qp_exit() 751 qpp = &rdi->qp_dev->qp_table[n]; in rvt_remove_qp() 1387 qp->next = rdi->qp_dev->qp_table[n]; in rvt_insert_qp() 1388 rcu_assign_pointer(rdi->qp_dev->qp_table[n], qp); in rvt_insert_qp() 2719 rdi->qp_dev->qp_table[ in rvt_qp_iter_next()
|
/linux/include/rdma/ |
A D | rdmavt_qp.h | 498 struct rvt_qp __rcu **qp_table; member 709 for (qp = rcu_dereference(rdi->qp_dev->qp_table[n]); qp; in rvt_lookup_qpn()
|
/linux/drivers/infiniband/hw/irdma/ |
A D | main.h | 309 struct irdma_qp **qp_table; member
|
A D | utils.c | 745 iwdev->rf->qp_table[qp_num] = NULL; in irdma_qp_rem_ref() 767 return &iwdev->rf->qp_table[qpn]->ibqp; in irdma_get_qp()
|
A D | hw.c | 237 iwqp = rf->qp_table[info->qp_cq_id]; in irdma_process_aeq() 1946 rf->qp_table = (struct irdma_qp **) in irdma_set_hw_rsrc()
|