Linux Kernel
3.7.1
|
#include <linux/cdev.h>
#include <linux/device.h>
#include <linux/mutex.h>
#include <linux/posix-clock.h>
#include <linux/ptp_clock.h>
#include <linux/ptp_clock_kernel.h>
#include <linux/time.h>
Go to the source code of this file.
Data Structures | |
struct | timestamp_event_queue |
struct | ptp_clock |
Macros | |
#define | PTP_MAX_TIMESTAMPS 128 |
#define | PTP_BUF_TIMESTAMPS 30 |
Functions | |
long | ptp_ioctl (struct posix_clock *pc, unsigned int cmd, unsigned long arg) |
int | ptp_open (struct posix_clock *pc, fmode_t fmode) |
ssize_t | ptp_read (struct posix_clock *pc, uint flags, char __user *buf, size_t cnt) |
uint | ptp_poll (struct posix_clock *pc, struct file *fp, poll_table *wait) |
int | ptp_cleanup_sysfs (struct ptp_clock *ptp) |
int | ptp_populate_sysfs (struct ptp_clock *ptp) |
Variables | |
struct device_attribute | ptp_dev_attrs [] |
#define PTP_BUF_TIMESTAMPS 30 |
Definition at line 32 of file ptp_private.h.
#define PTP_MAX_TIMESTAMPS 128 |
Definition at line 31 of file ptp_private.h.
Definition at line 176 of file ptp_sysfs.c.
long ptp_ioctl | ( | struct posix_clock * | pc, |
unsigned int | cmd, | ||
unsigned long | arg | ||
) |
Definition at line 32 of file ptp_chardev.c.
int ptp_open | ( | struct posix_clock * | pc, |
fmode_t | fmode | ||
) |
Definition at line 27 of file ptp_chardev.c.
uint ptp_poll | ( | struct posix_clock * | pc, |
struct file * | fp, | ||
poll_table * | wait | ||
) |
Definition at line 98 of file ptp_chardev.c.
Definition at line 194 of file ptp_sysfs.c.
Definition at line 107 of file ptp_chardev.c.
struct device_attribute ptp_dev_attrs[] |
Definition at line 50 of file ptp_sysfs.c.