Searched refs:curdev (Results 1 – 3 of 3) sorted by relevance
/linux/kernel/time/ |
H A D | tick-common.c | 272 static bool tick_check_percpu(struct clock_event_device *curdev, in tick_setup_device() 283 if (curdev && cpumask_equal(curdev->cpumask, cpumask_of(cpu))) in tick_install_replacement() 288 static bool tick_check_preferred(struct clock_event_device *curdev, in tick_check_percpu() 293 if (curdev && (curdev->features & CLOCK_EVT_FEAT_ONESHOT)) in tick_check_percpu() 303 return !curdev || in tick_check_preferred() 304 newdev->rating > curdev->rating || in tick_check_preferred() 305 !cpumask_equal(curdev->cpumask, newdev->cpumask); in tick_check_preferred() 309 * Check whether the new device is a better fit than curdev in tick_check_preferred() 286 tick_check_percpu(struct clock_event_device * curdev,struct clock_event_device * newdev,int cpu) tick_check_percpu() argument 302 tick_check_preferred(struct clock_event_device * curdev,struct clock_event_device * newdev) tick_check_preferred() argument 326 tick_check_replacement(struct clock_event_device * curdev,struct clock_event_device * newdev) tick_check_replacement() argument 341 struct clock_event_device *curdev; tick_check_new_device() local [all...] |
H A D | tick-broadcast.c | 86 static bool tick_check_broadcast_device(struct clock_event_device *curdev, in tick_check_broadcast_device() argument 98 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() local 135 if (curdev && newdev->rating <= curdev->rating) in tick_set_oneshot_wakeup_device() 143 clockevents_exchange_device(curdev, newdev); in tick_set_oneshot_wakeup_device()
|
/linux/drivers/input/keyboard/ |
H A D | hilkbd.c | 96 unsigned int curdev; member 124 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()
|