Home
last modified time | relevance | path

Searched refs:ppb_rstr (Results 1 – 9 of 9) sorted by relevance

/freebsd/sys/dev/ppbus/
H A Dif_plip.c478 while (ppb_rstr(ppbus) & CLPIP_SHAKE) in clpoutbyte()
483 while (!(ppb_rstr(ppbus) & CLPIP_SHAKE)) in clpoutbyte()
495 while ((ppb_rstr(ppbus) & CLPIP_SHAKE)) in clpinbyte()
499 cl = ppb_rstr(ppbus); in clpinbyte()
502 while (!(ppb_rstr(ppbus) & CLPIP_SHAKE)) in clpinbyte()
506 c = ppb_rstr(ppbus); in clpinbyte()
586 while ((ppb_rstr(ppbus) & LPIP_SHAKE)) { in lp_intr()
590 cl = ppb_rstr(ppbus); in lp_intr()
594 while ((ppb_rstr(ppbus) & LPIP_SHAKE)) in lp_intr()
598 c = ppb_rstr(ppbu in lp_intr()
[all...]
H A Dlpbb.c149 rval = ((ppb_rstr(ppbus) & SCL_in) == SCL_in); in lpbb_getscl()
161 rval = ((ppb_rstr(ppbus) & SDA_in) == SDA_in); in lpbb_getsda()
206 if ((ppb_rstr(ppbus) & I2CKEY) || in lpbb_detect()
207 ((ppb_rstr(ppbus) & ALIM) != ALIM)) { in lpbb_detect()
H A Dppb_1284.c138 ppb_rstr(bus) & 0xff, event); in ppb_1284_set_error()
209 while (spin-- && (ppb_rstr(bus) & nBUSY)) in ppb_peripheral_negociate()
213 if (!(ppb_rstr(bus) & SELECT) || !spin) { in ppb_peripheral_negociate()
344 if (!(ppb_rstr(bus) & SELECT)) { in byte_peripheral_outbyte()
380 if (!(ppb_rstr(bus) & SELECT)) { in byte_peripheral_outbyte()
500 nibble[i] = ppb_rstr(bus); in nibble_1284_inbyte()
552 while ((len < max) && !(ppb_rstr(bus) & (nFAULT))) { in spp_1284_read()
H A Dppb_base.c67 r = ppb_rstr(bus); in ppb_poll_bus()
76 if ((ppb_rstr(bus) & mask) == status) in ppb_poll_bus()
192 r = status->status = ppb_rstr(bus); in ppb_get_status()
H A Dlpt.c169 #define NOT_READY(ppbus) ((ppb_rstr(ppbus)^LPS_INVERT)&LPS_MASK)
449 lprintf(("T %x ", ppb_rstr(ppbus))); in lptout()
544 lprintf(("status %x\n", ppb_rstr(ppbus))); in lptopen()
562 } while ((ppb_rstr(ppbus) & RDY_MASK) != LP_READY); in lptopen()
619 while ((ppb_rstr(ppbus) & RDY_MASK) != LP_READY || sc->sc_xfercnt) in lptclose()
874 ((sts=ppb_rstr(ppbus)) & RDY_MASK) != LP_READY; i++) ; in lptintr()
H A Dppi.c241 if ((ppb_rstr(ppbus) & (SELECT | nBUSY)) == in ppiintr()
255 printf("0x%x", ppb_rstr(ppbus)); in ppiintr()
555 *val = ppb_rstr(ppbus); in ppiioctl()
H A Dpcfclock.c84 ((ppb_rstr(ppbus) & SELECT) == (i & 1 ? SELECT : 0))
87 #define BIT_SET (ppb_rstr(ppbus)&PERROR)
H A Dppbio.h71 #define ppb_rstr(dev) \ macro
H A Dpps.c307 if (!(ppb_rstr(sc->ppbus) & nACK)) in ppsintr()