mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-07 16:11:43 +00:00
Those are actually charge state, not power state. Rename the misleading names. BUG=chrome-os-partner:24832 BRANCH=link,falco,samus,rambi,peppy,spring,pit,snow TEST=build only because no name conflicts. make clean BOARD=link && make -j32 BOARD=link && \ make clean BOARD=falco && make -j 32 BOARD=falco && \ make clean BOARD=samus && make -j 32 BOARD=samus && \ make clean BOARD=rambi && make -j 32 BOARD=rambi && \ make clean BOARD=peppy && make -j 32 BOARD=peppy && \ make clean BOARD=snow && make -j 32 BOARD=snow && \ make clean BOARD=spring && make -j 32 BOARD=spring && \ make clean BOARD=pit && make -j 32 BOARD=pit && \ make clean BOARD=nyan && make -j 32 BOARD=nyan && \ make runtests -j 32 && make tests -j 32 BOARD=link && \ make tests -j 32 BOARD=falco && make tests -j 32 BOARD=samus && \ make tests -j 32 BOARD=rambi && make tests -j 32 BOARD=peppy && \ make tests -j 32 BOARD=snow && make tests -j 32 BOARD=spring && \ make tests -j 32 BOARD=pit && make tests -j 32 BOARD=nyan Change-Id: Ie15052d5a7dbd97d519303d37260945346a27779 Signed-off-by: Louis Yung-Chieh Lo <yjlou@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/181505 Reviewed-by: Vic Yang <victoryang@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org>
22 lines
752 B
C
22 lines
752 B
C
/* Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*/
|
|
|
|
#ifndef __ADAPTER_EXTERNS_H
|
|
#define __ADAPTER_EXTERNS_H
|
|
|
|
/* Normally private symbols from the modules that we're testing. */
|
|
|
|
extern enum adapter_type ac_adapter;
|
|
extern struct adapter_id_vals ad_id_vals[];
|
|
extern struct adapter_limits
|
|
ad_limits[][NUM_AC_TURBO_STATES][NUM_AC_THRESHOLDS];
|
|
extern int ac_turbo;
|
|
extern int ap_is_throttled;
|
|
extern void check_threshold(int current, struct adapter_limits *lim);
|
|
extern struct adapter_limits batt_limits[NUM_BATT_THRESHOLDS];
|
|
extern void watch_battery_closely(struct charge_state_context *ctx);
|
|
|
|
#endif /* __ADAPTER_EXTERNS_H */
|