aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorYaniv Gardi <[email protected]>2014-09-25 15:32:27 +0300
committerChristoph Hellwig <[email protected]>2014-10-01 13:11:21 +0200
commit3a4bf06d1f6d7de17528b962bc91fcbb2e568b4e (patch)
treef57dcec75893f4b3505755e34b5b6a911bd236b4 /lib/memory-notifier-error-inject.c
parent1d337ec2f35e69a046dab0cc77e64e68d1cdcd8b (diff)
ufs: Active Power Mode - configuring bActiveICCLevel
The maximum power consumption in active is determined by bActiveICCLevel. The configuration is done by reading max current supported by the regulators connected to VCC, VCCQ and VCCQ2 rails on the boards, and reading the current consumption levels from the device for each rails (vcc/vccq/vccq2) using power descriptor. We configure the bActiveICCLevel attribute, with the max value that correspond to the minimum-of(VCC-current-level,VCCQ-current-level, VCCQ2-current-level). In order to minimize resume latency, pre-fetch icc levels and reference clock during initialization and avoid reading them each link startup during resume. Signed-off-by: Raviv Shvili <[email protected]> Signed-off-by: Yaniv Gardi <[email protected]> Signed-off-by: Dolev Raviv <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions