Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/toshiba/
H A Dtc35815.c1486 int cur_bd; in tc35815_rx() local
1491 cur_bd = (le32_to_cpu(lp->rfd_cur->bd[0].BDCtl) in tc35815_rx()
1494 if (cur_bd >= RX_BUF_NUM) { in tc35815_rx()
1498 BUG_ON(lp->rx_skbs[cur_bd].skb_dma != in tc35815_rx()
1500 if (!lp->rx_skbs[cur_bd].skb) { in tc35815_rx()
1505 BUG_ON(cur_bd >= RX_BUF_NUM); in tc35815_rx()
1507 skb = lp->rx_skbs[cur_bd].skb; in tc35815_rx()
1509 lp->rx_skbs[cur_bd].skb = NULL; in tc35815_rx()
1511 lp->rx_skbs[cur_bd].skb_dma, in tc35815_rx()