Lines Matching defs:flags
154 /* Tell the drivers to check the flags carefully. */
155 req.extts.flags |= PTP_STRICT_FLAGS;
157 if ((req.extts.flags & ~PTP_EXTTS_VALID_FLAGS) ||
163 if ((req.extts.flags & PTP_ENABLE_FEATURE) &&
164 (req.extts.flags & PTP_EXTTS_EDGES) == 0) {
169 req.extts.flags &= PTP_EXTTS_V1_VALID_FLAGS;
178 enable = req.extts.flags & PTP_ENABLE_FEATURE ? 1 : 0;
197 if (perout->flags & ~PTP_PEROUT_VALID_FLAGS) {
206 if (!(perout->flags & PTP_PEROUT_DUTY_CYCLE) &&
212 if (perout->flags & PTP_PEROUT_DUTY_CYCLE) {
221 if (perout->flags & PTP_PEROUT_PHASE) {
235 req.perout.flags &= PTP_PEROUT_V1_VALID_FLAGS;
449 unsigned long flags;
481 spin_lock_irqsave(&queue->lock, flags);
494 spin_unlock_irqrestore(&queue->lock, flags);