Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures
pinctrl-spear.h File Reference
#include <linux/pinctrl/pinctrl.h>
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  spear_pmx_mode
 
struct  spear_muxreg
 
struct  spear_modemux
 
struct  spear_pingroup
 
struct  spear_function
 
struct  spear_pinctrl_machdata
 
struct  spear_pmx
 

: The name of the function, exported to pinctrl core.

struct spear_function - SPEAr pinctrl mux function

: An array of pin groups that may select this function. : The number of entries in .

#define SPEAR_PIN_0_TO_101
 
#define SPEAR_PIN_102_TO_245
 
void __devinit pmx_init_addr (struct spear_pinctrl_machdata *machdata, u16 reg)
 
int __devinit spear_pinctrl_probe (struct platform_device *pdev, struct spear_pinctrl_machdata *machdata)
 
int __devexit spear_pinctrl_remove (struct platform_device *pdev)
 

Macro Definition Documentation

#define SPEAR_PIN_0_TO_101

Definition at line 143 of file pinctrl-spear.h.

#define SPEAR_PIN_102_TO_245

Definition at line 247 of file pinctrl-spear.h.

Function Documentation

void __devinit pmx_init_addr ( struct spear_pinctrl_machdata machdata,
u16  reg 
)

Definition at line 73 of file pinctrl-spear.c.

int __devinit spear_pinctrl_probe ( struct platform_device pdev,
struct spear_pinctrl_machdata machdata 
)

Definition at line 288 of file pinctrl-spear.c.

int __devexit spear_pinctrl_remove ( struct platform_device pdev)

Definition at line 347 of file pinctrl-spear.c.