Home
last modified time | relevance | path

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

/external/syslinux/gpxe/src/drivers/net/
D3c90x.c409 p->rx_ring[index].DataAddr = virt_to_bus(p->rx_iobuf[index]->data); in a3c90x_prepare_rx_desc()
441 if (p->rx_iobuf[i] != NULL) in a3c90x_refill_rx_ring()
444 p->rx_iobuf[i] = alloc_iob(RX_BUF_SIZE); in a3c90x_refill_rx_ring()
445 if (p->rx_iobuf[i] == NULL) { in a3c90x_refill_rx_ring()
483 p->rx_iobuf[i] = NULL; in a3c90x_setup_rx_ring()
509 free_iob(p->rx_iobuf[i]); in a3c90x_free_rx_iobuf()
510 p->rx_iobuf[i] = NULL; in a3c90x_free_rx_iobuf()
537 if (p->rx_iobuf[p->rx_cur] == NULL) in a3c90x_process_rx_packets()
542 netdev_rx_err(netdev, p->rx_iobuf[p->rx_cur], in a3c90x_process_rx_packets()
549 iob_put(p->rx_iobuf[p->rx_cur], packet_len); in a3c90x_process_rx_packets()
[all …]
Db44.c384 rh = bp->rx_iobuf[idx]->data; in b44_populate_rx_descriptor()
391 addr = VIRT_TO_B44(bp->rx_iobuf[idx]->data); in b44_populate_rx_descriptor()
410 if (bp->rx_iobuf[i] != NULL) in b44_rx_refill()
413 bp->rx_iobuf[i] = alloc_iob(RX_PKT_BUF_SZ); in b44_rx_refill()
414 if (!bp->rx_iobuf[i]) { in b44_rx_refill()
430 free_iob(bp->rx_iobuf[i]); in b44_free_rx_ring()
431 bp->rx_iobuf[i] = NULL; in b44_free_rx_ring()
447 memset(bp->rx_iobuf, 0, sizeof(bp->rx_iobuf)); in b44_init_rx_ring()
449 bp->rx_iobuf[0] = alloc_iob(RX_PKT_BUF_SZ); in b44_init_rx_ring()
851 iob = bp->rx_iobuf[i]; in b44_process_rx_packets()
[all …]
Dr8169.c1671 rx_desc->addr_lo = virt_to_bus ( tp->rx_iobuf[index]->data ); in rtl8169_populate_rx_descriptor()
1700 if ( tp->rx_iobuf[tp->rx_curr] != NULL ) in rtl8169_refill_rx_ring()
1706 if ( ! ( tp->rx_iobuf[i] = alloc_iob ( RX_BUF_SIZE ) ) ) { in rtl8169_refill_rx_ring()
1768 if ( tp->rx_iobuf[tp->rx_curr] == NULL ) in rtl8169_process_rx_packets()
1781 netdev_rx_err ( netdev, tp->rx_iobuf[tp->rx_curr], -EINVAL ); in rtl8169_process_rx_packets()
1789 iob_put ( tp->rx_iobuf[tp->rx_curr], rx_len ); in rtl8169_process_rx_packets()
1792 netdev_rx ( netdev, tp->rx_iobuf[tp->rx_curr] ); in rtl8169_process_rx_packets()
1796 tp->rx_iobuf[tp->rx_curr] = NULL; in rtl8169_process_rx_packets()
1815 free_iob ( tp->rx_iobuf[i] ); in rtl8169_free_rx_resources()
1816 tp->rx_iobuf[i] = NULL; in rtl8169_free_rx_resources()
D3c90x.h298 struct io_buffer *rx_iobuf[RX_RING_SIZE]; member
Db44.h429 struct io_buffer *rx_iobuf[B44_RING_SIZE]; member
Dr8169.h447 struct io_buffer *rx_iobuf[NUM_RX_DESC]; member
/external/syslinux/gpxe/src/drivers/net/e1000/
De1000.c290 free_iob ( adapter->rx_iobuf[i] ); in e1000_free_rx_resources()
318 if ( adapter->rx_iobuf[rx_curr] != NULL ) in e1000_refill_rx_ring()
324 adapter->rx_iobuf[rx_curr] = iob; in e1000_refill_rx_ring()
367 adapter->rx_iobuf[i] = NULL; in e1000_setup_rx_resources()
760 if ( adapter->rx_iobuf[i] == NULL ) in e1000_poll()
772 iob_put ( adapter->rx_iobuf[i], rx_len ); in e1000_poll()
776 netdev_rx_err ( netdev, adapter->rx_iobuf[i], -EINVAL ); in e1000_poll()
781 netdev_rx ( netdev, adapter->rx_iobuf[i] ); in e1000_poll()
783 adapter->rx_iobuf[i] = NULL; in e1000_poll()
De1000.h264 struct io_buffer *rx_iobuf[NUM_RX_DESC]; member