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

Go to the source code of this file.

Macros

#define GPIO_GUMSTIX_BTRESET   7
 
#define GPIO_GUMSTIX_BTRESET_MD   (GPIO_GUMSTIX_BTRESET | GPIO_OUT)
 
#define GPIO_GUMSTIX_USB_GPIOn   35
 
#define GPIO_GUMSTIX_USB_GPIOx   41
 
#define GUMSTIX_USB_INTR_IRQ   PXA_GPIO_TO_IRQ(GPIO_GUMSTIX_USB_GPIOn)
 
#define GPIO_GUMSTIX_USB_GPIOn_MD   (GPIO_GUMSTIX_USB_GPIOn | GPIO_IN)
 
#define GPIO_GUMSTIX_USB_GPIOx_CON_MD   (GPIO_GUMSTIX_USB_GPIOx | GPIO_OUT)
 
#define GPIO_GUMSTIX_USB_GPIOx_DIS_MD   (GPIO_GUMSTIX_USB_GPIOx | GPIO_IN)
 
#define GUMSTIX_GPIO_nSD_WP   22 /* SD Write Protect */
 
#define GUMSTIX_GPIO_nSD_DETECT   11 /* MMC/SD Card Detect */
 
#define GUMSTIX_IRQ_GPIO_nSD_DETECT   PXA_GPIO_TO_IRQ(GUMSTIX_GPIO_nSD_DETECT)
 
#define GPIO_GUMSTIX_ETH0_RST   80
 
#define GPIO_GUMSTIX_ETH0_RST_MD   (GPIO_GUMSTIX_ETH0_RST | GPIO_OUT)
 
#define GPIO_GUMSTIX_ETH1_RST   52
 
#define GPIO_GUMSTIX_ETH1_RST_MD   (GPIO_GUMSTIX_ETH1_RST | GPIO_OUT)
 
#define GPIO_GUMSTIX_ETH0   36
 
#define GPIO_GUMSTIX_ETH0_MD   (GPIO_GUMSTIX_ETH0 | GPIO_IN)
 
#define GUMSTIX_ETH0_IRQ   PXA_GPIO_TO_IRQ(GPIO_GUMSTIX_ETH0)
 
#define GPIO_GUMSTIX_ETH1   27
 
#define GPIO_GUMSTIX_ETH1_MD   (GPIO_GUMSTIX_ETH1 | GPIO_IN)
 
#define GUMSTIX_ETH1_IRQ   PXA_GPIO_TO_IRQ(GPIO_GUMSTIX_ETH1)
 
#define GPIO8_RESET   8
 
#define GPIO4_nBVD1   4
 
#define GPIO4_nSTSCHG   GPIO4_nBVD1
 
#define GPIO11_nCD   11
 
#define GPIO26_PRDY_nBSY   26
 
#define GUMSTIX_S0_nSTSCHG_IRQ   PXA_GPIO_TO_IRQ(GPIO4_nSTSCHG)
 
#define GUMSTIX_S0_nCD_IRQ   PXA_GPIO_TO_IRQ(GPIO11_nCD)
 
#define GUMSTIX_S0_PRDY_nBSY_IRQ   PXA_GPIO_TO_IRQ(GPIO26_PRDY_nBSY)
 
#define GPIO18_nBVD1   18
 
#define GPIO18_nSTSCHG   GPIO18_nBVD1
 
#define GPIO36_nCD   36
 
#define GPIO27_PRDY_nBSY   27
 
#define GUMSTIX_S1_nSTSCHG_IRQ   PXA_GPIO_TO_IRQ(GPIO18_nSTSCHG)
 
#define GUMSTIX_S1_nCD_IRQ   PXA_GPIO_TO_IRQ(GPIO36_nCD)
 
#define GUMSTIX_S1_PRDY_nBSY_IRQ   PXA_GPIO_TO_IRQ(GPIO27_PRDY_nBSY)
 
#define GPIO4_nSTSCHG_MD   (GPIO4_nSTSCHG | GPIO_IN)
 
#define GPIO8_RESET_MD   (GPIO8_RESET | GPIO_OUT)
 
#define GPIO11_nCD_MD   (GPIO11_nCD | GPIO_IN)
 
#define GPIO18_nSTSCHG_MD   (GPIO18_nSTSCHG | GPIO_IN)
 
#define GPIO26_PRDY_nBSY_MD   (GPIO26_PRDY_nBSY | GPIO_IN)
 
#define GPIO27_PRDY_nBSY_MD   (GPIO27_PRDY_nBSY | GPIO_IN)
 
#define GPIO36_nCD_MD   (GPIO36_nCD | GPIO_IN)
 

Functions

int am200_init (void)
 
int am300_init (void)
 

Macro Definition Documentation

#define GPIO11_nCD   11

Definition at line 64 of file gumstix.h.

#define GPIO11_nCD_MD   (GPIO11_nCD | GPIO_IN)

Definition at line 82 of file gumstix.h.

#define GPIO18_nBVD1   18

Definition at line 71 of file gumstix.h.

#define GPIO18_nSTSCHG   GPIO18_nBVD1

Definition at line 72 of file gumstix.h.

#define GPIO18_nSTSCHG_MD   (GPIO18_nSTSCHG | GPIO_IN)

Definition at line 83 of file gumstix.h.

#define GPIO26_PRDY_nBSY   26

Definition at line 65 of file gumstix.h.

#define GPIO26_PRDY_nBSY_MD   (GPIO26_PRDY_nBSY | GPIO_IN)

Definition at line 84 of file gumstix.h.

#define GPIO27_PRDY_nBSY   27

