| /freebsd-14.2/sys/dev/mlx4/mlx4_core/ |
| H A D | mlx4_cq.c | 72 struct mlx4_cq_table *cq_table = &mlx4_priv(dev)->cq_table; in mlx4_cq_event() local 75 spin_lock(&cq_table->lock); in mlx4_cq_event() 81 spin_unlock(&cq_table->lock); in mlx4_cq_event() 168 struct mlx4_cq_table *cq_table = &priv->cq_table; in __mlx4_cq_alloc_icm() local 214 struct mlx4_cq_table *cq_table = &priv->cq_table; in __mlx4_cq_free_icm() local 243 struct mlx4_cq_table *cq_table = &priv->cq_table; in mlx4_cq_alloc() local 258 spin_lock_irq(&cq_table->lock); in mlx4_cq_alloc() 301 spin_lock_irq(&cq_table->lock); in mlx4_cq_alloc() 315 struct mlx4_cq_table *cq_table = &priv->cq_table; in mlx4_cq_free() local 327 spin_lock_irq(&cq_table->lock); in mlx4_cq_free() [all …]
|
| H A D | mlx4_main.c | 1530 err = mlx4_init_icm_table(dev, &priv->cq_table.cmpt_table, in mlx4_init_cmpt_table() 1551 mlx4_cleanup_icm_table(dev, &priv->cq_table.cmpt_table); in mlx4_init_cmpt_table() 1685 err = mlx4_init_icm_table(dev, &priv->cq_table.table, in mlx4_init_icm() 1729 mlx4_cleanup_icm_table(dev, &priv->cq_table.table); in mlx4_init_icm() 1754 mlx4_cleanup_icm_table(dev, &priv->cq_table.cmpt_table); in mlx4_init_icm() 1773 mlx4_cleanup_icm_table(dev, &priv->cq_table.table); in mlx4_free_icms() 1782 mlx4_cleanup_icm_table(dev, &priv->cq_table.cmpt_table); in mlx4_free_icms()
|
| H A D | mlx4.h | 879 struct mlx4_cq_table cq_table; member
|
| /freebsd-14.2/sys/dev/mthca/ |
| H A D | mthca_cq.c | 244 spin_lock(&dev->cq_table.lock); in mthca_cq_event() 250 spin_unlock(&dev->cq_table.lock); in mthca_cq_event() 263 spin_lock(&dev->cq_table.lock); in mthca_cq_event() 266 spin_unlock(&dev->cq_table.lock); in mthca_cq_event() 853 spin_lock_irq(&dev->cq_table.lock); in mthca_init_cq() 860 spin_unlock_irq(&dev->cq_table.lock); in mthca_init_cq() 896 spin_lock_irq(&dev->cq_table.lock); in get_cq_refcount() 898 spin_unlock_irq(&dev->cq_table.lock); in get_cq_refcount() 930 spin_lock_irq(&dev->cq_table.lock); in mthca_free_cq() 931 mthca_array_clear(&dev->cq_table.cq, in mthca_free_cq() [all …]
|
| H A D | mthca_main.c | 477 mdev->cq_table.table = mthca_alloc_icm_table(mdev, init_hca->cqc_base, in mthca_init_icm() 482 if (!mdev->cq_table.table) { in mthca_init_icm() 528 mthca_free_icm_table(mdev, mdev->cq_table.table); in mthca_init_icm() 563 mthca_free_icm_table(mdev, mdev->cq_table.table); in mthca_free_icms()
|
| H A D | mthca_dev.h | 345 struct mthca_cq_table cq_table; member
|
| /freebsd-14.2/sys/dev/mlx5/mlx5_core/ |
| H A D | mlx5_cq.c | 61 struct mlx5_cq_table *table = &dev->priv.cq_table; in mlx5_cq_completion() 96 struct mlx5_cq_table *table = &dev->priv.cq_table; in mlx5_cq_event() 128 struct mlx5_cq_table *table = &dev->priv.cq_table; in mlx5_core_create_cq() 167 struct mlx5_cq_table *table = &dev->priv.cq_table; in mlx5_core_destroy_cq() 263 struct mlx5_cq_table *table = &dev->priv.cq_table; in mlx5_init_cq_table()
|
| /freebsd-14.2/sys/dev/mana/ |
| H A D | hw_channel.c | 708 gc->cq_table = malloc(gc->max_num_cqs * sizeof(struct gdma_queue *), in mana_hwc_establish_channel() 710 gc->cq_table[cq->id] = cq; in mana_hwc_establish_channel() 858 free(gc->cq_table, M_DEVBUF); in mana_hwc_destroy_channel() 859 gc->cq_table = NULL; in mana_hwc_destroy_channel()
|
| H A D | gdma.h | 414 struct gdma_queue **cq_table; member
|
| H A D | gdma_main.c | 517 cq = gc->cq_table[cq_id]; in mana_gd_process_eqe() 855 if (!gc->cq_table[id]) in mana_gd_destroy_cq() 858 gc->cq_table[id] = NULL; in mana_gd_destroy_cq()
|
| H A D | mana_en.c | 2125 gc->cq_table[cq->gdma_id] = cq->gdma_cq; in mana_create_txq() 2423 gc->cq_table[cq->gdma_id] = cq->gdma_cq; in mana_create_rxq()
|
| /freebsd-14.2/sys/dev/irdma/ |
| H A D | irdma_main.h | 345 struct irdma_cq **cq_table; member
|
| H A D | irdma_hw.c | 345 iwcq = rf->cq_table[info->qp_cq_id]; in irdma_process_aeq() 2098 rf->cq_table = (struct irdma_cq **)(&rf->qp_table[rf->max_qp]); in irdma_set_hw_rsrc()
|
| H A D | irdma_kcompat.c | 1117 rf->cq_table[cq_num] = iwcq; in irdma_create_cq()
|
| H A D | irdma_utils.c | 718 rf->cq_table[iwcq->cq_num] = NULL; in irdma_cq_rem_ref()
|
| /freebsd-14.2/sys/dev/mlx5/ |
| H A D | driver.h | 610 struct mlx5_cq_table cq_table; member
|