Home
last modified time | relevance | path

Searched refs:db_rec (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/drivers/infiniband/hw/mthca/
Dmthca_memfree.c601 if (dev->db_tab->page[i].db_rec && in mthca_alloc_db()
609 if (!dev->db_tab->page[i].db_rec) { in mthca_alloc_db()
627 page->db_rec = dma_alloc_coherent(&dev->pdev->dev, in mthca_alloc_db()
630 if (!page->db_rec) { in mthca_alloc_db()
639 page->db_rec, page->mapping); in mthca_alloc_db()
654 page->db_rec[j] = cpu_to_be64((qn << 8) | (type << 5)); in mthca_alloc_db()
656 *db = (__be32 *) &page->db_rec[j]; in mthca_alloc_db()
676 page->db_rec[j] = 0; in mthca_free_db()
686 page->db_rec, page->mapping); in mthca_free_db()
687 page->db_rec = NULL; in mthca_free_db()
[all …]
Dmthca_cq.c739 __be32 db_rec[2]; in mthca_arbel_arm_cq() local
743 db_rec[0] = cpu_to_be32(cq->cons_index); in mthca_arbel_arm_cq()
744 db_rec[1] = cpu_to_be32((cq->cqn << 8) | (2 << 5) | (sn << 3) | in mthca_arbel_arm_cq()
748 mthca_write_db_rec(db_rec, cq->arm_db); in mthca_arbel_arm_cq()
Dmthca_memfree.h140 __be64 *db_rec; member
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/
Dsrq.c163 struct mlx4_mtt *mtt, u64 db_rec, struct mlx4_srq *srq) in mlx4_srq_alloc() argument
199 srq_context->db_rec_addr = cpu_to_be64(db_rec); in mlx4_srq_alloc()
Dcq.c342 struct mlx4_mtt *mtt, struct mlx4_uar *uar, u64 db_rec, in mlx4_cq_alloc() argument
389 cq_context->db_rec_addr = cpu_to_be64(db_rec); in mlx4_cq_alloc()
/Linux-v5.4/include/linux/mlx4/
Ddevice.h1139 struct mlx4_uar *uar, u64 db_rec, struct mlx4_cq *cq,
1151 struct mlx4_mtt *mtt, u64 db_rec, struct mlx4_srq *srq);