Lines Matching defs:ptp_clock
29 struct ptp_clock { struct
32 struct ptp_clock_info *info; argument
33 dev_t devid;
34 int index; /* index into clocks.map */
35 struct pps_device *pps_source;
36 long dialed_frequency; /* remembers the frequency adjustment */
37 struct timestamp_event_queue tsevq; /* simple fifo for time stamps */
38 struct mutex tsevq_mux; /* one process at a time reading the fifo */
39 struct mutex pincfg_mux; /* protect concurrent info->pin_config access */
40 wait_queue_head_t tsev_wq;
41 int defunct; /* tells readers to go away when clock is being removed */
42 struct device_attribute *pin_dev_attr;
43 struct attribute **pin_attr;
44 struct attribute_group pin_attr_group;
69 int ptp_set_pinfunc(struct ptp_clock *ptp, unsigned int pin, argument