Searched refs:posix_clock (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/include/linux/ |
D | posix-clock.h | 16 struct posix_clock; 41 int (*clock_adjtime)(struct posix_clock *pc, struct __kernel_timex *tx); 43 int (*clock_gettime)(struct posix_clock *pc, struct timespec64 *ts); 45 int (*clock_getres) (struct posix_clock *pc, struct timespec64 *ts); 47 int (*clock_settime)(struct posix_clock *pc, 53 long (*ioctl) (struct posix_clock *pc, 56 int (*open) (struct posix_clock *pc, fmode_t f_mode); 58 __poll_t (*poll) (struct posix_clock *pc, 61 int (*release) (struct posix_clock *pc); 63 ssize_t (*read) (struct posix_clock *pc, [all …]
|
/linux-6.6.21/kernel/time/ |
D | posix-clock.c | 20 static struct posix_clock *get_posix_clock(struct file *fp) in get_posix_clock() 22 struct posix_clock *clk = fp->private_data; in get_posix_clock() 34 static void put_posix_clock(struct posix_clock *clk) in put_posix_clock() 42 struct posix_clock *clk = get_posix_clock(fp); in posix_clock_read() 58 struct posix_clock *clk = get_posix_clock(fp); in posix_clock_poll() 75 struct posix_clock *clk = get_posix_clock(fp); in posix_clock_ioctl() 93 struct posix_clock *clk = get_posix_clock(fp); in posix_clock_compat_ioctl() 111 struct posix_clock *clk = in posix_clock_open() 112 container_of(inode->i_cdev, struct posix_clock, cdev); in posix_clock_open() 136 struct posix_clock *clk = fp->private_data; in posix_clock_release() [all …]
|
/linux-6.6.21/drivers/ptp/ |
D | ptp_private.h | 31 struct posix_clock clock; 124 long ptp_ioctl(struct posix_clock *pc, 127 int ptp_open(struct posix_clock *pc, fmode_t fmode); 129 ssize_t ptp_read(struct posix_clock *pc, 132 __poll_t ptp_poll(struct posix_clock *pc,
|
D | ptp_clock.c | 70 static int ptp_clock_getres(struct posix_clock *pc, struct timespec64 *tp) in ptp_clock_getres() 77 static int ptp_clock_settime(struct posix_clock *pc, const struct timespec64 *tp) in ptp_clock_settime() 89 static int ptp_clock_gettime(struct posix_clock *pc, struct timespec64 *tp) in ptp_clock_gettime() 101 static int ptp_clock_adjtime(struct posix_clock *pc, struct __kernel_timex *tx) in ptp_clock_adjtime()
|
D | ptp_chardev.c | 104 int ptp_open(struct posix_clock *pc, fmode_t fmode) in ptp_open() 109 long ptp_ioctl(struct posix_clock *pc, unsigned int cmd, unsigned long arg) in ptp_ioctl() 435 __poll_t ptp_poll(struct posix_clock *pc, struct file *fp, poll_table *wait) in ptp_poll() 446 ssize_t ptp_read(struct posix_clock *pc, in ptp_read()
|