Lines Matching refs:packet
532 * Grab the next packet. If it's too big, drop it.
538 if_printf(ifp, "large packet discarded\n");
552 * control data for the packet in this calculation.
596 u_int packet, len;
618 packet = smc_read_1(sc, ARR);
621 * If the allocation failed, requeue the packet and retry.
623 if (packet & ARR_FAILED) {
633 * Tell the device to write to our packet number.
635 smc_write_1(sc, PNR, packet);
639 * Tell the device how long the packet is (including control data).
673 * Enqueue the packet.
698 u_int packet, status, len;
711 packet = smc_read_1(sc, FIFO_RX);
712 while ((packet & FIFO_EMPTY) == 0) {
726 * Point to the start of the packet.
729 smc_write_1(sc, PNR, packet);
733 * Grab status and packet length.
760 * Pull the packet out of the device. Make sure we're in the
765 smc_write_1(sc, PNR, packet);
790 packet = smc_read_1(sc, FIFO_RX);
860 u_int status, packet, counter, tcr;
880 * Kill off the packet if there is one and re-enable transmit.
882 packet = smc_read_1(sc, FIFO_TX);
883 if ((packet & FIFO_EMPTY) == 0) {
886 smc_write_1(sc, PNR, packet);
894 "bad packet\n");