Home
last modified time | relevance | path

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

/freebsd-14.2/sys/dev/ppbus/
H A Dif_plip.c478 while (ppb_rstr(ppbus) & CLPIP_SHAKE) in clpoutbyte()
495 while ((ppb_rstr(ppbus) & CLPIP_SHAKE)) in clpinbyte()
499 cl = ppb_rstr(ppbus); in clpinbyte()
506 c = ppb_rstr(ppbus); in clpinbyte()
590 cl = ppb_rstr(ppbus); in lp_intr()
598 c = ppb_rstr(ppbus); in lp_intr()
662 while (!(ppb_rstr(ppbus) & LPIP_SHAKE)) in lpoutbyte()
666 while (ppb_rstr(ppbus) & LPIP_SHAKE) in lpoutbyte()
705 while ((ppb_rstr(ppbus) & 0x08) == 0) in lpoutput()
777 if (ppb_rstr(ppbus) & LPIP_SHAKE) { in lpoutput()
[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_base.c68 r = ppb_rstr(bus); in ppb_poll_bus()
77 if ((ppb_rstr(bus) & mask) == status) in ppb_poll_bus()
193 r = status->status = ppb_rstr(bus); in ppb_get_status()
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 Dlpt.c169 #define NOT_READY(ppbus) ((ppb_rstr(ppbus)^LPS_INVERT)&LPS_MASK)
450 lprintf(("T %x ", ppb_rstr(ppbus))); in lptout()
545 lprintf(("status %x\n", ppb_rstr(ppbus))); in lptopen()
563 } while ((ppb_rstr(ppbus) & in lptopen()
622 while ((ppb_rstr(ppbus) & in lptclose()
879 ((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.c308 if (!(ppb_rstr(sc->ppbus) & nACK)) in ppsintr()