Lines Matching refs:rx_desc
1276 struct rx_desc *rx_desc; in r8152_recv() local
1298 rx_desc = (struct rx_desc *)(recv_buf + bytes_process); in r8152_recv()
1299 pkt_ptr = recv_buf + sizeof(struct rx_desc) + bytes_process; in r8152_recv()
1301 packet_len = le32_to_cpu(rx_desc->opts1) & RX_LEN_MASK; in r8152_recv()
1307 (packet_len + sizeof(struct rx_desc) + CRC_SIZE); in r8152_recv()
1510 struct rx_desc *rx_desc; in r8152_eth_recv() local
1526 rx_desc = (struct rx_desc *)ptr; in r8152_eth_recv()
1527 packet_len = le32_to_cpu(rx_desc->opts1) & RX_LEN_MASK; in r8152_eth_recv()
1530 if (packet_len > len - (sizeof(struct rx_desc) + CRC_SIZE)) { in r8152_eth_recv()
1535 *packetp = ptr + sizeof(struct rx_desc); in r8152_eth_recv()
1547 packet_len += sizeof(struct rx_desc) + CRC_SIZE; in r8152_free_pkt()