Lines Matching refs:rx_size
442 unsigned int rx_size, rx_status; in rtl8139_recv_common() local
458 rx_size = rx_status >> 16; in rtl8139_recv_common()
464 (rx_size < ETH_ZLEN) || in rtl8139_recv_common()
465 (rx_size > ETH_FRAME_LEN + 4)) { in rtl8139_recv_common()
473 length = rx_size - 4; /* no one cares about the FCS */ in rtl8139_recv_common()
474 if (ring_offs + 4 + rx_size - 4 > RX_BUF_LEN) { in rtl8139_recv_common()
479 rx_size - 4 - semi_count); in rtl8139_recv_common()
483 semi_count, rx_size - 4 - semi_count); in rtl8139_recv_common()
486 debug_cond(DEBUG_RX, "rx packet %d bytes", rx_size - 4); in rtl8139_recv_common()
497 unsigned int rx_size = len + 4; in rtl8139_free_pkt_common() local
501 priv->cur_rx = ROUND(priv->cur_rx + rx_size + 4, 4); in rtl8139_free_pkt_common()