Searched refs:curdev (Results 1 – 4 of 4) sorted by relevance
284 if (curdev && cpumask_equal(curdev->cpumask, cpumask_of(cpu))) in tick_check_percpu()294 if (curdev && (curdev->features & CLOCK_EVT_FEAT_ONESHOT)) in tick_check_preferred()304 return !curdev || in tick_check_preferred()305 newdev->rating > curdev->rating || in tick_check_preferred()319 return tick_check_preferred(curdev, newdev); in tick_check_replacement()328 struct clock_event_device *curdev; in tick_check_new_device() local334 curdev = td->evtdev; in tick_check_new_device()336 if (!tick_check_replacement(curdev, newdev)) in tick_check_new_device()347 if (tick_is_broadcast_device(curdev)) { in tick_check_new_device()348 clockevents_shutdown(curdev); in tick_check_new_device()[all …]
86 static bool tick_check_broadcast_device(struct clock_event_device *curdev, in tick_check_broadcast_device() argument98 return !curdev || newdev->rating > curdev->rating; in tick_check_broadcast_device()119 struct clock_event_device *curdev = tick_get_oneshot_wakeup_device(cpu); in tick_set_oneshot_wakeup_device() local135 if (curdev && newdev->rating <= curdev->rating) in tick_set_oneshot_wakeup_device()143 clockevents_exchange_device(curdev, newdev); in tick_set_oneshot_wakeup_device()
26 extern bool tick_check_replacement(struct clock_event_device *curdev,
96 unsigned int curdev; member124 hil_dev.curdev = 0; in poll_finished()136 if (hil_dev.curdev) in handle_status()138 hil_dev.curdev = c & 7; in handle_status()147 if (hil_dev.curdev) { in handle_data()