Searched refs:bnum (Results 1 – 10 of 10) sorted by relevance
/linux/drivers/net/ethernet/marvell/prestera/ |
A D | prestera_rxtx.c | 372 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()
|
/linux/drivers/infiniband/hw/qib/ |
A D | qib_twsi.c | 136 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()
|
A D | qib_iba6120.c | 3298 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()
|
A D | qib_iba7220.c | 3327 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()
|
/linux/drivers/net/ethernet/hisilicon/hns/ |
A D | hns_enet.c | 236 *bnum = buf_num; in hns_nic_maybe_stop_tx() 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() 605 for (i = 1; i < bnum; i++) { in hns_nic_poll_rx_skb() 615 if (unlikely((!bnum) || (bnum > ring->max_desc_num_per_pkt))) { in hns_nic_poll_rx_skb() 619 bnum, ring->max_desc_num_per_pkt, in hns_nic_poll_rx_skb() 825 int num, bnum; in hns_nic_rx_poll_one() local 850 recv_bds += bnum; in hns_nic_rx_poll_one() [all …]
|
A D | hns_enet.h | 49 int *bnum, struct hnae_ring *ring);
|
/linux/fs/ubifs/ |
A D | misc.h | 201 int bnum) in ubifs_idx_branch() argument 204 (UBIFS_BRANCH_SZ + c->key_len + c->hash_len) * bnum); in ubifs_idx_branch()
|
/linux/drivers/staging/media/av7110/ |
A D | av7110_hw.c | 991 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()
|
/linux/fs/gfs2/ |
A D | quota.c | 704 unsigned bsize = sdp->sd_sb.sb_bsize, bnum = 0, boff = 0; in gfs2_write_buf_to_page() local 720 if (pg_off >= ((bnum * bsize) + bsize)) { in gfs2_write_buf_to_page() 722 bnum++; in gfs2_write_buf_to_page() 732 zero_user(page, bnum * bsize, bh->b_size); in gfs2_write_buf_to_page()
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
A D | t4fw_api.h | 1001 u8 bnum; member
|
Completed in 61 milliseconds