Lines Matching refs:stat
150 writeb(0, &desc->stat); in sca_init_port()
238 u8 stat = sca_in(DSR_RX(port->chan), card); /* read DMA Status */ in sca_rx_done() local
242 sca_out((stat & (DSR_EOT | DSR_EOM | DSR_BOF | DSR_COF)) | DSR_DWE, in sca_rx_done()
245 if (stat & DSR_BOF) in sca_rx_done()
258 stat = readb(&desc->stat); in sca_rx_done()
259 if (!(stat & ST_RX_EOM)) in sca_rx_done()
261 else if ((stat & ST_ERROR_MASK) || port->rxpart) { in sca_rx_done()
263 if (stat & ST_RX_OVERRUN) in sca_rx_done()
265 else if ((stat & (ST_RX_SHORT | ST_RX_ABORT | in sca_rx_done()
268 else if (stat & ST_RX_CRC) in sca_rx_done()
270 if (stat & ST_RX_EOM) in sca_rx_done()
293 u8 stat; in sca_tx_done() local
298 stat = sca_in(DSR_TX(port->chan), card); /* read DMA Status */ in sca_tx_done()
301 sca_out((stat & (DSR_EOT | DSR_EOM | DSR_BOF | DSR_COF)) | DSR_DWE, in sca_tx_done()
306 u8 stat = readb(&desc->stat); in sca_tx_done() local
308 if (!(stat & ST_TX_OWNRSHP)) in sca_tx_done()
310 if (stat & ST_TX_UNDRRUN) { in sca_tx_done()
317 writeb(0, &desc->stat); /* Free descriptor */ in sca_tx_done()
531 pr_cont(" %02X", readb(&(desc_address(port, cnt, 0)->stat))); in sca_dump_rings()
542 pr_cont(" %02X", readb(&(desc_address(port, cnt, 1)->stat))); in sca_dump_rings()
575 BUG_ON(readb(&desc->stat)); /* previous xmit should stop queue */ in sca_xmit()
588 writeb(ST_TX_EOM, &desc->stat); in sca_xmit()
597 if (readb(&desc->stat)) /* allow 1 packet gap */ in sca_xmit()