Lines Matching refs:h_Ad
73 return p_CurManip->h_Ad;
1212 /* get address of next HMTD (table descriptor; h_Ad).
1214 * of the "next next" as written in the h_Ad of the next h_Manip node.
1219 nextAd = ((t_Hmtd *)((t_FmPcdManip *)p_FmPcdManipParams->h_NextManip)->h_Ad)->nextAdIdx;
1221 WRITE_UINT16(((t_Hmtd *)p_Manip->h_Ad)->nextAdIdx, nextAd);
1224 WRITE_UINT16(((t_Hmtd *)p_Manip->h_Ad)->cfg, tmpReg);
1226 ((t_Hmtd *)p_Manip->h_Ad)->hmcdBasePtr,
1229 WRITE_UINT8(((t_Hmtd *)p_Manip->h_Ad)->opCode, HMAN_OC);
1237 ((t_FmPcdManip *)p_FmPcdManipParams->h_NextManip)->h_Ad);
1239 XX_Free(((t_FmPcdManip *)p_FmPcdManipParams->h_NextManip)->h_Ad);
1240 ((t_FmPcdManip *)p_FmPcdManipParams->h_NextManip)->h_Ad = NULL;
1378 SANITY_CHECK_RETURN_ERROR(p_Manip->h_Ad, E_INVALID_HANDLE);
1383 p_Ad = (t_AdOfTypeContLookup *)p_Manip->h_Ad;
1408 p_Ad = (t_AdOfTypeContLookup *)p_Manip->h_Ad;
1428 t_Handle h_FmPort, t_FmPcdManip *p_Manip, t_Handle h_Ad, bool validate)
1431 t_AdOfTypeContLookup *p_Ad = (t_AdOfTypeContLookup *)h_Ad;
1514 static t_Error UpdateModifyCapwapFragmenation(t_FmPcdManip *p_Manip, t_Handle h_Ad, bool validate,t_Handle h_FmTree)
1516 t_AdOfTypeContLookup *p_Ad = (t_AdOfTypeContLookup *)h_Ad;
1560 t_Handle h_Ad,
1570 UNUSED(h_Ad);
1645 t_Handle h_Ad,
1668 UNUSED(h_Ad);
2205 t_Handle h_Ad, bool validate)
2224 UNUSED(h_Ad);
2420 if (p_Manip->h_Ad)
2423 FM_MURAM_FreeMem(p_FmPcd->h_FmMuram, p_Manip->h_Ad);
2425 XX_Free(p_Manip->h_Ad);
2426 p_Manip->h_Ad = NULL;
2944 SANITY_CHECK_RETURN_ERROR(p_Manip->h_Ad,E_INVALID_HANDLE);
2946 p_Ad = (t_AdOfTypeContLookup *)p_Manip->h_Ad;
3002 SANITY_CHECK_RETURN_ERROR(p_Manip->h_Ad,E_INVALID_HANDLE);
3004 p_Ad = (t_AdOfTypeContLookup *)p_Manip->h_Ad;
3032 t_AdOfTypeContLookup *p_Ad = (t_AdOfTypeContLookup *)p_Manip->h_Ad;
3060 SANITY_CHECK_RETURN_ERROR(p_Manip->h_Ad,E_INVALID_HANDLE);
3062 p_Ad = (t_AdOfTypeContLookup *)p_Manip->h_Ad;
3096 SANITY_CHECK_RETURN_ERROR(p_Manip->h_Ad, E_INVALID_HANDLE);
3202 SANITY_CHECK_RETURN_ERROR(p_Manip->h_Ad,E_INVALID_HANDLE);
3241 SANITY_CHECK_RETURN_ERROR(p_Manip->h_Ad,E_INVALID_HANDLE);
3245 p_Ad = (t_AdOfTypeContLookup *)p_Manip->h_Ad;
3274 SANITY_CHECK_RETURN_ERROR(p_Manip->h_Ad,E_INVALID_HANDLE);
3277 p_Ad = (t_AdOfTypeContLookup *)p_Manip->h_Ad;
3510 p_Ad = (t_AdOfTypeContLookup *)p_Manip->reassmParams.capwap.h_Ad;
3874 ASSERT_COND(p_Manip->h_Ad);
3877 p_Ad = (t_AdOfTypeContLookup *)p_Manip->h_Ad;
3897 SANITY_CHECK_RETURN_ERROR(p_Manip->h_Ad, E_INVALID_HANDLE);
3973 p_Ad = (t_AdOfTypeContLookup *)p_Manip->h_Ad;
4001 t_Handle h_Ad, bool validate)
4013 UNUSED(h_Ad);
4060 p_Ad = (t_AdOfTypeContLookup *)p_Manip->h_Ad;
4084 (uint32_t)(XX_VirtToPhys(((t_FmPcdManip *)p_ManipParams->h_NextManip)->h_Ad)-
4103 p_Manip->reassmParams.capwap.h_Ad = (t_Handle)XX_MallocSmart(
4106 if (!p_Manip->reassmParams.capwap.h_Ad)
4113 memset(p_Manip->reassmParams.capwap.h_Ad, 0, FM_PCD_CC_AD_ENTRY_SIZE);
4213 ASSERT_COND(p_Manip->h_Ad);
4216 p_Ad = (t_AdOfTypeContLookup *)p_Manip->h_Ad;
4285 SANITY_CHECK_RETURN_ERROR(p_Manip->h_Ad, E_INVALID_HANDLE);
4332 p_Ad = (t_AdOfTypeContLookup *)p_Manip->h_Ad;
4354 t_Handle h_Ad, bool validate)
4366 UNUSED(h_Ad);
4395 p_Ad = (t_AdOfTypeContLookup *)p_Manip->h_Ad;
4406 (uint32_t)(XX_VirtToPhys(((t_FmPcdManip *)p_ManipParams->h_NextManip)->h_Ad)- (((t_FmPcd *)p_Manip->h_FmPcd)->physicalMuramBase)) >> 4);
4463 p_Manip->h_Ad = (t_Handle)FM_MURAM_AllocMem(
4466 if (!p_Manip->h_Ad)
4474 MemSet8(p_Manip->h_Ad, 0, FM_PCD_CC_AD_ENTRY_SIZE);
4478 p_Manip->h_Ad = (t_Handle)XX_Malloc(
4480 if (!p_Manip->h_Ad)
4488 memset(p_Manip->h_Ad, 0, FM_PCD_CC_AD_ENTRY_SIZE * sizeof(uint8_t));
4564 t_Handle h_Ad, bool validate, int level,
4581 h_Ad,
4588 err = UpdateInitCapwapFragmentation(h_FmPort, p_Manip, h_Ad, validate, h_FmTree);
4592 err = UpdateInitCapwapReasm(h_FmPcd, h_FmPort, p_Manip, h_Ad, validate);
4599 err = UpdateInitReasm(h_FmPcd, h_PcdParams, h_FmPort, p_Manip, h_Ad,
4604 h_Ad, validate);
4609 h_Ad, validate);
4612 err = UpdateInitReasm(h_FmPcd, h_PcdParams, h_FmPort, p_Manip, h_Ad,
4623 static t_Error FmPcdManipModifyUpdate(t_Handle h_Manip, t_Handle h_Ad,
4656 err = UpdateModifyCapwapFragmenation(p_Manip, h_Ad, validate, h_FmTree);
4671 t_Handle h_FmPort, t_Handle h_Manip, t_Handle h_Ad,
4679 h_Ad, validate, level, h_FmTree);
4681 err = FmPcdManipModifyUpdate(h_Manip, h_Ad, validate, level, h_FmTree);
4875 *p_AdNewPtr = p_Manip->h_Ad;
4880 ((t_AdOfTypeResult *)(p_Manip->h_Ad))->fqid);
4882 ((t_AdOfTypeResult *)(p_Manip->h_Ad))->plcrProfile);
4884 ((t_AdOfTypeResult *)(p_Manip->h_Ad))->nia);
4892 *p_AdNewPtr = p_Manip->h_Ad;
4901 memcpy((uint8_t *)p_Ad, (uint8_t *)p_Manip->h_Ad,
4911 *p_AdNewPtr = p_Manip->h_Ad;
4936 *p_AdNewPtr = p_Manip->reassmParams.capwap.h_Ad;
4944 *p_AdNewPtr = p_Manip->h_Ad;
4968 ((t_AdOfTypeContLookup *)(p_Manip->h_Ad))->ccAdBase);
4971 ((t_AdOfTypeContLookup *)(p_Manip->h_Ad))->matchTblPtr);
4974 ((t_AdOfTypeContLookup *)(p_Manip->h_Ad))->pcAndOffsets);
4976 ((t_AdOfTypeContLookup *)(p_Manip->h_Ad))->gmask);
4987 memcpy((uint8_t*)p_Ad, p_Manip->h_Ad, sizeof(t_Hmtd));
5162 p_Manip->h_Ad = (t_Handle)XX_Malloc(FM_PCD_CC_AD_ENTRY_SIZE * sizeof(uint8_t));
5163 if (!p_Manip->h_Ad)
5170 memset(p_Manip->h_Ad, 0, FM_PCD_CC_AD_ENTRY_SIZE * sizeof(uint8_t));
5177 XX_Free(p_Manip->h_Ad);