Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures
pinctrl-imx.h File Reference

Go to the source code of this file.

Data Structures

struct  imx_pin_group
 
struct  imx_pmx_func
 
struct  imx_pin_reg
 
struct  imx_pinctrl_soc_info
 

: the name of this specific function

struct imx_pmx_func - describes IMX pinmux functions

: corresponding pin groups : the number of groups

#define NO_MUX   0x0
 
#define NO_PAD   0x0
 
#define IMX_PIN_REG(id, conf, mux, mode, input, val)
 
#define IMX_PINCTRL_PIN(pin)   PINCTRL_PIN(pin, #pin)
 
#define PAD_CTL_MASK(len)   ((1 << len) - 1)
 
#define IMX_MUX_MASK   0x7
 
#define IOMUXC_CONFIG_SION   (0x1 << 4)
 
int imx_pinctrl_probe (struct platform_device *pdev, struct imx_pinctrl_soc_info *info)
 
int imx_pinctrl_remove (struct platform_device *pdev)
 

Macro Definition Documentation

#define IMX_MUX_MASK   0x7

Definition at line 100 of file pinctrl-imx.h.

#define IMX_PIN_REG (   id,
  conf,
  mux,
  mode,
  input,
  val 
)
Value:
{ \
.pid = id, \
.conf_reg = conf, \
.mux_reg = mux, \
.mux_mode = mode, \
.input_reg = input, \
.input_val = val, \
}

Definition at line 87 of file pinctrl-imx.h.

#define IMX_PINCTRL_PIN (   pin)    PINCTRL_PIN(pin, #pin)

Definition at line 97 of file pinctrl-imx.h.

#define IOMUXC_CONFIG_SION   (0x1 << 4)

Definition at line 101 of file pinctrl-imx.h.

#define NO_MUX   0x0

Definition at line 84 of file pinctrl-imx.h.

#define NO_PAD   0x0

Definition at line 85 of file pinctrl-imx.h.

#define PAD_CTL_MASK (   len)    ((1 << len) - 1)

Definition at line 99 of file pinctrl-imx.h.

Function Documentation

int imx_pinctrl_probe ( struct platform_device pdev,
struct imx_pinctrl_soc_info info 
)

Definition at line 563 of file pinctrl-imx.c.

int imx_pinctrl_remove ( struct platform_device pdev)

Definition at line 614 of file pinctrl-imx.c.