Lines Matching refs:newdev

86 					struct clock_event_device *newdev)  in tick_check_broadcast_device()  argument
88 if ((newdev->features & CLOCK_EVT_FEAT_DUMMY) || in tick_check_broadcast_device()
89 (newdev->features & CLOCK_EVT_FEAT_PERCPU) || in tick_check_broadcast_device()
90 (newdev->features & CLOCK_EVT_FEAT_C3STOP)) in tick_check_broadcast_device()
94 !(newdev->features & CLOCK_EVT_FEAT_ONESHOT)) in tick_check_broadcast_device()
97 return !curdev || newdev->rating > curdev->rating; in tick_check_broadcast_device()
115 static bool tick_set_oneshot_wakeup_device(struct clock_event_device *newdev, in tick_set_oneshot_wakeup_device() argument
120 if (!newdev) in tick_set_oneshot_wakeup_device()
123 if ((newdev->features & CLOCK_EVT_FEAT_DUMMY) || in tick_set_oneshot_wakeup_device()
124 (newdev->features & CLOCK_EVT_FEAT_C3STOP)) in tick_set_oneshot_wakeup_device()
127 if (!(newdev->features & CLOCK_EVT_FEAT_PERCPU) || in tick_set_oneshot_wakeup_device()
128 !(newdev->features & CLOCK_EVT_FEAT_ONESHOT)) in tick_set_oneshot_wakeup_device()
131 if (!cpumask_equal(newdev->cpumask, cpumask_of(cpu))) in tick_set_oneshot_wakeup_device()
134 if (curdev && newdev->rating <= curdev->rating) in tick_set_oneshot_wakeup_device()
137 if (!try_module_get(newdev->owner)) in tick_set_oneshot_wakeup_device()
140 newdev->event_handler = tick_oneshot_wakeup_handler; in tick_set_oneshot_wakeup_device()
142 clockevents_exchange_device(curdev, newdev); in tick_set_oneshot_wakeup_device()
143 per_cpu(tick_oneshot_wakeup_device, cpu) = newdev; in tick_set_oneshot_wakeup_device()
152 static bool tick_set_oneshot_wakeup_device(struct clock_event_device *newdev, in tick_set_oneshot_wakeup_device() argument