Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/time.h>
#include <linux/hrtimer.h>
#include <linux/parport.h>
Go to the source code of this file.
Data Structures | |
struct | pps_generator_pp |
Macros | |
#define | pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
#define | DRVDESC "parallel port PPS signal generator" |
#define | SIGNAL 0 |
#define | NO_SIGNAL PARPORT_CONTROL_STROBE |
#define | SEND_DELAY_MAX 100000 |
#define | SAFETY_INTERVAL 3000 /* set the hrtimer earlier for safety (ns) */ |
#define | PORT_NTESTS_SHIFT 5 |
Functions | |
MODULE_PARM_DESC (delay,"Delay between setting and dropping the signal (ns)") | |
module_param_named (delay, send_delay, uint, 0) | |
module_init (pps_gen_parport_init) | |
module_exit (pps_gen_parport_exit) | |
MODULE_AUTHOR ("Alexander Gordeev <lasaine@lvk.cs.msu.su>") | |
MODULE_DESCRIPTION (DRVDESC) | |
MODULE_LICENSE ("GPL") | |
#define DRVDESC "parallel port PPS signal generator" |
Definition at line 37 of file pps_gen_parport.c.
#define NO_SIGNAL PARPORT_CONTROL_STROBE |
Definition at line 40 of file pps_gen_parport.c.
#define PORT_NTESTS_SHIFT 5 |
Definition at line 156 of file pps_gen_parport.c.
Definition at line 28 of file pps_gen_parport.c.
Definition at line 52 of file pps_gen_parport.c.
#define SEND_DELAY_MAX 100000 |
Definition at line 44 of file pps_gen_parport.c.
#define SIGNAL 0 |
Definition at line 39 of file pps_gen_parport.c.
MODULE_AUTHOR | ( | "Alexander Gordeev <lasaine@lvk.cs.msu.su>" | ) |
MODULE_DESCRIPTION | ( | DRVDESC | ) |
module_exit | ( | pps_gen_parport_exit | ) |
module_init | ( | pps_gen_parport_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |