Lines Matching defs:rcb

931 	struct mpi_rcb			*rcb = NULL;
943 rcb = &sc->sc_rcbs[i];
946 MPI_DMA_MAP(sc->sc_replies), rcb->rcb_offset,
949 reply = rcb->rcb_reply;
973 ccb->ccb_rcb = rcb;
1167 mpi_push_reply(struct mpi_softc *sc, struct mpi_rcb *rcb)
1170 rcb->rcb_offset, MPI_REPLY_SIZE, BUS_DMASYNC_PREREAD);
1171 mpi_push_reply_db(sc, rcb->rcb_reply_dva);
1177 struct mpi_rcb *rcb;
1185 rcb = &sc->sc_rcbs[i];
1187 rcb->rcb_reply = kva + MPI_REPLY_SIZE * i;
1188 rcb->rcb_offset = MPI_REPLY_SIZE * i;
1189 rcb->rcb_reply_dva = (u_int32_t)MPI_DMA_DVA(sc->sc_replies) +
1191 mpi_push_reply_db(sc, rcb->rcb_reply_dva);
2283 struct mpi_rcb *rcb = ccb->ccb_rcb;
2284 struct mpi_msg_event_reply *enp = rcb->rcb_reply;
2314 if (mpi_evt_sas(sc, rcb) != 0) {
2332 mpi_eventnotify_free(sc, rcb);
2336 mpi_eventnotify_free(struct mpi_softc *sc, struct mpi_rcb *rcb)
2338 struct mpi_msg_event_reply *enp = rcb->rcb_reply;
2342 SIMPLEQ_INSERT_TAIL(&sc->sc_evt_ack_queue, rcb, rcb_link);
2346 mpi_push_reply(sc, rcb);
2350 mpi_evt_sas(struct mpi_softc *sc, struct mpi_rcb *rcb)
2355 data = rcb->rcb_reply;
2379 SIMPLEQ_INSERT_TAIL(&sc->sc_evt_scan_queue, rcb, rcb_link);
2404 struct mpi_rcb *rcb, *next;
2412 rcb = SIMPLEQ_FIRST(&sc->sc_evt_scan_queue);
2413 if (rcb != NULL) {
2414 next = SIMPLEQ_NEXT(rcb, rcb_link);
2419 if (rcb == NULL) {
2424 enp = rcb->rcb_reply;
2436 mpi_eventnotify_free(sc, rcb);
2516 struct mpi_rcb *rcb, *next;
2523 rcb = SIMPLEQ_FIRST(&sc->sc_evt_ack_queue);
2524 if (rcb != NULL) {
2525 next = SIMPLEQ_NEXT(rcb, rcb_link);
2530 if (rcb == NULL) {
2535 enp = rcb->rcb_reply;
2545 mpi_push_reply(sc, rcb);