/linux-4.1.27/drivers/watchdog/ |
D | imx2_wdt.c | 66 struct watchdog_device wdog; member 111 static inline void imx2_wdt_setup(struct watchdog_device *wdog) in imx2_wdt_setup() argument 113 struct imx2_wdt_device *wdev = watchdog_get_drvdata(wdog); in imx2_wdt_setup() 127 val |= WDOG_SEC_TO_COUNT(wdog->timeout); in imx2_wdt_setup() 145 static int imx2_wdt_ping(struct watchdog_device *wdog) in imx2_wdt_ping() argument 147 struct imx2_wdt_device *wdev = watchdog_get_drvdata(wdog); in imx2_wdt_ping() 156 struct watchdog_device *wdog = (struct watchdog_device *)arg; in imx2_wdt_timer_ping() local 157 struct imx2_wdt_device *wdev = watchdog_get_drvdata(wdog); in imx2_wdt_timer_ping() 160 imx2_wdt_ping(wdog); in imx2_wdt_timer_ping() 161 mod_timer(&wdev->timer, jiffies + wdog->timeout * HZ / 2); in imx2_wdt_timer_ping() [all …]
|
D | retu_wdt.c | 62 static int retu_wdt_start(struct watchdog_device *wdog) in retu_wdt_start() argument 64 struct retu_wdt_dev *wdev = watchdog_get_drvdata(wdog); in retu_wdt_start() 68 return retu_write(wdev->rdev, RETU_REG_WATCHDOG, wdog->timeout); in retu_wdt_start() 71 static int retu_wdt_stop(struct watchdog_device *wdog) in retu_wdt_stop() argument 73 struct retu_wdt_dev *wdev = watchdog_get_drvdata(wdog); in retu_wdt_stop() 80 static int retu_wdt_ping(struct watchdog_device *wdog) in retu_wdt_ping() argument 82 struct retu_wdt_dev *wdev = watchdog_get_drvdata(wdog); in retu_wdt_ping() 84 return retu_write(wdev->rdev, RETU_REG_WATCHDOG, wdog->timeout); in retu_wdt_ping() 87 static int retu_wdt_set_timeout(struct watchdog_device *wdog, in retu_wdt_set_timeout() argument 90 struct retu_wdt_dev *wdev = watchdog_get_drvdata(wdog); in retu_wdt_set_timeout() [all …]
|
D | omap_wdt.c | 124 static int omap_wdt_start(struct watchdog_device *wdog) in omap_wdt_start() argument 126 struct omap_wdt_dev *wdev = watchdog_get_drvdata(wdog); in omap_wdt_start() 150 omap_wdt_set_timer(wdev, wdog->timeout); in omap_wdt_start() 159 static int omap_wdt_stop(struct watchdog_device *wdog) in omap_wdt_stop() argument 161 struct omap_wdt_dev *wdev = watchdog_get_drvdata(wdog); in omap_wdt_stop() 171 static int omap_wdt_ping(struct watchdog_device *wdog) in omap_wdt_ping() argument 173 struct omap_wdt_dev *wdev = watchdog_get_drvdata(wdog); in omap_wdt_ping() 182 static int omap_wdt_set_timeout(struct watchdog_device *wdog, in omap_wdt_set_timeout() argument 185 struct omap_wdt_dev *wdev = watchdog_get_drvdata(wdog); in omap_wdt_set_timeout() 192 wdog->timeout = timeout; in omap_wdt_set_timeout() [all …]
|
D | bcm2835_wdt.c | 45 static int bcm2835_wdt_start(struct watchdog_device *wdog) in bcm2835_wdt_start() argument 47 struct bcm2835_wdt *wdt = watchdog_get_drvdata(wdog); in bcm2835_wdt_start() 53 writel_relaxed(PM_PASSWORD | (SECS_TO_WDOG_TICKS(wdog->timeout) & in bcm2835_wdt_start() 64 static int bcm2835_wdt_stop(struct watchdog_device *wdog) in bcm2835_wdt_stop() argument 66 struct bcm2835_wdt *wdt = watchdog_get_drvdata(wdog); in bcm2835_wdt_stop() 69 dev_info(wdog->dev, "Watchdog timer stopped"); in bcm2835_wdt_stop() 73 static int bcm2835_wdt_set_timeout(struct watchdog_device *wdog, unsigned int t) in bcm2835_wdt_set_timeout() argument 75 wdog->timeout = t; in bcm2835_wdt_set_timeout() 79 static unsigned int bcm2835_wdt_get_timeleft(struct watchdog_device *wdog) in bcm2835_wdt_get_timeleft() argument 81 struct bcm2835_wdt *wdt = watchdog_get_drvdata(wdog); in bcm2835_wdt_get_timeleft()
|
D | booke_wdt.c | 109 struct watchdog_device *wdog = data; in __booke_wdt_set() local 113 val |= WDTP(sec_to_period(wdog->timeout)); in __booke_wdt_set() 128 static int booke_wdt_ping(struct watchdog_device *wdog) in booke_wdt_ping() argument 138 struct watchdog_device *wdog = data; in __booke_wdt_enable() local 144 val |= (TCR_WIE|TCR_WRC(WRC_CHIP)|WDTP(sec_to_period(wdog->timeout))); in __booke_wdt_enable() 170 static int booke_wdt_start(struct watchdog_device *wdog) in booke_wdt_start() argument 172 on_each_cpu(__booke_wdt_enable, wdog, 0); in booke_wdt_start() 173 pr_debug("watchdog enabled (timeout = %u sec)\n", wdog->timeout); in booke_wdt_start() 178 static int booke_wdt_stop(struct watchdog_device *wdog) in booke_wdt_stop() argument
|
D | bcm_kona_wdt.c | 222 static int bcm_kona_wdt_set_timeout_reg(struct watchdog_device *wdog, in bcm_kona_wdt_set_timeout_reg() argument 225 struct bcm_kona_wdt *wdt = watchdog_get_drvdata(wdog); in bcm_kona_wdt_set_timeout_reg() 228 SECS_TO_TICKS(wdog->timeout, wdt) | in bcm_kona_wdt_set_timeout_reg() 232 static int bcm_kona_wdt_set_timeout(struct watchdog_device *wdog, in bcm_kona_wdt_set_timeout() argument 235 wdog->timeout = t; in bcm_kona_wdt_set_timeout() 239 static unsigned int bcm_kona_wdt_get_timeleft(struct watchdog_device *wdog) in bcm_kona_wdt_get_timeleft() argument 241 struct bcm_kona_wdt *wdt = watchdog_get_drvdata(wdog); in bcm_kona_wdt_get_timeleft() 255 static int bcm_kona_wdt_start(struct watchdog_device *wdog) in bcm_kona_wdt_start() argument 257 return bcm_kona_wdt_set_timeout_reg(wdog, in bcm_kona_wdt_start() 261 static int bcm_kona_wdt_stop(struct watchdog_device *wdog) in bcm_kona_wdt_stop() argument [all …]
|
D | w83627hf_wdt.c | 141 static int w83627hf_init(struct watchdog_device *wdog, enum chips chip) in w83627hf_init() argument 224 wdog->timeout); in w83627hf_init() 225 superio_outb(cr_wdt_timeout, wdog->timeout); in w83627hf_init() 257 static int wdt_start(struct watchdog_device *wdog) in wdt_start() argument 259 return wdt_set_time(wdog->timeout); in wdt_start() 262 static int wdt_stop(struct watchdog_device *wdog) in wdt_stop() argument 267 static int wdt_set_timeout(struct watchdog_device *wdog, unsigned int timeout) in wdt_set_timeout() argument 269 wdog->timeout = timeout; in wdt_set_timeout() 274 static unsigned int wdt_get_time(struct watchdog_device *wdog) in wdt_get_time() argument
|
D | sb_wdog.c | 70 void sbwdog_set(char __iomem *wdog, unsigned long t) in sbwdog_set() argument 73 __raw_writeb(0, wdog); in sbwdog_set() 74 __raw_writeq(t & 0x7fffffUL, wdog - 0x10); in sbwdog_set() 84 void sbwdog_pet(char __iomem *wdog) in sbwdog_pet() argument 87 __raw_writeb(__raw_readb(wdog) | 1, wdog); in sbwdog_pet()
|
D | alim1535_wdt.c | 321 u32 wdog; in ali_find_watchdog() local 346 pci_read_config_dword(pdev, 0xCC, &wdog); in ali_find_watchdog() 349 wdog &= ~0x3F; in ali_find_watchdog() 351 wdog &= ~((1 << 27)|(1 << 26)|(1 << 25)|(1 << 24)); in ali_find_watchdog() 353 wdog &= ~((1 << 16)|(1 << 13)|(1 << 12)|(1 << 11)|(1 << 10)|(1 << 9)); in ali_find_watchdog() 355 pci_write_config_dword(pdev, 0xCC, wdog); in ali_find_watchdog()
|
D | octeon-wdt-main.c | 448 static int octeon_wdt_ping(struct watchdog_device __always_unused *wdog) in octeon_wdt_ping() argument 495 static int octeon_wdt_set_timeout(struct watchdog_device *wdog, in octeon_wdt_set_timeout() argument 516 octeon_wdt_ping(wdog); /* Get the irqs back on. */ in octeon_wdt_set_timeout() 520 static int octeon_wdt_start(struct watchdog_device *wdog) in octeon_wdt_start() argument 522 octeon_wdt_ping(wdog); in octeon_wdt_start() 527 static int octeon_wdt_stop(struct watchdog_device *wdog) in octeon_wdt_stop() argument 530 octeon_wdt_ping(wdog); in octeon_wdt_stop()
|
/linux-4.1.27/arch/mips/include/asm/octeon/ |
D | cvmx-ciu-defs.h | 2418 uint64_t wdog:16; member 2420 uint64_t wdog:16; 2465 uint64_t wdog:1; member 2467 uint64_t wdog:1; 2474 uint64_t wdog:2; member 2476 uint64_t wdog:2; 2483 uint64_t wdog:16; member 2485 uint64_t wdog:16; 2499 uint64_t wdog:4; member 2501 uint64_t wdog:4; [all …]
|
D | cvmx-ciu2-defs.h | 1193 uint64_t wdog:32; member 1195 uint64_t wdog:32; 1208 uint64_t wdog:32; member 1210 uint64_t wdog:32; 1223 uint64_t wdog:32; member 1225 uint64_t wdog:32; 2180 uint64_t wdog:32; member 2182 uint64_t wdog:32; 2195 uint64_t wdog:32; member 2197 uint64_t wdog:32; [all …]
|
/linux-4.1.27/arch/arm/boot/dts/ |
D | imx35.dtsi | 278 wdog: wdog@53fdc000 { label
|
D | vfxxx.dtsi | 232 wdoga5: wdog@4003e000 { 237 clock-names = "wdog";
|
D | picoxcell-pc3x2.dtsi | 217 wdog: watchdog@50000 { label
|
D | imx27.dtsi | 103 wdog: wdog@10002000 { label
|
D | imx51.dtsi | 347 wdog1: wdog@73f98000 { 354 wdog2: wdog@73f9c000 {
|
D | imx53.dtsi | 391 wdog1: wdog@53f98000 { 398 wdog2: wdog@53f9c000 {
|
D | picoxcell-pc3x3.dtsi | 311 wdog: watchdog@50000 { label
|
D | imx6sl.dtsi | 416 wdog1: wdog@020bc000 { 423 wdog2: wdog@020c0000 {
|
D | imx6sx.dtsi | 514 wdog1: wdog@020bc000 { 521 wdog2: wdog@020c0000 { 1130 wdog3: wdog@02288000 {
|
D | imx50.dtsi | 262 wdog1: wdog@53f98000 {
|
D | ls1021a.dtsi | 340 clock-names = "wdog-en";
|
D | imx25.dtsi | 468 wdog@53fdc000 {
|
D | imx6qdl.dtsi | 513 wdog1: wdog@020bc000 { 520 wdog2: wdog@020c0000 {
|
/linux-4.1.27/arch/arm/mach-realview/ |
D | realview_pba8.c | 157 APB_DEVICE(wdog, "dev:wdog", PBA8_WATCHDOG, NULL);
|
D | realview_pb11mp.c | 162 APB_DEVICE(wdog, "dev:wdog", PB11MP_WATCHDOG, NULL);
|
D | realview_pb1176.c | 168 APB_DEVICE(wdog, "dev:wdog", PB1176_WATCHDOG, NULL);
|
D | realview_pbx.c | 180 APB_DEVICE(wdog, "dev:wdog", PBX_WATCHDOG, NULL);
|
D | realview_eb.c | 186 APB_DEVICE(wdog, "dev:wdog", EB_WATCHDOG, NULL);
|
/linux-4.1.27/arch/cris/arch-v10/kernel/ |
D | entry.S | 453 bne wdog 459 wdog: label
|
/linux-4.1.27/arch/arm/mach-versatile/ |
D | core.c | 649 APB_DEVICE(wdog, "dev:e1", WATCHDOG, NULL);
|
/linux-4.1.27/arch/powerpc/boot/dts/ |
D | virtex440-ml507.dts | 124 xlnx,mplb-wdog-enable = <1>;
|
D | virtex440-ml510.dts | 119 xlnx,mplb-wdog-enable = <0x1>;
|