Searched refs:p_SwPrs (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/contrib/ncsw/Peripherals/FM/Pcd/ |
H A D | fm_prs.c | 347 t_Error FM_PCD_PrsLoadSw(t_Handle h_FmPcd, t_FmPcdPrsSwParams *p_SwPrs) in FM_PCD_PrsLoadSw() argument 357 SANITY_CHECK_RETURN_ERROR(p_SwPrs, E_INVALID_HANDLE); in FM_PCD_PrsLoadSw() 363 if (!p_SwPrs->override) in FM_PCD_PrsLoadSw() 365 if(p_FmPcd->p_FmPcdPrs->p_CurrSwPrs > p_FmPcd->p_FmPcdPrs->p_SwPrsCode + p_SwPrs->base*2/4) in FM_PCD_PrsLoadSw() 371 if (p_SwPrs->size > FM_PCD_SW_PRS_SIZE - FM_PCD_PRS_SW_TAIL_SIZE - p_SwPrs->base*2) in FM_PCD_PrsLoadSw() 374 if (p_FmPcd->p_FmPcdPrs->currLabel + p_SwPrs->numOfLabels > FM_PCD_PRS_NUM_OF_LABELS) in FM_PCD_PrsLoadSw() 377 p_TmpCode = (uint32_t *)XX_MallocSmart(ROUND_UP(p_SwPrs->size,4), 0, sizeof(uint32_t)); in FM_PCD_PrsLoadSw() 380 memset((uint8_t *)p_TmpCode, 0, ROUND_UP(p_SwPrs->size,4)); in FM_PCD_PrsLoadSw() 381 memcpy((uint8_t *)p_TmpCode, p_SwPrs->p_Code, p_SwPrs->size); in FM_PCD_PrsLoadSw() 385 p_SwPrs->labelsTable, in FM_PCD_PrsLoadSw() [all …]
|
/freebsd/sys/contrib/ncsw/inc/Peripherals/ |
H A D | fm_pcd_ext.h | 529 t_Error FM_PCD_PrsLoadSw(t_Handle h_FmPcd, t_FmPcdPrsSwParams *p_SwPrs);
|