/Linux-v4.19/kernel/time/ |
D | tick-internal.h | 21 extern void tick_setup_periodic(struct clock_event_device *dev, int broadcast); 22 extern void tick_handle_periodic(struct clock_event_device *dev); 23 extern void tick_check_new_device(struct clock_event_device *dev); 27 extern bool tick_check_replacement(struct clock_event_device *curdev, 28 struct clock_event_device *newdev); 29 extern void tick_install_replacement(struct clock_event_device *dev); 33 extern int clockevents_tick_resume(struct clock_event_device *dev); 35 static inline int tick_device_is_functional(struct clock_event_device *dev) in tick_device_is_functional() 40 static inline enum clock_event_state clockevent_get_state(struct clock_event_device *dev) in clockevent_get_state() 45 static inline void clockevent_set_state(struct clock_event_device *dev, in clockevent_set_state() [all …]
|
D | tick-broadcast.c | 40 static void tick_broadcast_setup_oneshot(struct clock_event_device *bc); 42 static void tick_resume_broadcast_oneshot(struct clock_event_device *bc); 44 static inline void tick_broadcast_setup_oneshot(struct clock_event_device *bc) { BUG(); } in tick_broadcast_setup_oneshot() 46 static inline void tick_resume_broadcast_oneshot(struct clock_event_device *bc) { } in tick_resume_broadcast_oneshot() 65 static void tick_broadcast_start_periodic(struct clock_event_device *bc) in tick_broadcast_start_periodic() 74 static bool tick_check_broadcast_device(struct clock_event_device *curdev, in tick_check_broadcast_device() 75 struct clock_event_device *newdev) in tick_check_broadcast_device() 92 void tick_install_broadcast_device(struct clock_event_device *dev) in tick_install_broadcast_device() 94 struct clock_event_device *cur = tick_broadcast_device.evtdev; in tick_install_broadcast_device() 123 int tick_is_broadcast_device(struct clock_event_device *dev) in tick_is_broadcast_device() [all …]
|
D | clockevents.c | 32 struct clock_event_device *ce; 36 static u64 cev_delta2ns(unsigned long latch, struct clock_event_device *evt, in cev_delta2ns() 91 u64 clockevent_delta2ns(unsigned long latch, struct clock_event_device *evt) in clockevent_delta2ns() 97 static int __clockevents_switch_state(struct clock_event_device *dev, in __clockevents_switch_state() 153 void clockevents_switch_state(struct clock_event_device *dev, in clockevents_switch_state() 179 void clockevents_shutdown(struct clock_event_device *dev) in clockevents_shutdown() 189 int clockevents_tick_resume(struct clock_event_device *dev) in clockevents_tick_resume() 210 static int clockevents_increase_min_delta(struct clock_event_device *dev) in clockevents_increase_min_delta() 241 static int clockevents_program_min_delta(struct clock_event_device *dev) in clockevents_program_min_delta() 280 static int clockevents_program_min_delta(struct clock_event_device *dev) in clockevents_program_min_delta() [all …]
|
D | tick-common.c | 67 struct clock_event_device *dev = __this_cpu_read(tick_cpu_device.evtdev); in tick_is_oneshot_available() 99 void tick_handle_periodic(struct clock_event_device *dev) in tick_handle_periodic() 144 void tick_setup_periodic(struct clock_event_device *dev, int broadcast) in tick_setup_periodic() 178 struct clock_event_device *newdev, int cpu, in tick_setup_device() 181 void (*handler)(struct clock_event_device *) = NULL; in tick_setup_device() 236 void tick_install_replacement(struct clock_event_device *newdev) in tick_install_replacement() 247 static bool tick_check_percpu(struct clock_event_device *curdev, in tick_check_percpu() 248 struct clock_event_device *newdev, int cpu) in tick_check_percpu() 263 static bool tick_check_preferred(struct clock_event_device *curdev, in tick_check_preferred() 264 struct clock_event_device *newdev) in tick_check_preferred() [all …]
|
D | tick-oneshot.c | 29 struct clock_event_device *dev = __this_cpu_read(tick_cpu_device.evtdev); in tick_program_event() 56 struct clock_event_device *dev = __this_cpu_read(tick_cpu_device.evtdev); in tick_resume_oneshot() 65 void tick_setup_oneshot(struct clock_event_device *newdev, in tick_setup_oneshot() 66 void (*handler)(struct clock_event_device *), in tick_setup_oneshot() argument 77 int tick_switch_to_oneshot(void (*handler)(struct clock_event_device *)) in tick_switch_to_oneshot() argument 80 struct clock_event_device *dev = td->evtdev; in tick_switch_to_oneshot()
|
/Linux-v4.19/include/linux/ |
D | clockchips.h | 19 struct clock_event_device; 100 struct clock_event_device { struct 101 void (*event_handler)(struct clock_event_device *); argument 102 int (*set_next_event)(unsigned long evt, struct clock_event_device *); argument 103 int (*set_next_ktime)(ktime_t expires, struct clock_event_device *); argument 113 int (*set_state_periodic)(struct clock_event_device *); argument 114 int (*set_state_oneshot)(struct clock_event_device *); argument 115 int (*set_state_oneshot_stopped)(struct clock_event_device *); argument 116 int (*set_state_shutdown)(struct clock_event_device *); argument 117 int (*tick_resume)(struct clock_event_device *); argument [all …]
|
/Linux-v4.19/arch/mips/ralink/ |
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) in systick_next_event() 56 static void systick_event_handler(struct clock_event_device *dev) in systick_event_handler() 63 struct clock_event_device *dev = (struct clock_event_device *) dev_id; in systick_interrupt() 91 static int systick_shutdown(struct clock_event_device *evt) in systick_shutdown() 105 static int systick_set_oneshot(struct clock_event_device *evt) in systick_set_oneshot()
|
/Linux-v4.19/arch/mips/kernel/ |
D | cevt-gt641xx.c | 49 struct clock_event_device *evt) in gt641xx_timer0_set_next_event() 67 static int gt641xx_timer0_shutdown(struct clock_event_device *evt) in gt641xx_timer0_shutdown() 81 static int gt641xx_timer0_set_oneshot(struct clock_event_device *evt) in gt641xx_timer0_set_oneshot() 96 static int gt641xx_timer0_set_periodic(struct clock_event_device *evt) in gt641xx_timer0_set_periodic() 110 static void gt641xx_timer0_event_handler(struct clock_event_device *dev) in gt641xx_timer0_event_handler() 114 static struct clock_event_device gt641xx_timer0_clockevent = { 129 struct clock_event_device *cd = >641xx_timer0_clockevent; in gt641xx_timer0_interrupt() 144 struct clock_event_device *cd; in gt641xx_timer0_clockevent_init()
|
D | cevt-ds1287.c | 57 struct clock_event_device *evt) in ds1287_set_next_event() 62 static int ds1287_shutdown(struct clock_event_device *evt) in ds1287_shutdown() 76 static int ds1287_set_periodic(struct clock_event_device *evt) in ds1287_set_periodic() 90 static void ds1287_event_handler(struct clock_event_device *dev) in ds1287_event_handler() 94 static struct clock_event_device ds1287_clockevent = { 106 struct clock_event_device *cd = &ds1287_clockevent; in ds1287_interrupt() 124 struct clock_event_device *cd; in ds1287_clockevent_init()
|
/Linux-v4.19/drivers/clocksource/ |
D | timer-digicolor.c | 61 struct clock_event_device ce; 67 static struct digicolor_timer *dc_timer(struct clock_event_device *ce) in dc_timer() 72 static inline void dc_timer_disable(struct clock_event_device *ce) in dc_timer_disable() 78 static inline void dc_timer_enable(struct clock_event_device *ce, u32 mode) in dc_timer_enable() 84 static inline void dc_timer_set_count(struct clock_event_device *ce, in dc_timer_set_count() 91 static int digicolor_clkevt_shutdown(struct clock_event_device *ce) in digicolor_clkevt_shutdown() 97 static int digicolor_clkevt_set_oneshot(struct clock_event_device *ce) in digicolor_clkevt_set_oneshot() 104 static int digicolor_clkevt_set_periodic(struct clock_event_device *ce) in digicolor_clkevt_set_periodic() 115 struct clock_event_device *ce) in digicolor_clkevt_next_event() 140 struct clock_event_device *evt = dev_id; in digicolor_timer_interrupt()
|
D | owl-timer.c | 65 static int owl_timer_set_state_shutdown(struct clock_event_device *evt) in owl_timer_set_state_shutdown() 72 static int owl_timer_set_state_oneshot(struct clock_event_device *evt) in owl_timer_set_state_oneshot() 79 static int owl_timer_tick_resume(struct clock_event_device *evt) in owl_timer_tick_resume() 85 struct clock_event_device *ev) in owl_timer_set_next_event() 98 static struct clock_event_device owl_clockevent = { 111 struct clock_event_device *evt = (struct clock_event_device *)dev_id; in owl_timer1_interrupt()
|
D | numachip.c | 22 static DEFINE_PER_CPU(struct clock_event_device, numachip2_ced); 39 static int numachip2_set_next_event(unsigned long delta, struct clock_event_device *ced) in numachip2_set_next_event() 46 static const struct clock_event_device numachip2_clockevent __initconst = { 61 struct clock_event_device *ced = this_cpu_ptr(&numachip2_ced); in numachip_timer_interrupt() 69 struct clock_event_device *ced = this_cpu_ptr(&numachip2_ced); in numachip_timer_each()
|
D | meson6_timer.c | 70 static int meson6_shutdown(struct clock_event_device *evt) in meson6_shutdown() 76 static int meson6_set_oneshot(struct clock_event_device *evt) in meson6_set_oneshot() 83 static int meson6_set_periodic(struct clock_event_device *evt) in meson6_set_periodic() 92 struct clock_event_device *unused) in meson6_clkevt_next_event() 101 static struct clock_event_device meson6_clockevent = { 115 struct clock_event_device *evt = (struct clock_event_device *)dev_id; in meson6_timer_interrupt()
|
/Linux-v4.19/arch/arm/mach-netx/ |
D | time.c | 37 static inline void timer_shutdown(struct clock_event_device *evt) in timer_shutdown() 43 static int netx_shutdown(struct clock_event_device *evt) in netx_shutdown() 50 static int netx_set_oneshot(struct clock_event_device *evt) in netx_set_oneshot() 61 static int netx_set_periodic(struct clock_event_device *evt) in netx_set_periodic() 74 struct clock_event_device *clk) in netx_set_next_event() 80 static struct clock_event_device netx_clockevent = { 96 struct clock_event_device *evt = &netx_clockevent; in netx_timer_interrupt()
|
/Linux-v4.19/arch/arm/plat-iop/ |
D | time.c | 66 struct clock_event_device *unused) in iop_set_next_event() 80 static int iop_set_periodic(struct clock_event_device *evt) in iop_set_periodic() 93 static int iop_set_oneshot(struct clock_event_device *evt) in iop_set_oneshot() 103 static int iop_shutdown(struct clock_event_device *evt) in iop_shutdown() 112 static int iop_resume(struct clock_event_device *evt) in iop_resume() 121 static struct clock_event_device iop_clockevent = { 136 struct clock_event_device *evt = dev_id; in iop_timer_interrupt()
|
/Linux-v4.19/arch/hexagon/kernel/ |
D | time.c | 88 static int set_next_event(unsigned long delta, struct clock_event_device *evt) in set_next_event() 109 static struct clock_event_device hexagon_clockevent_dev = { 121 static DEFINE_PER_CPU(struct clock_event_device, clock_events); 126 struct clock_event_device *ce_dev = &hexagon_clockevent_dev; in setup_percpu_clockdev() 127 struct clock_event_device *dummy_clock_dev = in setup_percpu_clockdev() 143 struct clock_event_device *ce_dev = &per_cpu(clock_events, cpu); in ipi_timer() 151 struct clock_event_device *ce_dev = &hexagon_clockevent_dev; in timer_interrupt() 178 struct clock_event_device *ce_dev = &hexagon_clockevent_dev; in time_init_deferred()
|
/Linux-v4.19/arch/alpha/kernel/ |
D | time.c | 88 static DEFINE_PER_CPU(struct clock_event_device, cpu_ce); 94 struct clock_event_device *ce = &per_cpu(cpu_ce, cpu); in rtc_timer_interrupt() 109 rtc_ce_set_next_event(unsigned long evt, struct clock_event_device *ce) in rtc_ce_set_next_event() 119 struct clock_event_device *ce = &per_cpu(cpu_ce, cpu); in init_rtc_clockevent() 121 *ce = (struct clock_event_device){ in init_rtc_clockevent() 157 static int qemu_ce_shutdown(struct clock_event_device *ce) in qemu_ce_shutdown() 166 qemu_ce_set_next_event(unsigned long evt, struct clock_event_device *ce) in qemu_ce_set_next_event() 176 struct clock_event_device *ce = &per_cpu(cpu_ce, cpu); in qemu_timer_interrupt() 186 struct clock_event_device *ce = &per_cpu(cpu_ce, cpu); in init_qemu_clockevent() 188 *ce = (struct clock_event_device){ in init_qemu_clockevent()
|
/Linux-v4.19/arch/arm/mach-footbridge/ |
D | dc21285-timer.c | 52 struct clock_event_device *c) in ckevt_dc21285_set_next_event() 61 static int ckevt_dc21285_shutdown(struct clock_event_device *c) in ckevt_dc21285_shutdown() 67 static int ckevt_dc21285_set_periodic(struct clock_event_device *c) in ckevt_dc21285_set_periodic() 76 static struct clock_event_device ckevt_dc21285 = { 91 struct clock_event_device *ce = dev_id; in timer1_interrupt() 116 struct clock_event_device *ce = &ckevt_dc21285; in footbridge_timer_init()
|
/Linux-v4.19/arch/arm/mach-spear/ |
D | time.c | 70 struct clock_event_device *clk_event_dev); 96 static inline void timer_shutdown(struct clock_event_device *evt) in timer_shutdown() 105 static int spear_shutdown(struct clock_event_device *evt) in spear_shutdown() 112 static int spear_set_oneshot(struct clock_event_device *evt) in spear_set_oneshot() 126 static int spear_set_periodic(struct clock_event_device *evt) in spear_set_periodic() 146 static struct clock_event_device clkevt = { 158 struct clock_event_device *clk_event_dev) in clockevent_next_event() 175 struct clock_event_device *evt = &clkevt; in spear_timer_interrupt()
|
/Linux-v4.19/arch/m68k/coldfire/ |
D | pit.c | 46 static int cf_pit_set_periodic(struct clock_event_device *evt) in cf_pit_set_periodic() 56 static int cf_pit_set_oneshot(struct clock_event_device *evt) in cf_pit_set_oneshot() 64 static int cf_pit_shutdown(struct clock_event_device *evt) in cf_pit_shutdown() 76 struct clock_event_device *evt) in cf_pit_next_event() 82 struct clock_event_device cf_pit_clockevent = { 100 struct clock_event_device *evt = &cf_pit_clockevent; in pit_tick()
|
/Linux-v4.19/arch/arm/mach-w90x900/ |
D | time.c | 51 static int nuc900_clockevent_shutdown(struct clock_event_device *evt) in nuc900_clockevent_shutdown() 59 static int nuc900_clockevent_set_oneshot(struct clock_event_device *evt) in nuc900_clockevent_set_oneshot() 69 static int nuc900_clockevent_set_periodic(struct clock_event_device *evt) in nuc900_clockevent_set_periodic() 80 struct clock_event_device *clk) in nuc900_clockevent_setnextevent() 93 static struct clock_event_device nuc900_clockevent_device = { 109 struct clock_event_device *evt = &nuc900_clockevent_device; in nuc900_timer0_interrupt()
|
/Linux-v4.19/arch/xtensa/kernel/ |
D | time.c | 56 struct clock_event_device *dev); 58 struct clock_event_device evt; 65 struct clock_event_device *dev) in ccount_timer_set_next_event() 86 static int ccount_timer_shutdown(struct clock_event_device *evt) in ccount_timer_shutdown() 98 static int ccount_timer_set_oneshot(struct clock_event_device *evt) in ccount_timer_set_oneshot() 120 struct clock_event_device *clockevent = &timer->evt; in local_timer_setup() 199 struct clock_event_device *evt = &this_cpu_ptr(&ccount_timer)->evt; in timer_interrupt()
|
/Linux-v4.19/arch/arm/kernel/ |
D | smp_twd.c | 35 static struct clock_event_device __percpu *twd_evt; 40 static int twd_shutdown(struct clock_event_device *clk) in twd_shutdown() 46 static int twd_set_oneshot(struct clock_event_device *clk) in twd_set_oneshot() 54 static int twd_set_periodic(struct clock_event_device *clk) in twd_set_periodic() 67 struct clock_event_device *unused) in twd_set_next_event() 97 struct clock_event_device *clk = raw_cpu_ptr(twd_evt); in twd_timer_stop() 235 struct clock_event_device *evt = dev_id; in twd_handler() 274 struct clock_event_device *clk = raw_cpu_ptr(twd_evt); in twd_timer_setup() 329 twd_evt = alloc_percpu(struct clock_event_device); in twd_local_timer_common_register()
|
/Linux-v4.19/arch/mips/loongson64/loongson-3/ |
D | hpet.c | 21 DEFINE_PER_CPU(struct clock_event_device, hpet_clockevent_device); 85 static int hpet_set_state_periodic(struct clock_event_device *evt) in hpet_set_state_periodic() 114 static int hpet_set_state_shutdown(struct clock_event_device *evt) in hpet_set_state_shutdown() 128 static int hpet_set_state_oneshot(struct clock_event_device *evt) in hpet_set_state_oneshot() 149 static int hpet_tick_resume(struct clock_event_device *evt) in hpet_tick_resume() 159 struct clock_event_device *evt) in hpet_next_event() 176 struct clock_event_device *cd; in hpet_irq_handler() 228 struct clock_event_device *cd; in setup_hpet_timer()
|
/Linux-v4.19/arch/mips/jz4740/ |
D | time.c | 57 struct clock_event_device *cd = devid; in jz4740_clockevent_irq() 69 static int jz4740_clockevent_set_periodic(struct clock_event_device *evt) in jz4740_clockevent_set_periodic() 79 static int jz4740_clockevent_resume(struct clock_event_device *evt) in jz4740_clockevent_resume() 87 static int jz4740_clockevent_shutdown(struct clock_event_device *evt) in jz4740_clockevent_shutdown() 95 struct clock_event_device *cd) in jz4740_clockevent_set_next() 104 static struct clock_event_device jz4740_clockevent = {
|