Lines Matching refs:next_packet
536 sc->next_packet = sc->rec_page_start + 1;
621 * Set Current Page pointer to next_packet (initialized above)
623 ed_nic_outb(sc, ED_P1_CURR, sc->next_packet);
837 * 'sc->next_packet' is the logical beginning of the ring-buffer -
844 while (sc->next_packet != ed_nic_inb(sc, ED_P1_CURR)) {
848 (sc->next_packet - sc->rec_page_start) * ED_PAGE_SIZE;
867 * NOTE: sc->next_packet is pointing at the current
871 if (packet_hdr.next_packet >= sc->next_packet)
872 len += (packet_hdr.next_packet -
873 sc->next_packet) * ED_PAGE_SIZE;
876 ((packet_hdr.next_packet - sc->rec_page_start) +
877 (sc->rec_page_stop - sc->next_packet)) * ED_PAGE_SIZE;
902 (packet_hdr.next_packet >= sc->rec_page_start) &&
903 (packet_hdr.next_packet < sc->rec_page_stop)) {
925 sc->next_packet = packet_hdr.next_packet;
931 boundry = sc->next_packet - 1;