Lines Matching refs:extts
31 rq.extts.index = chan; in ptp_disable_pinfunc()
152 if (copy_from_user(&req.extts, (void __user *)arg, in ptp_ioctl()
153 sizeof(req.extts))) { in ptp_ioctl()
159 req.extts.flags |= PTP_STRICT_FLAGS; in ptp_ioctl()
161 if ((req.extts.flags & ~PTP_EXTTS_VALID_FLAGS) || in ptp_ioctl()
162 req.extts.rsv[0] || req.extts.rsv[1]) { in ptp_ioctl()
167 if ((req.extts.flags & PTP_ENABLE_FEATURE) && in ptp_ioctl()
168 (req.extts.flags & PTP_EXTTS_EDGES) == 0) { in ptp_ioctl()
173 req.extts.flags &= PTP_EXTTS_V1_VALID_FLAGS; in ptp_ioctl()
174 req.extts.rsv[0] = 0; in ptp_ioctl()
175 req.extts.rsv[1] = 0; in ptp_ioctl()
177 if (req.extts.index >= ops->n_ext_ts) { in ptp_ioctl()
182 enable = req.extts.flags & PTP_ENABLE_FEATURE ? 1 : 0; in ptp_ioctl()