/kernel/linux/linux-5.10/drivers/clocksource/ |
H A D | timer-of.h | 34 struct timer_of { struct 44 static inline struct timer_of *to_timer_of(struct clock_event_device *clkevt) in to_timer_of() 46 return container_of(clkevt, struct timer_of, clkevt); in to_timer_of() 49 static inline void __iomem *timer_of_base(struct timer_of *to) in timer_of_base() 54 static inline int timer_of_irq(struct timer_of *to) in timer_of_irq() 59 static inline unsigned long timer_of_rate(struct timer_of *to) in timer_of_rate() 64 static inline unsigned long timer_of_period(struct timer_of *to) in timer_of_period() 70 struct timer_of *to); 72 extern void __init timer_of_cleanup(struct timer_of *to);
|
H A D | timer-milbeaut.c | 52 struct timer_of *to = to_timer_of(clk); in mlb_timer_interrupt() 64 static void mlb_evt_timer_start(struct timer_of *to, bool periodic) in mlb_evt_timer_start() 74 static void mlb_evt_timer_stop(struct timer_of *to) in mlb_evt_timer_stop() 82 static void mlb_evt_timer_register_count(struct timer_of *to, unsigned long cnt) in mlb_evt_timer_register_count() 89 struct timer_of *to = to_timer_of(clk); in mlb_set_state_periodic() 99 struct timer_of *to = to_timer_of(clk); in mlb_set_state_oneshot() 108 struct timer_of *to = to_timer_of(clk); in mlb_set_state_shutdown() 117 struct timer_of *to = to_timer_of(clk); in mlb_clkevt_next_event() 125 static int mlb_config_clock_source(struct timer_of *to) in mlb_config_clock_source() 137 static int mlb_config_clock_event(struct timer_of *t [all...] |
H A D | timer-stm32.c | 55 * @to: a timer_of structure pointer 62 static void stm32_timer_of_bits_set(struct timer_of *to, int bits) in stm32_timer_of_bits_set() 71 * @to: a timer_of structure pointer 78 static int stm32_timer_of_bits_get(struct timer_of *to) in stm32_timer_of_bits_get() 99 static void stm32_clock_event_disable(struct timer_of *to) in stm32_clock_event_disable() 106 * @to: a timer_of structure pointer 112 static void stm32_timer_start(struct timer_of *to) in stm32_timer_start() 119 struct timer_of *to = to_timer_of(clkevt); in stm32_clock_event_shutdown() 129 struct timer_of *to = to_timer_of(clkevt); in stm32_clock_event_set_next_event() 146 struct timer_of *t in stm32_clock_event_set_periodic() [all...] |
H A D | renesas-ostm.c | 44 static void ostm_timer_stop(struct timer_of *to) in ostm_timer_stop() 59 static int __init ostm_init_clksrc(struct timer_of *to) in ostm_init_clksrc() 77 static void __init ostm_init_sched_clock(struct timer_of *to) in ostm_init_sched_clock() 86 struct timer_of *to = to_timer_of(ced); in ostm_clock_event_next() 99 struct timer_of *to = to_timer_of(ced); in ostm_shutdown() 107 struct timer_of *to = to_timer_of(ced); in ostm_set_periodic() 121 struct timer_of *to = to_timer_of(ced); in ostm_set_oneshot() 142 static int __init ostm_init_clkevt(struct timer_of *to) in ostm_init_clkevt() 162 struct timer_of *to; in ostm_init()
|
H A D | timer-mediatek.c | 75 static void mtk_syst_ack_irq(struct timer_of *to) in mtk_syst_ack_irq() 84 struct timer_of *to = to_timer_of(clkevt); in mtk_syst_handler() 95 struct timer_of *to = to_timer_of(clkevt); in mtk_syst_clkevt_next_event() 135 static void mtk_gpt_clkevt_time_stop(struct timer_of *to, u8 timer) in mtk_gpt_clkevt_time_stop() 144 static void mtk_gpt_clkevt_time_setup(struct timer_of *to, in mtk_gpt_clkevt_time_setup() 150 static void mtk_gpt_clkevt_time_start(struct timer_of *to, in mtk_gpt_clkevt_time_start() 181 struct timer_of *to = to_timer_of(clk); in mtk_gpt_clkevt_set_periodic() 193 struct timer_of *to = to_timer_of(clk); in mtk_gpt_clkevt_next_event() 205 struct timer_of *to = to_timer_of(clkevt); in mtk_gpt_interrupt() 215 __init mtk_gpt_setup(struct timer_of *t [all...] |
H A D | timer-rda.c | 69 struct timer_of *to = to_timer_of(evt); in rda_ostimer_set_state_shutdown() 78 struct timer_of *to = to_timer_of(evt); in rda_ostimer_set_state_oneshot() 87 struct timer_of *to = to_timer_of(evt); in rda_ostimer_set_state_periodic() 107 struct timer_of *to = to_timer_of(ev); in rda_ostimer_set_next_event() 117 struct timer_of *to = to_timer_of(evt); in rda_ostimer_interrupt() 129 static struct timer_of rda_ostimer_of = {
|
H A D | timer-sprd.c | 82 struct timer_of *to = to_timer_of(ce); in sprd_timer_set_next_event() 93 struct timer_of *to = to_timer_of(ce); in sprd_timer_set_periodic() 104 struct timer_of *to = to_timer_of(ce); in sprd_timer_shutdown() 113 struct timer_of *to = to_timer_of(ce); in sprd_timer_interrupt() 124 static struct timer_of to = { 159 static struct timer_of suspend_to = {
|
H A D | timer-npcm7xx.c | 58 struct timer_of *to = to_timer_of(evt); in npcm7xx_timer_resume() 70 struct timer_of *to = to_timer_of(evt); in npcm7xx_timer_shutdown() 82 struct timer_of *to = to_timer_of(evt); in npcm7xx_timer_oneshot() 95 struct timer_of *to = to_timer_of(evt); in npcm7xx_timer_periodic() 111 struct timer_of *to = to_timer_of(clk); in npcm7xx_clockevent_set_next_event() 125 struct timer_of *to = to_timer_of(evt); in npcm7xx_timer0_interrupt() 134 static struct timer_of npcm7xx_to = {
|
H A D | timer-tegra.c | 116 static DEFINE_PER_CPU(struct timer_of, tegra_to) = { 134 struct timer_of *to = per_cpu_ptr(&tegra_to, cpu); in tegra_timer_setup() 159 struct timer_of *to = per_cpu_ptr(&tegra_to, cpu); in tegra_timer_stop() 184 static struct timer_of suspend_rtc_to = { 238 static inline unsigned long tegra_rate_for_timer(struct timer_of *to, in tegra_rate_for_timer() 254 struct timer_of *to; in tegra_init_timer() 302 struct timer_of *cpu_to = per_cpu_ptr(&tegra_to, cpu); in tegra_init_timer() 357 struct timer_of *cpu_to; in tegra_init_timer()
|
H A D | timer-of.c | 24 struct timer_of *to = container_of(of_irq, struct timer_of, of_irq); in timer_of_irq_exit() 54 struct timer_of *to = container_of(of_irq, struct timer_of, of_irq); in timer_of_irq_init() 168 int __init timer_of_init(struct device_node *np, struct timer_of *to) in timer_of_init() 214 * timer_of_cleanup - release timer_of ressources 215 * @to: timer_of structure 220 void __init timer_of_cleanup(struct timer_of *to) in timer_of_cleanup()
|
H A D | timer-sun4i.c | 87 struct timer_of *to = to_timer_of(evt); in sun4i_clkevt_shutdown() 96 struct timer_of *to = to_timer_of(evt); in sun4i_clkevt_set_oneshot() 106 struct timer_of *to = to_timer_of(evt); in sun4i_clkevt_set_periodic() 118 struct timer_of *to = to_timer_of(clkevt); in sun4i_clkevt_next_event() 135 struct timer_of *to = to_timer_of(evt); in sun4i_timer_interrupt() 143 static struct timer_of to = {
|
H A D | timer-atcpit100.c | 125 struct timer_of *to = to_timer_of(clkevt); in atcpit100_clkevt_next_event() 137 struct timer_of *to = to_timer_of(evt); in atcpit100_clkevt_set_periodic() 146 struct timer_of *to = to_timer_of(evt); in atcpit100_clkevt_shutdown() 154 struct timer_of *to = to_timer_of(evt); in atcpit100_clkevt_set_oneshot() 167 struct timer_of *to = to_timer_of(evt); in atcpit100_timer_interrupt() 176 static struct timer_of to = {
|
/kernel/linux/linux-6.6/drivers/clocksource/ |
H A D | timer-of.h | 34 struct timer_of { struct 44 static inline struct timer_of *to_timer_of(struct clock_event_device *clkevt) in to_timer_of() 46 return container_of(clkevt, struct timer_of, clkevt); in to_timer_of() 49 static inline void __iomem *timer_of_base(struct timer_of *to) in timer_of_base() 54 static inline int timer_of_irq(struct timer_of *to) in timer_of_irq() 59 static inline unsigned long timer_of_rate(struct timer_of *to) in timer_of_rate() 64 static inline unsigned long timer_of_period(struct timer_of *to) in timer_of_period() 70 struct timer_of *to); 72 extern void __init timer_of_cleanup(struct timer_of *to);
|
H A D | timer-milbeaut.c | 52 struct timer_of *to = to_timer_of(clk); in mlb_timer_interrupt() 64 static void mlb_evt_timer_start(struct timer_of *to, bool periodic) in mlb_evt_timer_start() 74 static void mlb_evt_timer_stop(struct timer_of *to) in mlb_evt_timer_stop() 82 static void mlb_evt_timer_register_count(struct timer_of *to, unsigned long cnt) in mlb_evt_timer_register_count() 89 struct timer_of *to = to_timer_of(clk); in mlb_set_state_periodic() 99 struct timer_of *to = to_timer_of(clk); in mlb_set_state_oneshot() 108 struct timer_of *to = to_timer_of(clk); in mlb_set_state_shutdown() 117 struct timer_of *to = to_timer_of(clk); in mlb_clkevt_next_event() 125 static int mlb_config_clock_source(struct timer_of *to) in mlb_config_clock_source() 137 static int mlb_config_clock_event(struct timer_of *t [all...] |
H A D | timer-loongson1-pwm.c | 45 struct timer_of *to) in ls1x_pwmtimer_set_period() 51 static inline void ls1x_pwmtimer_clear(struct timer_of *to) in ls1x_pwmtimer_clear() 56 static inline void ls1x_pwmtimer_start(struct timer_of *to) in ls1x_pwmtimer_start() 61 static inline void ls1x_pwmtimer_stop(struct timer_of *to) in ls1x_pwmtimer_stop() 66 static inline void ls1x_pwmtimer_irq_ack(struct timer_of *to) in ls1x_pwmtimer_irq_ack() 78 struct timer_of *to = to_timer_of(clkevt); in ls1x_clockevent_isr() 91 struct timer_of *to = to_timer_of(clkevt); in ls1x_clockevent_set_state_periodic() 123 struct timer_of *to = to_timer_of(clkevt); in ls1x_clockevent_set_next() 134 static struct timer_of ls1x_to = { 218 struct timer_of *t in ls1x_pwm_clocksource_init() [all...] |
H A D | timer-mediatek.c | 75 static void mtk_syst_ack_irq(struct timer_of *to) in mtk_syst_ack_irq() 85 struct timer_of *to = to_timer_of(clkevt); in mtk_syst_handler() 96 struct timer_of *to = to_timer_of(clkevt); in mtk_syst_clkevt_next_event() 139 static void mtk_gpt_clkevt_time_stop(struct timer_of *to, u8 timer) in mtk_gpt_clkevt_time_stop() 148 static void mtk_gpt_clkevt_time_setup(struct timer_of *to, in mtk_gpt_clkevt_time_setup() 154 static void mtk_gpt_clkevt_time_start(struct timer_of *to, in mtk_gpt_clkevt_time_start() 185 struct timer_of *to = to_timer_of(clk); in mtk_gpt_clkevt_set_periodic() 197 struct timer_of *to = to_timer_of(clk); in mtk_gpt_clkevt_next_event() 209 struct timer_of *to = to_timer_of(clkevt); in mtk_gpt_interrupt() 219 __init mtk_gpt_setup(struct timer_of *t [all...] |
H A D | timer-stm32.c | 55 * @to: a timer_of structure pointer 62 static void stm32_timer_of_bits_set(struct timer_of *to, int bits) in stm32_timer_of_bits_set() 71 * @to: a timer_of structure pointer 78 static int stm32_timer_of_bits_get(struct timer_of *to) in stm32_timer_of_bits_get() 99 static void stm32_clock_event_disable(struct timer_of *to) in stm32_clock_event_disable() 106 * @to: a timer_of structure pointer 112 static void stm32_timer_start(struct timer_of *to) in stm32_timer_start() 119 struct timer_of *to = to_timer_of(clkevt); in stm32_clock_event_shutdown() 129 struct timer_of *to = to_timer_of(clkevt); in stm32_clock_event_set_next_event() 146 struct timer_of *t in stm32_clock_event_set_periodic() [all...] |
H A D | renesas-ostm.c | 46 static void ostm_timer_stop(struct timer_of *to) in ostm_timer_stop() 61 static int __init ostm_init_clksrc(struct timer_of *to) in ostm_init_clksrc() 79 static void __init ostm_init_sched_clock(struct timer_of *to) in ostm_init_sched_clock() 88 struct timer_of *to = to_timer_of(ced); in ostm_clock_event_next() 101 struct timer_of *to = to_timer_of(ced); in ostm_shutdown() 109 struct timer_of *to = to_timer_of(ced); in ostm_set_periodic() 123 struct timer_of *to = to_timer_of(ced); in ostm_set_oneshot() 144 static int __init ostm_init_clkevt(struct timer_of *to) in ostm_init_clkevt() 165 struct timer_of *to; in ostm_init()
|
H A D | timer-rda.c | 69 struct timer_of *to = to_timer_of(evt); in rda_ostimer_set_state_shutdown() 78 struct timer_of *to = to_timer_of(evt); in rda_ostimer_set_state_oneshot() 87 struct timer_of *to = to_timer_of(evt); in rda_ostimer_set_state_periodic() 107 struct timer_of *to = to_timer_of(ev); in rda_ostimer_set_next_event() 117 struct timer_of *to = to_timer_of(evt); in rda_ostimer_interrupt() 129 static struct timer_of rda_ostimer_of = {
|
H A D | timer-sprd.c | 82 struct timer_of *to = to_timer_of(ce); in sprd_timer_set_next_event() 93 struct timer_of *to = to_timer_of(ce); in sprd_timer_set_periodic() 104 struct timer_of *to = to_timer_of(ce); in sprd_timer_shutdown() 113 struct timer_of *to = to_timer_of(ce); in sprd_timer_interrupt() 124 static struct timer_of to = { 159 static struct timer_of suspend_to = {
|
H A D | timer-npcm7xx.c | 58 struct timer_of *to = to_timer_of(evt); in npcm7xx_timer_resume() 70 struct timer_of *to = to_timer_of(evt); in npcm7xx_timer_shutdown() 82 struct timer_of *to = to_timer_of(evt); in npcm7xx_timer_oneshot() 95 struct timer_of *to = to_timer_of(evt); in npcm7xx_timer_periodic() 111 struct timer_of *to = to_timer_of(clk); in npcm7xx_clockevent_set_next_event() 125 struct timer_of *to = to_timer_of(evt); in npcm7xx_timer0_interrupt() 134 static struct timer_of npcm7xx_to = {
|
H A D | timer-tegra.c | 116 static DEFINE_PER_CPU(struct timer_of, tegra_to) = { 134 struct timer_of *to = per_cpu_ptr(&tegra_to, cpu); in tegra_timer_setup() 159 struct timer_of *to = per_cpu_ptr(&tegra_to, cpu); in tegra_timer_stop() 184 static struct timer_of suspend_rtc_to = { 238 static inline unsigned long tegra_rate_for_timer(struct timer_of *to, in tegra_rate_for_timer() 254 struct timer_of *to; in tegra_init_timer() 302 struct timer_of *cpu_to = per_cpu_ptr(&tegra_to, cpu); in tegra_init_timer() 357 struct timer_of *cpu_to; in tegra_init_timer()
|
H A D | timer-sun4i.c | 85 struct timer_of *to = to_timer_of(evt); in sun4i_clkevt_shutdown() 94 struct timer_of *to = to_timer_of(evt); in sun4i_clkevt_set_oneshot() 104 struct timer_of *to = to_timer_of(evt); in sun4i_clkevt_set_periodic() 116 struct timer_of *to = to_timer_of(clkevt); in sun4i_clkevt_next_event() 133 struct timer_of *to = to_timer_of(evt); in sun4i_timer_interrupt() 141 static struct timer_of to = {
|
H A D | timer-msc313e.c | 93 struct timer_of *timer = to_timer_of(evt); in msc313e_timer_clkevt_shutdown() 102 struct timer_of *timer = to_timer_of(evt); in msc313e_timer_clkevt_set_oneshot() 112 struct timer_of *timer = to_timer_of(evt); in msc313e_timer_clkevt_set_periodic() 123 struct timer_of *timer = to_timer_of(clkevt); in msc313e_timer_clkevt_next_event() 172 struct timer_of *to; in msc313e_clkevt_init() 201 struct timer_of to = { 0 }; in msc313e_clksrc_init()
|
H A D | timer-of.c | 24 struct timer_of *to = container_of(of_irq, struct timer_of, of_irq); in timer_of_irq_exit() 54 struct timer_of *to = container_of(of_irq, struct timer_of, of_irq); in timer_of_irq_init() 168 int __init timer_of_init(struct device_node *np, struct timer_of *to) in timer_of_init() 214 * timer_of_cleanup - release timer_of resources 215 * @to: timer_of structure 220 void __init timer_of_cleanup(struct timer_of *to) in timer_of_cleanup()
|