Searched refs:qps (Results 1 - 25 of 33) sorted by relevance

12

/linux-master/drivers/gpu/drm/amd/display/dc/dml/dsc/
H A Drc_calc_fpu.h76 const qp_set qps; member in struct:qp_entry
H A Drc_calc_fpu.c64 static void get_qp_set(qp_set qps, enum colour_mode cm, enum bits_per_comp bpc, argument
107 memcpy(qps, table[index].qps, sizeof(qp_set));
/linux-master/drivers/infiniband/hw/cxgb4/
H A Dev.c126 xa_lock_irq(&dev->qps);
127 qhp = xa_load(&dev->qps, CQE_QPID(err_cqe));
134 xa_unlock_irq(&dev->qps);
149 xa_unlock_irq(&dev->qps);
155 xa_unlock_irq(&dev->qps);
H A Ddevice.c344 xa_for_each(&qpd->devp->qps, index, qp)
354 xa_lock_irq(&qpd->devp->qps);
355 xa_for_each(&qpd->devp->qps, index, qp)
357 xa_unlock_irq(&qpd->devp->qps);
730 debugfs_create_file_size("qps", S_IWUSR, devp->debugfs_root,
940 WARN_ON(!xa_empty(&ctx->dev->qps));
1050 xa_init_flags(&devp->qps, XA_FLAGS_LOCK_IRQ);
1273 xa_lock_irqsave(&ctx->dev->qps, flags);
1277 xa_for_each(&ctx->dev->qps, index, qp)
1282 xa_unlock_irqrestore(&ctx->dev->qps, flag
1357 struct c4iw_qp **qps; member in struct:qp_list
[all...]
H A Dqp.c66 xa_lock_irq(&dev->qps);
71 xa_unlock_irq(&dev->qps);
82 xa_lock_irq(&dev->qps);
84 xa_unlock_irq(&dev->qps);
916 xa_lock_irqsave(&qhp->rhp->qps, flags);
925 xa_unlock_irqrestore(&qhp->rhp->qps, flags);
933 xa_lock_irqsave(&qhp->rhp->qps, flags);
942 xa_unlock_irqrestore(&qhp->rhp->qps, flags);
1670 /* for user qps, qhp->wq.flushed is protected by qhp->mutex */
2088 xa_lock_irq(&rhp->qps);
[all...]
H A Diw_cxgb4.h318 struct xarray qps; member in struct:c4iw_dev
350 return xa_load(&rhp->qps, qpid);
/linux-master/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_io.c129 qp = &func_to_io->qps[i];
173 qp = &func_to_io->qps[i];
197 * @num_qps: number of qps to write
381 func_to_io->qps = devm_kcalloc(&pdev->dev, num_qps,
382 sizeof(*func_to_io->qps), GFP_KERNEL);
383 if (!func_to_io->qps)
419 err = init_qp(func_to_io, &func_to_io->qps[i], i,
444 destroy_qp(func_to_io, &func_to_io->qps[j]);
459 devm_kfree(&pdev->dev, func_to_io->qps);
478 destroy_qp(func_to_io, &func_to_io->qps[
[all...]
H A Dhinic_hw_io.h70 struct hinic_qp *qps; member in struct:hinic_func_to_io
H A Dhinic_hw_dev.c1061 struct hinic_qp *qp = &func_to_io->qps[i];
1079 struct hinic_qp *qp = &func_to_io->qps[i];
/linux-master/drivers/crypto/hisilicon/zip/
H A Dzip.h84 int zip_create_qps(struct hisi_qp **qps, int qp_num, int node);
H A Dzip_crypto.c399 struct hisi_qp *qps[HZIP_CTX_Q_NUM] = { NULL }; local
404 ret = zip_create_qps(qps, HZIP_CTX_Q_NUM, node);
406 pr_err("failed to create zip qps (%d)!\n", ret);
410 hisi_zip = container_of(qps[0]->qm, struct hisi_zip, qm);
416 ret = hisi_zip_start_qp(qps[i], qp_ctx, i, req_type);
421 hisi_qm_free_qps(qps, HZIP_CTX_Q_NUM);
H A Dzip_main.c454 int zip_create_qps(struct hisi_qp **qps, int qp_num, int node) argument
459 return hisi_qm_alloc_qps_node(&zip_devices, qp_num, 0, node, qps);
/linux-master/drivers/crypto/hisilicon/sec2/
H A Dsec.h139 struct hisi_qp **qps; member in struct:sec_ctx
230 void sec_destroy_qps(struct hisi_qp **qps, int qp_num);
H A Dsec_main.c374 void sec_destroy_qps(struct hisi_qp **qps, int qp_num) argument
376 hisi_qm_free_qps(qps, qp_num);
377 kfree(qps);
384 struct hisi_qp **qps; local
387 qps = kcalloc(ctx_num, sizeof(struct hisi_qp *), GFP_KERNEL);
388 if (!qps)
391 ret = hisi_qm_alloc_qps_node(&sec_devices, ctx_num, 0, node, qps);
393 return qps;
395 kfree(qps);
H A Dsec_crypto.c550 qp = ctx->qps[qp_ctx_id];
592 ctx->qps = sec_create_qps();
593 if (!ctx->qps) {
594 pr_err("Can not create sec qps!\n");
598 sec = container_of(ctx->qps[0]->qm, struct sec_dev, qm);
606 ctx->fake_req_limit = ctx->qps[0]->sq_depth >> 1;
627 sec_destroy_qps(ctx->qps, sec->ctx_q_num);
638 sec_destroy_qps(ctx->qps, ctx->sec->ctx_q_num);
/linux-master/drivers/infiniband/hw/ocrdma/
H A Docrdma_hw.h104 enum ib_qp_state get_ibqp_state(enum ocrdma_qp_state qps);
/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Den_rx.c1215 en_err(priv, "Failed reserving %d qps\n", priv->rx_ring_num);
1223 &rss_map->qps[i]);
1231 rss_map->indir_qp = &rss_map->qps[0];
1307 MLX4_QP_STATE_RST, NULL, 0, 0, &rss_map->qps[i]);
1308 mlx4_qp_remove(mdev->dev, &rss_map->qps[i]);
1309 mlx4_qp_free(mdev->dev, &rss_map->qps[i]);
1333 MLX4_QP_STATE_RST, NULL, 0, 0, &rss_map->qps[i]);
1334 mlx4_qp_remove(mdev->dev, &rss_map->qps[i]);
1335 mlx4_qp_free(mdev->dev, &rss_map->qps[i]);
H A Den_main.c139 &priv->rss_map.qps[i],
H A Dmlx4_en.h443 struct mlx4_qp qps[MAX_RX_RINGS]; member in struct:mlx4_en_rss_map
/linux-master/drivers/infiniband/hw/qib/
H A Dqib_verbs.c671 struct rvt_qp *qps[20]; local
684 if (n == ARRAY_SIZE(qps))
691 qps[n++] = qp;
697 qp = qps[i];
1147 struct rvt_qp *qps[5]; local
1164 if (n == ARRAY_SIZE(qps))
1170 qps[n++] = qp;
1177 qp = qps[i];
/linux-master/drivers/infiniband/hw/qedr/
H A Dqedr_iw_cm.c522 xa_lock(&dev->qps);
523 qp = xa_load(&dev->qps, qpn);
526 xa_unlock(&dev->qps);
817 return xa_load(&dev->qps, qpn);
H A Dqedr.h171 struct xarray qps; member in struct:qedr_dev
423 /* Relevant to qps created from kernel space only (ULPs) */
452 /* Relevant to qps created from user space only (applications) */
/linux-master/drivers/infiniband/hw/hfi1/
H A Dpio.c1573 struct rvt_qp *qps[PIO_WAIT_BATCH_SIZE]; local
1593 if (n == ARRAY_SIZE(qps))
1602 priv = qps[top_idx]->priv;
1609 qps[n++] = qp;
1624 hfi1_qp_wakeup(qps[top_idx],
1628 hfi1_qp_wakeup(qps[i],
/linux-master/include/linux/
H A Dhisi_acc_qm.h570 u8 alg_type, int node, struct hisi_qp **qps);
571 void hisi_qm_free_qps(struct hisi_qp **qps, int qp_num);
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_virtchnl_pf.c890 u16 vsi_id, qps; local
898 qps = vf->ch[i].num_qps;
901 qps = pf->vsi[vf->lan_vsi_idx]->alloc_queue_pairs;
906 if (j * 2 >= qps) {
937 u32 qps, num_tc = 1; /* VF has at least one traffic class */ local
946 qps = vf->ch[i].num_qps;
949 qps = pf->vsi[vf->lan_vsi_idx]->alloc_queue_pairs;
953 for (j = 0; j < qps; j++) {
1151 /* store the total qps number for the runtime

Completed in 602 milliseconds

12