Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
sam9_smc.c File Reference
#include <linux/module.h>
#include <linux/io.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <mach/at91sam9_smc.h>
#include "sam9_smc.h"

Go to the source code of this file.

Macros

#define AT91_SMC_CS(id, n)   (smc_base_addr[id] + ((n) * 0x10))
 

Functions

void sam9_smc_write_mode (int id, int cs, struct sam9_smc_config *config)
 
void sam9_smc_configure (int id, int cs, struct sam9_smc_config *config)
 
void sam9_smc_read_mode (int id, int cs, struct sam9_smc_config *config)
 
void sam9_smc_read (int id, int cs, struct sam9_smc_config *config)
 
void __init at91sam9_ioremap_smc (int id, u32 addr)
 

Macro Definition Documentation

#define AT91_SMC_CS (   id,
  n 
)    (smc_base_addr[id] + ((n) * 0x10))

Definition at line 22 of file sam9_smc.c.

Function Documentation

void __init at91sam9_ioremap_smc ( int  id,
u32  addr 
)

Definition at line 124 of file sam9_smc.c.

void sam9_smc_configure ( int  id,
int  cs,
struct sam9_smc_config config 
)

Definition at line 67 of file sam9_smc.c.

void sam9_smc_read ( int  id,
int  cs,
struct sam9_smc_config config 
)

Definition at line 119 of file sam9_smc.c.

void sam9_smc_read_mode ( int  id,
int  cs,
struct sam9_smc_config config 
)

Definition at line 82 of file sam9_smc.c.

void sam9_smc_write_mode ( int  id,
int  cs,
struct sam9_smc_config config 
)

Definition at line 34 of file sam9_smc.c.