Lines Matching defs:bits

192 	u8	rmd1_bits;	/* descriptor bits */
202 u8 tmd1_bits; /* descriptor bits */
215 /* Receive and transmit ring base, along with extra bits. */
508 u8 bits;
513 !((bits = rd->rmd1_bits) & LE_R1_OWN);
517 if ((bits & LE_R1_POK) != LE_R1_POK) {
520 } else if (bits & LE_R1_ERR) {
524 if (bits & LE_R1_BUF) dev->stats.rx_fifo_errors++;
525 if (bits & LE_R1_CRC) dev->stats.rx_crc_errors++;
526 if (bits & LE_R1_OFL) dev->stats.rx_over_errors++;
527 if (bits & LE_R1_FRA) dev->stats.rx_frame_errors++;
528 if (bits & LE_R1_EOP) dev->stats.rx_errors++;
573 u8 bits = td->tmd1_bits;
576 if (bits & LE_T1_OWN)
579 if (bits & LE_T1_ERR) {
614 } else if ((bits & LE_T1_POK) == LE_T1_POK) {
618 td->tmd1_bits = bits & ~(LE_T1_POK);
621 if (bits & LE_T1_EONE)
625 if (bits & LE_T1_EMORE)
677 unsigned char bits;
683 !((bits = sbus_readb(&rd->rmd1_bits)) & LE_R1_OWN);
687 if ((bits & LE_R1_POK) != LE_R1_POK) {
690 } else if (bits & LE_R1_ERR) {
694 if (bits & LE_R1_BUF) dev->stats.rx_fifo_errors++;
695 if (bits & LE_R1_CRC) dev->stats.rx_crc_errors++;
696 if (bits & LE_R1_OFL) dev->stats.rx_over_errors++;
697 if (bits & LE_R1_FRA) dev->stats.rx_frame_errors++;
698 if (bits & LE_R1_EOP) dev->stats.rx_errors++;
741 u8 bits = sbus_readb(&td->tmd1_bits);
744 if (bits & LE_T1_OWN)
747 if (bits & LE_T1_ERR) {
782 } else if ((bits & LE_T1_POK) == LE_T1_POK) {
786 sbus_writeb(bits & ~(LE_T1_POK), &td->tmd1_bits);
789 if (bits & LE_T1_EONE)
793 if (bits & LE_T1_EMORE)
922 /* On the 4m, setup the ledma to provide the upper bits for buffers */
1166 /* set all multicast bits */