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

/linux-4.4.14/arch/blackfin/kernel/
H A Dprocess.c250 #define ASYNC_ENABLED(bnum, bctlnum) 1
252 #define ASYNC_ENABLED(bnum, bctlnum) \
254 (bfin_read_EBIU_AMGCTL() & 0xe) < ((bnum + 1) << 1) ? 0 : \
255 bfin_read_EBIU_AMBCTL##bctlnum() & B##bnum##RDYEN ? 0 : \
/linux-4.4.14/fs/ubifs/
H A Dmisc.h205 * @bnum: branch number
210 int bnum) ubifs_idx_branch()
213 (UBIFS_BRANCH_SZ + c->key_len) * bnum); ubifs_idx_branch()
208 ubifs_idx_branch(const struct ubifs_info *c, const struct ubifs_idx_node *idx, int bnum) ubifs_idx_branch() argument
/linux-4.4.14/drivers/net/ethernet/hisilicon/hns/
H A Dhns_enet.c341 int bnum, length, size, i, truesize, last_offset; hns_nic_poll_rx_skb() local
350 bnum = hnae_get_field(bnum_flag, HNS_RXD_BUFNUM_M, HNS_RXD_BUFNUM_S); hns_nic_poll_rx_skb()
351 *out_bnum = bnum; hns_nic_poll_rx_skb()
372 if (unlikely(bnum != 1)) { /* check err*/ hns_nic_poll_rx_skb()
392 if (unlikely(bnum >= (int)MAX_SKB_FRAGS)) { /* check err*/ hns_nic_poll_rx_skb()
396 for (i = 1; i < bnum; i++) { hns_nic_poll_rx_skb()
411 if (unlikely((!bnum) || (bnum > ring->max_desc_num_per_pkt))) { hns_nic_poll_rx_skb()
414 netdev_err(ndev, "invalid bnum(%d,%d,%d,%d),%016llx,%016llx\n", hns_nic_poll_rx_skb()
415 bnum, ring->max_desc_num_per_pkt, hns_nic_poll_rx_skb()
508 int num, bnum, ex_num; hns_nic_rx_poll_one() local
525 err = hns_nic_poll_rx_skb(ring_data, &skb, &bnum); hns_nic_rx_poll_one()
529 recv_bds += bnum; hns_nic_rx_poll_one()
530 clean_count += bnum; hns_nic_rx_poll_one()
/linux-4.4.14/drivers/isdn/hardware/eicon/
H A Dcapifunc.c728 word bnum, xnum; diva_register_appl() local
776 bnum = nconn * rp->datablkcnt; diva_register_appl()
779 mem_len = bnum * sizeof(word); /* DataNCCI */ diva_register_appl()
780 mem_len += bnum * sizeof(word); /* DataFlags */ diva_register_appl()
781 mem_len += bnum * rp->datablklen; /* ReceiveBuffer */ diva_register_appl()
795 p += bnum * sizeof(word); diva_register_appl()
797 p += bnum * sizeof(word); diva_register_appl()
799 p += bnum * rp->datablklen; diva_register_appl()
827 this->MaxBuffer = bnum; diva_register_appl()
/linux-4.4.14/drivers/infiniband/hw/qib/
H A Dqib_twsi.c136 int bnum; sda_in() local
139 bnum = dd->gpio_sda_num; sda_in()
140 mask = (1UL << bnum); sda_in()
146 return (read_val & mask) >> bnum; sda_in()
H A Dqib_iba6120.c3360 static u32 __iomem *get_6120_link_buf(struct qib_pportdata *ppd, u32 *bnum) get_6120_link_buf() argument
3371 buf = qib_getsendbuf_range(ppd->dd, bnum, lbuf, lbuf); get_6120_link_buf()
3379 buf = qib_getsendbuf_range(ppd->dd, bnum, lbuf, lbuf); get_6120_link_buf()
H A Dqib_iba7220.c3367 static u32 __iomem *get_7220_link_buf(struct qib_pportdata *ppd, u32 *bnum) get_7220_link_buf() argument
3380 buf = qib_getsendbuf_range(ppd->dd, bnum, lbuf, lbuf); get_7220_link_buf()
3397 buf = qib_getsendbuf_range(ppd->dd, bnum, lbuf, lbuf); get_7220_link_buf()
/linux-4.4.14/drivers/media/pci/ttpci/
H A Dav7110_hw.c1010 uint w, h, bpp, bpl, size, lpb, bnum, brest; OSDSetBlock() local
1024 bnum = size / (lpb * bpl); OSDSetBlock()
1025 brest = size - bnum * lpb * bpl; OSDSetBlock()
1034 * if bnum==1 && !brest && LoadBitmap was successful OSDSetBlock()
1039 for (i = 0; i < bnum; i++) { OSDSetBlock()
1051 rc = BlitBitmap(av7110, x0, y0 + bnum * lpb); OSDSetBlock()
/linux-4.4.14/fs/gfs2/
H A Dquota.c667 unsigned bsize = sdp->sd_sb.sb_bsize, bnum = 0, boff = 0; gfs2_write_buf_to_page() local
683 if (pg_off >= ((bnum * bsize) + bsize)) { gfs2_write_buf_to_page()
685 bnum++; gfs2_write_buf_to_page()
695 zero_user(page, bnum * bsize, bh->b_size); gfs2_write_buf_to_page()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4fw_api.h828 u8 bnum; member in struct:fw_ldst_cmd::fw_ldst::fw_ldst_pcie

Completed in 386 milliseconds