|
@@ -64,12 +64,6 @@ struct ptp_clock_request {
|
|
* @adjtime: Shifts the time of the hardware clock.
|
|
* @adjtime: Shifts the time of the hardware clock.
|
|
* parameter delta: Desired change in nanoseconds.
|
|
* parameter delta: Desired change in nanoseconds.
|
|
*
|
|
*
|
|
- * @gettime: Reads the current time from the hardware clock. (deprecated)
|
|
|
|
- * parameter ts: Holds the result.
|
|
|
|
- *
|
|
|
|
- * @settime: Set the current time on the hardware clock. (deprecated)
|
|
|
|
- * parameter ts: Time value to set.
|
|
|
|
- *
|
|
|
|
* @gettime64: Reads the current time from the hardware clock.
|
|
* @gettime64: Reads the current time from the hardware clock.
|
|
* parameter ts: Holds the result.
|
|
* parameter ts: Holds the result.
|
|
*
|
|
*
|
|
@@ -110,8 +104,6 @@ struct ptp_clock_info {
|
|
struct ptp_pin_desc *pin_config;
|
|
struct ptp_pin_desc *pin_config;
|
|
int (*adjfreq)(struct ptp_clock_info *ptp, s32 delta);
|
|
int (*adjfreq)(struct ptp_clock_info *ptp, s32 delta);
|
|
int (*adjtime)(struct ptp_clock_info *ptp, s64 delta);
|
|
int (*adjtime)(struct ptp_clock_info *ptp, s64 delta);
|
|
- int (*gettime)(struct ptp_clock_info *ptp, struct timespec *ts);
|
|
|
|
- int (*settime)(struct ptp_clock_info *ptp, const struct timespec *ts);
|
|
|
|
int (*gettime64)(struct ptp_clock_info *ptp, struct timespec64 *ts);
|
|
int (*gettime64)(struct ptp_clock_info *ptp, struct timespec64 *ts);
|
|
int (*settime64)(struct ptp_clock_info *p, const struct timespec64 *ts);
|
|
int (*settime64)(struct ptp_clock_info *p, const struct timespec64 *ts);
|
|
int (*enable)(struct ptp_clock_info *ptp,
|
|
int (*enable)(struct ptp_clock_info *ptp,
|