Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
ptp_ixp46x.c File Reference
#include <linux/device.h>
#include <linux/err.h>
#include <linux/gpio.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/irq.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/ptp_clock_kernel.h>
#include <mach/ixp46x_ts.h>

Go to the source code of this file.

Data Structures

struct  ixp_clock
 

Macros

#define DRIVER   "ptp_ixp46x"
 
#define N_EXT_TS   2
 
#define MASTER_GPIO   8
 
#define MASTER_IRQ   25
 
#define SLAVE_GPIO   7
 
#define SLAVE_IRQ   24
 

Functions

 DEFINE_SPINLOCK (register_lock)
 
 module_init (ptp_ixp_init)
 
 module_exit (ptp_ixp_exit)
 
 MODULE_AUTHOR ("Richard Cochran <[email protected]>")
 
 MODULE_DESCRIPTION ("PTP clock using the IXP46X timer")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define DRIVER   "ptp_ixp46x"

Definition at line 33 of file ptp_ixp46x.c.

#define MASTER_GPIO   8

Definition at line 35 of file ptp_ixp46x.c.

#define MASTER_IRQ   25

Definition at line 36 of file ptp_ixp46x.c.

#define N_EXT_TS   2

Definition at line 34 of file ptp_ixp46x.c.

#define SLAVE_GPIO   7

Definition at line 37 of file ptp_ixp46x.c.

#define SLAVE_IRQ   24

Definition at line 38 of file ptp_ixp46x.c.

Function Documentation

DEFINE_SPINLOCK ( register_lock  )
MODULE_AUTHOR ( "Richard Cochran <[email protected]>"  )
MODULE_DESCRIPTION ( "PTP clock using the IXP46X timer )
module_exit ( ptp_ixp_exit  )
module_init ( ptp_ixp_init  )
MODULE_LICENSE ( "GPL"  )