Lines Matching refs:nop
677 nop_t nop; in ether1_sendpacket() local
711 nop.nop_status = 0; in ether1_sendpacket()
712 nop.nop_command = CMD_NOP; in ether1_sendpacket()
713 nop.nop_link = nopaddr; in ether1_sendpacket()
719 ether1_writebuffer (dev, &nop, nopaddr, NOP_SIZE); in ether1_sendpacket()
746 nop_t nop; in ether1_xmit_done() local
752 ether1_readbuffer (dev, &nop, caddr, NOP_SIZE); in ether1_xmit_done()
754 switch (nop.nop_command & CMD_MASK) { in ether1_xmit_done()
767 if (nop.nop_link == caddr) { in ether1_xmit_done()
774 if (caddr == nop.nop_link) in ether1_xmit_done()
776 caddr = nop.nop_link; in ether1_xmit_done()
780 if (nop.nop_status & STAT_COMPLETE) in ether1_xmit_done()
788 nop.nop_command & CMD_MASK, caddr); in ether1_xmit_done()
793 while (nop.nop_status & STAT_COMPLETE) { in ether1_xmit_done()
794 if (nop.nop_status & STAT_OK) { in ether1_xmit_done()
796 dev->stats.collisions += (nop.nop_status & STAT_COLLISIONS); in ether1_xmit_done()
800 if (nop.nop_status & STAT_COLLAFTERTX) in ether1_xmit_done()
802 if (nop.nop_status & STAT_NOCARRIER) in ether1_xmit_done()
804 if (nop.nop_status & STAT_TXLOSTCTS) in ether1_xmit_done()
806 if (nop.nop_status & STAT_TXSLOWDMA) in ether1_xmit_done()
808 if (nop.nop_status & STAT_COLLEXCESSIVE) in ether1_xmit_done()
812 if (nop.nop_link == caddr) { in ether1_xmit_done()
817 caddr = nop.nop_link; in ether1_xmit_done()
818 ether1_readbuffer (dev, &nop, caddr, NOP_SIZE); in ether1_xmit_done()
819 if ((nop.nop_command & CMD_MASK) != CMD_NOP) { in ether1_xmit_done()
824 if (caddr == nop.nop_link) in ether1_xmit_done()
827 caddr = nop.nop_link; in ether1_xmit_done()
828 ether1_readbuffer (dev, &nop, caddr, NOP_SIZE); in ether1_xmit_done()
829 if ((nop.nop_command & CMD_MASK) != CMD_TX) { in ether1_xmit_done()