Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
tsi57x.c File Reference
#include <linux/rio.h>
#include <linux/rio_drv.h>
#include <linux/rio_ids.h>
#include <linux/delay.h>
#include "../rio.h"

Go to the source code of this file.

Macros

#define SPBC_ROUTE_CFG_DESTID   0x10070
 
#define SPBC_ROUTE_CFG_PORT   0x10074
 
#define SPP_ROUTE_CFG_DESTID(n)   (0x11070 + 0x100*n)
 
#define SPP_ROUTE_CFG_PORT(n)   (0x11074 + 0x100*n)
 
#define TSI578_SP_MODE(n)   (0x11004 + n*0x100)
 
#define TSI578_SP_MODE_GLBL   0x10004
 
#define TSI578_SP_MODE_PW_DIS   0x08000000
 
#define TSI578_SP_MODE_LUT_512   0x01000000
 
#define TSI578_SP_CTL_INDEP(n)   (0x13004 + n*0x100)
 
#define TSI578_SP_LUT_PEINF(n)   (0x13010 + n*0x100)
 
#define TSI578_SP_CS_TX(n)   (0x13014 + n*0x100)
 
#define TSI578_SP_INT_STATUS(n)   (0x13018 + n*0x100)
 
#define TSI578_GLBL_ROUTE_BASE   0x10078
 

Functions

 DECLARE_RIO_SWITCH_INIT (RIO_VID_TUNDRA, RIO_DID_TSI572, tsi57x_switch_init)
 
 DECLARE_RIO_SWITCH_INIT (RIO_VID_TUNDRA, RIO_DID_TSI574, tsi57x_switch_init)
 
 DECLARE_RIO_SWITCH_INIT (RIO_VID_TUNDRA, RIO_DID_TSI577, tsi57x_switch_init)
 
 DECLARE_RIO_SWITCH_INIT (RIO_VID_TUNDRA, RIO_DID_TSI578, tsi57x_switch_init)
 

Macro Definition Documentation

#define SPBC_ROUTE_CFG_DESTID   0x10070

Definition at line 25 of file tsi57x.c.

#define SPBC_ROUTE_CFG_PORT   0x10074

Definition at line 26 of file tsi57x.c.

#define SPP_ROUTE_CFG_DESTID (   n)    (0x11070 + 0x100*n)

Definition at line 29 of file tsi57x.c.

#define SPP_ROUTE_CFG_PORT (   n)    (0x11074 + 0x100*n)

Definition at line 30 of file tsi57x.c.

#define TSI578_GLBL_ROUTE_BASE   0x10078

Definition at line 42 of file tsi57x.c.

#define TSI578_SP_CS_TX (   n)    (0x13014 + n*0x100)

Definition at line 39 of file tsi57x.c.

#define TSI578_SP_CTL_INDEP (   n)    (0x13004 + n*0x100)

Definition at line 37 of file tsi57x.c.

#define TSI578_SP_INT_STATUS (   n)    (0x13018 + n*0x100)

Definition at line 40 of file tsi57x.c.

#define TSI578_SP_LUT_PEINF (   n)    (0x13010 + n*0x100)

Definition at line 38 of file tsi57x.c.

#define TSI578_SP_MODE (   n)    (0x11004 + n*0x100)

Definition at line 32 of file tsi57x.c.

#define TSI578_SP_MODE_GLBL   0x10004

Definition at line 33 of file tsi57x.c.

#define TSI578_SP_MODE_LUT_512   0x01000000

Definition at line 35 of file tsi57x.c.

#define TSI578_SP_MODE_PW_DIS   0x08000000

Definition at line 34 of file tsi57x.c.

Function Documentation

DECLARE_RIO_SWITCH_INIT ( RIO_VID_TUNDRA  ,
RIO_DID_TSI572  ,
tsi57x_switch_init   
)
DECLARE_RIO_SWITCH_INIT ( RIO_VID_TUNDRA  ,
RIO_DID_TSI574  ,
tsi57x_switch_init   
)
DECLARE_RIO_SWITCH_INIT ( RIO_VID_TUNDRA  ,
RIO_DID_TSI577  ,
tsi57x_switch_init   
)
DECLARE_RIO_SWITCH_INIT ( RIO_VID_TUNDRA  ,
RIO_DID_TSI578  ,
tsi57x_switch_init   
)