Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/net/
H A Dzynq_gem.c543 struct emac_bd *current_bd = &priv->tx_bd[1]; in zynq_gem_send() local
555 current_bd->addr = 0x0; in zynq_gem_send()
557 current_bd->addr_hi = 0x0; in zynq_gem_send()
559 current_bd->status = ZYNQ_GEM_TXBUF_WRAP_MASK | in zynq_gem_send()
594 if (!(current_bd->addr & ZYNQ_GEM_RXBUF_NEW_MASK)) in zynq_gem_recv()
597 if (!(current_bd->status & in zynq_gem_recv()
611 | ((dma_addr_t)current_bd->addr_hi << 32)); in zynq_gem_recv()
613 addr = current_bd->addr & ZYNQ_GEM_RXBUF_ADD_MASK; in zynq_gem_recv()
631 if (current_bd->status & ZYNQ_GEM_RXBUF_SOF_MASK) { in zynq_gem_free_pkt()
634 current_bd->addr &= ~ZYNQ_GEM_RXBUF_NEW_MASK; in zynq_gem_free_pkt()
[all …]
/openbmc/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_fp.c668 struct sw_rx_data *current_bd = &rxq->sw_rx_ring[rxq->sw_rx_cons & in qede_fill_frag_skb() local
678 current_bd->data, in qede_fill_frag_skb()
679 current_bd->page_offset + rxq->rx_headroom, in qede_fill_frag_skb()
682 if (unlikely(qede_realloc_rx_buffer(rxq, current_bd))) { in qede_fill_frag_skb()
686 page_ref_inc(current_bd->data); in qede_fill_frag_skb()