Home
last modified time | relevance | path

Searched refs:rnic_info (Results 1 – 8 of 8) sorted by relevance

/linux-3.4.99/drivers/infiniband/hw/cxgb3/
Dcxio_resource.c278 pbl_start = rdev_p->rnic_info.pbl_base; in cxio_hal_pblpool_create()
279 pbl_chunk = rdev_p->rnic_info.pbl_top - pbl_start + 1; in cxio_hal_pblpool_create()
281 while (pbl_start < rdev_p->rnic_info.pbl_top) { in cxio_hal_pblpool_create()
282 pbl_chunk = min(rdev_p->rnic_info.pbl_top - pbl_start + 1, in cxio_hal_pblpool_create()
289 __func__, pbl_start, rdev_p->rnic_info.pbl_top - pbl_start); in cxio_hal_pblpool_create()
333 for (i = rdev_p->rnic_info.rqt_base; in cxio_hal_rqtpool_create()
334 i <= rdev_p->rnic_info.rqt_top - RQT_CHUNK + 1; in cxio_hal_rqtpool_create()
Dcxio_hal.c172 cq->queue = dma_alloc_coherent(&(rdev_p->rnic_info.pdev->dev), size, in cxio_create_cq()
296 wq->queue = dma_alloc_coherent(&(rdev_p->rnic_info.pdev->dev), in cxio_create_qp()
304 wq->doorbell = (void __iomem *)rdev_p->rnic_info.kdb_addr; in cxio_create_qp()
306 wq->udb = (u64)rdev_p->rnic_info.udbell_physbase + in cxio_create_qp()
328 dma_free_coherent(&(rdev_p->rnic_info.pdev->dev), in cxio_destroy_cq()
339 dma_free_coherent(&(rdev_p->rnic_info.pdev->dev), in cxio_destroy_qp()
533 &(rdev_p->rnic_info.pdev->dev), in cxio_hal_init_ctrl_qp()
545 rdev_p->ctrl_qp.doorbell = (void __iomem *)rdev_p->rnic_info.kdb_addr; in cxio_hal_init_ctrl_qp()
586 dma_free_coherent(&(rdev_p->rnic_info.pdev->dev), in cxio_hal_destroy_ctrl_qp()
749 (rdev_p->rnic_info.tpt_base >> 5), in __cxio_tpt_op()
[all …]
Dcxio_resource.h58 #define PBL_OFF(rdev_p, a) ( (a) - (rdev_p)->rnic_info.pbl_base )
64 #define RQT_OFF(rdev_p, a) ( (a) - (rdev_p)->rnic_info.rqt_base )
Dcxio_hal.h102 struct rdma_info rnic_info; member
126 …return min((int)T3_MAX_NUM_STAG, (int)((rdev_p->rnic_info.tpt_top - rdev_p->rnic_info.tpt_base) >>… in cxio_num_stags()
Dcxio_dbg.c53 m->addr = (stag>>8) * 32 + rdev->rnic_info.tpt_base; in cxio_dump_tpt()
152 m->addr = ((hwtid)<<10) + rdev->rnic_info.rqt_base; in cxio_dump_rqt()
Diwch_provider.c371 if ((addr >= rdev_p->rnic_info.udbell_physbase) && in iwch_mmap()
372 (addr < (rdev_p->rnic_info.udbell_physbase + in iwch_mmap()
373 rdev_p->rnic_info.udbell_len))) { in iwch_mmap()
701 rhp->rdev.rnic_info.pbl_base) >> 3; in iwch_reg_user_mr()
1163 props->vendor_id = (u32)dev->rdev.rnic_info.pdev->vendor; in iwch_query_device()
1164 props->vendor_part_id = (u32)dev->rdev.rnic_info.pdev->device; in iwch_query_device()
1276 return sprintf(buf, "%x.%x\n", iwch_dev->rdev.rnic_info.pdev->vendor, in show_board()
1277 iwch_dev->rdev.rnic_info.pdev->device); in show_board()
1386 dev->ibdev.dma_device = &(dev->rdev.rnic_info.pdev->dev); in iwch_register_device()
Diwch.c178 pci_name(rnicp->rdev.rnic_info.pdev)); in open_rnic_dev()
Diwch_qp.c240 rhp->rdev.rnic_info.pbl_base) >> 3) + in iwch_sgl2pbl_map()
308 pbl_offset = (pbl_addr - qhp->rhp->rdev.rnic_info.pbl_base) >> 3; in build_zero_stag_recv()