Lines Matching +full:per +full:- +full:pin

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
19 * struct ptp_clock_request - request PTP clock event
47 * struct ptp_system_timestamp - system time corresponding to a PHC timestamp
55 * struct ptp_clock_info - describes a PTP hardware clock
61 * @max_adj: The maximum possible frequency adjustment, in parts per billon.
75 * nominal frequency in parts per million, but with a
82 * in parts per billion
141 * @verify: Confirm that a pin can perform a given function. The PTP
144 * assumes that every pin can perform every function. This
147 * zero if the function can be assigned to this pin, and
149 * parameter pin: index of the pin in question.
161 * The callbacks must all return zero on success, non-zero otherwise.
191 int (*verify)(struct ptp_clock_info *ptp, unsigned int pin,
206 * struct ptp_clock_event - decribes a PTP hardware clock event
224 * scaled_ppm_to_ppb() - convert scaled ppm to ppb
226 * @ppm: Parts per million, but with a 16 bit binary fractional field
231 * The 'freq' field in the 'struct timex' is in parts per in scaled_ppm_to_ppb()
252 * ptp_clock_register() - register a PTP hardware clock driver
267 * ptp_clock_unregister() - unregister a PTP hardware clock driver
275 * ptp_clock_event() - notify the PTP layer about an event
285 * ptp_clock_index() - obtain the device index of a PTP clock
293 * ptp_find_pin() - obtain the pin index of a given auxiliary function
304 * Return: Pin index in the range of zero to ptp_clock_caps.n_pins - 1,
305 * or -1 if the auxiliary function cannot be found.
312 * ptp_find_pin_unlocked() - wrapper for ptp_find_pin()
325 * ptp_schedule_worker() - schedule ptp auxiliary work
335 * ptp_cancel_worker_sync() - cancel ptp auxiliary clock
351 { return -1; } in ptp_clock_index()
354 { return -1; } in ptp_find_pin()
358 { return -1; } in ptp_find_pin_unlocked()
361 { return -EOPNOTSUPP; } in ptp_schedule_worker()
373 * ptp_get_vclocks_index() - get all vclocks index on pclock, and
385 * ptp_convert_timestamp() - convert timestamp to a ptp vclock time
405 ktime_get_real_ts64(&sts->pre_ts); in ptp_read_system_prets()
411 ktime_get_real_ts64(&sts->post_ts); in ptp_read_system_postts()