Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/ptp/
Dptp_sysfs.c215 if (num > ptp->max_vclocks) { in n_vclocks_store()
216 dev_err(dev, "max value is %d\n", ptp->max_vclocks); in n_vclocks_store()
269 size = snprintf(page, PAGE_SIZE - 1, "%u\n", ptp->max_vclocks); in max_vclocks_show()
287 if (max == ptp->max_vclocks) in max_vclocks_store()
308 ptp->max_vclocks = max; in max_vclocks_store()
317 static DEVICE_ATTR_RW(max_vclocks);
Dptp_private.h50 unsigned int max_vclocks; member
Dptp_clock.c268 ptp->max_vclocks = PTP_DEFAULT_MAX_VCLOCKS; in ptp_clock_register()
270 size = sizeof(int) * ptp->max_vclocks; in ptp_clock_register()
/Linux-v6.6/Documentation/ABI/testing/
Dsysfs-ptp36 What: /sys/class/ptp/ptp<N>/max_vclocks