| /linux/drivers/net/ethernet/huawei/hinic/ |
| H A D | hinic_hw_io.c | 129 qp = &func_to_io->qps[i]; in write_sq_ctxts() 173 qp = &func_to_io->qps[i]; in write_rq_ctxts() 381 func_to_io->qps = devm_kcalloc(&pdev->dev, num_qps, in hinic_io_create_qps() 382 sizeof(*func_to_io->qps), GFP_KERNEL); in hinic_io_create_qps() 383 if (!func_to_io->qps) in hinic_io_create_qps() 419 err = init_qp(func_to_io, &func_to_io->qps[i], i, in hinic_io_create_qps() 444 destroy_qp(func_to_io, &func_to_io->qps[j]); in hinic_io_create_qps() 459 devm_kfree(&pdev->dev, func_to_io->qps); in hinic_io_create_qps() 478 destroy_qp(func_to_io, &func_to_io->qps[i]); in hinic_io_destroy_qps() 488 devm_kfree(&pdev->dev, func_to_io->qps); in hinic_io_destroy_qps() [all …]
|
| H A D | hinic_hw_io.h | 70 struct hinic_qp *qps; member
|
| H A D | hinic_hw_dev.c | 1061 struct hinic_qp *qp = &func_to_io->qps[i]; in hinic_hwdev_get_sq() 1079 struct hinic_qp *qp = &func_to_io->qps[i]; in hinic_hwdev_get_rq()
|
| /linux/drivers/infiniband/hw/cxgb4/ |
| H A D | ev.c | 126 xa_lock_irq(&dev->qps); in c4iw_ev_dispatch() 127 qhp = xa_load(&dev->qps, CQE_QPID(err_cqe)); in c4iw_ev_dispatch() 134 xa_unlock_irq(&dev->qps); in c4iw_ev_dispatch() 149 xa_unlock_irq(&dev->qps); in c4iw_ev_dispatch() 155 xa_unlock_irq(&dev->qps); in c4iw_ev_dispatch()
|
| /linux/drivers/crypto/hisilicon/zip/ |
| H A D | zip_crypto.c | 420 struct hisi_qp *qps[HZIP_CTX_Q_NUM] = { NULL }; in hisi_zip_ctx_init() local 430 ret = zip_create_qps(qps, HZIP_CTX_Q_NUM, node, alg_type); in hisi_zip_ctx_init() 436 hisi_zip = container_of(qps[0]->qm, struct hisi_zip, qm); in hisi_zip_ctx_init() 443 qp_ctx->qp = qps[i]; in hisi_zip_ctx_init() 453 struct hisi_qp *qps[HZIP_CTX_Q_NUM] = { NULL }; in hisi_zip_ctx_exit() local 457 qps[i] = hisi_zip_ctx->qp_ctx[i].qp; in hisi_zip_ctx_exit() 459 hisi_qm_free_qps(qps, HZIP_CTX_Q_NUM); in hisi_zip_ctx_exit()
|
| /linux/drivers/gpu/drm/amd/display/dc/dml/dsc/ |
| H A D | rc_calc_fpu.h | 76 const qp_set qps; member
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | en_rx.c | 1197 &rss_map->qps[i]); in mlx4_en_config_rss_steer() 1205 rss_map->indir_qp = &rss_map->qps[0]; in mlx4_en_config_rss_steer() 1281 MLX4_QP_STATE_RST, NULL, 0, 0, &rss_map->qps[i]); in mlx4_en_config_rss_steer() 1282 mlx4_qp_remove(mdev->dev, &rss_map->qps[i]); in mlx4_en_config_rss_steer() 1283 mlx4_qp_free(mdev->dev, &rss_map->qps[i]); in mlx4_en_config_rss_steer() 1307 MLX4_QP_STATE_RST, NULL, 0, 0, &rss_map->qps[i]); in mlx4_en_release_rss_steer() 1308 mlx4_qp_remove(mdev->dev, &rss_map->qps[i]); in mlx4_en_release_rss_steer() 1309 mlx4_qp_free(mdev->dev, &rss_map->qps[i]); in mlx4_en_release_rss_steer()
|
| H A D | en_main.c | 139 &priv->rss_map.qps[i], in mlx4_en_update_loopback_state()
|
| H A D | en_ethtool.c | 1624 qpn = priv->rss_map.qps[cmd->fs.ring_cookie].qpn; in mlx4_en_flow_replace()
|
| H A D | en_netdev.c | 253 rule.qpn = priv->rss_map.qps[filter->rxq_index].qpn; in mlx4_en_filter_work()
|
| /linux/drivers/infiniband/hw/qedr/ |
| H A D | qedr_iw_cm.c | 523 xa_lock(&dev->qps); in qedr_iw_load_qp() 524 qp = xa_load(&dev->qps, qpn); in qedr_iw_load_qp() 527 xa_unlock(&dev->qps); in qedr_iw_load_qp() 818 return xa_load(&dev->qps, qpn); in qedr_iw_get_qp()
|
| H A D | main.c | 344 xa_init(&dev->qps); in qedr_alloc_resources()
|
| /linux/drivers/infiniband/hw/ocrdma/ |
| H A D | ocrdma_hw.h | 104 enum ib_qp_state get_ibqp_state(enum ocrdma_qp_state qps);
|
| H A D | ocrdma_hw.c | 151 enum ib_qp_state get_ibqp_state(enum ocrdma_qp_state qps) in get_ibqp_state() argument 153 switch (qps) { in get_ibqp_state() 173 static enum ocrdma_qp_state get_ocrdma_qp_state(enum ib_qp_state qps) in get_ocrdma_qp_state() argument 175 switch (qps) { in get_ocrdma_qp_state()
|
| /linux/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_virtchnl_pf.c | 905 u16 vsi_id, qps; in i40e_map_pf_queues_to_vsi() local 913 qps = vf->ch[i].num_qps; in i40e_map_pf_queues_to_vsi() 916 qps = pf->vsi[vf->lan_vsi_idx]->alloc_queue_pairs; in i40e_map_pf_queues_to_vsi() 921 if (j * 2 >= qps) { in i40e_map_pf_queues_to_vsi() 952 u32 qps, num_tc = 1; /* VF has at least one traffic class */ in i40e_map_pf_to_vf_queues() local 961 qps = vf->ch[i].num_qps; in i40e_map_pf_to_vf_queues() 964 qps = pf->vsi[vf->lan_vsi_idx]->alloc_queue_pairs; in i40e_map_pf_to_vf_queues() 968 for (j = 0; j < qps; j++) { in i40e_map_pf_to_vf_queues()
|