Home
last modified time | relevance | path

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

/freebsd-12-stable/sys/dev/ppbus/
Dif_plip.c488 while (ppb_rstr(ppbus) & CLPIP_SHAKE) in clpoutbyte()
493 while (!(ppb_rstr(ppbus) & CLPIP_SHAKE)) in clpoutbyte()
505 while ((ppb_rstr(ppbus) & CLPIP_SHAKE)) in clpinbyte()
509 cl = ppb_rstr(ppbus); in clpinbyte()
512 while (!(ppb_rstr(ppbus) & CLPIP_SHAKE)) in clpinbyte()
516 c = ppb_rstr(ppbus); in clpinbyte()
598 while ((ppb_rstr(ppbus) & LPIP_SHAKE)) { in lp_intr()
603 cl = ppb_rstr(ppbus); in lp_intr()
607 while ((ppb_rstr(ppbus) & LPIP_SHAKE)) in lp_intr()
611 c = ppb_rstr(ppbus); in lp_intr()
[all …]
Dlpbb.c152 rval = ((ppb_rstr(ppbus) & SCL_in) == SCL_in); in lpbb_getscl()
164 rval = ((ppb_rstr(ppbus) & SDA_in) == SDA_in); in lpbb_getsda()
209 if ((ppb_rstr(ppbus) & I2CKEY) || in lpbb_detect()
210 ((ppb_rstr(ppbus) & ALIM) != ALIM)) { in lpbb_detect()
Dppb_1284.c141 ppb_rstr(bus) & 0xff, event); in ppb_1284_set_error()
212 while (spin-- && (ppb_rstr(bus) & nBUSY)) in ppb_peripheral_negociate()
216 if (!(ppb_rstr(bus) & SELECT) || !spin) { in ppb_peripheral_negociate()
348 if (!(ppb_rstr(bus) & SELECT)) { in byte_peripheral_outbyte()
384 if (!(ppb_rstr(bus) & SELECT)) { in byte_peripheral_outbyte()
505 nibble[i] = ppb_rstr(bus); in nibble_1284_inbyte()
557 while ((len < max) && !(ppb_rstr(bus) & (nFAULT))) { in spp_1284_read()
Dppb_base.c70 r = ppb_rstr(bus); in ppb_poll_bus()
79 if ((ppb_rstr(bus) & mask) == status) in ppb_poll_bus()
195 r = status->status = ppb_rstr(bus); in ppb_get_status()
Dlpt.c174 #define NOT_READY(ppbus) ((ppb_rstr(ppbus)^LPS_INVERT)&LPS_MASK)
456 lprintf(("T %x ", ppb_rstr(ppbus))); in lptout()
551 lprintf(("status %x\n", ppb_rstr(ppbus))); in lptopen()
569 } while ((ppb_rstr(ppbus) & in lptopen()
628 while ((ppb_rstr(ppbus) & in lptclose()
886 ((sts=ppb_rstr(ppbus)) & RDY_MASK) != LP_READY; i++) ; in lptintr()
Dppi.c249 if ((ppb_rstr(ppbus) & (SELECT | nBUSY)) == in ppiintr()
263 printf("0x%x", ppb_rstr(ppbus)); in ppiintr()
565 *val = ppb_rstr(ppbus); in ppiioctl()
Dpcfclock.c88 ((ppb_rstr(ppbus) & SELECT) == (i & 1 ? SELECT : 0))
91 #define BIT_SET (ppb_rstr(ppbus)&PERROR)
Dppbio.h73 #define ppb_rstr(dev) \ macro
Dpps.c312 if (!(ppb_rstr(sc->ppbus) & nACK)) in ppsintr()
Dvpoio.c532 return (ppb_rstr(ppbus) & 0xf0); in vpoio_wait()