Lines Matching refs:extts
31 rq.extts.index = chan; in ptp_disable_pinfunc()
147 if (copy_from_user(&req.extts, (void __user *)arg, in ptp_ioctl()
148 sizeof(req.extts))) { in ptp_ioctl()
154 req.extts.flags |= PTP_STRICT_FLAGS; in ptp_ioctl()
156 if ((req.extts.flags & ~PTP_EXTTS_VALID_FLAGS) || in ptp_ioctl()
157 req.extts.rsv[0] || req.extts.rsv[1]) { in ptp_ioctl()
162 if ((req.extts.flags & PTP_ENABLE_FEATURE) && in ptp_ioctl()
163 (req.extts.flags & PTP_EXTTS_EDGES) == 0) { in ptp_ioctl()
168 req.extts.flags &= PTP_EXTTS_V1_VALID_FLAGS; in ptp_ioctl()
169 req.extts.rsv[0] = 0; in ptp_ioctl()
170 req.extts.rsv[1] = 0; in ptp_ioctl()
172 if (req.extts.index >= ops->n_ext_ts) { in ptp_ioctl()
177 enable = req.extts.flags & PTP_ENABLE_FEATURE ? 1 : 0; in ptp_ioctl()