xref: /kernel/linux/linux-6.6/net/rfkill/rfkill.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/net/rfkill/
162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright (C) 2007 Ivo van Doorn
462306a36Sopenharmony_ci * Copyright 2009 Johannes Berg <johannes@sipsolutions.net>
562306a36Sopenharmony_ci */
662306a36Sopenharmony_ci
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci#ifndef __RFKILL_INPUT_H
962306a36Sopenharmony_ci#define __RFKILL_INPUT_H
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ci/* core code */
1262306a36Sopenharmony_civoid rfkill_switch_all(const enum rfkill_type type, bool blocked);
1362306a36Sopenharmony_civoid rfkill_epo(void);
1462306a36Sopenharmony_civoid rfkill_restore_states(void);
1562306a36Sopenharmony_civoid rfkill_remove_epo_lock(void);
1662306a36Sopenharmony_cibool rfkill_is_epo_lock_active(void);
1762306a36Sopenharmony_cibool rfkill_get_global_sw_state(const enum rfkill_type type);
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ci/* input handler */
2062306a36Sopenharmony_ciint rfkill_handler_init(void);
2162306a36Sopenharmony_civoid rfkill_handler_exit(void);
2262306a36Sopenharmony_ci
2362306a36Sopenharmony_ci#endif /* __RFKILL_INPUT_H */
24

Indexes created Thu Nov 07 10:32:03 CST 2024