Lines Matching refs:stat
147 writeb(0, &desc->stat);
235 u8 stat = sca_in(DSR_RX(port->chan), card); /* read DMA Status */
239 sca_out((stat & (DSR_EOT | DSR_EOM | DSR_BOF | DSR_COF)) | DSR_DWE,
242 if (stat & DSR_BOF)
255 stat = readb(&desc->stat);
256 if (!(stat & ST_RX_EOM))
258 else if ((stat & ST_ERROR_MASK) || port->rxpart) {
260 if (stat & ST_RX_OVERRUN)
262 else if ((stat & (ST_RX_SHORT | ST_RX_ABORT |
265 else if (stat & ST_RX_CRC)
267 if (stat & ST_RX_EOM)
290 u8 stat;
295 stat = sca_in(DSR_TX(port->chan), card); /* read DMA Status */
298 sca_out((stat & (DSR_EOT | DSR_EOM | DSR_BOF | DSR_COF)) | DSR_DWE,
303 u8 stat = readb(&desc->stat);
305 if (!(stat & ST_TX_OWNRSHP))
307 if (stat & ST_TX_UNDRRUN) {
314 writeb(0, &desc->stat); /* Free descriptor */
528 pr_cont(" %02X", readb(&(desc_address(port, cnt, 0)->stat)));
539 pr_cont(" %02X", readb(&(desc_address(port, cnt, 1)->stat)));
572 BUG_ON(readb(&desc->stat)); /* previous xmit should stop queue */
585 writeb(ST_TX_EOM, &desc->stat);
594 if (readb(&desc->stat)) /* allow 1 packet gap */