• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * drivers/misc/sunxi-rf/internal.h
3  *
4  * Copyright (c) 2014 softwinner.
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  */
17 
18 #ifndef __INTERNEL_H
19 #define __INTERNEL_H
20 
21 #include <linux/platform_device.h>
22 
23 void rfkill_poweren_set(int dev, int on_off);
24 void rfkill_chipen_set(int dev, int on_off);
25 
26 int sunxi_wlan_init(struct platform_device *);
27 int sunxi_wlan_deinit(struct platform_device *);
28 
29 int sunxi_bt_init(struct platform_device *);
30 int sunxi_bt_deinit(struct platform_device *);
31 
32 int sunxi_modem_init(struct platform_device *);
33 int sunxi_modem_deinit(struct platform_device *);
34 
35 #endif
36