Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
extcon-arizona.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/i2c.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <linux/err.h>
#include <linux/gpio.h>
#include <linux/input.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <linux/regulator/consumer.h>
#include <linux/extcon.h>
#include <linux/mfd/arizona/core.h>
#include <linux/mfd/arizona/pdata.h>
#include <linux/mfd/arizona/registers.h>

Go to the source code of this file.

Data Structures

struct  arizona_extcon_info
 

Macros

#define ARIZONA_NUM_BUTTONS   6
 
#define ARIZONA_CABLE_MECHANICAL   0
 
#define ARIZONA_CABLE_MICROPHONE   1
 
#define ARIZONA_CABLE_HEADPHONE   2
 

Functions

 module_platform_driver (arizona_extcon_driver)
 
 MODULE_DESCRIPTION ("Arizona Extcon driver")
 
 MODULE_AUTHOR ("Mark Brown <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("platform:extcon-arizona")
 

Macro Definition Documentation

#define ARIZONA_CABLE_HEADPHONE   2

Definition at line 75 of file extcon-arizona.c.

#define ARIZONA_CABLE_MECHANICAL   0

Definition at line 73 of file extcon-arizona.c.

#define ARIZONA_CABLE_MICROPHONE   1

Definition at line 74 of file extcon-arizona.c.

#define ARIZONA_NUM_BUTTONS   6

Definition at line 34 of file extcon-arizona.c.

Function Documentation

MODULE_ALIAS ( "platform:extcon-arizona )
MODULE_AUTHOR ( "Mark Brown <[email protected]>"  )
MODULE_DESCRIPTION ( "Arizona Extcon driver )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( arizona_extcon_driver  )

Variable Documentation

int report

Definition at line 63 of file extcon-arizona.c.

Definition at line 62 of file extcon-arizona.c.