Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
tc.h File Reference
#include <linux/compiler.h>
#include <linux/device.h>
#include <linux/ioport.h>
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  tcinfo
 
struct  tc_bus
 
struct  tc_dev
 
struct  tc_device_id
 
struct  tc_driver
 

Macros

#define TC_OLDCARD   0x3c0000
 
#define TC_NEWCARD   0x000000
 
#define TC_ROM_WIDTH   0x3e0
 
#define TC_ROM_STRIDE   0x3e4
 
#define TC_ROM_SIZE   0x3e8
 
#define TC_SLOT_SIZE   0x3ec
 
#define TC_PATTERN0   0x3f0
 
#define TC_PATTERN1   0x3f4
 
#define TC_PATTERN2   0x3f8
 
#define TC_PATTERN3   0x3fc
 
#define TC_FIRM_VER   0x400
 
#define TC_VENDOR   0x420
 
#define TC_MODULE   0x440
 
#define TC_FIRM_TYPE   0x460
 
#define TC_FLAGS   0x470
 
#define TC_ROM_OBJECTS   0x480
 
#define to_tc_dev(n)   container_of(n, struct tc_dev, dev)
 
#define to_tc_driver(drv)   container_of(drv, struct tc_driver, driver)
 

Functions

int tc_preadb (u8 *valp, void __iomem *addr)
 
int tc_bus_get_info (struct tc_bus *tbus)
 
void tc_device_get_irq (struct tc_dev *tdev)
 

Macro Definition Documentation

#define TC_FIRM_TYPE   0x460

Definition at line 43 of file tc.h.

#define TC_FIRM_VER   0x400

Definition at line 40 of file tc.h.

#define TC_FLAGS   0x470

Definition at line 44 of file tc.h.

#define TC_MODULE   0x440

Definition at line 42 of file tc.h.

#define TC_NEWCARD   0x000000

Definition at line 30 of file tc.h.

#define TC_OLDCARD   0x3c0000

Definition at line 29 of file tc.h.

#define TC_PATTERN0   0x3f0

Definition at line 36 of file tc.h.

#define TC_PATTERN1   0x3f4

Definition at line 37 of file tc.h.

#define TC_PATTERN2   0x3f8

Definition at line 38 of file tc.h.

#define TC_PATTERN3   0x3fc

Definition at line 39 of file tc.h.

#define TC_ROM_OBJECTS   0x480

Definition at line 45 of file tc.h.

#define TC_ROM_SIZE   0x3e8

Definition at line 34 of file tc.h.

#define TC_ROM_STRIDE   0x3e4

Definition at line 33 of file tc.h.

#define TC_ROM_WIDTH   0x3e0

Definition at line 32 of file tc.h.

#define TC_SLOT_SIZE   0x3ec

Definition at line 35 of file tc.h.

#define TC_VENDOR   0x420

Definition at line 41 of file tc.h.

#define to_tc_dev (   n)    container_of(n, struct tc_dev, dev)

Definition at line 94 of file tc.h.

#define to_tc_driver (   drv)    container_of(drv, struct tc_driver, driver)

Definition at line 110 of file tc.h.

Function Documentation

int tc_bus_get_info ( struct tc_bus tbus)

Definition at line 39 of file tc.c.

void tc_device_get_irq ( struct tc_dev tdev)

Definition at line 70 of file tc.c.

int tc_preadb ( u8 valp,
void __iomem addr 
)

Definition at line 30 of file tc.c.