Home
last modified time | relevance | path

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

/drivers/net/ethernet/marvell/prestera/
Dprestera_rxtx.c372 int bnum = PRESTERA_SDMA_RX_DESC_PER_Q; in prestera_sdma_rx_init() local
385 ring->bufs = kmalloc_array(bnum, sizeof(*head), GFP_KERNEL); in prestera_sdma_rx_init()
391 tail = &ring->bufs[bnum - 1]; in prestera_sdma_rx_init()
496 int bnum = PRESTERA_SDMA_TX_DESC_PER_Q; in prestera_sdma_tx_recycle_work_fn() local
505 for (b = 0; b < bnum; b++) { in prestera_sdma_tx_recycle_work_fn()
529 int bnum = PRESTERA_SDMA_TX_DESC_PER_Q; in prestera_sdma_tx_init() local
535 tx_ring->bufs = kmalloc_array(bnum, sizeof(*head), GFP_KERNEL); in prestera_sdma_tx_init()
539 tail = &tx_ring->bufs[bnum - 1]; in prestera_sdma_tx_init()
579 int bnum = PRESTERA_SDMA_TX_DESC_PER_Q; in prestera_sdma_tx_fini() local
587 for (b = 0; b < bnum; b++) { in prestera_sdma_tx_fini()
/drivers/infiniband/hw/qib/
Dqib_twsi.c136 int bnum; in sda_in() local
139 bnum = dd->gpio_sda_num; in sda_in()
140 mask = (1UL << bnum); in sda_in()
146 return (read_val & mask) >> bnum; in sda_in()
Dqib_iba6120.c3298 static u32 __iomem *get_6120_link_buf(struct qib_pportdata *ppd, u32 *bnum) in get_6120_link_buf() argument
3309 buf = qib_getsendbuf_range(ppd->dd, bnum, lbuf, lbuf); in get_6120_link_buf()
3317 buf = qib_getsendbuf_range(ppd->dd, bnum, lbuf, lbuf); in get_6120_link_buf()
Dqib_iba7220.c3327 static u32 __iomem *get_7220_link_buf(struct qib_pportdata *ppd, u32 *bnum) in get_7220_link_buf() argument
3340 buf = qib_getsendbuf_range(ppd->dd, bnum, lbuf, lbuf); in get_7220_link_buf()
3357 buf = qib_getsendbuf_range(ppd->dd, bnum, lbuf, lbuf); in get_7220_link_buf()
/drivers/net/ethernet/hisilicon/hns/
Dhns_enet.c212 struct sk_buff **out_skb, int *bnum, struct hnae_ring *ring) in hns_nic_maybe_stop_tx() argument
236 *bnum = buf_num; in hns_nic_maybe_stop_tx()
241 struct sk_buff **out_skb, int *bnum, struct hnae_ring *ring) in hns_nic_maybe_stop_tso() argument
276 *bnum = buf_num; in hns_nic_maybe_stop_tso()
549 int bnum, length, i; in hns_nic_poll_rx_skb() local
573 priv->ops.get_rxd_bnum(bnum_flag, &bnum); in hns_nic_poll_rx_skb()
574 *out_bnum = bnum; in hns_nic_poll_rx_skb()
587 if (unlikely(bnum != 1)) { /* check err*/ in hns_nic_poll_rx_skb()
601 if (unlikely(bnum >= (int)MAX_SKB_FRAGS)) { /* check err*/ in hns_nic_poll_rx_skb()
605 for (i = 1; i < bnum; i++) { in hns_nic_poll_rx_skb()
[all …]
Dhns_enet.h49 int *bnum, struct hnae_ring *ring);
/drivers/staging/media/av7110/
Dav7110_hw.c991 uint w, h, bpp, bpl, size, lpb, bnum, brest; in OSDSetBlock() local
1005 bnum = size / (lpb * bpl); in OSDSetBlock()
1006 brest = size - bnum * lpb * bpl; in OSDSetBlock()
1020 for (i = 0; i < bnum; i++) { in OSDSetBlock()
1032 rc = BlitBitmap(av7110, x0, y0 + bnum * lpb); in OSDSetBlock()
/drivers/net/ethernet/chelsio/cxgb4/
Dt4fw_api.h1001 u8 bnum; member