Searched refs:cq_table (Results 1 – 8 of 8) sorted by relevance
| /freebsd-11-stable/sys/dev/mlx4/mlx4_core/ |
| HD | mlx4_cq.c | 58 cq = radix_tree_lookup(&mlx4_priv(dev)->cq_table.tree, in mlx4_cq_completion() 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() 77 cq = radix_tree_lookup(&cq_table->tree, cqn & (dev->caps.num_cqs - 1)); 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 171 *cqn = mlx4_bitmap_alloc(&cq_table->bitmap); in __mlx4_cq_alloc_icm() 175 err = mlx4_table_get(dev, &cq_table->table, *cqn, GFP_KERNEL); in __mlx4_cq_alloc_icm() 179 err = mlx4_table_get(dev, &cq_table->cmpt_table, *cqn, GFP_KERNEL); in __mlx4_cq_alloc_icm() 185 mlx4_table_put(dev, &cq_table->table, *cqn); in __mlx4_cq_alloc_icm() [all …]
|
| HD | mlx4_main.c | 1529 err = mlx4_init_icm_table(dev, &priv->cq_table.cmpt_table, in mlx4_init_cmpt_table() 1550 mlx4_cleanup_icm_table(dev, &priv->cq_table.cmpt_table); in mlx4_init_cmpt_table() 1684 err = mlx4_init_icm_table(dev, &priv->cq_table.table, in mlx4_init_icm() 1728 mlx4_cleanup_icm_table(dev, &priv->cq_table.table); in mlx4_init_icm() 1753 mlx4_cleanup_icm_table(dev, &priv->cq_table.cmpt_table); in mlx4_init_icm() 1772 mlx4_cleanup_icm_table(dev, &priv->cq_table.table); in mlx4_free_icms() 1781 mlx4_cleanup_icm_table(dev, &priv->cq_table.cmpt_table); in mlx4_free_icms()
|
| HD | mlx4.h | 879 struct mlx4_cq_table cq_table; member
|
| /freebsd-11-stable/sys/dev/mthca/ |
| HD | mthca_cq.c | 226 cq = mthca_array_get(&dev->cq_table.cq, cqn & (dev->limits.num_cqs - 1)); in mthca_cq_completion() 244 spin_lock(&dev->cq_table.lock); in mthca_cq_event() 246 cq = mthca_array_get(&dev->cq_table.cq, cqn & (dev->limits.num_cqs - 1)); 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() 784 cq->cqn = mthca_alloc(&dev->cq_table.alloc); in mthca_init_cq() 789 err = mthca_table_get(dev, dev->cq_table.table, cq->cqn); in mthca_init_cq() 853 spin_lock_irq(&dev->cq_table.lock); in mthca_init_cq() 854 if (mthca_array_set(&dev->cq_table.cq, in mthca_init_cq() [all …]
|
| HD | 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()
|
| HD | mthca_dev.h | 345 struct mthca_cq_table cq_table; member
|
| /freebsd-11-stable/sys/dev/mlx5/mlx5_core/ |
| HD | mlx5_cq.c | 39 struct mlx5_cq_table *table = &dev->priv.cq_table; in mlx5_cq_completion() 79 struct mlx5_cq_table *table = &dev->priv.cq_table; in mlx5_cq_event() 105 struct mlx5_cq_table *table = &dev->priv.cq_table; in mlx5_core_create_cq() 151 struct mlx5_cq_table *table = &dev->priv.cq_table; in mlx5_core_destroy_cq() 261 struct mlx5_cq_table *table = &dev->priv.cq_table; in mlx5_init_cq_table()
|
| /freebsd-11-stable/sys/dev/mlx5/ |
| HD | driver.h | 587 struct mlx5_cq_table cq_table; member
|