Searched refs:sc_resid (Results 1 – 3 of 3) sorted by relevance
110 int sc_resid; member311 if (sc->sc_resid > 1) { in kiic_intr()318 sc->sc_resid--; in kiic_intr()324 if (sc->sc_resid > 0) { in kiic_intr()326 sc->sc_resid--; in kiic_intr()328 if (sc->sc_resid == 0) /* done */ in kiic_intr()331 if (sc->sc_resid == 0) { in kiic_intr()337 sc->sc_resid--; in kiic_intr()394 sc->sc_resid = msgs[i].len; in kiic_transfer()397 timo = 1000 + sc->sc_resid * 200; in kiic_transfer()[all …]
382 if (sc->sc_resid == 0) { in bcm_bsc_empty_rx_fifo()385 sc->sc_resid = sc->sc_dlen; in bcm_bsc_empty_rx_fifo()392 --sc->sc_resid; in bcm_bsc_empty_rx_fifo()395 } while (sc->sc_resid > 0 && (status & BCM_BSC_STATUS_RXD)); in bcm_bsc_empty_rx_fifo()406 if (sc->sc_resid == 0) { in bcm_bsc_fill_tx_fifo()409 sc->sc_resid = sc->sc_dlen; in bcm_bsc_fill_tx_fifo()416 --sc->sc_resid; in bcm_bsc_fill_tx_fifo()419 } while (sc->sc_resid > 0 && (status & BCM_BSC_STATUS_TXD)); in bcm_bsc_fill_tx_fifo()428 if (sc->sc_replen > 0 && sc->sc_resid == 0) { in bcm_bsc_fill_tx_fifo()522 sc->sc_resid = 0; in bcm_bsc_transfer()
48 uint16_t sc_resid; member