Lines Matching refs:stat
198 u32 stat; member
221 bd->stat = ethoc_read(priv, offset + 0); in ethoc_read_bd()
229 ethoc_write(priv, offset + 0, bd->stat); in ethoc_write_bd()
271 bd.stat = TX_BD_IRQ | TX_BD_CRC; in ethoc_init_ring()
280 bd.stat |= TX_BD_WRAP; in ethoc_init_ring()
285 bd.stat = RX_BD_EMPTY | RX_BD_IRQ; in ethoc_init_ring()
295 bd.stat |= RX_BD_WRAP; in ethoc_init_ring()
364 if (bd->stat & RX_BD_TL) { in ethoc_update_rx_stats()
369 if (bd->stat & RX_BD_SF) { in ethoc_update_rx_stats()
374 if (bd->stat & RX_BD_DN) in ethoc_update_rx_stats()
377 if (bd->stat & RX_BD_CRC) { in ethoc_update_rx_stats()
382 if (bd->stat & RX_BD_OR) { in ethoc_update_rx_stats()
387 if (bd->stat & RX_BD_LC) { in ethoc_update_rx_stats()
402 if (bd.stat & RX_BD_EMPTY) in ethoc_rx_common()
406 __func__, priv->cur_rx, bd.stat); in ethoc_rx_common()
408 int size = bd.stat >> 16; in ethoc_rx_common()
439 if (bd->stat & TX_BD_LC) in ethoc_update_tx_stats()
442 if (bd->stat & TX_BD_RL) in ethoc_update_tx_stats()
445 if (bd->stat & TX_BD_UR) in ethoc_update_tx_stats()
448 if (bd->stat & TX_BD_CS) in ethoc_update_tx_stats()
460 if ((bd.stat & TX_BD_READY) == 0) in ethoc_tx()
474 bd.stat |= TX_BD_PAD; in ethoc_send_common()
476 bd.stat &= ~TX_BD_PAD; in ethoc_send_common()
487 bd.stat &= ~(TX_BD_STATS | TX_BD_LEN_MASK); in ethoc_send_common()
488 bd.stat |= TX_BD_LEN(length); in ethoc_send_common()
492 bd.stat |= TX_BD_READY; in ethoc_send_common()
533 bd.stat &= ~RX_BD_STATS; in ethoc_free_pkt_common()
534 bd.stat |= RX_BD_EMPTY; in ethoc_free_pkt_common()