/linux-master/kernel/time/ |
H A D | tick-internal.h | 25 extern void tick_setup_periodic(struct clock_event_device *dev, int broadcast); 26 extern void tick_handle_periodic(struct clock_event_device *dev); 27 extern void tick_check_new_device(struct clock_event_device *dev); 31 extern bool tick_check_replacement(struct clock_event_device *curdev, 32 struct clock_event_device *newdev); 33 extern void tick_install_replacement(struct clock_event_device *dev); 37 extern int clockevents_tick_resume(struct clock_event_device *dev); 39 static inline int tick_device_is_functional(struct clock_event_device *dev) 44 static inline enum clock_event_state clockevent_get_state(struct clock_event_device *dev) 49 static inline void clockevent_set_state(struct clock_event_device *de [all...] |
H A D | tick-oneshot.c | 25 struct clock_event_device *dev = __this_cpu_read(tick_cpu_device.evtdev); 52 struct clock_event_device *dev = __this_cpu_read(tick_cpu_device.evtdev); 61 void tick_setup_oneshot(struct clock_event_device *newdev, 62 void (*handler)(struct clock_event_device *), 73 int tick_switch_to_oneshot(void (*handler)(struct clock_event_device *)) 76 struct clock_event_device *dev = td->evtdev;
|
H A D | tick-broadcast.c | 36 static DEFINE_PER_CPU(struct clock_event_device *, tick_oneshot_wakeup_device); 38 static void tick_broadcast_setup_oneshot(struct clock_event_device *bc, bool from_periodic); 40 static void tick_resume_broadcast_oneshot(struct clock_event_device *bc); 46 tick_broadcast_setup_oneshot(struct clock_event_device *bc, bool from_periodic) { BUG(); } 48 static inline void tick_resume_broadcast_oneshot(struct clock_event_device *bc) { } 67 static struct clock_event_device *tick_get_oneshot_wakeup_device(int cpu); 69 const struct clock_event_device *tick_get_wakeup_device(int cpu) 77 static void tick_broadcast_start_periodic(struct clock_event_device *bc) 86 static bool tick_check_broadcast_device(struct clock_event_device *curdev, 87 struct clock_event_device *newde [all...] |
H A D | clockevents.c | 28 struct clock_event_device *ce; 32 static u64 cev_delta2ns(unsigned long latch, struct clock_event_device *evt, 85 u64 clockevent_delta2ns(unsigned long latch, struct clock_event_device *evt) 91 static int __clockevents_switch_state(struct clock_event_device *dev, 147 void clockevents_switch_state(struct clock_event_device *dev, 171 void clockevents_shutdown(struct clock_event_device *dev) 181 int clockevents_tick_resume(struct clock_event_device *dev) 202 static int clockevents_increase_min_delta(struct clock_event_device *dev) 233 static int clockevents_program_min_delta(struct clock_event_device *dev) 272 static int clockevents_program_min_delta(struct clock_event_device *de [all...] |
H A D | tick-broadcast-hrtimer.c | 20 static int bc_shutdown(struct clock_event_device *evt) 43 static int bc_set_next(ktime_t expires, struct clock_event_device *bc) 76 static struct clock_event_device ce_broadcast_hrtimer = {
|
H A D | tick-common.c | 74 struct clock_event_device *dev = __this_cpu_read(tick_cpu_device.evtdev); 108 void tick_handle_periodic(struct clock_event_device *dev) 151 void tick_setup_periodic(struct clock_event_device *dev, int broadcast) 205 struct clock_event_device *newdev, int cpu, 208 void (*handler)(struct clock_event_device *) = NULL; 275 void tick_install_replacement(struct clock_event_device *newdev) 286 static bool tick_check_percpu(struct clock_event_device *curdev, 287 struct clock_event_device *newdev, int cpu) 302 static bool tick_check_preferred(struct clock_event_device *curdev, 303 struct clock_event_device *newde [all...] |
/linux-master/include/linux/ |
H A D | clockchips.h | 19 struct clock_event_device; 71 * struct clock_event_device - clock event device descriptor 100 struct clock_event_device { struct 101 void (*event_handler)(struct clock_event_device *); 102 int (*set_next_event)(unsigned long evt, struct clock_event_device *); 103 int (*set_next_ktime)(ktime_t expires, struct clock_event_device *); 113 int (*set_state_periodic)(struct clock_event_device *); 114 int (*set_state_oneshot)(struct clock_event_device *); 115 int (*set_state_oneshot_stopped)(struct clock_event_device *); 116 int (*set_state_shutdown)(struct clock_event_device *); [all...] |
H A D | i8253.h | 25 extern struct clock_event_device i8253_clockevent;
|
/linux-master/arch/mips/include/asm/ |
H A D | cevt-r4k.h | 20 DECLARE_PER_CPU(struct clock_event_device, mips_clockevent_device); 22 void mips_event_handler(struct clock_event_device *dev);
|
H A D | time.h | 67 static inline void clockevent_set_clock(struct clock_event_device *cd,
|
/linux-master/arch/x86/include/asm/ |
H A D | time.h | 12 extern struct clock_event_device *global_clock_event;
|
/linux-master/arch/mips/kernel/ |
H A D | cevt-ds1287.c | 44 struct clock_event_device *evt) 49 static int ds1287_shutdown(struct clock_event_device *evt) 63 static int ds1287_set_periodic(struct clock_event_device *evt) 77 static void ds1287_event_handler(struct clock_event_device *dev) 81 static struct clock_event_device ds1287_clockevent = { 93 struct clock_event_device *cd = &ds1287_clockevent; 106 struct clock_event_device *cd;
|
H A D | cevt-gt641xx.c | 36 struct clock_event_device *evt) 54 static int gt641xx_timer0_shutdown(struct clock_event_device *evt) 68 static int gt641xx_timer0_set_oneshot(struct clock_event_device *evt) 83 static int gt641xx_timer0_set_periodic(struct clock_event_device *evt) 97 static void gt641xx_timer0_event_handler(struct clock_event_device *dev) 101 static struct clock_event_device gt641xx_timer0_clockevent = { 116 struct clock_event_device *cd = >641xx_timer0_clockevent; 125 struct clock_event_device *cd;
|
/linux-master/drivers/clocksource/ |
H A D | numachip.c | 13 static DEFINE_PER_CPU(struct clock_event_device, numachip2_ced); 30 static int numachip2_set_next_event(unsigned long delta, struct clock_event_device *ced) 37 static const struct clock_event_device numachip2_clockevent __initconst = { 52 struct clock_event_device *ced = this_cpu_ptr(&numachip2_ced); 60 struct clock_event_device *ced = this_cpu_ptr(&numachip2_ced);
|
H A D | dummy_timer.c | 14 static DEFINE_PER_CPU(struct clock_event_device, dummy_timer_evt); 18 struct clock_event_device *evt = per_cpu_ptr(&dummy_timer_evt, cpu);
|
H A D | timer-digicolor.c | 58 struct clock_event_device ce; 64 static struct digicolor_timer *dc_timer(struct clock_event_device *ce) 69 static inline void dc_timer_disable(struct clock_event_device *ce) 75 static inline void dc_timer_enable(struct clock_event_device *ce, u32 mode) 81 static inline void dc_timer_set_count(struct clock_event_device *ce, 88 static int digicolor_clkevt_shutdown(struct clock_event_device *ce) 94 static int digicolor_clkevt_set_oneshot(struct clock_event_device *ce) 101 static int digicolor_clkevt_set_periodic(struct clock_event_device *ce) 112 struct clock_event_device *ce) 137 struct clock_event_device *ev [all...] |
H A D | i8253.c | 111 static int pit_shutdown(struct clock_event_device *evt) 129 static int pit_set_oneshot(struct clock_event_device *evt) 137 static int pit_set_periodic(struct clock_event_device *evt) 155 static int pit_next_event(unsigned long delta, struct clock_event_device *evt) 169 struct clock_event_device i8253_clockevent = {
|
H A D | timer-meson6.c | 101 static int meson6_shutdown(struct clock_event_device *evt) 107 static int meson6_set_oneshot(struct clock_event_device *evt) 114 static int meson6_set_periodic(struct clock_event_device *evt) 123 struct clock_event_device *unused) 132 static struct clock_event_device meson6_clockevent = { 146 struct clock_event_device *evt = (struct clock_event_device *)dev_id;
|
H A D | timer-owl.c | 61 static int owl_timer_set_state_shutdown(struct clock_event_device *evt) 68 static int owl_timer_set_state_oneshot(struct clock_event_device *evt) 75 static int owl_timer_tick_resume(struct clock_event_device *evt) 81 struct clock_event_device *ev) 94 static struct clock_event_device owl_clockevent = { 107 struct clock_event_device *evt = (struct clock_event_device *)dev_id;
|
/linux-master/arch/mips/ralink/ |
H A D | cevt-rt3352.c | 34 struct clock_event_device dev; 39 static int systick_set_oneshot(struct clock_event_device *evt); 40 static int systick_shutdown(struct clock_event_device *evt); 43 struct clock_event_device *evt) 56 static void systick_event_handler(struct clock_event_device *dev) 63 struct clock_event_device *dev = (struct clock_event_device *) dev_id; 85 static int systick_shutdown(struct clock_event_device *evt) 99 static int systick_set_oneshot(struct clock_event_device *evt)
|
/linux-master/arch/arm/mach-footbridge/ |
H A D | dc21285-timer.c | 52 struct clock_event_device *c) 61 static int ckevt_dc21285_shutdown(struct clock_event_device *c) 67 static int ckevt_dc21285_set_periodic(struct clock_event_device *c) 76 static struct clock_event_device ckevt_dc21285 = { 91 struct clock_event_device *ce = dev_id; 109 struct clock_event_device *ce = &ckevt_dc21285;
|
/linux-master/arch/m68k/coldfire/ |
H A D | pit.c | 46 static int cf_pit_set_periodic(struct clock_event_device *evt) 56 static int cf_pit_set_oneshot(struct clock_event_device *evt) 64 static int cf_pit_shutdown(struct clock_event_device *evt) 76 struct clock_event_device *evt) 82 struct clock_event_device cf_pit_clockevent = { 100 struct clock_event_device *evt = &cf_pit_clockevent;
|
/linux-master/arch/loongarch/kernel/ |
H A D | time.c | 26 static DEFINE_PER_CPU(struct clock_event_device, constant_clockevent_device); 28 static void constant_event_handler(struct clock_event_device *dev) 35 struct clock_event_device *cd; 45 static int constant_set_state_oneshot(struct clock_event_device *evt) 61 static int constant_set_state_periodic(struct clock_event_device *evt) 78 static int constant_set_state_shutdown(struct clock_event_device *evt) 93 static int constant_timer_next_event(unsigned long delta, struct clock_event_device *evt) 141 struct clock_event_device *cd;
|
/linux-master/arch/hexagon/kernel/ |
H A D | time.c | 85 static int set_next_event(unsigned long delta, struct clock_event_device *evt) 106 static struct clock_event_device hexagon_clockevent_dev = { 118 static DEFINE_PER_CPU(struct clock_event_device, clock_events); 123 struct clock_event_device *ce_dev = &hexagon_clockevent_dev; 124 struct clock_event_device *dummy_clock_dev = 140 struct clock_event_device *ce_dev = &per_cpu(clock_events, cpu); 148 struct clock_event_device *ce_dev = &hexagon_clockevent_dev; 168 struct clock_event_device *ce_dev = &hexagon_clockevent_dev;
|
/linux-master/arch/sparc/include/asm/ |
H A D | timer_32.h | 41 DECLARE_PER_CPU(struct clock_event_device, sparc32_clockevent);
|