Home
last modified time | relevance | path

Searched refs:curdev (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/kernel/time/
Dtick-common.c288 static bool tick_check_percpu(struct clock_event_device *curdev, in tick_check_percpu() argument
299 if (curdev && cpumask_equal(curdev->cpumask, cpumask_of(cpu))) in tick_check_percpu()
304 static bool tick_check_preferred(struct clock_event_device *curdev, in tick_check_preferred() argument
309 if (curdev && (curdev->features & CLOCK_EVT_FEAT_ONESHOT)) in tick_check_preferred()
319 return !curdev || in tick_check_preferred()
320 newdev->rating > curdev->rating || in tick_check_preferred()
321 !cpumask_equal(curdev->cpumask, newdev->cpumask); in tick_check_preferred()
328 bool tick_check_replacement(struct clock_event_device *curdev, in tick_check_replacement() argument
331 if (!tick_check_percpu(curdev, newdev, smp_processor_id())) in tick_check_replacement()
334 return tick_check_preferred(curdev, newdev); in tick_check_replacement()
[all …]
Dtick-broadcast.c85 static bool tick_check_broadcast_device(struct clock_event_device *curdev, in tick_check_broadcast_device() argument
97 return !curdev || newdev->rating > curdev->rating; in tick_check_broadcast_device()
118 struct clock_event_device *curdev = tick_get_oneshot_wakeup_device(cpu); in tick_set_oneshot_wakeup_device() local
134 if (curdev && newdev->rating <= curdev->rating) in tick_set_oneshot_wakeup_device()
142 clockevents_exchange_device(curdev, newdev); in tick_set_oneshot_wakeup_device()
Dtick-internal.h26 extern bool tick_check_replacement(struct clock_event_device *curdev,
/linux-6.1.9/drivers/input/keyboard/
Dhilkbd.c96 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()
/linux-6.1.9/drivers/spi/
Dspi-s3c24xx.c70 struct spi_device *curdev; member