Lines Matching refs:p_msg

100     tMCA_CCB_MSG *p_msg = (tMCA_CCB_MSG *)p_data;  in mca_ccb_snd_req()  local
105 MCA_TRACE_DEBUG ("mca_ccb_snd_req cong=%d req=%d", p_ccb->cong, p_msg->op_code); in mca_ccb_snd_req()
107 if ((p_ccb->status == MCA_CCB_STAT_PENDING) && (p_msg->op_code == MCA_OP_MDL_ABORT_REQ)) in mca_ccb_snd_req()
112 p_msg->mdl_id = p_dcb->mdl_id; in mca_ccb_snd_req()
122 p_ccb->p_tx_req = p_msg; in mca_ccb_snd_req()
129 *p++ = p_msg->op_code; in mca_ccb_snd_req()
130 UINT16_TO_BE_STREAM (p, p_msg->mdl_id); in mca_ccb_snd_req()
131 if (p_msg->op_code == MCA_OP_MDL_CREATE_REQ) { in mca_ccb_snd_req()
132 *p++ = p_msg->mdep_id; in mca_ccb_snd_req()
133 *p++ = p_msg->param; in mca_ccb_snd_req()
135 p_msg->hdr.layer_specific = TRUE; /* mark this message as sent */ in mca_ccb_snd_req()
164 tMCA_CCB_MSG *p_msg = (tMCA_CCB_MSG *)p_data; in mca_ccb_snd_rsp() local
169 MCA_TRACE_DEBUG("%s cong=%d req=%d", __func__, p_ccb->cong, p_msg->op_code); in mca_ccb_snd_rsp()
174 *p++ = p_msg->op_code; in mca_ccb_snd_rsp()
175 *p++ = p_msg->rsp_code; in mca_ccb_snd_rsp()
176 UINT16_TO_BE_STREAM (p, p_msg->mdl_id); in mca_ccb_snd_rsp()
177 if (p_msg->op_code == MCA_OP_MDL_CREATE_RSP) { in mca_ccb_snd_rsp()
178 *p++ = p_msg->param; in mca_ccb_snd_rsp()
181 else if (p_msg->op_code == MCA_OP_MDL_RECONNECT_RSP) { in mca_ccb_snd_rsp()
185 if (chk_mdl && p_msg->rsp_code == MCA_RSP_SUCCESS) { in mca_ccb_snd_rsp()
186 mca_dcb_by_hdl(p_msg->dcb_idx); in mca_ccb_snd_rsp()
190 p_msg->dcb_idx); in mca_ccb_snd_rsp()
196 p_ccb->p_tx_req->dcb_idx = p_msg->dcb_idx; in mca_ccb_snd_rsp()