Home
last modified time | relevance | path

Searched refs:OFFSET_UNITS (Results 1 – 4 of 4) sorted by relevance

/f-stack/freebsd/contrib/ncsw/Peripherals/FM/SP/
H A Dfman_sp.c178 OFFSET_UNITS) << FMAN_SP_IC_TO_EXT_SHIFT); in fman_vsp_init()
180 OFFSET_UNITS) << FMAN_SP_IC_FROM_INT_SHIFT); in fman_vsp_init()
181 tmp_reg |= (((uint32_t)int_context_data_copy->size/OFFSET_UNITS) << in fman_vsp_init()
H A Dfm_sp.c258 if (p_FmSpIntContextDataCopy->intContextOffset % OFFSET_UNITS) in FmSpCheckIntContextParams()
259 …R(MAJOR, E_INVALID_VALUE, ("intContext.intContextOffset has to be divisible by %d", OFFSET_UNITS)); in FmSpCheckIntContextParams()
265 if (p_FmSpIntContextDataCopy->size % OFFSET_UNITS) in FmSpCheckIntContextParams()
266 …RETURN_ERROR(MAJOR, E_INVALID_VALUE, ("intContext.size has to be divisible by %d", OFFSET_UNITS)); in FmSpCheckIntContextParams()
271 if (p_FmSpIntContextDataCopy->extBufOffset % OFFSET_UNITS) in FmSpCheckIntContextParams()
272 …RROR(MAJOR, E_INVALID_VALUE, ("intContext.extBufOffset has to be divisible by %d", OFFSET_UNITS)); in FmSpCheckIntContextParams()
304 (uint16_t)((p_BufferPrefixContent->privDataSize & (OFFSET_UNITS-1)) ? in FmSpBuildBufferStructure()
305 ((p_BufferPrefixContent->privDataSize + OFFSET_UNITS) & ~(uint16_t)(OFFSET_UNITS-1)) : in FmSpBuildBufferStructure()
/f-stack/freebsd/contrib/ncsw/inc/flib/
H A Dfsl_fman.h118 #define OFFSET_UNITS 16 macro
/f-stack/freebsd/contrib/ncsw/Peripherals/FM/Port/
H A Dfm_port.c700 … (p_FmPort->internalBufferOffset % OFFSET_UNITS) ? (p_FmPort->internalBufferOffset in InitLowLevelDriver()
701 / OFFSET_UNITS + 1) : in InitLowLevelDriver()
702 (p_FmPort->internalBufferOffset / OFFSET_UNITS)); in InitLowLevelDriver()
703 p_FmPort->internalBufferOffset = (uint8_t)(tmpVal * OFFSET_UNITS); in InitLowLevelDriver()