Definition at line 74 of file gumstix.h.

#define GPIO27_PRDY_nBSY_MD   (GPIO27_PRDY_nBSY | GPIO_IN)

Definition at line 85 of file gumstix.h.

#define GPIO36_nCD   36

Definition at line 73 of file gumstix.h.

#define GPIO36_nCD_MD   (GPIO36_nCD | GPIO_IN)

Definition at line 86 of file gumstix.h.

#define GPIO4_nBVD1   4

Definition at line 62 of file gumstix.h.

#define GPIO4_nSTSCHG   GPIO4_nBVD1

Definition at line 63 of file gumstix.h.

#define GPIO4_nSTSCHG_MD   (GPIO4_nSTSCHG | GPIO_IN)

Definition at line 80 of file gumstix.h.

#define GPIO8_RESET   8

Definition at line 59 of file gumstix.h.

#define GPIO8_RESET_MD   (GPIO8_RESET | GPIO_OUT)

Definition at line 81 of file gumstix.h.

#define GPIO_GUMSTIX_BTRESET   7

Definition at line 11 of file gumstix.h.

#define GPIO_GUMSTIX_BTRESET_MD   (GPIO_GUMSTIX_BTRESET | GPIO_OUT)

Definition at line 12 of file gumstix.h.

#define GPIO_GUMSTIX_ETH0   36

Definition at line 50 of file gumstix.h.

#define GPIO_GUMSTIX_ETH0_MD   (GPIO_GUMSTIX_ETH0 | GPIO_IN)

Definition at line 51 of file gumstix.h.

#define GPIO_GUMSTIX_ETH0_RST   80

Definition at line 45 of file gumstix.h.

#define GPIO_GUMSTIX_ETH0_RST_MD   (GPIO_GUMSTIX_ETH0_RST | GPIO_OUT)

Definition at line 46 of file gumstix.h.

#define GPIO_GUMSTIX_ETH1   27

Definition at line 53 of file gumstix.h.

#define GPIO_GUMSTIX_ETH1_MD   (GPIO_GUMSTIX_ETH1 | GPIO_IN)

Definition at line 54 of file gumstix.h.

#define GPIO_GUMSTIX_ETH1_RST   52

Definition at line 47 of file gumstix.h.

#define GPIO_GUMSTIX_ETH1_RST_MD   (GPIO_GUMSTIX_ETH1_RST | GPIO_OUT)

Definition at line 48 of file gumstix.h.

#define GPIO_GUMSTIX_USB_GPIOn   35

Definition at line 23 of file gumstix.h.

#define GPIO_GUMSTIX_USB_GPIOn_MD   (GPIO_GUMSTIX_USB_GPIOn | GPIO_IN)

Definition at line 29 of file gumstix.h.

#define GPIO_GUMSTIX_USB_GPIOx   41

Definition at line 24 of file gumstix.h.

#define GPIO_GUMSTIX_USB_GPIOx_CON_MD   (GPIO_GUMSTIX_USB_GPIOx | GPIO_OUT)

Definition at line 30 of file gumstix.h.

#define GPIO_GUMSTIX_USB_GPIOx_DIS_MD   (GPIO_GUMSTIX_USB_GPIOx | GPIO_IN)

Definition at line 31 of file gumstix.h.

#define GUMSTIX_ETH0_IRQ   PXA_GPIO_TO_IRQ(GPIO_GUMSTIX_ETH0)

Definition at line 52 of file gumstix.h.

#define GUMSTIX_ETH1_IRQ   PXA_GPIO_TO_IRQ(GPIO_GUMSTIX_ETH1)

Definition at line 55 of file gumstix.h.

#define GUMSTIX_GPIO_nSD_DETECT   11 /* MMC/SD Card Detect */

Definition at line 37 of file gumstix.h.

#define GUMSTIX_GPIO_nSD_WP   22 /* SD Write Protect */

Definition at line 36 of file gumstix.h.

#define GUMSTIX_IRQ_GPIO_nSD_DETECT   PXA_GPIO_TO_IRQ(GUMSTIX_GPIO_nSD_DETECT)

Definition at line 38 of file gumstix.h.

#define GUMSTIX_S0_nCD_IRQ   PXA_GPIO_TO_IRQ(GPIO11_nCD)

Definition at line 67 of file gumstix.h.

#define GUMSTIX_S0_nSTSCHG_IRQ   PXA_GPIO_TO_IRQ(GPIO4_nSTSCHG)

Definition at line 66 of file gumstix.h.

#define GUMSTIX_S0_PRDY_nBSY_IRQ   PXA_GPIO_TO_IRQ(GPIO26_PRDY_nBSY)

Definition at line 68 of file gumstix.h.

#define GUMSTIX_S1_nCD_IRQ   PXA_GPIO_TO_IRQ(GPIO36_nCD)

Definition at line 76 of file gumstix.h.

#define GUMSTIX_S1_nSTSCHG_IRQ   PXA_GPIO_TO_IRQ(GPIO18_nSTSCHG)

Definition at line 75 of file gumstix.h.

#define GUMSTIX_S1_PRDY_nBSY_IRQ   PXA_GPIO_TO_IRQ(GPIO27_PRDY_nBSY)

Definition at line 77 of file gumstix.h.

#define GUMSTIX_USB_INTR_IRQ   PXA_GPIO_TO_IRQ(GPIO_GUMSTIX_USB_GPIOn)

Definition at line 27 of file gumstix.h.

Function Documentation

int am200_init ( void  )

Definition at line 347 of file am200epd.c.

int am300_init ( void  )

Definition at line 264 of file am300epd.c.