Home
last modified time | relevance | path

Searched refs:sysoff (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.6/drivers/ptp/
Dptp_chardev.c116 struct ptp_sys_offset *sysoff = NULL; in ptp_ioctl() local
329 sysoff = memdup_user((void __user *)arg, sizeof(*sysoff)); in ptp_ioctl()
330 if (IS_ERR(sysoff)) { in ptp_ioctl()
331 err = PTR_ERR(sysoff); in ptp_ioctl()
332 sysoff = NULL; in ptp_ioctl()
335 if (sysoff->n_samples > PTP_MAX_SAMPLES) { in ptp_ioctl()
339 pct = &sysoff->ts[0]; in ptp_ioctl()
340 for (i = 0; i < sysoff->n_samples; i++) { in ptp_ioctl()
358 if (copy_to_user((void __user *)arg, sysoff, sizeof(*sysoff))) in ptp_ioctl()
431 kfree(sysoff); in ptp_ioctl()
/Linux-v6.6/tools/testing/selftests/ptp/
Dtestptp.c162 struct ptp_sys_offset *sysoff; in main() local
522 sysoff = calloc(1, sizeof(*sysoff)); in main()
523 if (!sysoff) { in main()
527 sysoff->n_samples = n_samples; in main()
529 if (ioctl(fd, PTP_SYS_OFFSET, sysoff)) in main()
534 pct = &sysoff->ts[0]; in main()
535 for (i = 0; i < sysoff->n_samples; i++) { in main()
553 free(sysoff); in main()
/Linux-v6.6/Documentation/ABI/testing/
Dsysfs-class-power-rt94676 This entry allows enabling the sysoff mode of rt9467 charger
Dsysfs-class-power-rt94716 This entry allows enabling the sysoff mode of rt9471 charger devices.
Dsysfs-class-power735 This entry allows enabling the sysoff mode of bq24257-type charger