Home
last modified time | relevance | path

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

/f-stack/freebsd/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)
/f-stack/dpdk/app/test-compress-perf/
H A Dcomp_perf_test_common.c18 #define DIV_CEIL(a, b) ((a) / (b) + ((a) % (b) != 0)) macro
236 test_data->total_segs = DIV_CEIL(test_data->input_data_sz, in comp_perf_allocate_memory()
275 mem->total_bufs = DIV_CEIL(test_data->total_segs, in comp_perf_allocate_memory()
503 uint32_t opt_total_segs = DIV_CEIL(buffer_info.input_data_sz, in print_test_dynamics()
/f-stack/freebsd/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()
/f-stack/freebsd/contrib/ncsw/Peripherals/FM/Rtc/
H A Dfm_rtc.c227 freqCompensation = (uint32_t)DIV_CEIL(ACCUMULATOR_OVERFLOW * 1000, in FM_RTC_Init()
/f-stack/freebsd/contrib/ncsw/Peripherals/QM/
H A Dqm_portal_fqr.c1999 …cnxtA.stashing.annotation_cl = DIV_CEIL(p_QmFqrParams->stashingParams.frameAnnotationSize, CACHELI… in QM_FQR_Create()
2000 … cnxtA.stashing.data_cl = DIV_CEIL(p_QmFqrParams->stashingParams.frameDataSize, CACHELINE_SIZE); in QM_FQR_Create()
2001 … cnxtA.stashing.context_cl = DIV_CEIL(p_QmFqrParams->stashingParams.fqContextSize, CACHELINE_SIZE); in QM_FQR_Create()
/f-stack/dpdk/app/test/
H A Dtest_compressdev.c21 #define DIV_CEIL(a, b) ((a) / (b) + ((a) % (b) != 0)) macro
693 uint16_t num_remaining_segs = DIV_CEIL(remaining_data, seg_size); in prepare_sgl_bufs()