Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
ecard.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/sched.h>
#include <linux/interrupt.h>
#include <linux/completion.h>
#include <linux/reboot.h>
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/device.h>
#include <linux/init.h>
#include <linux/mutex.h>
#include <linux/kthread.h>
#include <linux/irq.h>
#include <linux/io.h>
#include <asm/dma.h>
#include <asm/ecard.h>
#include <mach/hardware.h>
#include <asm/irq.h>
#include <asm/mmu_context.h>
#include <asm/mach/irq.h>
#include <asm/tlbflush.h>
#include "ecard.h"

Go to the source code of this file.

Data Structures

struct  ecard_request
 
struct  expcard_blacklist
 

Macros

#define ECARD_C
 
#define ec_set_resource(ec, nr, st, sz)
 

Functions

asmlinkage int ecard_loader_reset (unsigned long base, loader_t loader)
 
asmlinkage int ecard_loader_read (int off, unsigned long base, loader_t loader)
 
int ecard_readchunk (struct in_chunk_dir *cd, ecard_t *ec, int id, int num)
 
void ecard_enablefiq (unsigned int fiqnr)
 
void ecard_disablefiq (unsigned int fiqnr)
 
int ecard_request_resources (struct expansion_card *ec)
 
 EXPORT_SYMBOL (ecard_request_resources)
 
void ecard_release_resources (struct expansion_card *ec)
 
 EXPORT_SYMBOL (ecard_release_resources)
 
void ecard_setirq (struct expansion_card *ec, const struct expansion_card_ops *ops, void *irq_data)
 
 EXPORT_SYMBOL (ecard_setirq)
 
void __iomemecardm_iomap (struct expansion_card *ec, unsigned int res, unsigned long offset, unsigned long maxsize)
 
 EXPORT_SYMBOL (ecardm_iomap)
 
 subsys_initcall (ecard_init)
 
int ecard_register_driver (struct ecard_driver *drv)
 
void ecard_remove_driver (struct ecard_driver *drv)
 
 postcore_initcall (ecard_bus_init)
 
 EXPORT_SYMBOL (ecard_readchunk)
 
 EXPORT_SYMBOL (ecard_register_driver)
 
 EXPORT_SYMBOL (ecard_remove_driver)
 
 EXPORT_SYMBOL (ecard_bus_type)
 

Variables

struct bus_type ecard_bus_type
 

Macro Definition Documentation

#define ec_set_resource (   ec,
  nr,
  st,
  sz 
)
Value:
do { \
(ec)->resource[nr].name = dev_name(&ec->dev); \
(ec)->resource[nr].start = st; \
(ec)->resource[nr].end = (st) + (sz) - 1; \
} while (0)

Definition at line 681 of file ecard.c.

#define ECARD_C

Definition at line 28 of file ecard.c.

Function Documentation

void ecard_disablefiq ( unsigned int  fiqnr)

Definition at line 481 of file ecard.c.

void ecard_enablefiq ( unsigned int  fiqnr)

Definition at line 465 of file ecard.c.

asmlinkage int ecard_loader_read ( int  off,
unsigned long  base,
loader_t  loader 
)
asmlinkage int ecard_loader_reset ( unsigned long  base,
loader_t  loader 
)
int ecard_readchunk ( struct in_chunk_dir cd,
ecard_t ec,
int  id,
int  num 
)

Definition at line 327 of file ecard.c.

int ecard_register_driver ( struct ecard_driver drv)

Definition at line 1094 of file ecard.c.

void ecard_release_resources ( struct expansion_card ec)

Definition at line 844 of file ecard.c.

void ecard_remove_driver ( struct ecard_driver drv)

Definition at line 1101 of file ecard.c.

int ecard_request_resources ( struct expansion_card ec)

Definition at line 820 of file ecard.c.

void ecard_setirq ( struct expansion_card ec,
const struct expansion_card_ops ops,
void irq_data 
)

Definition at line 855 of file ecard.c.

void __iomem* ecardm_iomap ( struct expansion_card ec,
unsigned int  res,
unsigned long  offset,
unsigned long  maxsize 
)

Definition at line 863 of file ecard.c.

EXPORT_SYMBOL ( ecard_request_resources  )
EXPORT_SYMBOL ( ecard_release_resources  )
EXPORT_SYMBOL ( ecard_setirq  )
EXPORT_SYMBOL ( ecardm_iomap  )
EXPORT_SYMBOL ( ecard_readchunk  )
EXPORT_SYMBOL ( ecard_register_driver  )
EXPORT_SYMBOL ( ecard_remove_driver  )
EXPORT_SYMBOL ( ecard_bus_type  )
postcore_initcall ( ecard_bus_init  )
subsys_initcall ( ecard_init  )

Variable Documentation

struct bus_type ecard_bus_type
Initial value:
= {
.name = "ecard",
.dev_attrs = ecard_dev_attrs,
.match = ecard_match,
.probe = ecard_drv_probe,
.remove = ecard_drv_remove,
.shutdown = ecard_drv_shutdown,
}

Definition at line 1121 of file ecard.c.