Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
board.h File Reference
#include <linux/mtd/partitions.h>
#include <linux/device.h>
#include <linux/i2c.h>
#include <linux/leds.h>
#include <linux/spi/spi.h>
#include <linux/usb/atmel_usba_udc.h>
#include <linux/atmel-mci.h>
#include <sound/atmel-ac97c.h>
#include <linux/serial.h>
#include <linux/platform_data/macb.h>
#include <linux/platform_data/atmel.h>

Go to the source code of this file.

Data Structures

struct  at91_udc_data
 
struct  at91_cf_data
 
struct  at91_mmc_data
 
struct  at91_usbh_data
 
struct  atmel_uart_data
 
struct  at91_tsadcc_data
 
struct  at91_can_data
 

Macros

#define AT91_CF_TRUE_IDE   0x01
 
#define AT91_IDE_SWAP_A0_A2   0x02
 
#define AT91_MAX_USBH_PORTS   3
 
#define ATMEL_UART_CTS   0x01
 
#define ATMEL_UART_RTS   0x02
 
#define ATMEL_UART_DSR   0x04
 
#define ATMEL_UART_DTR   0x08
 
#define ATMEL_UART_DCD   0x10
 
#define ATMEL_UART_RI   0x20
 
#define AT91_PWM0   0
 
#define AT91_PWM1   1
 
#define AT91_PWM2   2
 
#define AT91_PWM3   3
 
#define ATMEL_SSC_TK   0x01
 
#define ATMEL_SSC_TF   0x02
 
#define ATMEL_SSC_TD   0x04
 
#define ATMEL_SSC_TX   (ATMEL_SSC_TK | ATMEL_SSC_TF | ATMEL_SSC_TD)
 
#define ATMEL_SSC_RK   0x10
 
#define ATMEL_SSC_RF   0x20
 
#define ATMEL_SSC_RD   0x40
 
#define ATMEL_SSC_RX   (ATMEL_SSC_RK | ATMEL_SSC_RF | ATMEL_SSC_RD)
 

Functions

void __init at91_add_device_udc (struct at91_udc_data *data)
 
void __init at91_add_device_usba (struct usba_platform_data *data)
 
void __init at91_add_device_cf (struct at91_cf_data *data)
 
void __init at91_add_device_mmc (short mmc_id, struct at91_mmc_data *data)
 
void __init at91_add_device_mci (short mmc_id, struct mci_platform_data *data)
 
void __init at91_add_device_eth (struct macb_platform_data *data)
 
void __init at91_add_device_usbh (struct at91_usbh_data *data)
 
void __init at91_add_device_usbh_ohci (struct at91_usbh_data *data)
 
void __init at91_add_device_usbh_ehci (struct at91_usbh_data *data)
 
void __init at91_add_device_nand (struct atmel_nand_data *data)
 
void __init at91_add_device_i2c (struct i2c_board_info *devices, int nr_devices)
 
void __init at91_add_device_spi (struct spi_board_info *devices, int nr_devices)
 
void __init at91_register_uart (unsigned id, unsigned portnr, unsigned pins)
 
void __init at91_add_device_serial (void)
 
void __init at91_add_device_pwm (u32 mask)
 
void __init at91_add_device_ssc (unsigned id, unsigned pins)
 
void __init at91_add_device_lcdc (struct atmel_lcdfb_info *data)
 
void __init at91_add_device_ac97 (struct ac97c_platform_data *data)
 
void __init at91_add_device_isi (struct isi_platform_data *data, bool use_pck_as_mck)
 
void __init at91_add_device_tsadcc (struct at91_tsadcc_data *data)
 
void __init at91_add_device_can (struct at91_can_data *data)
 
void __init at91_gpio_leds (struct gpio_led *leds, int nr)
 
void __init at91_pwm_leds (struct gpio_led *leds, int nr)
 
int at91_suspend_entering_slow_clock (void)
 

Variables

struct platform_deviceatmel_default_console_device
 

Macro Definition Documentation

#define AT91_CF_TRUE_IDE   0x01

Definition at line 67 of file board.h.

#define AT91_IDE_SWAP_A0_A2   0x02

Definition at line 68 of file board.h.

#define AT91_MAX_USBH_PORTS   3

Definition at line 89 of file board.h.

#define AT91_PWM0   0

Definition at line 139 of file board.h.

#define AT91_PWM1   1

Definition at line 140 of file board.h.

#define AT91_PWM2   2

Definition at line 141 of file board.h.

#define AT91_PWM3   3

Definition at line 142 of file board.h.

#define ATMEL_SSC_RD   0x40

