Lines Matching refs:dmabits
1154 unsigned char dmabits, int rxp, unsigned short len) in fst_log_rx_error() argument
1160 if (dmabits & RX_OFLO) { in fst_log_rx_error()
1165 if (dmabits & RX_CRC) { in fst_log_rx_error()
1170 if (dmabits & RX_FRAM) { in fst_log_rx_error()
1175 if (dmabits == (RX_STP | RX_ENP)) { in fst_log_rx_error()
1186 unsigned char dmabits, int rxp, unsigned short len) in fst_recover_rx_error() argument
1198 while ((dmabits & (DMA_OWN | RX_STP)) == 0) { in fst_recover_rx_error()
1206 dmabits = FST_RDB(card, rxDescrRing[pi][rxp].bits); in fst_recover_rx_error()
1207 dbg(DBG_ASS, "DMA Bits of next buffer was %x\n", dmabits); in fst_recover_rx_error()
1212 if (!(dmabits & DMA_OWN)) { in fst_recover_rx_error()
1226 unsigned char dmabits; in fst_intr_rx() local
1236 dmabits = FST_RDB(card, rxDescrRing[pi][rxp].bits); in fst_intr_rx()
1237 if (dmabits & DMA_OWN) { in fst_intr_rx()
1269 dbg(DBG_RX, "intr_rx: %d,%d: flags %x len %d\n", pi, rxp, dmabits, len); in fst_intr_rx()
1270 if (dmabits != (RX_STP | RX_ENP) || len > LEN_RX_BUFFER - 2) { in fst_intr_rx()
1271 fst_log_rx_error(card, port, dmabits, rxp, len); in fst_intr_rx()
1272 fst_recover_rx_error(card, port, dmabits, rxp, len); in fst_intr_rx()