Lines Matching refs:stat

197 	u32 stat;  member
220 bd->stat = ethoc_read(priv, offset + 0); in ethoc_read_bd()
228 ethoc_write(priv, offset + 0, bd->stat); in ethoc_write_bd()
270 bd.stat = TX_BD_IRQ | TX_BD_CRC; in ethoc_init_ring()
279 bd.stat |= TX_BD_WRAP; in ethoc_init_ring()
284 bd.stat = RX_BD_EMPTY | RX_BD_IRQ; in ethoc_init_ring()
294 bd.stat |= RX_BD_WRAP; in ethoc_init_ring()
363 if (bd->stat & RX_BD_TL) { in ethoc_update_rx_stats()
368 if (bd->stat & RX_BD_SF) { in ethoc_update_rx_stats()
373 if (bd->stat & RX_BD_DN) in ethoc_update_rx_stats()
376 if (bd->stat & RX_BD_CRC) { in ethoc_update_rx_stats()
381 if (bd->stat & RX_BD_OR) { in ethoc_update_rx_stats()
386 if (bd->stat & RX_BD_LC) { in ethoc_update_rx_stats()
401 if (bd.stat & RX_BD_EMPTY) in ethoc_rx_common()
405 __func__, priv->cur_rx, bd.stat); in ethoc_rx_common()
407 int size = bd.stat >> 16; in ethoc_rx_common()
438 if (bd->stat & TX_BD_LC) in ethoc_update_tx_stats()
441 if (bd->stat & TX_BD_RL) in ethoc_update_tx_stats()
444 if (bd->stat & TX_BD_UR) in ethoc_update_tx_stats()
447 if (bd->stat & TX_BD_CS) in ethoc_update_tx_stats()
459 if ((bd.stat & TX_BD_READY) == 0) in ethoc_tx()
473 bd.stat |= TX_BD_PAD; in ethoc_send_common()
475 bd.stat &= ~TX_BD_PAD; in ethoc_send_common()
486 bd.stat &= ~(TX_BD_STATS | TX_BD_LEN_MASK); in ethoc_send_common()
487 bd.stat |= TX_BD_LEN(length); in ethoc_send_common()
491 bd.stat |= TX_BD_READY; in ethoc_send_common()
532 bd.stat &= ~RX_BD_STATS; in ethoc_free_pkt_common()
533 bd.stat |= RX_BD_EMPTY; in ethoc_free_pkt_common()