Thomas Gleixner | d2912cb | 2019-06-04 10:11:33 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Ivo van Doorn | fe242cf | 2007-09-27 14:57:05 -0700 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2007 Ivo van Doorn |
Johannes Berg | 19d337d | 2009-06-02 13:01:37 +0200 | [diff] [blame] | 4 | * Copyright 2009 Johannes Berg <johannes@sipsolutions.net> |
Ivo van Doorn | fe242cf | 2007-09-27 14:57:05 -0700 | [diff] [blame] | 5 | */ |
| 6 | |
Ivo van Doorn | fe242cf | 2007-09-27 14:57:05 -0700 | [diff] [blame] | 7 | |
| 8 | #ifndef __RFKILL_INPUT_H |
| 9 | #define __RFKILL_INPUT_H |
| 10 | |
Johannes Berg | 19d337d | 2009-06-02 13:01:37 +0200 | [diff] [blame] | 11 | /* core code */ |
| 12 | void rfkill_switch_all(const enum rfkill_type type, bool blocked); |
Henrique de Moraes Holschuh | 4081f00 | 2008-06-23 17:23:07 -0300 | [diff] [blame] | 13 | void rfkill_epo(void); |
Henrique de Moraes Holschuh | 9961920 | 2008-08-02 15:10:58 -0300 | [diff] [blame] | 14 | void rfkill_restore_states(void); |
Henrique de Moraes Holschuh | d003922 | 2008-10-09 21:49:33 -0300 | [diff] [blame] | 15 | void rfkill_remove_epo_lock(void); |
| 16 | bool rfkill_is_epo_lock_active(void); |
Johannes Berg | 19d337d | 2009-06-02 13:01:37 +0200 | [diff] [blame] | 17 | bool rfkill_get_global_sw_state(const enum rfkill_type type); |
| 18 | |
| 19 | /* input handler */ |
| 20 | int rfkill_handler_init(void); |
| 21 | void rfkill_handler_exit(void); |
Ivo van Doorn | fe242cf | 2007-09-27 14:57:05 -0700 | [diff] [blame] | 22 | |
| 23 | #endif /* __RFKILL_INPUT_H */ |