blob: 001c40caa51efffe4891c2a3dd6987453b4df645 [file] [log] [blame]
Thomas Gleixnerd2912cb2019-06-04 10:11:33 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Ivo van Doornfe242cf2007-09-27 14:57:05 -07002/*
3 * Copyright (C) 2007 Ivo van Doorn
Johannes Berg19d337d2009-06-02 13:01:37 +02004 * Copyright 2009 Johannes Berg <johannes@sipsolutions.net>
Ivo van Doornfe242cf2007-09-27 14:57:05 -07005 */
6
Ivo van Doornfe242cf2007-09-27 14:57:05 -07007
8#ifndef __RFKILL_INPUT_H
9#define __RFKILL_INPUT_H
10
Johannes Berg19d337d2009-06-02 13:01:37 +020011/* core code */
12void rfkill_switch_all(const enum rfkill_type type, bool blocked);
Henrique de Moraes Holschuh4081f002008-06-23 17:23:07 -030013void rfkill_epo(void);
Henrique de Moraes Holschuh99619202008-08-02 15:10:58 -030014void rfkill_restore_states(void);
Henrique de Moraes Holschuhd0039222008-10-09 21:49:33 -030015void rfkill_remove_epo_lock(void);
16bool rfkill_is_epo_lock_active(void);
Johannes Berg19d337d2009-06-02 13:01:37 +020017bool rfkill_get_global_sw_state(const enum rfkill_type type);
18
19/* input handler */
20int rfkill_handler_init(void);
21void rfkill_handler_exit(void);
Ivo van Doornfe242cf2007-09-27 14:57:05 -070022
23#endif /* __RFKILL_INPUT_H */