Searched refs:db_rec (Results 1 – 5 of 5) sorted by relevance
601 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 …]
739 __be32 db_rec[2]; in mthca_arbel_arm_cq() local743 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()
140 __be64 *db_rec; member
163 struct mlx4_mtt *mtt, u64 db_rec, struct mlx4_srq *srq) in mlx4_srq_alloc() argument199 srq_context->db_rec_addr = cpu_to_be64(db_rec); in mlx4_srq_alloc()
342 struct mlx4_mtt *mtt, struct mlx4_uar *uar, u64 db_rec, in mlx4_cq_alloc() argument389 cq_context->db_rec_addr = cpu_to_be64(db_rec); in mlx4_cq_alloc()