Home
last modified time | relevance | path

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

/openbmc/linux/drivers/ptp/
H A Dptp_sysfs.c216 if (num > ptp->max_vclocks) { in n_vclocks_store()
217 dev_err(dev, "max value is %d\n", ptp->max_vclocks); in n_vclocks_store()
270 size = snprintf(page, PAGE_SIZE - 1, "%u\n", ptp->max_vclocks); in max_vclocks_show()
288 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);
H A Dptp_private.h50 unsigned int max_vclocks; member
H A Dptp_clock.c278 ptp->max_vclocks = PTP_DEFAULT_MAX_VCLOCKS; in ptp_clock_register()
280 size = sizeof(int) * ptp->max_vclocks; in ptp_clock_register()
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-ptp36 What: /sys/class/ptp/ptp<N>/max_vclocks