Home
last modified time | relevance | path

Searched refs:qp_table (Results 1 – 25 of 27) sorted by relevance

12

/linux/drivers/gpu/drm/amd/display/dc/dml/dsc/
A Dqp_tables.h28 static const qp_table qp_table_422_10bpc_min = {
61 static const qp_table qp_table_444_8bpc_max = {
102 static const qp_table qp_table_420_12bpc_max = {
135 static const qp_table qp_table_444_10bpc_min = {
188 static const qp_table qp_table_420_8bpc_max = {
209 static const qp_table qp_table_444_8bpc_min = {
250 static const qp_table qp_table_444_12bpc_min = {
315 static const qp_table qp_table_420_12bpc_min = {
495 static const qp_table qp_table_420_8bpc_min = {
516 static const qp_table qp_table_422_8bpc_min = {
[all …]
A Drc_calc_fpu.h79 typedef struct qp_entry qp_table[]; typedef
/linux/drivers/net/ethernet/mellanox/mlx4/
A Dqp.c58 struct mlx4_qp_table *qp_table = &mlx4_priv(dev)->qp_table; in mlx4_qp_event() local
231 struct mlx4_qp_table *qp_table = &priv->qp_table; in __mlx4_qp_reserve_range() local
283 struct mlx4_qp_table *qp_table = &priv->qp_table; in __mlx4_qp_release_range() local
316 struct mlx4_qp_table *qp_table = &priv->qp_table; in __mlx4_qp_alloc_icm() local
319 err = mlx4_table_get(dev, &qp_table->qp_table, qpn); in __mlx4_qp_alloc_icm()
351 mlx4_table_put(dev, &qp_table->qp_table, qpn); in __mlx4_qp_alloc_icm()
373 struct mlx4_qp_table *qp_table = &priv->qp_table; in __mlx4_qp_free_icm() local
379 mlx4_table_put(dev, &qp_table->qp_table, qpn); in __mlx4_qp_free_icm()
398 struct mlx4_qp_table *qp_table = &mlx4_priv(dev)->qp_table; in mlx4_qp_lookup() local
412 struct mlx4_qp_table *qp_table = &priv->qp_table; in mlx4_qp_alloc() local
[all …]
A Dprofile.c189 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 Dmain.c1611 err = mlx4_init_icm_table(dev, &priv->qp_table.cmpt_table, in mlx4_init_cmpt_table()
1657 mlx4_cleanup_icm_table(dev, &priv->qp_table.cmpt_table); in mlx4_init_cmpt_table()
1741 err = mlx4_init_icm_table(dev, &priv->qp_table.qp_table, in mlx4_init_icm()
1835 mlx4_cleanup_icm_table(dev, &priv->qp_table.altc_table); in mlx4_init_icm()
1838 mlx4_cleanup_icm_table(dev, &priv->qp_table.auxc_table); in mlx4_init_icm()
1841 mlx4_cleanup_icm_table(dev, &priv->qp_table.qp_table); in mlx4_init_icm()
1856 mlx4_cleanup_icm_table(dev, &priv->qp_table.cmpt_table); in mlx4_init_icm()
1875 mlx4_cleanup_icm_table(dev, &priv->qp_table.altc_table); in mlx4_free_icms()
1876 mlx4_cleanup_icm_table(dev, &priv->qp_table.auxc_table); in mlx4_free_icms()
1877 mlx4_cleanup_icm_table(dev, &priv->qp_table.qp_table); in mlx4_free_icms()
[all …]
A Dmlx4.h725 struct mlx4_icm_table qp_table; member
906 struct mlx4_qp_table qp_table; member
/linux/drivers/infiniband/hw/hns/
A Dhns_roce_qp.c230 struct hns_roce_qp_table *qp_table = &hr_dev->qp_table; in alloc_qpn() local
238 mutex_lock(&qp_table->bank_mutex); in alloc_qpn()
250 qp_table->bank[bankid].inuse++; in alloc_qpn()
305 struct hns_roce_qp_table *qp_table = &hr_dev->qp_table; in alloc_qpc() local
313 ret = hns_roce_table_get(hr_dev, &qp_table->qp_table, hr_qp->qpn); in alloc_qpc()
356 hns_roce_table_put(hr_dev, &qp_table->qp_table, hr_qp->qpn); in alloc_qpc()
388 struct hns_roce_qp_table *qp_table = &hr_dev->qp_table; in free_qpc() local
1545 struct hns_roce_qp_table *qp_table = &hr_dev->qp_table; in hns_roce_init_qp_table() local
1554 mutex_init(&qp_table->scc_mutex); in hns_roce_init_qp_table()
1555 mutex_init(&qp_table->bank_mutex); in hns_roce_init_qp_table()
[all …]
A Dhns_roce_main.c803 ret = hns_roce_init_hem_table(hr_dev, &hr_dev->qp_table.qp_table, in hns_roce_init_hem()
811 ret = hns_roce_init_hem_table(hr_dev, &hr_dev->qp_table.irrl_table, in hns_roce_init_hem()
823 &hr_dev->qp_table.trrl_table, in hns_roce_init_hem()
857 &hr_dev->qp_table.sccc_table, in hns_roce_init_hem()
918 &hr_dev->qp_table.sccc_table); in hns_roce_init_hem()
929 &hr_dev->qp_table.trrl_table); in hns_roce_init_hem()
932 hns_roce_cleanup_hem_table(hr_dev, &hr_dev->qp_table.irrl_table); in hns_roce_init_hem()
935 hns_roce_cleanup_hem_table(hr_dev, &hr_dev->qp_table.qp_table); in hns_roce_init_hem()
A Dhns_roce_hem.c913 &hr_dev->qp_table.sccc_table); in hns_roce_cleanup_hem()
916 &hr_dev->qp_table.trrl_table); in hns_roce_cleanup_hem()
921 hns_roce_cleanup_hem_table(hr_dev, &hr_dev->qp_table.irrl_table); in hns_roce_cleanup_hem()
922 hns_roce_cleanup_hem_table(hr_dev, &hr_dev->qp_table.qp_table); in hns_roce_cleanup_hem()
A Dhns_roce_device.h499 struct hns_roce_hem_table qp_table; member
1010 struct hns_roce_qp_table qp_table; member
A Dhns_roce_hw_v2.c4537 mtts = hns_roce_table_find(hr_dev, &hr_dev->qp_table.irrl_table, in modify_qp_init_to_rtr()
4545 mtts = hns_roce_table_find(hr_dev, &hr_dev->qp_table.trrl_table, in modify_qp_init_to_rtr()
4709 u32 *spare_idx = hr_dev->qp_table.idx_table.spare_idx; in get_dip_ctx_idx()
4710 u32 *head = &hr_dev->qp_table.idx_table.head; in get_dip_ctx_idx()
4711 u32 *tail = &hr_dev->qp_table.idx_table.tail; in get_dip_ctx_idx()
5626 mutex_lock(&hr_dev->qp_table.scc_mutex); in hns_roce_v2_qp_flow_control_init()
5668 mutex_unlock(&hr_dev->qp_table.scc_mutex); in hns_roce_v2_qp_flow_control_init()
/linux/drivers/infiniband/hw/mthca/
A Dmthca_qp.c244 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 Dmthca_main.c443 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 Dmthca_profile.c204 for (dev->qp_table.rdb_shift = 0; in mthca_make_profile()
205 request->num_qp << dev->qp_table.rdb_shift < profile[i].num; in mthca_make_profile()
206 ++dev->qp_table.rdb_shift) in mthca_make_profile()
208 dev->qp_table.rdb_base = (u32) profile[i].start; in mthca_make_profile()
A Dmthca_dev.h259 struct mthca_icm_table *qp_table; member
344 struct mthca_qp_table qp_table; member
A Dmthca_cq.c520 *cur_qp = mthca_array_get(&dev->qp_table.qp, in mthca_poll_one()
A Dmthca_provider.c99 props->max_qp_rd_atom = 1 << mdev->qp_table.rdb_shift; in mthca_query_device()
/linux/drivers/infiniband/hw/mlx5/
A Dqpc.c98 xa_lock_irqsave(&dev->qp_table.dct_xa, flags); in dct_event_notifier()
99 dct = xa_load(&dev->qp_table.dct_xa, qpn); in dct_event_notifier()
102 xa_unlock_irqrestore(&dev->qp_table.dct_xa, flags); in dct_event_notifier()
110 container_of(nb, struct mlx5_ib_dev, qp_table.nb); in rsc_event_notifier()
135 common = mlx5_get_rsc(&dev->qp_table, rsn); in rsc_event_notifier()
162 struct mlx5_qp_table *table = &dev->qp_table; in create_resource_common()
184 struct mlx5_qp_table *table = &dev->qp_table; in destroy_resource_common()
280 struct mlx5_qp_table *table = &dev->qp_table; in mlx5_core_destroy_dct()
504 struct mlx5_qp_table *table = &dev->qp_table; in mlx5_init_qp_table()
521 struct mlx5_qp_table *table = &dev->qp_table; in mlx5_cleanup_qp_table()
[all …]
A Dmlx5_ib.h1184 struct mlx5_qp_table qp_table; member
A Dcq.c498 mqp = radix_tree_lookup(&dev->qp_table.tree, qpn); in mlx5_poll_one()
/linux/drivers/infiniband/sw/rdmavt/
A Dqp.c385 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()
468 kfree(rdi->qp_dev->qp_table); in rvt_qp_exit()
749 qpp = &rdi->qp_dev->qp_table[n]; in rvt_remove_qp()
1385 qp->next = rdi->qp_dev->qp_table[n]; in rvt_insert_qp()
1386 rcu_assign_pointer(rdi->qp_dev->qp_table[n], qp); in rvt_insert_qp()
2717 rdi->qp_dev->qp_table[ in rvt_qp_iter_next()
/linux/include/rdma/
A Drdmavt_qp.h499 struct rvt_qp __rcu **qp_table; member
710 for (qp = rcu_dereference(rdi->qp_dev->qp_table[n]); qp; in rvt_lookup_qpn()
/linux/drivers/infiniband/hw/irdma/
A Dmain.h313 struct irdma_qp **qp_table; member
A Dhw.c247 iwqp = rf->qp_table[info->qp_cq_id]; in irdma_process_aeq()
1970 rf->qp_table = (struct irdma_qp **) in irdma_set_hw_rsrc()
1972 rf->cq_table = (struct irdma_cq **)(&rf->qp_table[rf->max_qp]); in irdma_set_hw_rsrc()
A Dutils.c758 iwdev->rf->qp_table[qp_num] = NULL; in irdma_qp_rem_ref()
805 return &iwdev->rf->qp_table[qpn]->ibqp; in irdma_get_qp()

Completed in 103 milliseconds

12