Linux Kernel
3.7.1
|
#include <linux/init.h>
#include <linux/types.h>
#include <asm/io.h>
#include <asm/txx9/smsc_fdc37m81x.h>
Go to the source code of this file.
Functions | |
void | smsc_fdc37m81x_config_beg (void) |
void | smsc_fdc37m81x_config_end (void) |
u8 | smsc_fdc37m81x_config_get (u8 reg) |
void | smsc_fdc37m81x_config_set (u8 reg, u8 val) |
unsigned long __init | smsc_fdc37m81x_init (unsigned long port) |
#define SMSC_FDC37M81X_ACTIVE 0x30 |
Definition at line 44 of file smsc_fdc37m81x.c.
#define SMSC_FDC37M81X_BASEADDR0 0x60 |
Definition at line 45 of file smsc_fdc37m81x.c.
#define SMSC_FDC37M81X_BASEADDR1 0x61 |
Definition at line 46 of file smsc_fdc37m81x.c.
#define SMSC_FDC37M81X_CHIP_ID 0x4d |
Definition at line 54 of file smsc_fdc37m81x.c.
#define SMSC_FDC37M81X_CONF 0x02 |
Definition at line 21 of file smsc_fdc37m81x.c.
#define SMSC_FDC37M81X_CONFIG_DATA 0x01 |
Definition at line 20 of file smsc_fdc37m81x.c.
#define SMSC_FDC37M81X_CONFIG_ENTER 0x55 |
Definition at line 52 of file smsc_fdc37m81x.c.
#define SMSC_FDC37M81X_CONFIG_EXIT 0xaa |
Definition at line 53 of file smsc_fdc37m81x.c.
#define SMSC_FDC37M81X_CONFIG_INDEX 0x00 |
Definition at line 19 of file smsc_fdc37m81x.c.
#define SMSC_FDC37M81X_CONFPA0 0x26 |
Definition at line 29 of file smsc_fdc37m81x.c.
#define SMSC_FDC37M81X_CONFPA1 0x27 |
Definition at line 30 of file smsc_fdc37m81x.c.
#define SMSC_FDC37M81X_DID 0x20 |
Definition at line 24 of file smsc_fdc37m81x.c.
#define SMSC_FDC37M81X_DNUM 0x07 |
Definition at line 23 of file smsc_fdc37m81x.c.
#define SMSC_FDC37M81X_DREV 0x21 |
Definition at line 25 of file smsc_fdc37m81x.c.
#define SMSC_FDC37M81X_FDD 0x00 |
Definition at line 38 of file smsc_fdc37m81x.c.
#define SMSC_FDC37M81X_INDEX 0x03 |
Definition at line 22 of file smsc_fdc37m81x.c.
#define SMSC_FDC37M81X_INT 0x70 |
Definition at line 47 of file smsc_fdc37m81x.c.
#define SMSC_FDC37M81X_INT2 0x72 |
Definition at line 48 of file smsc_fdc37m81x.c.
#define SMSC_FDC37M81X_KBD 0x07 |
Definition at line 41 of file smsc_fdc37m81x.c.
#define SMSC_FDC37M81X_MODE 0xF0 |
Definition at line 49 of file smsc_fdc37m81x.c.
#define SMSC_FDC37M81X_OSC 0x24 |
Definition at line 28 of file smsc_fdc37m81x.c.
#define SMSC_FDC37M81X_PCNT 0x22 |
Definition at line 26 of file smsc_fdc37m81x.c.
#define SMSC_FDC37M81X_PMGT 0x23 |
Definition at line 27 of file smsc_fdc37m81x.c.
#define SMSC_FDC37M81X_SERIAL1 0x04 |
Definition at line 39 of file smsc_fdc37m81x.c.
#define SMSC_FDC37M81X_SERIAL2 0x05 |
Definition at line 40 of file smsc_fdc37m81x.c.
#define SMSC_FDC37M81X_TEST1 0x2D |
Definition at line 33 of file smsc_fdc37m81x.c.
#define SMSC_FDC37M81X_TEST2 0x2E |
Definition at line 34 of file smsc_fdc37m81x.c.
#define SMSC_FDC37M81X_TEST3 0x2F |
Definition at line 35 of file smsc_fdc37m81x.c.
#define SMSC_FDC37M81X_TEST4 0x2B |
Definition at line 31 of file smsc_fdc37m81x.c.
#define SMSC_FDC37M81X_TEST5 0x2C |
Definition at line 32 of file smsc_fdc37m81x.c.
Definition at line 71 of file smsc_fdc37m81x.c.
Definition at line 79 of file smsc_fdc37m81x.c.
Definition at line 86 of file smsc_fdc37m81x.c.
Definition at line 96 of file smsc_fdc37m81x.c.
Definition at line 102 of file smsc_fdc37m81x.c.