Lines Matching defs:drr
332 dp_req_resp_t *drr = &dps->req_resp;
339 if ((drr->flags & MSG_SENT) == 0) {
352 drr->flags |= MSG_ACKED;
353 if (drr->response.msg_type == DP_NULL_MSG) {
366 dp_req_resp_t *drr = &dps->req_resp;
372 if ((drr->flags & MSG_SENT) == 0) {
446 dp_req_resp_t *drr = &dps->req_resp;
454 if ((drr->flags & MSG_SENT_BP) != 0) {
467 if (datalen <= drr->response.msg_bufsiz) {
468 bcopy(pkt->buf, drr->response.msg_buf, datalen);
469 drr->response.msg_msglen = datalen;
472 drr->response.msg_msglen = -1;
602 dp_req_resp_t *drr = &rcs->dp_state.req_resp;
607 (drr->flags & (MSG_SENT | MSG_SENT_BP)) != 0, flags));
609 if ((drr->flags & (MSG_SENT | MSG_SENT_BP)) != 0) {
610 drr->flags |= flags;
611 cv_signal(drr->cv_wait_reply);
933 dp_req_resp_t *drr = &dps->req_resp;
1136 } else if ((drr->flags & MSG_SENT) != 0 &&
1137 drr->response.msg_type == dp_msgp->type) {
1141 datalen, drr->response.msg_bufsiz));
1146 if (datalen <= drr->response.msg_bufsiz) {
1147 bcopy(datap, drr->response.msg_buf, datalen);
1148 drr->response.msg_msglen = datalen;
1151 drr->response.msg_msglen = -1;
1155 (drr->flags & MSG_SENT) != 0 &&
1156 ((dp_invcmd_t *)datap)->inv_type == drr->request.msg_type) {
1157 drr->error_status = RCEINVCMD;
1203 dp_req_resp_t *drr = &dps->req_resp;
1224 if ((drr->flags & MSG_ERROR) != 0) {
1227 "msg send error flag=%02x\n", drr->flags));
1230 } else if ((drr->flags & MSG_ACKED) != 0) {
1233 "msg already ACKed flag=%02x\n", drr->flags));
1236 } else if ((drr->flags & MSG_SENT) == 0) {
1271 drr->retries_left = TX_RETRIES;
1282 pkt = &drr->request;
1423 pkt = &drr->request;
1437 if (drr->retries_left-- <= 0) {
1439 drr->flags |= MSG_ERROR; /* set error flag */
1467 drr->flags |= MSG_SENT;
1560 dp_req_resp_t *drr = &dps->req_resp;
1561 dp_message_t *req = &drr->request;
1562 dp_message_t *resp = &drr->response;
1575 drr->flags = 0;
1576 drr->error_status = 0;