/drivers/infiniband/hw/cxgb4/ |
D | resource.c | 256 rdev->stats.pbl.cur += roundup(size, 1 << MIN_PBL_SHIFT); in c4iw_pblpool_alloc() 257 if (rdev->stats.pbl.cur > rdev->stats.pbl.max) in c4iw_pblpool_alloc() 258 rdev->stats.pbl.max = rdev->stats.pbl.cur; in c4iw_pblpool_alloc() 260 rdev->stats.pbl.fail++; in c4iw_pblpool_alloc() 269 rdev->stats.pbl.cur -= roundup(size, 1 << MIN_PBL_SHIFT); in c4iw_pblpool_free() 282 pbl_start = rdev->lldi.vr->pbl.start; in c4iw_pblpool_create() 283 pbl_chunk = rdev->lldi.vr->pbl.size; in c4iw_pblpool_create()
|
D | device.c | 278 dev->rdev.stats.pbl.total, dev->rdev.stats.pbl.cur, in stats_show() 279 dev->rdev.stats.pbl.max, dev->rdev.stats.pbl.fail); in stats_show() 317 dev->rdev.stats.pbl.max = 0; in stats_clear() 318 dev->rdev.stats.pbl.fail = 0; in stats_clear() 536 rdev->lldi.vr->pbl.start, in c4iw_rdev_open() 537 rdev->lldi.vr->pbl.size, rdev->lldi.vr->rq.start, in c4iw_rdev_open() 559 rdev->stats.pbl.total = rdev->lldi.vr->pbl.size; in c4iw_rdev_open() 625 return infop->vr->stag.size > 0 && infop->vr->pbl.size > 0 && in rdma_supported()
|
D | mem.c | 308 static int write_pbl(struct c4iw_rdev *rdev, __be64 *pbl, in write_pbl() argument 314 __func__, pbl_addr, rdev->lldi.vr->pbl.start, in write_pbl() 317 err = write_adapter_mem(rdev, pbl_addr >> 5, pbl_size << 3, pbl); in write_pbl()
|
D | iw_cxgb4.h | 73 #define PBL_OFF(rdev_p, a) ((a) - (rdev_p)->lldi.vr->pbl.start) 126 struct c4iw_stat pbl; member
|
/drivers/scsi/bnx2fc/ |
D | bnx2fc_tgt.c | 672 u32 *pbl; in bnx2fc_alloc_session_resc() local 727 pbl = (u32 *)tgt->rq_pbl; in bnx2fc_alloc_session_resc() 730 *pbl = (u32)page; in bnx2fc_alloc_session_resc() 731 pbl++; in bnx2fc_alloc_session_resc() 732 *pbl = (u32)((u64)page >> 32); in bnx2fc_alloc_session_resc() 733 pbl++; in bnx2fc_alloc_session_resc() 782 pbl = (u32 *)tgt->confq_pbl; in bnx2fc_alloc_session_resc() 785 *pbl = (u32)page; in bnx2fc_alloc_session_resc() 786 pbl++; in bnx2fc_alloc_session_resc() 787 *pbl = (u32)((u64)page >> 32); in bnx2fc_alloc_session_resc() [all …]
|
D | bnx2fc_hwi.c | 1971 u32 *pbl; in bnx2fc_free_hash_table() local 1977 pbl = hba->hash_tbl_pbl; in bnx2fc_free_hash_table() 1981 dma_address = le32_to_cpu(*pbl); in bnx2fc_free_hash_table() 1982 ++pbl; in bnx2fc_free_hash_table() 1983 dma_address += ((u64)le32_to_cpu(*pbl)) << 32; in bnx2fc_free_hash_table() 1984 ++pbl; in bnx2fc_free_hash_table() 2008 u32 *pbl; in bnx2fc_allocate_hash_table() local 2063 pbl = hba->hash_tbl_pbl; in bnx2fc_allocate_hash_table() 2066 *pbl = cpu_to_le32((u32) paddr); in bnx2fc_allocate_hash_table() 2067 ++pbl; in bnx2fc_allocate_hash_table() [all …]
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac1000_dma.c | 33 static int dwmac1000_dma_init(void __iomem *ioaddr, int pbl, int fb, int mb, in dwmac1000_dma_init() argument 62 value = DMA_BUS_MODE_PBL | ((pbl << DMA_BUS_MODE_PBL_SHIFT) | in dwmac1000_dma_init() 63 (pbl << DMA_BUS_MODE_RPBL_SHIFT)); in dwmac1000_dma_init()
|
D | dwmac100_dma.c | 35 static int dwmac100_dma_init(void __iomem *ioaddr, int pbl, int fb, int mb, in dwmac100_dma_init() argument 54 writel(DMA_BUS_MODE_DEFAULT | (pbl << DMA_BUS_MODE_PBL_SHIFT), in dwmac100_dma_init()
|
D | stmmac_pci.c | 47 dma_cfg.pbl = 32; in stmmac_default_data()
|
D | common.h | 355 int (*init) (void __iomem *ioaddr, int pbl, int fb, int mb,
|
D | stmmac_main.c | 1507 int pbl = DEFAULT_DMA_PBL, fixed_burst = 0, burst_len = 0; in stmmac_init_dma_engine() local 1512 pbl = priv->plat->dma_cfg->pbl; in stmmac_init_dma_engine() 1521 return priv->hw->dma->init(priv->ioaddr, pbl, fixed_burst, mixed_burst, in stmmac_init_dma_engine()
|
/drivers/net/ethernet/tehuti/ |
D | tehuti.h | 316 struct pbl { struct 334 struct pbl pbl[0]; /* Fragments */ member
|
D | tehuti.c | 1502 struct pbl *pbl = &txdd->pbl[0]; in bdx_tx_map_skb() local 1509 pbl->len = CPU_CHIP_SWAP32(db->wptr->len); in bdx_tx_map_skb() 1510 pbl->pa_lo = CPU_CHIP_SWAP32(L32_64(db->wptr->addr.dma)); in bdx_tx_map_skb() 1511 pbl->pa_hi = CPU_CHIP_SWAP32(H32_64(db->wptr->addr.dma)); in bdx_tx_map_skb() 1512 DBG("=== pbl len: 0x%x ================\n", pbl->len); in bdx_tx_map_skb() 1513 DBG("=== pbl pa_lo: 0x%x ================\n", pbl->pa_lo); in bdx_tx_map_skb() 1514 DBG("=== pbl pa_hi: 0x%x ================\n", pbl->pa_hi); in bdx_tx_map_skb() 1526 pbl++; in bdx_tx_map_skb() 1527 pbl->len = CPU_CHIP_SWAP32(db->wptr->len); in bdx_tx_map_skb() 1528 pbl->pa_lo = CPU_CHIP_SWAP32(L32_64(db->wptr->addr.dma)); in bdx_tx_map_skb() [all …]
|
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_hw.c | 1238 dev->av_tbl.pbl.va = dma_alloc_coherent(&pdev->dev, PAGE_SIZE, in ocrdma_mbx_create_ah_tbl() 1239 &dev->av_tbl.pbl.pa, in ocrdma_mbx_create_ah_tbl() 1241 if (dev->av_tbl.pbl.va == NULL) in ocrdma_mbx_create_ah_tbl() 1252 pbes = (struct ocrdma_pbe *)dev->av_tbl.pbl.va; in ocrdma_mbx_create_ah_tbl() 1258 cmd->tbl_addr[0].lo = (u32)(dev->av_tbl.pbl.pa & 0xFFFFFFFF); in ocrdma_mbx_create_ah_tbl() 1259 cmd->tbl_addr[0].hi = (u32)upper_32_bits(dev->av_tbl.pbl.pa); in ocrdma_mbx_create_ah_tbl() 1273 dma_free_coherent(&pdev->dev, PAGE_SIZE, dev->av_tbl.pbl.va, in ocrdma_mbx_create_ah_tbl() 1274 dev->av_tbl.pbl.pa); in ocrdma_mbx_create_ah_tbl() 1275 dev->av_tbl.pbl.va = NULL; in ocrdma_mbx_create_ah_tbl() 1298 dma_free_coherent(&pdev->dev, PAGE_SIZE, dev->av_tbl.pbl.va, in ocrdma_mbx_delete_ah_tbl() [all …]
|
D | ocrdma.h | 162 struct ocrdma_pbl pbl; member
|
D | ocrdma_sli.h | 1301 struct ocrdma_pa pbl[MAX_OCRDMA_NSMR_PBL]; member 1323 struct ocrdma_pa pbl[MAX_OCRDMA_NSMR_PBL]; member
|
/drivers/infiniband/hw/nes/ |
D | nes_verbs.c | 467 pifrpl->page_list = &pnesfrpl->pbl; in nes_alloc_fast_reg_page_list() 912 __le64 *pbl = NULL; in nes_setup_virt_qp() local 926 pbl = (__le64 *) nespbl->pbl_vbase; /* points to first pbl entry */ in nes_setup_virt_qp() 931 …nesqp->hwqp.sq_pbase = (le32_to_cpu(((__le32 *)pbl)[0])) | ((u64)((le32_to_cpu(((__le32 *)pbl)[1])… in nes_setup_virt_qp() 948 pbl += sq_pbl_entries; in nes_setup_virt_qp() 949 …nesqp->hwqp.rq_pbase = (le32_to_cpu(((__le32 *)pbl)[0])) | ((u64)((le32_to_cpu(((__le32 *)pbl)[1])… in nes_setup_virt_qp() 984 pbl = (__le64 *)nespbl->pbl_vbase; in nes_setup_virt_qp() 986 *tpbl++ = *pbl++; in nes_setup_virt_qp() 989 *tpbl++ = *pbl++; in nes_setup_virt_qp() 2300 __le64 *pbl; in nes_reg_user_mr() local [all …]
|
D | nes_hw.h | 1206 u64 pbl; member
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_uld.h | 203 struct cxgb4_range pbl; member
|
D | cxgb4_main.c | 5091 adap->vres.pbl.start = val[4]; in adap_init0() 5092 adap->vres.pbl.size = val[5] - val[4] + 1; in adap_init0()
|
/drivers/infiniband/hw/cxgb3/ |
D | cxio_hal.h | 170 int cxio_write_pbl(struct cxio_rdev *rdev_p, __be64 *pbl,
|
D | cxio_hal.c | 766 int cxio_write_pbl(struct cxio_rdev *rdev_p, __be64 *pbl, in cxio_write_pbl() argument 778 pbl); in cxio_write_pbl()
|