Home | History | Annotate | Download | only in i2o

Lines Matching defs:rb

1613 	struct i2o_reply *rb;
1621 rb = (struct i2o_reply *)((char *)sc->sc_rep + off);
1628 if ((le32toh(rb->msgflags) & I2O_MSGFLAGS_64BIT) != 0)
1634 ictx = le32toh(rb->msgictx);
1644 iop_reply_print(sc, rb);
1657 if ((rb->msgflags & I2O_MSGFLAGS_FAIL) != 0) {
1660 fn = (struct i2o_fault_notify *)rb;
1665 status = rb->reqstatus;
1666 tctx = le32toh(rb->msgtctx);
1685 if ((rb->msgflags & I2O_MSGFLAGS_FAIL) == 0)
1686 iop_reply_print(sc, rb);
1691 if ((rb->msgflags & I2O_MSGFLAGS_FAIL) != 0)
1702 iop_reply_print(sc, rb);
1705 im->im_detstatus = le16toh(rb->detail);
1709 size = (le32toh(rb->msgflags) >> 14) & ~3;
1714 memcpy(im->im_rb, rb, size);
1723 (*ii->ii_intr)(ii->ii_dv, im, rb);
1735 (*ii->ii_intr)(ii->ii_dv, NULL, rb);
1782 struct i2o_util_event_register_reply *rb;
1785 rb = reply;
1787 if ((rb->msgflags & I2O_MSGFLAGS_FAIL) != 0)
1790 event = le32toh(rb->event);
2259 iop_reply_print(struct iop_softc *sc, struct i2o_reply *rb)
2264 function = (le32toh(rb->msgfunc) >> 24) & 0xff;
2265 detail = le16toh(rb->detail);
2269 if (rb->reqstatus < sizeof(iop_status) / sizeof(iop_status[0]))
2270 statusstr = iop_status[rb->reqstatus];
2275 device_xname(sc->sc_dev), function, rb->reqstatus, statusstr);
2277 device_xname(sc->sc_dev), detail, le32toh(rb->msgictx),
2278 le32toh(rb->msgtctx));
2280 (le32toh(rb->msgfunc) >> 12) & 4095, le32toh(rb->msgfunc) & 4095,
2281 (le32toh(rb->msgflags) >> 8) & 0xff);