New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 812338 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Last visit > 30 days ago
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

npcx: Inefficient calculations in WoV code

Project Member Reported by rspangler@chromium.org, Feb 14 2018

Issue description

chip/npcx/wov.c has several inefficient calculations, where the parameter space is exhaustively searched via for() loop instead of calculating directly.  For example:

wov_calc_pll_div_s()
wov_calc_pll_div_l()
wov_set_agc_config()

The worst-case runtime may be pretty bad.

We should fix these calculations to be more efficient.

 

Sign in to add a comment