Linux Kernel
3.7.1
|
#include <posix-clock.h>
struct posix_clock_operations - functional interface to the clock
Every posix clock is represented by a character device. Drivers may optionally offer extended capabilities by implementing the character device methods. The character device file operations are first handled by the clock device layer, then passed on to the driver by calling these functions.
: The clock driver should set to THIS_MODULE : Adjust the clock : Read the current time : Get the clock resolution : Set the current time value : Create a new timer : Remove a previously created timer : Get remaining time and interval of a timer : Set a timer's initial expiration and interval : Optional character device fasync method : Optional character device mmap method : Optional character device open method : Optional character device release method : Optional character device ioctl method : Optional character device read method : Optional character device poll method
Definition at line 57 of file posix-clock.h.
Definition at line 60 of file posix-clock.h.
Definition at line 64 of file posix-clock.h.
Definition at line 62 of file posix-clock.h.
Definition at line 66 of file posix-clock.h.
Definition at line 82 of file posix-clock.h.
Definition at line 85 of file posix-clock.h.
int(* mmap)(struct posix_clock *pc, struct vm_area_struct *vma) |
Definition at line 88 of file posix-clock.h.
int(* open)(struct posix_clock *pc, fmode_t f_mode) |
Definition at line 91 of file posix-clock.h.
Definition at line 58 of file posix-clock.h.
uint(* poll)(struct posix_clock *pc, struct file *file, poll_table *wait) |
Definition at line 93 of file posix-clock.h.
Definition at line 98 of file posix-clock.h.
int(* release)(struct posix_clock *pc) |
Definition at line 96 of file posix-clock.h.
Definition at line 69 of file posix-clock.h.
Definition at line 71 of file posix-clock.h.
void(* timer_gettime)(struct posix_clock *pc, struct k_itimer *kit, struct itimerspec *tsp) |
Definition at line 73 of file posix-clock.h.
int(* timer_settime)(struct posix_clock *pc, struct k_itimer *kit, int flags, struct itimerspec *tsp, struct itimerspec *old) |
Definition at line 76 of file posix-clock.h.