Lines Matching refs:p_reg
119 tMCA_HANDLE MCA_Register(tMCA_REG *p_reg, tMCA_CTRL_CBACK *p_cback) in MCA_Register() argument
126 assert(p_reg != NULL ); in MCA_Register()
129 MCA_TRACE_API ("MCA_Register: ctrl_psm:0x%x, data_psm:0x%x", p_reg->ctrl_psm, p_reg->data_psm); in MCA_Register()
131 if ( (p_rcb = mca_rcb_alloc (p_reg)) != NULL) in MCA_Register()
133 if (p_reg->ctrl_psm) in MCA_Register()
135 if (L2C_INVALID_PSM(p_reg->ctrl_psm) || L2C_INVALID_PSM(p_reg->data_psm)) in MCA_Register()
146 if (L2CA_Register(p_reg->ctrl_psm, (tL2CAP_APPL_INFO *) &l2c_cacp_appl) && in MCA_Register()
147 L2CA_Register(p_reg->data_psm, (tL2CAP_APPL_INFO *) &l2c_dacp_appl)) in MCA_Register()
150 BTM_SetSecurityLevel(FALSE, "", BTM_SEC_SERVICE_MCAP_CTRL, p_reg->sec_mask, in MCA_Register()
151 p_reg->ctrl_psm, BTM_SEC_PROTO_MCA, MCA_CTRL_TCID); in MCA_Register()
157 BTM_SetSecurityLevel(FALSE, "", BTM_SEC_SERVICE_MCAP_DATA, p_reg->sec_mask, in MCA_Register()
158 p_reg->data_psm, BTM_SEC_PROTO_MCA, MCA_CTRL_TCID); in MCA_Register()
170 p_rcb->reg.rsp_tout = p_reg->rsp_tout; in MCA_Register()