Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions
input.c File Reference
#include <linux/input.h>
#include <linux/slab.h>
#include <linux/moduleparam.h>
#include <linux/workqueue.h>
#include <linux/init.h>
#include <linux/rfkill.h>
#include <linux/sched.h>
#include "rfkill.h"

Go to the source code of this file.

Macros

#define RFKILL_OPS_DELAY   200
 

Enumerations

enum  rfkill_input_master_mode { RFKILL_INPUT_MASTER_UNLOCK = 0, RFKILL_INPUT_MASTER_RESTORE = 1, RFKILL_INPUT_MASTER_UNBLOCKALL = 2, NUM_RFKILL_INPUT_MASTER_MODES }
 
enum  rfkill_sched_op { RFKILL_GLOBAL_OP_EPO = 0, RFKILL_GLOBAL_OP_RESTORE, RFKILL_GLOBAL_OP_UNLOCK, RFKILL_GLOBAL_OP_UNBLOCK }
 

Functions

 module_param_named (master_switch_mode, rfkill_master_switch_mode, uint, 0)
 
 MODULE_PARM_DESC (master_switch_mode,"SW_RFKILL_ALL ON should: 0=do nothing (only unlock); 1=restore; 2=unblock all")
 
int __init rfkill_handler_init (void)
 
void __exit rfkill_handler_exit (void)
 

Macro Definition Documentation

#define RFKILL_OPS_DELAY   200

Definition at line 34 of file input.c.

Enumeration Type Documentation

Enumerator:
RFKILL_INPUT_MASTER_UNLOCK 
RFKILL_INPUT_MASTER_RESTORE 
RFKILL_INPUT_MASTER_UNBLOCKALL 
NUM_RFKILL_INPUT_MASTER_MODES 

Definition at line 26 of file input.c.

Enumerator:
RFKILL_GLOBAL_OP_EPO 
RFKILL_GLOBAL_OP_RESTORE 
RFKILL_GLOBAL_OP_UNLOCK 
RFKILL_GLOBAL_OP_UNBLOCK 

Definition at line 47 of file input.c.

Function Documentation

module_param_named ( master_switch_mode  ,
rfkill_master_switch_mode  ,
uint  ,
 
)
MODULE_PARM_DESC ( master_switch_mode  )
void __exit rfkill_handler_exit ( void  )

Definition at line 346 of file input.c.

int __init rfkill_handler_init ( void  )

Definition at line 322 of file input.c.