Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/ptp/
Dptp_sysfs.c204 if (num > ptp->max_vclocks) { in n_vclocks_store()
205 dev_err(dev, "max value is %d\n", ptp->max_vclocks); in n_vclocks_store()
255 size = snprintf(page, PAGE_SIZE - 1, "%u\n", ptp->max_vclocks); in max_vclocks_show()
273 if (max == ptp->max_vclocks) in max_vclocks_store()
294 ptp->max_vclocks = max; in max_vclocks_store()
303 static DEVICE_ATTR_RW(max_vclocks);
Dptp_private.h50 unsigned int max_vclocks; member
Dptp_clock.c244 ptp->max_vclocks = PTP_DEFAULT_MAX_VCLOCKS; in ptp_clock_register()
246 size = sizeof(int) * ptp->max_vclocks; in ptp_clock_register()
/Linux-v5.15/Documentation/ABI/testing/
Dsysfs-ptp36 What: /sys/class/ptp/ptpN/max_vclocks