Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
ptp_clock.h File Reference
#include <linux/ioctl.h>
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  ptp_clock_time
 
struct  ptp_clock_caps
 
struct  ptp_extts_request
 
struct  ptp_perout_request
 
struct  ptp_extts_event
 

Macros

#define PTP_ENABLE_FEATURE   (1<<0)
 
#define PTP_RISING_EDGE   (1<<1)
 
#define PTP_FALLING_EDGE   (1<<2)
 
#define PTP_CLK_MAGIC   '='
 
#define PTP_CLOCK_GETCAPS   _IOR(PTP_CLK_MAGIC, 1, struct ptp_clock_caps)
 
#define PTP_EXTTS_REQUEST   _IOW(PTP_CLK_MAGIC, 2, struct ptp_extts_request)
 
#define PTP_PEROUT_REQUEST   _IOW(PTP_CLK_MAGIC, 3, struct ptp_perout_request)
 
#define PTP_ENABLE_PPS   _IOW(PTP_CLK_MAGIC, 4, int)
 

Macro Definition Documentation

#define PTP_CLK_MAGIC   '='

Definition at line 70 of file ptp_clock.h.

#define PTP_CLOCK_GETCAPS   _IOR(PTP_CLK_MAGIC, 1, struct ptp_clock_caps)

Definition at line 72 of file ptp_clock.h.

#define PTP_ENABLE_FEATURE   (1<<0)

Definition at line 28 of file ptp_clock.h.

#define PTP_ENABLE_PPS   _IOW(PTP_CLK_MAGIC, 4, int)

Definition at line 75 of file ptp_clock.h.

#define PTP_EXTTS_REQUEST   _IOW(PTP_CLK_MAGIC, 2, struct ptp_extts_request)

Definition at line 73 of file ptp_clock.h.

#define PTP_FALLING_EDGE   (1<<2)

Definition at line 30 of file ptp_clock.h.

#define PTP_PEROUT_REQUEST   _IOW(PTP_CLK_MAGIC, 3, struct ptp_perout_request)

Definition at line 74 of file ptp_clock.h.

#define PTP_RISING_EDGE   (1<<1)

Definition at line 29 of file ptp_clock.h.