Lines Matching refs:dcr
1560 rg.dcr = DCR_READ(pp); in ecpp_putioc()
1565 rg.dsr, rg.dcr); in ecpp_putioc()
1569 rg.dcr |= ECPP_SETREGS_DCR_MASK; in ecpp_putioc()
2183 uint8_t dcr; in ecpp_srvioc() local
2194 if ((rg->dcr & ECPP_SETREGS_DCR_MASK) != in ecpp_srvioc()
2201 dcr = DCR_READ(pp) & ~ECPP_REV_DIR; in ecpp_srvioc()
2203 dcr = (dcr & ECPP_SETREGS_DCR_MASK) | in ecpp_srvioc()
2204 (rg->dcr & ~ECPP_SETREGS_DCR_MASK); in ecpp_srvioc()
2205 DCR_WRITE(pp, dcr); in ecpp_srvioc()
2206 ecpp_error(pp->dip, "ECPPIOC_SETREGS:dcr=%x\n", dcr); in ecpp_srvioc()
2548 uint8_t ecr, dcr; in ecpp_flush() local
2618 dcr = DCR_READ(pp); in ecpp_flush()
2619 dcr &= ~(ECPP_REV_DIR | ECPP_INTR_EN); in ecpp_flush()
2620 DCR_WRITE(pp, dcr); in ecpp_flush()
3377 uint8_t dcr; in ecpp_pio_writeb() local
3379 dcr = DCR_READ(pp) & ~ECPP_REV_DIR; in ecpp_pio_writeb()
3380 dcr |= ECPP_INTR_EN; in ecpp_pio_writeb()
3388 if (dcr_write(pp, dcr | ECPP_STB) == FAILURE) { in ecpp_pio_writeb()
3398 if (dcr_write(pp, dcr & ~ECPP_STB) == FAILURE) { in ecpp_pio_writeb()
3617 uint8_t dcr; in ecpp_xfer_timeout() local
3639 dcr = DCR_READ(pp); in ecpp_xfer_timeout()
3640 (void) dcr_write(pp, dcr & ~(ECPP_REV_DIR | ECPP_INTR_EN)); in ecpp_xfer_timeout()