Definition at line 158 of file board.h.

#define ATMEL_SSC_RF   0x20

Definition at line 157 of file board.h.

#define ATMEL_SSC_RK   0x10

Definition at line 156 of file board.h.

#define ATMEL_SSC_RX   (ATMEL_SSC_RK | ATMEL_SSC_RF | ATMEL_SSC_RD)

Definition at line 159 of file board.h.

#define ATMEL_SSC_TD   0x04

Definition at line 153 of file board.h.

#define ATMEL_SSC_TF   0x02

Definition at line 152 of file board.h.

#define ATMEL_SSC_TK   0x01

Definition at line 151 of file board.h.

#define ATMEL_SSC_TX   (ATMEL_SSC_TK | ATMEL_SSC_TF | ATMEL_SSC_TD)

Definition at line 154 of file board.h.

#define ATMEL_UART_CTS   0x01

Definition at line 116 of file board.h.

#define ATMEL_UART_DCD   0x10

Definition at line 120 of file board.h.

#define ATMEL_UART_DSR   0x04

Definition at line 118 of file board.h.

#define ATMEL_UART_DTR   0x08

Definition at line 119 of file board.h.

#define ATMEL_UART_RI   0x20

Definition at line 121 of file board.h.

#define ATMEL_UART_RTS   0x02

Definition at line 117 of file board.h.

Function Documentation

void __init at91_add_device_ac97 ( struct ac97c_platform_data data)

Definition at line 789 of file at91sam9263_devices.c.

void __init at91_add_device_can ( struct at91_can_data data)

Definition at line 826 of file at91sam9263_devices.c.

void __init at91_add_device_cf ( struct at91_cf_data data)

Definition at line 289 of file at91rm9200_devices.c.

void __init at91_add_device_eth ( struct macb_platform_data data)

Definition at line 203 of file at91rm9200_devices.c.

void __init at91_add_device_i2c ( struct i2c_board_info devices,
int  nr_devices 
)

Definition at line 533 of file at91rm9200_devices.c.

void __init at91_add_device_isi ( struct isi_platform_data data,
bool  use_pck_as_mck 
)

Definition at line 950 of file at91sam9263_devices.c.

void __init at91_add_device_lcdc ( struct atmel_lcdfb_info data)

Definition at line 558 of file at91sam9261_devices.c.

void __init at91_add_device_mci ( short  mmc_id,
struct mci_platform_data data 
)

Definition at line 388 of file at91rm9200_devices.c.

void __init at91_add_device_mmc ( short  mmc_id,
struct at91_mmc_data data 
)
void __init at91_add_device_nand ( struct atmel_nand_data data)

Definition at line 457 of file at91rm9200_devices.c.

void __init at91_add_device_pwm ( u32  mask)

Definition at line 1177 of file at91sam9263_devices.c.

void __init at91_add_device_serial ( void  )

Definition at line 1182 of file at91rm9200_devices.c.

void __init at91_add_device_spi ( struct spi_board_info devices,
int  nr_devices 
)

Definition at line 600 of file at91rm9200_devices.c.

void __init at91_add_device_ssc ( unsigned  id,
unsigned  pins 
)

Definition at line 900 of file at91rm9200_devices.c.

void __init at91_add_device_tsadcc ( struct at91_tsadcc_data data)

Definition at line 1177 of file at91sam9g45_devices.c.

void __init at91_add_device_udc ( struct at91_udc_data data)

Definition at line 129 of file at91rm9200_devices.c.

void __init at91_add_device_usba ( struct usba_platform_data data)

Definition at line 281 of file at91sam9g45_devices.c.

void __init at91_add_device_usbh ( struct at91_usbh_data data)

Definition at line 79 of file at91rm9200_devices.c.

void __init at91_add_device_usbh_ehci ( struct at91_usbh_data data)

Definition at line 196 of file at91sam9g45_devices.c.

void __init at91_add_device_usbh_ohci ( struct at91_usbh_data data)

Definition at line 140 of file at91sam9g45_devices.c.

void __init at91_gpio_leds ( struct gpio_led leds,
int  nr 
)

Definition at line 53 of file leds.c.

void __init at91_pwm_leds ( struct gpio_led leds,
int  nr 
)

Definition at line 91 of file leds.c.

void __init at91_register_uart ( unsigned  id,
unsigned  portnr,
unsigned  pins 
)

Definition at line 1181 of file at91rm9200_devices.c.

int at91_suspend_entering_slow_clock ( void  )

Definition at line 186 of file pm.c.

Variable Documentation

struct platform_device* atmel_default_console_device

Definition at line 1533 of file atmel_serial.c.