vlynq.c (11e4afb49b7fa1fc8e1ffd850c1806dd86a08204) vlynq.c (ca4d3e6746bdcfccb517349bce2d2c5b5614fb6f)
1/*
2 * Copyright (C) 2006, 2007 Eugene Konev <ejka@openwrt.org>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *

--- 17 unchanged lines hidden (view full) ---

26#include <linux/device.h>
27#include <linux/module.h>
28#include <linux/errno.h>
29#include <linux/platform_device.h>
30#include <linux/interrupt.h>
31#include <linux/delay.h>
32#include <linux/io.h>
33#include <linux/slab.h>
1/*
2 * Copyright (C) 2006, 2007 Eugene Konev <ejka@openwrt.org>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *

--- 17 unchanged lines hidden (view full) ---

26#include <linux/device.h>
27#include <linux/module.h>
28#include <linux/errno.h>
29#include <linux/platform_device.h>
30#include <linux/interrupt.h>
31#include <linux/delay.h>
32#include <linux/io.h>
33#include <linux/slab.h>
34#include <linux/irq.h>
34
35#include <linux/vlynq.h>
36
37#define VLYNQ_CTRL_PM_ENABLE 0x80000000
38#define VLYNQ_CTRL_CLOCK_INT 0x00008000
39#define VLYNQ_CTRL_CLOCK_DIV(x) (((x) & 7) << 16)
40#define VLYNQ_CTRL_INT_LOCAL 0x00004000
41#define VLYNQ_CTRL_INT_ENABLE 0x00002000

--- 773 unchanged lines hidden ---
35
36#include <linux/vlynq.h>
37
38#define VLYNQ_CTRL_PM_ENABLE 0x80000000
39#define VLYNQ_CTRL_CLOCK_INT 0x00008000
40#define VLYNQ_CTRL_CLOCK_DIV(x) (((x) & 7) << 16)
41#define VLYNQ_CTRL_INT_LOCAL 0x00004000
42#define VLYNQ_CTRL_INT_ENABLE 0x00002000

--- 773 unchanged lines hidden ---