Searched refs:db_rec (Results 1 – 6 of 6) sorted by relevance
/linux-2.6.39/drivers/infiniband/hw/mthca/ |
D | mthca_memfree.c | 612 if (dev->db_tab->page[i].db_rec && in mthca_alloc_db() 620 if (!dev->db_tab->page[i].db_rec) { in mthca_alloc_db() 638 page->db_rec = dma_alloc_coherent(&dev->pdev->dev, MTHCA_ICM_PAGE_SIZE, in mthca_alloc_db() 640 if (!page->db_rec) { in mthca_alloc_db() 644 memset(page->db_rec, 0, MTHCA_ICM_PAGE_SIZE); in mthca_alloc_db() 652 page->db_rec, page->mapping); in mthca_alloc_db() 667 page->db_rec[j] = cpu_to_be64((qn << 8) | (type << 5)); in mthca_alloc_db() 669 *db = (__be32 *) &page->db_rec[j]; in mthca_alloc_db() 690 page->db_rec[j] = 0; in mthca_free_db() 700 page->db_rec, page->mapping); in mthca_free_db() [all …]
|
D | mthca_memfree.h | 140 __be64 *db_rec; member
|
D | mthca_cq.c | 746 __be32 db_rec[2]; in mthca_arbel_arm_cq() local 750 db_rec[0] = cpu_to_be32(cq->cons_index); in mthca_arbel_arm_cq() 751 db_rec[1] = cpu_to_be32((cq->cqn << 8) | (2 << 5) | (sn << 3) | in mthca_arbel_arm_cq() 755 mthca_write_db_rec(db_rec, cq->arm_db); in mthca_arbel_arm_cq()
|
/linux-2.6.39/drivers/net/mlx4/ |
D | srq.c | 113 u64 db_rec, struct mlx4_srq *srq) in mlx4_srq_alloc() argument 157 srq_context->db_rec_addr = cpu_to_be64(db_rec); in mlx4_srq_alloc()
|
D | cq.c | 191 struct mlx4_uar *uar, u64 db_rec, struct mlx4_cq *cq, in mlx4_cq_alloc() argument 241 cq_context->db_rec_addr = cpu_to_be64(db_rec); in mlx4_cq_alloc()
|
/linux-2.6.39/include/linux/mlx4/ |
D | device.h | 518 struct mlx4_uar *uar, u64 db_rec, struct mlx4_cq *cq, 529 u64 db_rec, struct mlx4_srq *srq);
|