xref: /linux-6.15/net/rfkill/rfkill.h (revision d2912cb1)
1*d2912cb1SThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-only */
219d337dfSJohannes Berg /*
319d337dfSJohannes Berg  * Copyright (C) 2007 Ivo van Doorn
419d337dfSJohannes Berg  * Copyright 2009 Johannes Berg <[email protected]>
519d337dfSJohannes Berg  */
619d337dfSJohannes Berg 
719d337dfSJohannes Berg 
819d337dfSJohannes Berg #ifndef __RFKILL_INPUT_H
919d337dfSJohannes Berg #define __RFKILL_INPUT_H
1019d337dfSJohannes Berg 
1119d337dfSJohannes Berg /* core code */
1219d337dfSJohannes Berg void rfkill_switch_all(const enum rfkill_type type, bool blocked);
1319d337dfSJohannes Berg void rfkill_epo(void);
1419d337dfSJohannes Berg void rfkill_restore_states(void);
1519d337dfSJohannes Berg void rfkill_remove_epo_lock(void);
1619d337dfSJohannes Berg bool rfkill_is_epo_lock_active(void);
1719d337dfSJohannes Berg bool rfkill_get_global_sw_state(const enum rfkill_type type);
1819d337dfSJohannes Berg 
1919d337dfSJohannes Berg /* input handler */
2019d337dfSJohannes Berg int rfkill_handler_init(void);
2119d337dfSJohannes Berg void rfkill_handler_exit(void);
2219d337dfSJohannes Berg 
2319d337dfSJohannes Berg #endif /* __RFKILL_INPUT_H */
24