Lines Matching refs:n
214 static void prvFindFactors( u32 n, in prvFindFactors() argument
223 int32_t err, err_min = n; in prvFindFactors()
225 *a = a0 = ( ( n - 1 ) / 65536ul ) + 1; in prvFindFactors()
226 *b = b0 = n / *a; in prvFindFactors()
230 *b = n / *a; in prvFindFactors()
231 err = ( int32_t ) *a * ( int32_t ) *b - ( int32_t ) n; in prvFindFactors()
236 err = ( int32_t ) *a * ( int32_t ) *b - ( int32_t ) n; in prvFindFactors()
261 uint32_t n = configCPU_PERIPH_HZ / configTICK_RATE_HZ, b; in prvSetupTimerInterrupt() local
269 prvFindFactors( n, &a, &b ); in prvSetupTimerInterrupt()
304 static void prvFindFactors( u32 n, in prvFindFactors() argument
313 int32_t err, err_min = n; in prvFindFactors()
316 *a = a0 = ( ( n - 1 ) / 256 ) + 1; in prvFindFactors()
317 *b = b0 = n / *a; in prvFindFactors()
321 *b = n / *a; in prvFindFactors()
322 err = ( int32_t ) *a * ( int32_t ) *b - ( int32_t ) n; in prvFindFactors()
327 err = ( int32_t ) *a * ( int32_t ) *b - ( int32_t ) n; in prvFindFactors()
352 uint32_t n = configCPU_PERIPH_HZ / configTICK_RATE_HZ; in prvSetupTimerInterrupt() local
359 prvFindFactors( n, &a, &b ); in prvSetupTimerInterrupt()