Searched refs:cycles (Results 1 – 3 of 3) sorted by relevance
109 uint32_t cycles; in EMC_CalculateTimerCycles() local111 cycles = CLOCK_GetEmcClkFreq() / EMC_HZ_ONEMHZ * timer_Ns; in EMC_CalculateTimerCycles()112 cycles = EMC_DIV_ROUND_UP(cycles, EMC_MILLISECS_ONESEC); /* Round up. */ in EMC_CalculateTimerCycles()115 if (cycles >= plus) in EMC_CalculateTimerCycles()117 cycles = cycles - plus; in EMC_CalculateTimerCycles()121 cycles = 0; in EMC_CalculateTimerCycles()124 return cycles; in EMC_CalculateTimerCycles()
251 uint32_t cycles = (width_ns * 10U / busCycle_ns + 5U) / 10U; in LPI2C_GetCyclesForWidth() local254 if (cycles < minCycles) in LPI2C_GetCyclesForWidth()256 cycles = minCycles; in LPI2C_GetCyclesForWidth()259 if (cycles > maxCycles) in LPI2C_GetCyclesForWidth()261 cycles = maxCycles; in LPI2C_GetCyclesForWidth()264 return cycles; in LPI2C_GetCyclesForWidth()462 uint32_t cycles; in LPI2C_MasterInit() local508 cycles = LPI2C_GetCyclesForWidth(sourceClock_Hz, masterConfig->sdaGlitchFilterWidth_ns, 1U, in LPI2C_MasterInit()511 cfgr2 |= LPI2C_MCFGR2_FILTSDA(cycles); in LPI2C_MasterInit()517 cycles = LPI2C_GetCyclesForWidth(sourceClock_Hz, masterConfig->sclGlitchFilterWidth_ns, 1U, in LPI2C_MasterInit()[all …]
17 Re-quantization | Shift and saturate in one instruction. ~ 5 cycles | Greater than 200 cycles for o…