Home
last modified time | relevance | path

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

/linux-6.6.21/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.c3295 static u32 __iomem *get_6120_link_buf(struct qib_pportdata *ppd, u32 *bnum) in get_6120_link_buf() argument
3306 buf = qib_getsendbuf_range(ppd->dd, bnum, lbuf, lbuf); in get_6120_link_buf()
3314 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.6.21/drivers/net/ethernet/marvell/prestera/
Dprestera_rxtx.c369 int bnum = PRESTERA_SDMA_RX_DESC_PER_Q; in prestera_sdma_rx_init() local
382 ring->bufs = kmalloc_array(bnum, sizeof(*head), GFP_KERNEL); in prestera_sdma_rx_init()
388 tail = &ring->bufs[bnum - 1]; in prestera_sdma_rx_init()
493 int bnum = PRESTERA_SDMA_TX_DESC_PER_Q; in prestera_sdma_tx_recycle_work_fn() local
502 for (b = 0; b < bnum; b++) { in prestera_sdma_tx_recycle_work_fn()
526 int bnum = PRESTERA_SDMA_TX_DESC_PER_Q; in prestera_sdma_tx_init() local
532 tx_ring->bufs = kmalloc_array(bnum, sizeof(*head), GFP_KERNEL); in prestera_sdma_tx_init()
536 tail = &tx_ring->bufs[bnum - 1]; in prestera_sdma_tx_init()
576 int bnum = PRESTERA_SDMA_TX_DESC_PER_Q; in prestera_sdma_tx_fini() local
584 for (b = 0; b < bnum; b++) { in prestera_sdma_tx_fini()
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns/
Dhns_enet.c211 struct sk_buff **out_skb, int *bnum, struct hnae_ring *ring) in hns_nic_maybe_stop_tx() argument
235 *bnum = buf_num; in hns_nic_maybe_stop_tx()
240 struct sk_buff **out_skb, int *bnum, struct hnae_ring *ring) in hns_nic_maybe_stop_tso() argument
275 *bnum = buf_num; in hns_nic_maybe_stop_tso()
279 static int hns_nic_maybe_stop_tx_v2(struct sk_buff **out_skb, int *bnum, in hns_nic_maybe_stop_tx_v2() argument
283 return hns_nic_maybe_stop_tso(out_skb, bnum, ring); in hns_nic_maybe_stop_tx_v2()
285 return hns_nic_maybe_stop_tx(out_skb, bnum, ring); in hns_nic_maybe_stop_tx_v2()
572 int bnum, length, i; in hns_nic_poll_rx_skb() local
596 priv->ops.get_rxd_bnum(bnum_flag, &bnum); in hns_nic_poll_rx_skb()
597 *out_bnum = bnum; in hns_nic_poll_rx_skb()
[all …]
Dhns_enet.h50 int *bnum, struct hnae_ring *ring);
/linux-6.6.21/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.6.21/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()
1021 for (i = 0; i < bnum; i++) { in OSDSetBlock()
1033 rc = BlitBitmap(av7110, x0, y0 + bnum * lpb); in OSDSetBlock()
/linux-6.6.21/fs/gfs2/
Dquota.c753 unsigned bsize = sdp->sd_sb.sb_bsize, bnum = 0, boff = 0; in gfs2_write_buf_to_page() local
768 if (pg_off >= ((bnum * bsize) + bsize)) { in gfs2_write_buf_to_page()
770 bnum++; in gfs2_write_buf_to_page()
780 zero_user(page, bnum * bsize, bh->b_size); in gfs2_write_buf_to_page()
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/
Dt4fw_api.h1003 u8 bnum; member