Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
ptp_chardev.c File Reference
#include <linux/module.h>
#include <linux/posix-clock.h>
#include <linux/poll.h>
#include <linux/sched.h>
#include "ptp_private.h"

Go to the source code of this file.

Functions

int ptp_open (struct posix_clock *pc, fmode_t fmode)
 
long ptp_ioctl (struct posix_clock *pc, unsigned int cmd, unsigned long arg)
 
unsigned int ptp_poll (struct posix_clock *pc, struct file *fp, poll_table *wait)
 
ssize_t ptp_read (struct posix_clock *pc, uint rdflags, char __user *buf, size_t cnt)
 

Function Documentation

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.

unsigned int ptp_poll ( struct posix_clock pc,
struct file fp,
poll_table wait 
)

Definition at line 98 of file ptp_chardev.c.

ssize_t ptp_read ( struct posix_clock pc,
uint  rdflags,
char __user buf,
size_t  cnt 
)

Definition at line 107 of file ptp_chardev.c.