Lines Matching refs:mdl_id

422                                          UINT16 mdl_id, UINT8 peer_dep_id,  in MCA_CreateMdl()  argument
429 …MCA_TRACE_API ("MCA_CreateMdl: %d dep=%d mdl_id=%d peer_dep_id=%d", mcl, dep, mdl_id, peer_dep_id); in MCA_CreateMdl()
438 if ((peer_dep_id > MCA_MAX_MDEP_ID) || (!MCA_IS_VALID_MDL_ID(mdl_id))) in MCA_CreateMdl()
440 MCA_TRACE_ERROR ("bad peer dep id:%d or bad mdl id: %d ", peer_dep_id, mdl_id); in MCA_CreateMdl()
444 if (mca_ccb_uses_mdl_id(p_ccb, mdl_id)) in MCA_CreateMdl()
446 MCA_TRACE_ERROR ("mdl id: %d is used in the control link", mdl_id); in MCA_CreateMdl()
456 p_dcb->mdl_id = mdl_id; in MCA_CreateMdl()
464 p_evt_data->mdl_id = mdl_id; in MCA_CreateMdl()
497 UINT16 mdl_id, UINT8 cfg, UINT8 rsp_code, in MCA_CreateMdlRsp() argument
505 …MCA_TRACE_API ("MCA_CreateMdlRsp: %d dep=%d mdl_id=%d cfg=%d rsp_code=%d", mcl, dep, mdl_id, cfg, … in MCA_CreateMdlRsp()
515 … && (p_ccb->p_rx_msg->mdl_id == mdl_id) && (p_ccb->p_rx_msg->op_code == MCA_OP_MDL_CREATE_REQ)) in MCA_CreateMdlRsp()
526 p_dcb->mdl_id = mdl_id; in MCA_CreateMdlRsp()
537 evt_data.mdl_id = mdl_id; in MCA_CreateMdlRsp()
595 UINT16 mdl_id, const tMCA_CHNL_CFG *p_chnl_cfg) in MCA_ReconnectMdl() argument
611 if (!MCA_IS_VALID_MDL_ID(mdl_id)) in MCA_ReconnectMdl()
613 MCA_TRACE_ERROR ("bad mdl id: %d ", mdl_id); in MCA_ReconnectMdl()
617 if (mca_ccb_uses_mdl_id(p_ccb, mdl_id)) in MCA_ReconnectMdl()
619 MCA_TRACE_ERROR ("mdl id: %d is used in the control link", mdl_id); in MCA_ReconnectMdl()
630 p_dcb->mdl_id = mdl_id; in MCA_ReconnectMdl()
634 p_evt_data->mdl_id = mdl_id; in MCA_ReconnectMdl()
659 UINT16 mdl_id, UINT8 rsp_code, in MCA_ReconnectMdlRsp() argument
676 if (p_ccb->p_rx_msg && (p_ccb->p_rx_msg->mdl_id == mdl_id) && in MCA_ReconnectMdlRsp()
688 p_dcb->mdl_id = mdl_id; in MCA_ReconnectMdlRsp()
698 evt_data.mdl_id = mdl_id; in MCA_ReconnectMdlRsp()
817 tMCA_RESULT MCA_Delete(tMCA_CL mcl, UINT16 mdl_id) in MCA_Delete() argument
830 if (!MCA_IS_VALID_MDL_ID(mdl_id) && (mdl_id != MCA_ALL_MDL_ID)) in MCA_Delete()
832 MCA_TRACE_ERROR ("bad mdl id: %d ", mdl_id); in MCA_Delete()
838 p_evt_data->mdl_id = mdl_id; in MCA_Delete()