/drivers/gpu/drm/amd/display/dc/dml/dsc/ |
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 = { 348 const qp_table qp_table_422_12bpc_min = { 389 const qp_table qp_table_422_12bpc_max = { [all …]
|
D | rc_calc_fpu.h | 79 typedef struct qp_entry qp_table[]; typedef
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | qp.c | 51 struct mlx4_qp_table *qp_table = &mlx4_priv(dev)->qp_table; in mlx4_qp_event() local 54 spin_lock(&qp_table->lock); in mlx4_qp_event() 60 spin_unlock(&qp_table->lock); in mlx4_qp_event() 226 struct mlx4_qp_table *qp_table = &priv->qp_table; in __mlx4_qp_reserve_range() local 239 *base = mlx4_zone_alloc_entries(qp_table->zones, uid, cnt, align, in __mlx4_qp_reserve_range() 278 struct mlx4_qp_table *qp_table = &priv->qp_table; in __mlx4_qp_release_range() local 282 mlx4_zone_free_entries_unique(qp_table->zones, base_qpn, cnt); in __mlx4_qp_release_range() 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() 318 err = mlx4_table_get(dev, &qp_table->auxc_table, qpn); in __mlx4_qp_alloc_icm() [all …]
|
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()
|
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() 1731 err = mlx4_init_icm_table(dev, &priv->qp_table.auxc_table, in mlx4_init_icm() 1742 err = mlx4_init_icm_table(dev, &priv->qp_table.altc_table, in mlx4_init_icm() 1753 err = mlx4_init_icm_table(dev, &priv->qp_table.rdmarc_table, in mlx4_init_icm() 1755 dev_cap->rdmarc_entry_sz << priv->qp_table.rdmarc_shift, in mlx4_init_icm() 1811 mlx4_cleanup_icm_table(dev, &priv->qp_table.rdmarc_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() [all …]
|
D | mlx4.h | 723 struct mlx4_icm_table qp_table; member 899 struct mlx4_qp_table qp_table; member
|
/drivers/infiniband/hw/hns/ |
D | hns_roce_qp.c | 230 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() 239 bankid = get_least_load_bankid_for_qp(init_attr, qp_table->bank); in alloc_qpn() 241 ret = alloc_qpn_with_bankid(&qp_table->bank[bankid], bankid, in alloc_qpn() 246 mutex_unlock(&qp_table->bank_mutex); in alloc_qpn() 250 qp_table->bank[bankid].inuse++; in alloc_qpn() 251 mutex_unlock(&qp_table->bank_mutex); 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() 320 ret = hns_roce_table_get(hr_dev, &qp_table->irrl_table, hr_qp->qpn); in alloc_qpc() [all …]
|
D | hns_roce_main.c | 686 ret = hns_roce_init_hem_table(hr_dev, &hr_dev->qp_table.qp_table, in hns_roce_init_hem() 694 ret = hns_roce_init_hem_table(hr_dev, &hr_dev->qp_table.irrl_table, in hns_roce_init_hem() 706 &hr_dev->qp_table.trrl_table, in hns_roce_init_hem() 740 &hr_dev->qp_table.sccc_table, in hns_roce_init_hem() 801 &hr_dev->qp_table.sccc_table); in hns_roce_init_hem() 812 &hr_dev->qp_table.trrl_table); in hns_roce_init_hem() 815 hns_roce_cleanup_hem_table(hr_dev, &hr_dev->qp_table.irrl_table); in hns_roce_init_hem() 818 hns_roce_cleanup_hem_table(hr_dev, &hr_dev->qp_table.qp_table); in hns_roce_init_hem()
|
D | hns_roce_hem.c | 952 &hr_dev->qp_table.sccc_table); in hns_roce_cleanup_hem() 955 &hr_dev->qp_table.trrl_table); in hns_roce_cleanup_hem() 960 hns_roce_cleanup_hem_table(hr_dev, &hr_dev->qp_table.irrl_table); in hns_roce_cleanup_hem() 961 hns_roce_cleanup_hem_table(hr_dev, &hr_dev->qp_table.qp_table); in hns_roce_cleanup_hem()
|
D | hns_roce_device.h | 476 struct hns_roce_hem_table qp_table; member 945 struct hns_roce_qp_table qp_table; member
|
D | hns_roce_hw_v2.c | 4670 mtts = hns_roce_table_find(hr_dev, &hr_dev->qp_table.irrl_table, in modify_qp_init_to_rtr() 4678 mtts = hns_roce_table_find(hr_dev, &hr_dev->qp_table.trrl_table, in modify_qp_init_to_rtr() 4822 u32 *spare_idx = hr_dev->qp_table.idx_table.spare_idx; in get_dip_ctx_idx() 4823 u32 *head = &hr_dev->qp_table.idx_table.head; in get_dip_ctx_idx() 4824 u32 *tail = &hr_dev->qp_table.idx_table.tail; in get_dip_ctx_idx() 5644 mutex_lock(&hr_dev->qp_table.scc_mutex); in hns_roce_v2_qp_flow_control_init() 5686 mutex_unlock(&hr_dev->qp_table.scc_mutex); in hns_roce_v2_qp_flow_control_init()
|
/drivers/infiniband/hw/mthca/ |
D | mthca_qp.c | 198 return qp->qpn >= dev->qp_table.sqp_start && in is_sqp() 199 qp->qpn <= dev->qp_table.sqp_start + 3; in is_sqp() 204 return qp->qpn >= dev->qp_table.sqp_start && in is_qp0() 205 qp->qpn <= dev->qp_table.sqp_start + 1; in is_qp0() 244 spin_lock(&dev->qp_table.lock); in mthca_qp_event() 245 qp = mthca_array_get(&dev->qp_table.qp, qpn & (dev->limits.num_qps - 1)); 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() 770 cpu_to_be32(dev->qp_table.rdb_base + in __mthca_modify_qp() [all …]
|
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() 454 mdev->qp_table.eqp_table = mthca_alloc_icm_table(mdev, init_hca->eqpc_base, in mthca_init_icm() 459 if (!mdev->qp_table.eqp_table) { in mthca_init_icm() 465 mdev->qp_table.rdb_table = mthca_alloc_icm_table(mdev, init_hca->rdb_base, 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() [all …]
|
D | mthca_profile.c | 204 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()
|
D | mthca_dev.h | 259 struct mthca_icm_table *qp_table; member 344 struct mthca_qp_table qp_table; member
|
D | mthca_cq.c | 520 *cur_qp = mthca_array_get(&dev->qp_table.qp, in mthca_poll_one()
|
D | mthca_provider.c | 99 props->max_qp_rd_atom = 1 << mdev->qp_table.rdb_shift; in mthca_query_device()
|
/drivers/infiniband/hw/mlx5/ |
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() 485 struct mlx5_qp_table *table = &dev->qp_table; in mlx5_init_qp_table() 499 struct mlx5_qp_table *table = &dev->qp_table; in mlx5_cleanup_qp_table() 638 struct mlx5_qp_table *table = &dev->qp_table; in mlx5_core_res_hold()
|
D | mlx5_ib.h | 1111 struct mlx5_qp_table qp_table; member
|
D | cq.c | 492 mqp = radix_tree_lookup(&dev->qp_table.tree, qpn); in mlx5_poll_one()
|
/drivers/infiniband/sw/rdmavt/ |
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() 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()
|
/drivers/infiniband/hw/irdma/ |
D | main.h | 309 struct irdma_qp **qp_table; member
|
D | utils.c | 758 iwdev->rf->qp_table[qp_num] = NULL; in irdma_qp_rem_ref() 780 return &iwdev->rf->qp_table[qpn]->ibqp; in irdma_get_qp()
|
D | hw.c | 248 iwqp = rf->qp_table[info->qp_cq_id]; in irdma_process_aeq() 1956 rf->qp_table = (struct irdma_qp **) in irdma_set_hw_rsrc()
|
D | cm.c | 3403 if (!iwdev->rf->qp_table[iwqp->ibqp.qp_num]) { in irdma_cm_disconn()
|