Lines Matching refs:next_packet
531 sc->next_packet = sc->rec_page_start + 1;
616 * Set Current Page pointer to next_packet (initialized above)
618 ed_nic_outb(sc, ED_P1_CURR, sc->next_packet);
832 * 'sc->next_packet' is the logical beginning of the ring-buffer -
839 while (sc->next_packet != ed_nic_inb(sc, ED_P1_CURR)) {
843 (sc->next_packet - sc->rec_page_start) * ED_PAGE_SIZE;
862 * NOTE: sc->next_packet is pointing at the current
866 if (packet_hdr.next_packet >= sc->next_packet)
867 len += (packet_hdr.next_packet -
868 sc->next_packet) * ED_PAGE_SIZE;
871 ((packet_hdr.next_packet - sc->rec_page_start) +
872 (sc->rec_page_stop - sc->next_packet)) * ED_PAGE_SIZE;
897 (packet_hdr.next_packet >= sc->rec_page_start) &&
898 (packet_hdr.next_packet < sc->rec_page_stop)) {
920 sc->next_packet = packet_hdr.next_packet;
926 boundry = sc->next_packet - 1;