Lines Matching +full:non +full:- +full:pc
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * posix-clock.h - support for dynamic clock devices
13 #include <linux/posix-timers.h>
19 * struct posix_clock_operations - functional interface to the 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,
68 * struct posix_clock - represents a dynamic posix clock
94 * posix_clock_register() - register a new clock
104 * Returns zero on success, non-zero otherwise.
109 * posix_clock_unregister() - unregister a clock