#include <linux/init.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/device.h>
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/platform_device.h>
#include <linux/interrupt.h>
#include <linux/delay.h>
#include <linux/io.h>
#include <linux/slab.h>
#include <linux/irq.h>
#include <linux/vlynq.h>
Go to the source code of this file.
#define VINT_ENABLE 0x00000100 |
#define VINT_LEVEL_LOW 0x00000040 |
#define VINT_OFFSET |
( |
|
irq | ) |
(8 * ((irq) % 4)) |
#define VINT_TYPE_EDGE 0x00000080 |
#define VINT_VECTOR |
( |
|
x | ) |
((x) & 0x1f) |
#define VLYNQ_AUTONEGO_V2 0x00010000 |
#define VLYNQ_CTRL_CLOCK_DIV |
( |
|
x | ) |
(((x) & 7) << 16) |
#define VLYNQ_CTRL_CLOCK_INT 0x00008000 |
#define VLYNQ_CTRL_CLOCK_MASK (0x7 << 16) |
#define VLYNQ_CTRL_INT2CFG 0x00000080 |
#define VLYNQ_CTRL_INT_ENABLE 0x00002000 |
#define VLYNQ_CTRL_INT_LOCAL 0x00004000 |
#define VLYNQ_CTRL_INT_VECTOR |
( |
|
x | ) |
(((x) & 0x1f) << 8) |
#define VLYNQ_CTRL_PM_ENABLE 0x80000000 |
#define VLYNQ_CTRL_RESET 0x00000001 |
#define VLYNQ_INT_OFFSET 0x00000014 |
#define VLYNQ_REMOTE_OFFSET 0x00000080 |
#define VLYNQ_STATUS_LERROR 0x00000080 |
#define VLYNQ_STATUS_LINK 0x00000001 |
#define VLYNQ_STATUS_RERROR 0x00000100 |
module_exit |
( |
vlynq_exit |
| ) |
|
module_init |
( |
vlynq_init |
| ) |
|
Initial value:= {
.name = "vlynq",
.match = vlynq_device_match,
.probe = vlynq_device_probe,
.remove = vlynq_device_remove,
}
Definition at line 778 of file vlynq.c.