Home
last modified time | relevance | path

Searched refs:DIV_CEIL (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/contrib/ncsw/inc/
H A Dncsw_ext.h145 #define DIV_CEIL(x,y) (((x)/(y)) + (((((x)/(y))*(y)) == (x)) ? 0 : 1)) macro
157 #define NSEC_TO_CLK(nsec,clk) DIV_CEIL(((nsec) * (clk)), 1000)
161 #define PSEC_TO_CLK(psec,clk) DIV_CEIL(((psec) * (clk)), 1000000)
/freebsd/sys/contrib/ncsw/Peripherals/FM/Pcd/
H A Dfm_prs.c164 for (i=0; i<DIV_CEIL(sizeof(swPrsPatch), 4); i++) in PrsInit()
392 for(i=0; i<DIV_CEIL(p_SwPrs->size, 4); i++) in FM_PCD_PrsLoadSw()
H A Dfm_cc.c7184 numOfWays = (uint16_t)DIV_CEIL(p_Param->maxNumOfKeys, numOfSets); in FM_PCD_HashTableSet()
/freebsd/sys/contrib/ncsw/Peripherals/FM/Rtc/
H A Dfm_rtc.c227 freqCompensation = (uint32_t)DIV_CEIL(ACCUMULATOR_OVERFLOW * 1000, in FM_RTC_Init()
/freebsd/sys/contrib/ncsw/Peripherals/QM/
H A Dqm_portal_fqr.c1997 …cnxtA.stashing.annotation_cl = DIV_CEIL(p_QmFqrParams->stashingParams.frameAnnotationSize, CACHELI… in QM_FQR_Create()
1998 … cnxtA.stashing.data_cl = DIV_CEIL(p_QmFqrParams->stashingParams.frameDataSize, CACHELINE_SIZE); in QM_FQR_Create()
1999 … cnxtA.stashing.context_cl = DIV_CEIL(p_QmFqrParams->stashingParams.fqContextSize, CACHELINE_SIZE); in QM_FQR_Create()