Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
pinctrl-samsung.c File Reference
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/slab.h>
#include <linux/err.h>
#include <linux/gpio.h>
#include "core.h"
#include "pinctrl-samsung.h"

Go to the source code of this file.

Data Structures

struct  pin_config
 

Macros

#define GROUP_SUFFIX   "-grp"
 
#define GSUFFIX_LEN   sizeof(GROUP_SUFFIX)
 
#define FUNCTION_SUFFIX   "-mux"
 
#define FSUFFIX_LEN   sizeof(FUNCTION_SUFFIX)
 

Functions

 MODULE_DEVICE_TABLE (of, samsung_pinctrl_dt_match)
 
 postcore_initcall (samsung_pinctrl_drv_register)
 
 module_exit (samsung_pinctrl_drv_unregister)
 
 MODULE_AUTHOR ("Thomas Abraham <[email protected]>")
 
 MODULE_DESCRIPTION ("Samsung pinctrl driver")
 
 MODULE_LICENSE ("GPL v2")
 

Variables

struct pin_config pcfgs []
 

Macro Definition Documentation

#define FSUFFIX_LEN   sizeof(FUNCTION_SUFFIX)

Definition at line 36 of file pinctrl-samsung.c.

#define FUNCTION_SUFFIX   "-mux"

Definition at line 35 of file pinctrl-samsung.c.

#define GROUP_SUFFIX   "-grp"

Definition at line 33 of file pinctrl-samsung.c.

#define GSUFFIX_LEN   sizeof(GROUP_SUFFIX)

Definition at line 34 of file pinctrl-samsung.c.

Function Documentation

MODULE_AUTHOR ( "Thomas Abraham <[email protected]>"  )
MODULE_DESCRIPTION ( "Samsung pinctrl driver )
MODULE_DEVICE_TABLE ( of  ,
samsung_pinctrl_dt_match   
)
module_exit ( samsung_pinctrl_drv_unregister  )
MODULE_LICENSE ( "GPL v2 )
postcore_initcall ( samsung_pinctrl_drv_register  )

Variable Documentation

struct pin_config pcfgs[]
Initial value:
= {
{ "samsung,pin-pud", PINCFG_TYPE_PUD },
{ "samsung,pin-drv", PINCFG_TYPE_DRV },
{ "samsung,pin-con-pdn", PINCFG_TYPE_CON_PDN },
{ "samsung,pin-pud-pdn", PINCFG_TYPE_PUD_PDN },
}