Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Variables
pinctrl-nomadik.h File Reference
#include <plat/gpio-nomadik.h>

Go to the source code of this file.

Data Structures

struct  prcm_gpiocr_altcx
 
struct  prcm_gpiocr_altcx_pin_desc
 
struct  nmk_function
 
struct  nmk_pingroup
 
struct  nmk_pinctrl_soc_data
 

Macros

#define PINCTRL_NMK_STN8815   0
 
#define PINCTRL_NMK_DB8500   1
 
#define PINCTRL_NMK_DB8540   2
 
#define PRCM_GPIOCR_ALTCX(pin_num, altc1_used, altc1_ri, altc1_cb, altc2_used, altc2_ri, altc2_cb, altc3_used, altc3_ri, altc3_cb, altc4_used, altc4_ri, altc4_cb)
 

Enumerations

enum  prcm_gpiocr_reg_index { PRCM_IDX_GPIOCR1, PRCM_IDX_GPIOCR2, PRCM_IDX_GPIOCR3 }
 
enum  prcm_gpiocr_altcx_index {
  PRCM_IDX_GPIOCR_ALTC1, PRCM_IDX_GPIOCR_ALTC2, PRCM_IDX_GPIOCR_ALTC3, PRCM_IDX_GPIOCR_ALTC4,
  PRCM_IDX_GPIOCR_ALTC_MAX
}
 

Variables

struct prcm_gpiocr_altcx __packed
 

Macro Definition Documentation

#define PINCTRL_NMK_DB8500   1

Definition at line 8 of file pinctrl-nomadik.h.

#define PINCTRL_NMK_DB8540   2

Definition at line 9 of file pinctrl-nomadik.h.

#define PINCTRL_NMK_STN8815   0

Definition at line 7 of file pinctrl-nomadik.h.

#define PRCM_GPIOCR_ALTCX (   pin_num,
  altc1_used,
  altc1_ri,
  altc1_cb,
  altc2_used,
  altc2_ri,
  altc2_cb,
  altc3_used,
  altc3_ri,
  altc3_cb,
  altc4_used,
  altc4_ri,
  altc4_cb 
)
Value:
{\
.pin = pin_num,\
.altcx[PRCM_IDX_GPIOCR_ALTC1] = {\
.used = altc1_used,\
.reg_index = altc1_ri,\
.control_bit = altc1_cb\
},\
.altcx[PRCM_IDX_GPIOCR_ALTC2] = {\
.used = altc2_used,\
.reg_index = altc2_ri,\
.control_bit = altc2_cb\
},\
.altcx[PRCM_IDX_GPIOCR_ALTC3] = {\
.used = altc3_used,\
.reg_index = altc3_ri,\
.control_bit = altc3_cb\
},\
.altcx[PRCM_IDX_GPIOCR_ALTC4] = {\
.used = altc4_used,\
.reg_index = altc4_ri,\
.control_bit = altc4_cb\
},\
}

Definition at line 11 of file pinctrl-nomadik.h.

Enumeration Type Documentation

enum prcm_gpiocr_altcx_index Used to reference an Other alternate-C function.

Enumerator:
PRCM_IDX_GPIOCR_ALTC1 
PRCM_IDX_GPIOCR_ALTC2 
PRCM_IDX_GPIOCR_ALTC3 
PRCM_IDX_GPIOCR_ALTC4 
PRCM_IDX_GPIOCR_ALTC_MAX 

Definition at line 53 of file pinctrl-nomadik.h.

enum prcm_gpiocr_reg_index Used to reference an PRCM GPIOCR register address.

Enumerator:
PRCM_IDX_GPIOCR1 
PRCM_IDX_GPIOCR2 
PRCM_IDX_GPIOCR3 

Definition at line 44 of file pinctrl-nomadik.h.

Variable Documentation