summaryrefslogtreecommitdiff
path: root/include/smart_battery_stub.h
blob: 35754009c523ec9e512faaa73ffc17924540c274 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* Copyright (c) 2012 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.
 *
 * Functions needed by smart battery driver.
 */

#ifndef __CROS_EC_SMART_BATTERY_STUB_H
#define __CROS_EC_SMART_BATTERY_STUB_H

/* Read from charger */
int sbc_read(int cmd, int *param);

/* Write to charger */
int sbc_write(int cmd, int param);

/* Read from battery */
int sb_read(int cmd, int *param);

/* Write to battery */
int sb_write(int cmd, int param);

#endif  /* __CROS_EC_SMART_BATTERY_STUB_H */