Home
last modified time | relevance | path

Searched refs:next_tick (Results 1 - 25 of 37) sorted by relevance

12

/kernel/linux/linux-5.10/arch/parisc/kernel/
H A Dtime.c65 unsigned long next_tick; in timer_interrupt() local
75 /* Initialize next_tick to the old expected tick time. */ in timer_interrupt()
76 next_tick = cpuinfo->it_value; in timer_interrupt()
82 next_tick += cpt; in timer_interrupt()
83 } while (next_tick - now > cpt); in timer_interrupt()
86 cpuinfo->it_value = next_tick; in timer_interrupt()
102 * "next_tick - now" will always give the difference regardless in timer_interrupt()
107 while (next_tick - now > cpt) in timer_interrupt()
108 next_tick += cpt; in timer_interrupt()
111 * Only bottom 32-bits of next_tick ar in timer_interrupt()
159 unsigned long next_tick = mfctl(16) + clocktick; start_cpu_itimer() local
[all...]
/kernel/linux/linux-6.6/arch/parisc/kernel/
H A Dtime.c67 unsigned long next_tick; in timer_interrupt() local
75 /* Initialize next_tick to the old expected tick time. */ in timer_interrupt()
76 next_tick = cpuinfo->it_value; in timer_interrupt()
82 next_tick += cpt; in timer_interrupt()
83 } while (next_tick - now > cpt); in timer_interrupt()
86 cpuinfo->it_value = next_tick; in timer_interrupt()
101 * "next_tick - now" will always give the difference regardless in timer_interrupt()
106 while (next_tick - now > cpt) in timer_interrupt()
107 next_tick += cpt; in timer_interrupt()
110 * Only bottom 32-bits of next_tick ar in timer_interrupt()
158 unsigned long next_tick = mfctl(16) + clocktick; start_cpu_itimer() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/dec/tulip/
H A Dtimer.c24 int next_tick = 2*HZ; in tulip_media_task() local
46 next_tick = 60*HZ; in tulip_media_task()
104 next_tick = (24*HZ)/10; in tulip_media_task()
111 next_tick = 3*HZ; in tulip_media_task()
114 next_tick = 60*HZ; in tulip_media_task()
136 mod_timer(&tp->timer, RUN_AT(next_tick)); in tulip_media_task()
145 int next_tick = 60*HZ; in mxic_timer() local
151 if (next_tick) { in mxic_timer()
152 mod_timer(&tp->timer, RUN_AT(next_tick)); in mxic_timer()
161 int next_tick in comet_timer() local
[all...]
H A Dpnic.c92 int next_tick = 60*HZ; in pnic_timer() local
106 next_tick = 3*HZ; in pnic_timer()
119 next_tick = 1*HZ; in pnic_timer()
123 next_tick = 60*HZ; in pnic_timer()
131 next_tick = 3*HZ; in pnic_timer()
134 next_tick = 1*HZ; in pnic_timer()
161 mod_timer(&tp->timer, RUN_AT(next_tick)); in pnic_timer()
H A Dde4x5.c1747 int next_tick = DE4X5_AUTOSENSE_MS; in de4x5_ast() local
1751 next_tick = srom_autoconf(dev); in de4x5_ast()
1753 next_tick = dc21140m_autoconf(dev); in de4x5_ast()
1755 next_tick = dc21041_autoconf(dev); in de4x5_ast()
1757 next_tick = dc21040_autoconf(dev); in de4x5_ast()
1760 dt = (next_tick * HZ) / 1000; in de4x5_ast()
2393 int next_tick = DE4X5_AUTOSENSE_MS; in dc21040_autoconf() local
2412 next_tick = dc21040_autoconf(dev); in dc21040_autoconf()
2416 next_tick = dc21040_state(dev, 0x8f01, 0xffff, 0x0000, 3000, BNC_AUI, in dc21040_autoconf()
2421 next_tick in dc21040_autoconf()
2465 int next_tick = DE4X5_AUTOSENSE_MS; dc21040_state() local
2504 int next_tick = DE4X5_AUTOSENSE_MS; de4x5_suspect_state() local
2548 int next_tick = DE4X5_AUTOSENSE_MS; dc21041_autoconf() local
2749 int next_tick = DE4X5_AUTOSENSE_MS; dc21140m_autoconf() local
2934 int next_tick = DE4X5_AUTOSENSE_MS; dc2114x_autoconf() local
3295 int next_tick = 0; de4x5_reset_phy() local
4424 int next_tick = DE4X5_AUTOSENSE_MS; dc21140_infoleaf() local
4462 int next_tick = DE4X5_AUTOSENSE_MS; dc21142_infoleaf() local
4497 int next_tick = DE4X5_AUTOSENSE_MS; dc21143_infoleaf() local
[all...]
H A D21142.c35 int next_tick = 60*HZ; in t21142_media_task() local
48 next_tick = 3*HZ; in t21142_media_task()
51 next_tick = 60*HZ; in t21142_media_task()
68 next_tick = 3*HZ; in t21142_media_task()
101 next_tick = 3*HZ; in t21142_media_task()
107 mod_timer(&tp->timer, RUN_AT(next_tick)); in t21142_media_task()
H A Dpnic2.c84 int next_tick = 60*HZ; in pnic2_timer() local
90 if (next_tick) { in pnic2_timer()
91 mod_timer(&tp->timer, RUN_AT(next_tick)); in pnic2_timer()
H A Dtulip_core.c286 int next_tick = 3*HZ; in tulip_up() local
450 next_tick = 1*HZ; in tulip_up()
494 tp->timer.expires = RUN_AT(next_tick); in tulip_up()
/kernel/linux/linux-6.6/drivers/net/ethernet/dec/tulip/
H A Dtimer.c24 int next_tick = 2*HZ; in tulip_media_task() local
46 next_tick = 60*HZ; in tulip_media_task()
104 next_tick = (24*HZ)/10; in tulip_media_task()
111 next_tick = 3*HZ; in tulip_media_task()
114 next_tick = 60*HZ; in tulip_media_task()
136 mod_timer(&tp->timer, RUN_AT(next_tick)); in tulip_media_task()
145 int next_tick = 60*HZ; in mxic_timer() local
151 if (next_tick) { in mxic_timer()
152 mod_timer(&tp->timer, RUN_AT(next_tick)); in mxic_timer()
161 int next_tick in comet_timer() local
[all...]
H A Dpnic.c92 int next_tick = 60*HZ; in pnic_timer() local
106 next_tick = 3*HZ; in pnic_timer()
119 next_tick = 1*HZ; in pnic_timer()
123 next_tick = 60*HZ; in pnic_timer()
131 next_tick = 3*HZ; in pnic_timer()
134 next_tick = 1*HZ; in pnic_timer()
161 mod_timer(&tp->timer, RUN_AT(next_tick)); in pnic_timer()
H A D21142.c35 int next_tick = 60*HZ; in t21142_media_task() local
48 next_tick = 3*HZ; in t21142_media_task()
51 next_tick = 60*HZ; in t21142_media_task()
68 next_tick = 3*HZ; in t21142_media_task()
101 next_tick = 3*HZ; in t21142_media_task()
107 mod_timer(&tp->timer, RUN_AT(next_tick)); in t21142_media_task()
H A Dpnic2.c84 int next_tick = 60*HZ; in pnic2_timer() local
90 if (next_tick) { in pnic2_timer()
91 mod_timer(&tp->timer, RUN_AT(next_tick)); in pnic2_timer()
H A Dtulip_core.c286 int next_tick = 3*HZ; in tulip_up() local
450 next_tick = 1*HZ; in tulip_up()
494 tp->timer.expires = RUN_AT(next_tick); in tulip_up()
/kernel/linux/linux-6.6/kernel/time/
H A Dtick-sched.c251 ts->next_tick = 0; in tick_sched_handle()
793 ts->next_tick = 0; in tick_nohz_restart()
803 u64 basemono, next_tick, delta, expires; in tick_nohz_next_event() local
828 next_tick = basemono + TICK_NSEC; in tick_nohz_next_event()
837 next_tick = get_next_timer_interrupt(basejiff, basemono); in tick_nohz_next_event()
838 ts->next_timer = next_tick; in tick_nohz_next_event()
845 delta = next_tick - basemono; in tick_nohz_next_event()
878 ts->timer_expires = min_t(u64, expires, next_tick); in tick_nohz_next_event()
910 if (ts->tick_stopped && (expires == ts->next_tick)) { in tick_nohz_stop_tick()
912 if (tick == KTIME_MAX || ts->next_tick in tick_nohz_stop_tick()
[all...]
H A Dtick-sched.h40 * @next_tick: Next tick to be fired when in dynticks mode.
73 ktime_t next_tick; member
/kernel/linux/linux-5.10/kernel/time/
H A Dtick-sched.c219 ts->next_tick = 0; in tick_sched_handle()
732 ts->next_tick = 0; in tick_nohz_restart()
742 u64 basemono, next_tick, next_tmr, next_rcu, delta, expires; in tick_nohz_next_event() local
767 next_tick = basemono + TICK_NSEC; in tick_nohz_next_event()
779 next_tick = next_rcu < next_tmr ? next_rcu : next_tmr; in tick_nohz_next_event()
786 delta = next_tick - basemono; in tick_nohz_next_event()
819 ts->timer_expires = min_t(u64, expires, next_tick); in tick_nohz_next_event()
851 if (ts->tick_stopped && (expires == ts->next_tick)) { in tick_nohz_stop_tick()
853 if (tick == KTIME_MAX || ts->next_tick == hrtimer_get_expires(&ts->sched_timer)) in tick_nohz_stop_tick()
857 printk_once("basemono: %llu ts->next_tick in tick_nohz_stop_tick()
[all...]
H A Dtick-sched.h39 * @next_tick: Next tick to be fired when in dynticks mode.
67 ktime_t next_tick; member
/kernel/linux/linux-5.10/drivers/watchdog/
H A Dbcm47xx_wdt.c109 u32 next_tick = min(wdt->wdd.timeout * 1000, wdt->max_timer_ms); in bcm47xx_wdt_soft_timer_tick() local
112 wdt->timer_set_ms(wdt, next_tick); in bcm47xx_wdt_soft_timer_tick()
/kernel/linux/linux-6.6/drivers/watchdog/
H A Dbcm47xx_wdt.c109 u32 next_tick = min(wdt->wdd.timeout * 1000, wdt->max_timer_ms); in bcm47xx_wdt_soft_timer_tick() local
112 wdt->timer_set_ms(wdt, next_tick); in bcm47xx_wdt_soft_timer_tick()
/kernel/linux/linux-5.10/drivers/net/ethernet/realtek/
H A D8139too.c1462 static int next_tick = 3 * HZ; variable
1497 next_tick = HZ / 10; in rtl8139_tune_twister()
1520 next_tick = HZ / 10; in rtl8139_tune_twister()
1528 next_tick = HZ / 10; in rtl8139_tune_twister()
1545 next_tick = HZ / 10; in rtl8139_tune_twister()
1557 next_tick = HZ / 10; in rtl8139_tune_twister()
1596 next_tick = HZ * 60; in rtl8139_thread_iter()
1613 unsigned long thr_delay = next_tick; in rtl8139_thread()
1643 schedule_delayed_work(&tp->thread, next_tick); in rtl8139_start_thread()
1710 schedule_delayed_work(&tp->thread, next_tick); in rtl8139_tx_timeout()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/realtek/
H A D8139too.c1463 static int next_tick = 3 * HZ; variable
1498 next_tick = HZ / 10; in rtl8139_tune_twister()
1521 next_tick = HZ / 10; in rtl8139_tune_twister()
1529 next_tick = HZ / 10; in rtl8139_tune_twister()
1546 next_tick = HZ / 10; in rtl8139_tune_twister()
1558 next_tick = HZ / 10; in rtl8139_tune_twister()
1597 next_tick = HZ * 60; in rtl8139_thread_iter()
1614 unsigned long thr_delay = next_tick; in rtl8139_thread()
1644 schedule_delayed_work(&tp->thread, next_tick); in rtl8139_start_thread()
1711 schedule_delayed_work(&tp->thread, next_tick); in rtl8139_tx_timeout()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/packetengines/
H A Dyellowfin.c656 int next_tick = 60*HZ; in yellowfin_timer() local
676 next_tick = 60*HZ; in yellowfin_timer()
678 next_tick = 3*HZ; in yellowfin_timer()
681 yp->timer.expires = jiffies + next_tick; in yellowfin_timer()
/kernel/linux/linux-6.6/drivers/net/ethernet/packetengines/
H A Dyellowfin.c658 int next_tick = 60*HZ; in yellowfin_timer() local
678 next_tick = 60*HZ; in yellowfin_timer()
680 next_tick = 3*HZ; in yellowfin_timer()
683 yp->timer.expires = jiffies + next_tick; in yellowfin_timer()
/kernel/linux/linux-5.10/drivers/net/ethernet/natsemi/
H A Dnatsemi.c1792 int next_tick = NATSEMI_TIMER_FREQ; in netdev_timer() local
1827 next_tick = HZ; in netdev_timer()
1848 next_tick = 1; in netdev_timer()
1852 if (next_tick > 1) in netdev_timer()
1853 mod_timer(&np->timer, round_jiffies(jiffies + next_tick)); in netdev_timer()
1855 mod_timer(&np->timer, jiffies + next_tick); in netdev_timer()
/kernel/linux/linux-6.6/drivers/net/ethernet/natsemi/
H A Dnatsemi.c1792 int next_tick = NATSEMI_TIMER_FREQ; in netdev_timer() local
1827 next_tick = HZ; in netdev_timer()
1848 next_tick = 1; in netdev_timer()
1852 if (next_tick > 1) in netdev_timer()
1853 mod_timer(&np->timer, round_jiffies(jiffies + next_tick)); in netdev_timer()
1855 mod_timer(&np->timer, jiffies + next_tick); in netdev_timer()

Completed in 62 milliseconds

12