xref: /netbsd-src/sys/arch/zaurus/dev/scoopvar.h (revision 94ff29c8faa3abeb8d5aa089a2d82b4c4aef15e3)
1 /*	$NetBSD: scoopvar.h,v 1.6 2014/09/23 14:49:46 nonaka Exp $	*/
2 /*	$OpenBSD: zaurus_scoopvar.h,v 1.10 2005/11/17 05:26:31 uwe Exp $	*/
3 
4 /*
5  * Copyright (c) 2005 Uwe Stuehler <uwe@bsdx.de>
6  *
7  * Permission to use, copy, modify, and distribute this software for any
8  * purpose with or without fee is hereby granted, provided that the above
9  * copyright notice and this permission notice appear in all copies.
10  *
11  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
12  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
13  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
14  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
15  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
16  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
17  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18  */
19 
20 #ifndef	_ZAURUS_DEV_SCOOP_H_
21 #define	_ZAURUS_DEV_SCOOP_H_
22 
23 #define	SCOOP_LED_GREEN		(1<<0)
24 #define	SCOOP_LED_ORANGE	(1<<1)
25 
26 void	scoop_set_backlight(int, int);
27 void	scoop_set_irled(int);
28 void	scoop_led_set(int, int);
29 void	scoop_battery_temp_adc(int);
30 void	scoop_charge_battery(int, int);
31 void	scoop_discharge_battery(int);
32 void	scoop_set_sdmmc_power(int);
33 void	scoop_check_mcr(void);
34 void	scoop_set_headphone(int);
35 void	scoop_set_speaker(int);
36 void	scoop_set_mic_bias(int);
37 void	scoop_akin_pullup(int);
38 void	scoop_suspend(void);
39 void	scoop_resume(void);
40 
41 #endif	/* _ZAURUS_DEV_SCOOP_H_ */
42