Lines Matching defs:p_QmCg

550                     t_QmCg *p_QmCg = (t_QmCg *)(p_QmPortal->cgsHandles[i*32 + j]);
551 if(p_QmCg->f_Exception)
552 p_QmCg->f_Exception(p_QmCg->h_App, e_QM_EX_CG_STATE_CHANGE);
909 t_QmCg *p_QmCg = (t_QmCg *)h_QmCg;
911 return p_QmCg->id;
2262 t_QmCg *p_QmCg;
2289 p_QmCg = (t_QmCg *)XX_Malloc(sizeof(t_QmCg));
2290 if (!p_QmCg)
2295 memset(p_QmCg, 0, sizeof(t_QmCg));
2298 p_QmCg->h_Qm = p_CgParams->h_Qm;
2299 p_QmCg->h_QmPortal = p_QmPortal;
2300 p_QmCg->h_App = p_CgParams->h_App;
2301 err = QmGetCgId(p_CgParams->h_Qm, &p_QmCg->id);
2304 XX_Free(p_QmCg);
2311 p_Mcc->initcgr.cgid = p_QmCg->id;
2313 err = QmPortalRegisterCg(p_QmPortal, p_QmCg, p_QmCg->id);
2316 XX_Free(p_QmCg);
2327 QmGetRevision(p_QmCg->h_Qm, &revInfo);
2345 XX_Free(p_QmCg);
2359 XX_Free(p_QmCg);
2373 XX_Free(p_QmCg);
2388 XX_Free(p_QmCg);
2400 p_QmCg->f_Exception = p_CgParams->f_Exception;
2401 if (p_QmCg->f_Exception || p_CgParams->notifyDcPortal)
2407 if (p_QmCg->f_Exception)
2408 p_Mcc->initcgr.cgr.cscn_targ = (uint32_t)QM_CGR_TARGET_SWP(QmPortalGetSwPortalId(p_QmCg->h_QmPortal));
2431 XX_Free(p_QmCg);
2442 XX_Free(p_QmCg);
2449 return p_QmCg;
2455 t_QmCg *p_QmCg = (t_QmCg *)h_QmCg;
2461 SANITY_CHECK_RETURN_ERROR(p_QmCg, E_INVALID_HANDLE);
2463 p_QmPortal = (t_QmPortal *)p_QmCg->h_QmPortal;
2467 p_Mcc->initcgr.cgid = p_QmCg->id;
2470 err = QmFreeCgId(p_QmCg->h_Qm, p_QmCg->id);
2473 XX_Free(p_QmCg);
2478 err = QmPortalUnregisterCg(p_QmCg->h_QmPortal, p_QmCg->id);
2481 XX_Free(p_QmCg);
2496 XX_Free(p_QmCg);
2503 t_QmCg *p_QmCg = (t_QmCg *)h_QmCg;
2508 SANITY_CHECK_RETURN_ERROR(p_QmCg, E_INVALID_HANDLE);
2510 p_QmPortal = (t_QmPortal *)p_QmCg->h_QmPortal;
2511 if (!p_QmCg->f_Exception)
2516 p_Mcc->initcgr.cgid = p_QmCg->id;
2545 t_QmCg *p_QmCg = (t_QmCg *)h_QmCg;
2552 SANITY_CHECK_RETURN_ERROR(p_QmCg, E_INVALID_HANDLE);
2554 p_QmPortal = (t_QmPortal *)p_QmCg->h_QmPortal;
2558 p_Mcc->initcgr.cgid = p_QmCg->id;
2595 p_Mcc->initcgr.cgid = p_QmCg->id;
2639 t_QmCg *p_QmCg = (t_QmCg *)h_QmCg;
2646 SANITY_CHECK_RETURN_ERROR(p_QmCg, E_INVALID_HANDLE);
2648 p_QmPortal = (t_QmPortal *)p_QmCg->h_QmPortal;
2652 p_Mcc->initcgr.cgid = p_QmCg->id;
2670 p_Mcc->initcgr.cgid = p_QmCg->id;