Home
last modified time | relevance | path

Searched refs:watchdog_timer (Results 1 – 25 of 40) sorted by relevance

12

/openbmc/qemu/hw/timer/
H A Dnpcm7xx_timer.c463 value = s->watchdog_timer.wtcr; in npcm7xx_timer_read()
519 npcm7xx_timer_write_wtcr(&s->watchdog_timer, value); in npcm7xx_timer_write()
567 s->watchdog_timer.wtcr = 0x00000400 | (s->watchdog_timer.wtcr & in npcm7xx_timer_enter_reset()
603 qemu_irq_lower(s->watchdog_timer.irq); in npcm7xx_timer_hold_reset()
622 w = &s->watchdog_timer; in npcm7xx_timer_init()
685 VMSTATE_STRUCT(watchdog_timer, NPCM7xxTimerCtrlState,
/openbmc/linux/kernel/time/
H A Dclocksource.c143 static struct timer_list watchdog_timer; variable
492 watchdog_timer.expires = jiffies; in clocksource_watchdog()
575 if (!timer_pending(&watchdog_timer)) { in clocksource_watchdog()
576 watchdog_timer.expires += WATCHDOG_INTERVAL + extra_wait; in clocksource_watchdog()
577 add_timer_on(&watchdog_timer, next_cpu); in clocksource_watchdog()
587 timer_setup(&watchdog_timer, clocksource_watchdog, 0); in clocksource_start_watchdog()
588 watchdog_timer.expires = jiffies + WATCHDOG_INTERVAL; in clocksource_start_watchdog()
589 add_timer_on(&watchdog_timer, cpumask_first(cpu_online_mask)); in clocksource_start_watchdog()
597 del_timer(&watchdog_timer); in clocksource_stop_watchdog()
/openbmc/linux/drivers/power/supply/
H A Dbq25980_charger.c104 int watchdog_timer; member
1090 if (bq->watchdog_timer) { in bq25980_hw_init()
1091 if (bq->watchdog_timer >= bq25980_watchdog_time[wd_max_val]) in bq25980_hw_init()
1095 if (bq->watchdog_timer > bq25980_watchdog_time[i] && in bq25980_hw_init()
1096 bq->watchdog_timer < bq25980_watchdog_time[i + 1]) { in bq25980_hw_init()
1148 &bq->watchdog_timer); in bq25980_parse_dt()
1150 bq->watchdog_timer = BQ25980_WATCHDOG_MIN; in bq25980_parse_dt()
1152 if (bq->watchdog_timer > BQ25980_WATCHDOG_MAX || in bq25980_parse_dt()
1153 bq->watchdog_timer < BQ25980_WATCHDOG_MIN) in bq25980_parse_dt()
H A Dbq256xx_charger.c249 int watchdog_timer; member
1573 if (bq->watchdog_timer == bq256xx_watchdog_time[i]) { in bq256xx_hw_init()
1578 bq->watchdog_timer > bq256xx_watchdog_time[i] && in bq256xx_hw_init()
1579 bq->watchdog_timer < bq256xx_watchdog_time[i + 1]) in bq256xx_hw_init()
1668 &bq->watchdog_timer); in bq256xx_parse_dt()
1670 bq->watchdog_timer = BQ256XX_WATCHDOG_DIS; in bq256xx_parse_dt()
1672 if (bq->watchdog_timer > BQ256XX_WATCHDOG_MAX || in bq256xx_parse_dt()
1673 bq->watchdog_timer < BQ256XX_WATCHDOG_DIS) in bq256xx_parse_dt()
/openbmc/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_bus_pci.c370 mod_timer(&ionic->watchdog_timer, in ionic_probe()
400 del_timer_sync(&ionic->watchdog_timer); in ionic_remove()
431 del_timer_sync(&ionic->watchdog_timer); in ionic_reset_prepare()
463 mod_timer(&ionic->watchdog_timer, jiffies + 1); in ionic_reset_done()
H A Dionic.h62 struct timer_list watchdog_timer; member
H A Dionic_dev.c16 struct ionic *ionic = from_timer(ionic, t, watchdog_timer); in ionic_watchdog_cb()
21 mod_timer(&ionic->watchdog_timer, in ionic_watchdog_cb()
54 timer_setup(&ionic->watchdog_timer, ionic_watchdog_cb, 0); in ionic_watchdog_init()
/openbmc/qemu/include/hw/timer/
H A Dnpcm7xx_timer.h106 NPCM7xxWatchdogTimer watchdog_timer; member
/openbmc/linux/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc.c146 struct s5p_mfc_dev *dev = from_timer(dev, t, watchdog_timer); in s5p_mfc_watchdog()
161 dev->watchdog_timer.expires = jiffies + in s5p_mfc_watchdog()
163 add_timer(&dev->watchdog_timer); in s5p_mfc_watchdog()
837 dev->watchdog_timer.expires = jiffies + in s5p_mfc_open()
839 add_timer(&dev->watchdog_timer); in s5p_mfc_open()
932 del_timer_sync(&dev->watchdog_timer); in s5p_mfc_open()
981 del_timer_sync(&dev->watchdog_timer); in s5p_mfc_release()
1344 timer_setup(&dev->watchdog_timer, s5p_mfc_watchdog, 0); in s5p_mfc_probe()
1457 del_timer_sync(&dev->watchdog_timer); in s5p_mfc_remove()
H A Ds5p_mfc_common.h334 struct timer_list watchdog_timer; member
/openbmc/linux/net/sched/
H A Dsch_generic.c497 struct net_device *dev = from_timer(dev, t, watchdog_timer); in dev_watchdog()
541 if (!mod_timer(&dev->watchdog_timer, in dev_watchdog()
558 if (!mod_timer(&dev->watchdog_timer, in __netdev_watchdog_up()
574 if (del_timer(&dev->watchdog_timer)) in dev_watchdog_down()
1484 timer_setup(&dev->watchdog_timer, dev_watchdog, 0); in dev_init_scheduler()
1495 WARN_ON(timer_pending(&dev->watchdog_timer)); in dev_shutdown()
/openbmc/linux/drivers/net/ethernet/intel/igbvf/
H A Digbvf.h156 struct timer_list watchdog_timer; member
H A Dnetdev.c862 mod_timer(&adapter->watchdog_timer, jiffies + 1); in igbvf_msix_other()
1560 mod_timer(&adapter->watchdog_timer, jiffies + 1); in igbvf_up()
1595 del_timer_sync(&adapter->watchdog_timer); in igbvf_down()
1751 mod_timer(&adapter->watchdog_timer, jiffies + 1); in igbvf_open()
1906 struct igbvf_adapter *adapter = from_timer(adapter, t, watchdog_timer); in igbvf_watchdog()
1967 mod_timer(&adapter->watchdog_timer, in igbvf_watchdog_task()
2850 timer_setup(&adapter->watchdog_timer, igbvf_watchdog, 0); in igbvf_probe()
2918 del_timer_sync(&adapter->watchdog_timer); in igbvf_remove()
/openbmc/qemu/hw/dma/
H A Dpl330.c124 uint32_t watchdog_timer; member
151 VMSTATE_UINT32(watchdog_timer, PL330Chan),
1154 ch->watchdog_timer = 0; in pl330_chan_exec()
1158 ch->watchdog_timer++; in pl330_chan_exec()
1159 if (ch->watchdog_timer >= PL330_WATCHDOG_LIMIT) { in pl330_chan_exec()
1522 ch->watchdog_timer = 0; in pl330_chan_reset()
/openbmc/linux/drivers/net/ethernet/atheros/atl1e/
H A Datl1e.h436 struct timer_list watchdog_timer; member
/openbmc/linux/drivers/net/ethernet/atheros/atlx/
H A Datl2.c720 mod_timer(&adapter->watchdog_timer, round_jiffies(jiffies + 4*HZ)); in atl2_open()
755 del_timer_sync(&adapter->watchdog_timer); in atl2_down()
1013 struct atl2_adapter *adapter = from_timer(adapter, t, watchdog_timer); in atl2_watchdog()
1027 mod_timer(&adapter->watchdog_timer, in atl2_watchdog()
1416 timer_setup(&adapter->watchdog_timer, atl2_watchdog, 0); in atl2_probe()
1471 del_timer_sync(&adapter->watchdog_timer); in atl2_remove()
H A Datl2.h447 struct timer_list watchdog_timer; member
/openbmc/linux/drivers/net/ethernet/oki-semi/pch_gbe/
H A Dpch_gbe.h582 struct timer_list watchdog_timer; member
H A Dpch_gbe_main.c1018 watchdog_timer); in pch_gbe_watchdog()
1052 mod_timer(&adapter->watchdog_timer, in pch_gbe_watchdog()
1887 mod_timer(&adapter->watchdog_timer, jiffies); in pch_gbe_up()
1919 del_timer_sync(&adapter->watchdog_timer); in pch_gbe_down()
2565 timer_setup(&adapter->watchdog_timer, pch_gbe_watchdog, 0); in pch_gbe_probe()
/openbmc/linux/drivers/input/touchscreen/
H A Dcyttsp4_core.h330 struct timer_list watchdog_timer; member
/openbmc/linux/drivers/net/ethernet/agere/
H A Det131x.h170 u32 watchdog_timer; /* 0x0038 */ member
/openbmc/linux/drivers/net/ethernet/atheros/atl1c/
H A Datl1c.h538 struct timer_list watchdog_timer; member
/openbmc/linux/drivers/net/ethernet/amd/
H A Dpcnet32.c296 struct timer_list watchdog_timer; member
1975 timer_setup(&lp->watchdog_timer, pcnet32_watchdog, 0); in pcnet32_probe1()
2283 mod_timer(&lp->watchdog_timer, PCNET32_WATCHDOG_TIMEOUT); in pcnet32_open()
2626 del_timer_sync(&lp->watchdog_timer); in pcnet32_close()
2901 struct pcnet32_private *lp = from_timer(lp, t, watchdog_timer); in pcnet32_watchdog()
2910 mod_timer(&lp->watchdog_timer, round_jiffies(PCNET32_WATCHDOG_TIMEOUT)); in pcnet32_watchdog()
/openbmc/linux/drivers/net/ethernet/myricom/myri10ge/
H A Dmyri10ge.c230 struct timer_list watchdog_timer; member
2451 mgp->watchdog_timer.expires = jiffies + myri10ge_watchdog_timeout * HZ; in myri10ge_open()
2452 add_timer(&mgp->watchdog_timer); in myri10ge_open()
2485 del_timer_sync(&mgp->watchdog_timer); in myri10ge_close()
3481 mgp = from_timer(mgp, t, watchdog_timer); in myri10ge_watchdog_timer()
3522 mod_timer(&mgp->watchdog_timer, in myri10ge_watchdog_timer()
3887 timer_setup(&mgp->watchdog_timer, myri10ge_watchdog_timer, 0); in myri10ge_probe()
/openbmc/linux/drivers/net/ethernet/intel/e1000e/
H A De1000.h192 struct timer_list watchdog_timer; member

12