ppb_rstr
ppb_rstr(bus) & 0xff, event);
while (spin-- && (ppb_rstr(bus) & nBUSY))
if (!(ppb_rstr(bus) & SELECT) || !spin) {
if (!(ppb_rstr(bus) & SELECT)) {
if (!(ppb_rstr(bus) & SELECT)) {
nibble[i] = ppb_rstr(bus);
while ((len < max) && !(ppb_rstr(bus) & (nFAULT))) {
r = status->status = ppb_rstr(bus);
r = ppb_rstr(bus);
if ((ppb_rstr(bus) & mask) == status)
return (ppb_rstr(ppbus) & 0xf0);
return ((ppb_rstr(device_get_parent(dev)) & SCL_in) == SCL_in);
return ((ppb_rstr(device_get_parent(dev)) & SDA_in) == SDA_in);
if ((ppb_rstr(ppbus) & I2CKEY) ||
((ppb_rstr(ppbus) & ALIM) != ALIM)) {
#define NOT_READY(ppbus) ((ppb_rstr(ppbus)^LPS_INVERT)&LPS_MASK)
lprintf(("T %x ", ppb_rstr(ppbus)));
lprintf(("status %x\n", ppb_rstr(ppbus)));
} while ((ppb_rstr(ppbus) &
while ((ppb_rstr(ppbus) &
((sts=ppb_rstr(ppbus)) & RDY_MASK) != LP_READY; i++) ;
((ppb_rstr(ppbus) & SELECT) == (i & 1 ? SELECT : 0))
#define BIT_SET (ppb_rstr(ppbus)&PERROR)
if ((ppb_rstr(ppbus) & (SELECT | nBUSY)) ==
kprintf("0x%x", ppb_rstr(ppbus));
*val = ppb_rstr(ppbus);
if (!(ppb_rstr(ppbus) & nACK))
while (ppb_rstr(ppbus) & CLPIP_SHAKE)
while (!(ppb_rstr(ppbus) & CLPIP_SHAKE))
while((ppb_rstr(ppbus) & CLPIP_SHAKE))
cl = ppb_rstr(ppbus);
while(!(ppb_rstr(ppbus) & CLPIP_SHAKE))
c = ppb_rstr(ppbus);
while ((ppb_rstr(ppbus) & LPIP_SHAKE)) {
cl = ppb_rstr(ppbus);
while((ppb_rstr(ppbus) & LPIP_SHAKE))
c = ppb_rstr(ppbus);
while (!((cl=ppb_rstr(ppbus)) & LPIP_SHAKE)) {
(((cl = ppb_rstr(ppbus)) ^ 0xb8) & 0xf8) ==
while (!(ppb_rstr(ppbus) & LPIP_SHAKE))
while (ppb_rstr(ppbus) & LPIP_SHAKE)
if (!(ppb_rstr(ppbus) & CLPIP_SHAKE)) {
while ((ppb_rstr(ppbus) & 0x08) == 0)
if (!(ppb_rstr(ppbus) & CLPIP_SHAKE)) {
if (ppb_rstr(ppbus) & LPIP_SHAKE) {
if (ppb_rstr(ppbus) & LPIP_SHAKE) {