Searched refs:pccontext (Results 1 – 4 of 4) sorted by relevance
/linux/kernel/time/ |
H A D | posix-clock.c | 22 struct posix_clock_context *pccontext = fp->private_data; in get_posix_clock() local 23 struct posix_clock *clk = pccontext->clk; in get_posix_clock() 43 struct posix_clock_context *pccontext = fp->private_data; in posix_clock_read() local 51 err = clk->ops.read(pccontext, fp->f_flags, buf, count); in posix_clock_read() 60 struct posix_clock_context *pccontext = fp->private_data; in posix_clock_poll() local 68 result = clk->ops.poll(pccontext, fp, wait); in posix_clock_poll() 78 struct posix_clock_context *pccontext = fp->private_data; in posix_clock_ioctl() local 86 err = clk->ops.ioctl(pccontext, cmd, arg); in posix_clock_ioctl() 97 struct posix_clock_context *pccontext = fp->private_data; in posix_clock_compat_ioctl() local 105 err = clk->ops.ioctl(pccontext, cmd, arg); in posix_clock_compat_ioctl() [all …]
|
/linux/include/linux/ |
H A D | posix-clock.h | 54 long (*ioctl)(struct posix_clock_context *pccontext, unsigned int cmd, 57 int (*open)(struct posix_clock_context *pccontext, fmode_t f_mode); 59 __poll_t (*poll)(struct posix_clock_context *pccontext, struct file *file, 62 int (*release)(struct posix_clock_context *pccontext); 64 ssize_t (*read)(struct posix_clock_context *pccontext, uint flags,
|
/linux/drivers/ptp/ |
H A D | ptp_chardev.c | 106 int ptp_open(struct posix_clock_context *pccontext, fmode_t fmode) in ptp_open() argument 109 container_of(pccontext->clk, struct ptp_clock, clock); in ptp_open() 127 pccontext->private_clkdata = queue; in ptp_open() 142 int ptp_release(struct posix_clock_context *pccontext) in ptp_release() argument 144 struct timestamp_event_queue *queue = pccontext->private_clkdata; in ptp_release() 147 container_of(pccontext->clk, struct ptp_clock, clock); in ptp_release() 150 pccontext->private_clkdata = NULL; in ptp_release() 159 long ptp_ioctl(struct posix_clock_context *pccontext, unsigned int cmd, in ptp_ioctl() argument 163 container_of(pccontext->clk, struct ptp_clock, clock); in ptp_ioctl() 179 tsevq = pccontext->private_clkdata; in ptp_ioctl() [all …]
|
H A D | ptp_private.h | 133 long ptp_ioctl(struct posix_clock_context *pccontext, unsigned int cmd, 136 int ptp_open(struct posix_clock_context *pccontext, fmode_t fmode); 138 int ptp_release(struct posix_clock_context *pccontext); 140 ssize_t ptp_read(struct posix_clock_context *pccontext, uint flags, char __user *buf, 143 __poll_t ptp_poll(struct posix_clock_context *pccontext, struct file *fp,
|