1 /***************************************************************************
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
10 * Copyright (C) 2002 by Linus Nielsen Feltzing
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
22 #if CONFIG_CHARGING == CHARGING_CONTROL
23 extern bool charger_enabled
;
24 void charger_enable(bool on
);
28 bool charger_inserted(void);
32 void ide_power_enable(bool on
);
34 # if CONFIG_CHARGING == CHARGING_MONITOR
35 bool charging_state(void);
40 void power_init(void);
42 bool ide_powered(void);
45 #ifdef HAVE_SPDIF_POWER
46 void spdif_power_enable(bool on
);
47 bool spdif_powered(void);
51 bool tuner_power(bool status
);