Home
last modified time | relevance | path

Searched refs:max_vclocks (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/ptp/
H A Dptp_sysfs.c218 if (num > ptp->max_vclocks) { in n_vclocks_store()
219 dev_err(dev, "max value is %d\n", ptp->max_vclocks); in n_vclocks_store()
272 size = sysfs_emit(page, "%u\n", ptp->max_vclocks); in max_vclocks_show()
290 if (max == ptp->max_vclocks) in max_vclocks_store()
310 ptp->max_vclocks = max; in max_vclocks_store()
319 static DEVICE_ATTR_RW(max_vclocks);
H A Dptp_private.h63 unsigned int max_vclocks; member
H A Dptp_clock.c322 ptp->max_vclocks = PTP_DEFAULT_MAX_VCLOCKS; in ptp_clock_register()
324 size = sizeof(int) * ptp->max_vclocks; in ptp_clock_register()
/linux/Documentation/ABI/testing/
H A Dsysfs-ptp36 What: /sys/class/ptp/ptp<N>/max_vclocks