Home
last modified time | relevance | path

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

/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/fs/ubifs/
Dmisc.h201 int bnum) in ubifs_idx_branch() argument
204 (UBIFS_BRANCH_SZ + c->key_len + c->hash_len) * bnum); in ubifs_idx_branch()
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns/
Dhns_enet.c210 struct sk_buff **out_skb, int *bnum, struct hnae_ring *ring) in hns_nic_maybe_stop_tx() argument
234 *bnum = buf_num; in hns_nic_maybe_stop_tx()
239 struct sk_buff **out_skb, int *bnum, struct hnae_ring *ring) in hns_nic_maybe_stop_tso() argument
274 *bnum = buf_num; in hns_nic_maybe_stop_tso()
547 int bnum, length, i; in hns_nic_poll_rx_skb() local
571 priv->ops.get_rxd_bnum(bnum_flag, &bnum); in hns_nic_poll_rx_skb()
572 *out_bnum = bnum; in hns_nic_poll_rx_skb()
585 if (unlikely(bnum != 1)) { /* check err*/ in hns_nic_poll_rx_skb()
599 if (unlikely(bnum >= (int)MAX_SKB_FRAGS)) { /* check err*/ in hns_nic_poll_rx_skb()
603 for (i = 1; i < bnum; i++) { in hns_nic_poll_rx_skb()
[all …]
Dhns_enet.h49 int *bnum, struct hnae_ring *ring);
/linux-6.1.9/drivers/staging/media/deprecated/saa7146/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()
/linux-6.1.9/fs/gfs2/
Dquota.c716 unsigned bsize = sdp->sd_sb.sb_bsize, bnum = 0, boff = 0; in gfs2_write_buf_to_page() local
732 if (pg_off >= ((bnum * bsize) + bsize)) { in gfs2_write_buf_to_page()
734 bnum++; in gfs2_write_buf_to_page()
744 zero_user(page, bnum * bsize, bh->b_size); in gfs2_write_buf_to_page()
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
Dt4fw_api.h1003 u8 bnum; member