Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
hsmc.c File Reference
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <asm/io.h>
#include <mach/smc.h>
#include "hsmc.h"

Go to the source code of this file.

Data Structures

struct  hsmc
 

Macros

#define NR_CHIP_SELECTS   6
 
#define ns2cyc(x)   ((((x) * mul) + 65535) >> 16)
 

Functions

void smc_set_timing (struct smc_config *config, const struct smc_timing *timing)
 
 EXPORT_SYMBOL (smc_set_timing)
 
int smc_set_configuration (int cs, const struct smc_config *config)
 
 EXPORT_SYMBOL (smc_set_configuration)
 
 core_initcall (hsmc_init)
 

Macro Definition Documentation

#define NR_CHIP_SELECTS   6

Definition at line 22 of file hsmc.c.

#define ns2cyc (   x)    ((((x) * mul) + 65535) >> 16)

Function Documentation

core_initcall ( hsmc_init  )
EXPORT_SYMBOL ( smc_set_timing  )
EXPORT_SYMBOL ( smc_set_configuration  )
int smc_set_configuration ( int  cs,
const struct smc_config config 
)

Definition at line 138 of file hsmc.c.

void smc_set_timing ( struct smc_config config,
const struct smc_timing timing 
)

Definition at line 32 of file hsmc.c.