Searched refs:max_vclocks (Results 1 – 3 of 3) sorted by relevance
205 if (num > ptp->max_vclocks) { in n_vclocks_store()206 dev_err(dev, "max value is %d\n", ptp->max_vclocks); in n_vclocks_store()256 size = snprintf(page, PAGE_SIZE - 1, "%u\n", ptp->max_vclocks); in max_vclocks_show()274 if (max == ptp->max_vclocks) in max_vclocks_store()295 ptp->max_vclocks = max; in max_vclocks_store()304 static DEVICE_ATTR_RW(max_vclocks);
50 unsigned int max_vclocks; member
245 ptp->max_vclocks = PTP_DEFAULT_MAX_VCLOCKS; in ptp_clock_register()247 size = sizeof(int) * ptp->max_vclocks; in ptp_clock_register()