Searched refs:cq_mem_size (Results 1 – 6 of 6) sorted by relevance
/linux-2.6.39/drivers/scsi/bnx2fc/ |
D | bnx2fc_tgt.c | 628 tgt->cq_mem_size = tgt->max_cqes * BNX2FC_CQ_WQE_SIZE; in bnx2fc_alloc_session_resc() 629 tgt->cq_mem_size = (tgt->cq_mem_size + (PAGE_SIZE - 1)) & PAGE_MASK; in bnx2fc_alloc_session_resc() 631 tgt->cq = dma_alloc_coherent(&hba->pcidev->dev, tgt->cq_mem_size, in bnx2fc_alloc_session_resc() 635 tgt->cq_mem_size); in bnx2fc_alloc_session_resc() 638 memset(tgt->cq, 0, tgt->cq_mem_size); in bnx2fc_alloc_session_resc() 833 dma_free_coherent(&hba->pcidev->dev, tgt->cq_mem_size, in bnx2fc_free_session_resc()
|
D | bnx2fc.h | 279 u32 cq_mem_size; member
|
/linux-2.6.39/drivers/infiniband/hw/nes/ |
D | nes_verbs.h | 115 u32 cq_mem_size; member
|
D | nes_verbs.c | 1615 nescq->cq_mem_size = 0; in nes_create_cq() 1617 nescq->cq_mem_size = nescq->hw_cq.cq_size * sizeof(struct nes_hw_cqe); in nes_create_cq() 1619 entries, nescq->cq_mem_size, nescq->hw_cq.cq_number); in nes_create_cq() 1622 mem = pci_alloc_consistent(nesdev->pcidev, nescq->cq_mem_size, in nes_create_cq() 1631 memset(mem, 0, nescq->cq_mem_size); in nes_create_cq() 1647 pci_free_consistent(nesdev->pcidev, nescq->cq_mem_size, mem, in nes_create_cq() 1676 pci_free_consistent(nesdev->pcidev, nescq->cq_mem_size, mem, in nes_create_cq() 1698 pci_free_consistent(nesdev->pcidev, nescq->cq_mem_size, mem, in nes_create_cq() 1755 pci_free_consistent(nesdev->pcidev, nescq->cq_mem_size, mem, in nes_create_cq() 1871 if (nescq->cq_mem_size) in nes_destroy_cq() [all …]
|
/linux-2.6.39/drivers/scsi/bnx2i/ |
D | bnx2i_hwi.c | 1012 num_pages = ep->qp.cq_mem_size / PAGE_SIZE; in setup_qp_page_tables() 1096 ep->qp.cq_mem_size = hba->max_cqes * BNX2I_CQE_SIZE; in bnx2i_alloc_qp_resc() 1097 ep->qp.cq_mem_size = in bnx2i_alloc_qp_resc() 1098 (ep->qp.cq_mem_size + (PAGE_SIZE - 1)) & PAGE_MASK; in bnx2i_alloc_qp_resc() 1100 (ep->qp.cq_mem_size / PAGE_SIZE) * sizeof(void *); in bnx2i_alloc_qp_resc() 1115 dma_alloc_coherent(&hba->pcidev->dev, ep->qp.cq_mem_size, in bnx2i_alloc_qp_resc() 1119 ep->qp.cq_mem_size); in bnx2i_alloc_qp_resc() 1122 memset(ep->qp.cq_virt, 0x00, ep->qp.cq_mem_size); in bnx2i_alloc_qp_resc() 1234 dma_free_coherent(&hba->pcidev->dev, ep->qp.cq_mem_size, in bnx2i_free_qp_resc()
|
D | bnx2i.h | 583 u32 cq_mem_size; member
|