/linux-4.4.14/drivers/watchdog/ |
D | intel_scu_watchdog.c | 95 static struct intel_scu_watchdog_dev watchdog_device; variable 158 int_status = ioread32(watchdog_device.timer_interrupt_status_addr); in watchdog_timer_interrupt() 166 if (watchdog_device.timer_started == 0) { in watchdog_timer_interrupt() 172 iowrite32(0x00000002, watchdog_device.timer_control_addr); in watchdog_timer_interrupt() 175 iowrite32(watchdog_device.threshold, in watchdog_timer_interrupt() 176 watchdog_device.timer_load_count_addr); in watchdog_timer_interrupt() 179 iowrite32(0x00000003, watchdog_device.timer_control_addr); in watchdog_timer_interrupt() 188 ioread32(watchdog_device.timer_clear_interrupt_addr); in intel_scu_keepalive() 191 iowrite32(0x00000002, watchdog_device.timer_control_addr); in intel_scu_keepalive() 194 iowrite32(watchdog_device.soft_threshold, in intel_scu_keepalive() [all …]
|
D | watchdog_core.c | 63 static int watchdog_deferred_registration_add(struct watchdog_device *wdd) in watchdog_deferred_registration_add() 70 static void watchdog_deferred_registration_del(struct watchdog_device *wdd) in watchdog_deferred_registration_del() 73 struct watchdog_device *wdd_tmp; in watchdog_deferred_registration_del() 76 wdd_tmp = list_entry(p, struct watchdog_device, in watchdog_deferred_registration_del() 85 static void watchdog_check_min_max_timeout(struct watchdog_device *wdd) in watchdog_check_min_max_timeout() 111 int watchdog_init_timeout(struct watchdog_device *wdd, in watchdog_init_timeout() 140 static int __watchdog_register_device(struct watchdog_device *wdd) in __watchdog_register_device() 219 int watchdog_register_device(struct watchdog_device *wdd) in watchdog_register_device() 233 static void __watchdog_unregister_device(struct watchdog_device *wdd) in __watchdog_unregister_device() 258 void watchdog_unregister_device(struct watchdog_device *wdd) in watchdog_unregister_device() [all …]
|
D | twl4030_wdt.c | 42 static int twl4030_wdt_start(struct watchdog_device *wdt) in twl4030_wdt_start() 47 static int twl4030_wdt_stop(struct watchdog_device *wdt) in twl4030_wdt_stop() 52 static int twl4030_wdt_set_timeout(struct watchdog_device *wdt, in twl4030_wdt_set_timeout() 74 struct watchdog_device *wdt; in twl4030_wdt_probe() 102 struct watchdog_device *wdt = platform_get_drvdata(pdev); in twl4030_wdt_remove() 112 struct watchdog_device *wdt = platform_get_drvdata(pdev); in twl4030_wdt_suspend() 121 struct watchdog_device *wdt = platform_get_drvdata(pdev); in twl4030_wdt_resume()
|
D | imx2_wdt.c | 66 struct watchdog_device wdog; 111 static inline void imx2_wdt_setup(struct watchdog_device *wdog) in imx2_wdt_setup() 145 static int imx2_wdt_ping(struct watchdog_device *wdog) in imx2_wdt_ping() 156 struct watchdog_device *wdog = (struct watchdog_device *)arg; in imx2_wdt_timer_ping() 164 static int imx2_wdt_set_timeout(struct watchdog_device *wdog, in imx2_wdt_set_timeout() 176 static int imx2_wdt_start(struct watchdog_device *wdog) in imx2_wdt_start() 190 static int imx2_wdt_stop(struct watchdog_device *wdog) in imx2_wdt_stop() 200 static inline void imx2_wdt_ping_if_active(struct watchdog_device *wdog) in imx2_wdt_ping_if_active() 228 struct watchdog_device *wdog; in imx2_wdt_probe() 315 struct watchdog_device *wdog = platform_get_drvdata(pdev); in imx2_wdt_remove() [all …]
|
D | watchdog_dev.c | 50 static struct watchdog_device *old_wdd; 62 static int watchdog_ping(struct watchdog_device *wdd) in watchdog_ping() 95 static int watchdog_start(struct watchdog_device *wdd) in watchdog_start() 128 static int watchdog_stop(struct watchdog_device *wdd) in watchdog_stop() 165 static int watchdog_get_status(struct watchdog_device *wdd, in watchdog_get_status() 194 static int watchdog_set_timeout(struct watchdog_device *wdd, in watchdog_set_timeout() 227 static int watchdog_get_timeleft(struct watchdog_device *wdd, in watchdog_get_timeleft() 257 static int watchdog_ioctl_op(struct watchdog_device *wdd, unsigned int cmd, in watchdog_ioctl_op() 294 struct watchdog_device *wdd = file->private_data; in watchdog_write() 337 struct watchdog_device *wdd = file->private_data; in watchdog_ioctl() [all …]
|
D | da9055_wdt.c | 36 struct watchdog_device wdt; 57 static int da9055_wdt_set_timeout(struct watchdog_device *wdt_dev, in da9055_wdt_set_timeout() 86 static int da9055_wdt_ping(struct watchdog_device *wdt_dev) in da9055_wdt_ping() 106 static void da9055_wdt_ref(struct watchdog_device *wdt_dev) in da9055_wdt_ref() 113 static void da9055_wdt_unref(struct watchdog_device *wdt_dev) in da9055_wdt_unref() 120 static int da9055_wdt_start(struct watchdog_device *wdt_dev) in da9055_wdt_start() 125 static int da9055_wdt_stop(struct watchdog_device *wdt_dev) in da9055_wdt_stop() 149 struct watchdog_device *da9055_wdt; in da9055_wdt_probe()
|
D | sirfsoc_wdt.c | 42 static unsigned int sirfsoc_wdt_gettimeleft(struct watchdog_device *wdd) in sirfsoc_wdt_gettimeleft() 58 static int sirfsoc_wdt_updatetimeout(struct watchdog_device *wdd) in sirfsoc_wdt_updatetimeout() 80 static int sirfsoc_wdt_enable(struct watchdog_device *wdd) in sirfsoc_wdt_enable() 97 static int sirfsoc_wdt_disable(struct watchdog_device *wdd) in sirfsoc_wdt_disable() 109 static int sirfsoc_wdt_settimeout(struct watchdog_device *wdd, unsigned int to) in sirfsoc_wdt_settimeout() 134 static struct watchdog_device sirfsoc_wdd = { 170 struct watchdog_device *wdd = platform_get_drvdata(pdev); in sirfsoc_wdt_shutdown() 189 struct watchdog_device *wdd = dev_get_drvdata(dev); in sirfsoc_wdt_resume()
|
D | da9052_wdt.c | 32 struct watchdog_device wdt; 58 static int da9052_wdt_set_timeout(struct watchdog_device *wdt_dev, in da9052_wdt_set_timeout() 107 static void da9052_wdt_ref(struct watchdog_device *wdt_dev) in da9052_wdt_ref() 114 static void da9052_wdt_unref(struct watchdog_device *wdt_dev) in da9052_wdt_unref() 121 static int da9052_wdt_start(struct watchdog_device *wdt_dev) in da9052_wdt_start() 126 static int da9052_wdt_stop(struct watchdog_device *wdt_dev) in da9052_wdt_stop() 131 static int da9052_wdt_ping(struct watchdog_device *wdt_dev) in da9052_wdt_ping() 182 struct watchdog_device *da9052_wdt; in da9052_wdt_probe()
|
D | stmp3xxx_rtc_wdt.c | 28 static int wdt_start(struct watchdog_device *wdd) in wdt_start() 37 static int wdt_stop(struct watchdog_device *wdd) in wdt_stop() 46 static int wdt_set_timeout(struct watchdog_device *wdd, unsigned new_timeout) in wdt_set_timeout() 64 static struct watchdog_device stmp3xxx_wdd = { 100 struct watchdog_device *wdd = &stmp3xxx_wdd; in stmp3xxx_wdt_suspend() 110 struct watchdog_device *wdd = &stmp3xxx_wdd; in stmp3xxx_wdt_resume()
|
D | booke_wdt.c | 109 struct watchdog_device *wdog = data; in __booke_wdt_set() 128 static int booke_wdt_ping(struct watchdog_device *wdog) in booke_wdt_ping() 138 struct watchdog_device *wdog = data; in __booke_wdt_enable() 170 static int booke_wdt_start(struct watchdog_device *wdog) in booke_wdt_start() 178 static int booke_wdt_stop(struct watchdog_device *wdog) in booke_wdt_stop() 186 static int booke_wdt_set_timeout(struct watchdog_device *wdt_dev, in booke_wdt_set_timeout() 208 static struct watchdog_device booke_wdt_dev = {
|
D | bcm47xx_wdt.c | 47 static inline struct bcm47xx_wdt *bcm47xx_wdt_get(struct watchdog_device *wdd) in bcm47xx_wdt_get() 52 static int bcm47xx_wdt_hard_keepalive(struct watchdog_device *wdd) in bcm47xx_wdt_hard_keepalive() 61 static int bcm47xx_wdt_hard_start(struct watchdog_device *wdd) in bcm47xx_wdt_hard_start() 66 static int bcm47xx_wdt_hard_stop(struct watchdog_device *wdd) in bcm47xx_wdt_hard_stop() 75 static int bcm47xx_wdt_hard_set_timeout(struct watchdog_device *wdd, in bcm47xx_wdt_hard_set_timeout() 112 static int bcm47xx_wdt_soft_keepalive(struct watchdog_device *wdd) in bcm47xx_wdt_soft_keepalive() 121 static int bcm47xx_wdt_soft_start(struct watchdog_device *wdd) in bcm47xx_wdt_soft_start() 131 static int bcm47xx_wdt_soft_stop(struct watchdog_device *wdd) in bcm47xx_wdt_soft_stop() 141 static int bcm47xx_wdt_soft_set_timeout(struct watchdog_device *wdd, in bcm47xx_wdt_soft_set_timeout()
|
D | retu_wdt.c | 62 static int retu_wdt_start(struct watchdog_device *wdog) in retu_wdt_start() 71 static int retu_wdt_stop(struct watchdog_device *wdog) in retu_wdt_stop() 80 static int retu_wdt_ping(struct watchdog_device *wdog) in retu_wdt_ping() 87 static int retu_wdt_set_timeout(struct watchdog_device *wdog, in retu_wdt_set_timeout() 113 struct watchdog_device *retu_wdt; in retu_wdt_probe() 156 struct watchdog_device *wdog = platform_get_drvdata(pdev); in retu_wdt_remove()
|
D | orion_wdt.c | 62 int (*start)(struct watchdog_device *); 63 int (*stop)(struct watchdog_device *); 67 struct watchdog_device wdt; 180 static int orion_wdt_ping(struct watchdog_device *wdt_dev) in orion_wdt_ping() 189 static int armada375_start(struct watchdog_device *wdt_dev) in armada375_start() 214 static int armada370_start(struct watchdog_device *wdt_dev) in armada370_start() 237 static int orion_start(struct watchdog_device *wdt_dev) in orion_start() 256 static int orion_wdt_start(struct watchdog_device *wdt_dev) in orion_wdt_start() 264 static int orion_stop(struct watchdog_device *wdt_dev) in orion_stop() 277 static int armada375_stop(struct watchdog_device *wdt_dev) in armada375_stop() [all …]
|
D | bcm7038_wdt.c | 38 struct watchdog_device wdd; 45 static void bcm7038_wdt_set_timeout_reg(struct watchdog_device *wdog) in bcm7038_wdt_set_timeout_reg() 55 static int bcm7038_wdt_ping(struct watchdog_device *wdog) in bcm7038_wdt_ping() 65 static int bcm7038_wdt_start(struct watchdog_device *wdog) in bcm7038_wdt_start() 73 static int bcm7038_wdt_stop(struct watchdog_device *wdog) in bcm7038_wdt_stop() 83 static int bcm7038_wdt_set_timeout(struct watchdog_device *wdog, in bcm7038_wdt_set_timeout() 94 static unsigned int bcm7038_wdt_get_timeleft(struct watchdog_device *wdog) in bcm7038_wdt_get_timeleft()
|
D | tegra_wdt.c | 68 struct watchdog_device wdd; 86 static int tegra_wdt_start(struct watchdog_device *wdd) in tegra_wdt_start() 118 static int tegra_wdt_stop(struct watchdog_device *wdd) in tegra_wdt_stop() 129 static int tegra_wdt_ping(struct watchdog_device *wdd) in tegra_wdt_ping() 138 static int tegra_wdt_set_timeout(struct watchdog_device *wdd, in tegra_wdt_set_timeout() 151 static unsigned int tegra_wdt_get_timeleft(struct watchdog_device *wdd) in tegra_wdt_get_timeleft() 192 struct watchdog_device *wdd; in tegra_wdt_probe()
|
D | ux500_wdt.c | 41 static int ux500_wdt_start(struct watchdog_device *wdd) in ux500_wdt_start() 46 static int ux500_wdt_stop(struct watchdog_device *wdd) in ux500_wdt_stop() 51 static int ux500_wdt_keepalive(struct watchdog_device *wdd) in ux500_wdt_keepalive() 56 static int ux500_wdt_set_timeout(struct watchdog_device *wdd, in ux500_wdt_set_timeout() 80 static struct watchdog_device ux500_wdt = {
|
D | via_wdt.c | 66 static struct watchdog_device wdt_dev; 101 static int wdt_ping(struct watchdog_device *wdd) in wdt_ping() 108 static int wdt_start(struct watchdog_device *wdd) in wdt_start() 119 static int wdt_stop(struct watchdog_device *wdd) in wdt_stop() 127 static int wdt_set_timeout(struct watchdog_device *wdd, in wdt_set_timeout() 151 static struct watchdog_device wdt_dev = {
|
D | jz4740_wdt.c | 66 struct watchdog_device wdt; 71 static int jz4740_wdt_ping(struct watchdog_device *wdt_dev) in jz4740_wdt_ping() 79 static int jz4740_wdt_set_timeout(struct watchdog_device *wdt_dev, in jz4740_wdt_set_timeout() 115 static int jz4740_wdt_start(struct watchdog_device *wdt_dev) in jz4740_wdt_start() 123 static int jz4740_wdt_stop(struct watchdog_device *wdt_dev) in jz4740_wdt_stop() 157 struct watchdog_device *jz4740_wdt; in MODULE_DEVICE_TABLE()
|
D | gpio_wdt.c | 41 struct watchdog_device wdd; 55 struct watchdog_device *wdd = (struct watchdog_device *)data; in gpio_wdt_hwping() 90 static int gpio_wdt_start(struct watchdog_device *wdd) in gpio_wdt_start() 100 static int gpio_wdt_stop(struct watchdog_device *wdd) in gpio_wdt_stop() 113 static int gpio_wdt_ping(struct watchdog_device *wdd) in gpio_wdt_ping() 122 static int gpio_wdt_set_timeout(struct watchdog_device *wdd, unsigned int t) in gpio_wdt_set_timeout()
|
D | sama5d4_wdt.c | 29 struct watchdog_device wdd; 53 static int sama5d4_wdt_start(struct watchdog_device *wdd) in sama5d4_wdt_start() 65 static int sama5d4_wdt_stop(struct watchdog_device *wdd) in sama5d4_wdt_stop() 77 static int sama5d4_wdt_ping(struct watchdog_device *wdd) in sama5d4_wdt_ping() 86 static int sama5d4_wdt_set_timeout(struct watchdog_device *wdd, in sama5d4_wdt_set_timeout() 154 struct watchdog_device *wdd = &wdt->wdd; in sama5d4_wdt_init() 177 struct watchdog_device *wdd; in sama5d4_wdt_probe()
|
D | kempld_wdt.c | 83 struct watchdog_device wdd; 205 static int kempld_wdt_set_timeout(struct watchdog_device *wdd, in kempld_wdt_set_timeout() 232 static int kempld_wdt_set_pretimeout(struct watchdog_device *wdd, in kempld_wdt_set_pretimeout() 287 static int kempld_wdt_start(struct watchdog_device *wdd) in kempld_wdt_start() 312 static int kempld_wdt_stop(struct watchdog_device *wdd) in kempld_wdt_stop() 332 static int kempld_wdt_keepalive(struct watchdog_device *wdd) in kempld_wdt_keepalive() 344 static long kempld_wdt_ioctl(struct watchdog_device *wdd, unsigned int cmd, in kempld_wdt_ioctl() 370 static int kempld_wdt_probe_stages(struct watchdog_device *wdd) in kempld_wdt_probe_stages() 447 struct watchdog_device *wdd; in kempld_wdt_probe() 512 struct watchdog_device *wdd = &wdt_data->wdd; in kempld_wdt_remove() [all …]
|
D | intel-mid_wdt.c | 44 static int wdt_start(struct watchdog_device *wd) in wdt_start() 68 static int wdt_ping(struct watchdog_device *wd) in wdt_ping() 81 static int wdt_stop(struct watchdog_device *wd) in wdt_stop() 116 struct watchdog_device *wdt_dev; in mid_wdt_probe() 167 struct watchdog_device *wd = platform_get_drvdata(pdev); in mid_wdt_remove()
|
D | wm8350_wdt.c | 39 static int wm8350_wdt_set_timeout(struct watchdog_device *wdt_dev, in wm8350_wdt_set_timeout() 67 static int wm8350_wdt_start(struct watchdog_device *wdt_dev) in wm8350_wdt_start() 87 static int wm8350_wdt_stop(struct watchdog_device *wdt_dev) in wm8350_wdt_stop() 106 static int wm8350_wdt_ping(struct watchdog_device *wdt_dev) in wm8350_wdt_ping() 135 static struct watchdog_device wm8350_wdt = {
|
D | lpc18xx_wdt.c | 56 struct watchdog_device wdt_dev; 66 static int lpc18xx_wdt_feed(struct watchdog_device *wdt_dev) in lpc18xx_wdt_feed() 85 struct watchdog_device *wdt_dev = (struct watchdog_device *)data; in lpc18xx_wdt_timer_feed() 99 static int lpc18xx_wdt_stop(struct watchdog_device *wdt_dev) in lpc18xx_wdt_stop() 115 static int lpc18xx_wdt_set_timeout(struct watchdog_device *wdt_dev, in lpc18xx_wdt_set_timeout() 126 static unsigned int lpc18xx_wdt_get_timeleft(struct watchdog_device *wdt_dev) in lpc18xx_wdt_get_timeleft() 135 static int lpc18xx_wdt_start(struct watchdog_device *wdt_dev) in lpc18xx_wdt_start()
|
D | meson_wdt.c | 46 struct watchdog_device wdt_dev; 67 static int meson_wdt_ping(struct watchdog_device *wdt_dev) in meson_wdt_ping() 76 static void meson_wdt_change_timeout(struct watchdog_device *wdt_dev, in meson_wdt_change_timeout() 88 static int meson_wdt_set_timeout(struct watchdog_device *wdt_dev, in meson_wdt_set_timeout() 99 static int meson_wdt_stop(struct watchdog_device *wdt_dev) in meson_wdt_stop() 111 static int meson_wdt_start(struct watchdog_device *wdt_dev) in meson_wdt_start()
|
D | qcom-wdt.c | 28 struct watchdog_device wdd; 36 struct qcom_wdt *to_qcom_wdt(struct watchdog_device *wdd) in to_qcom_wdt() 41 static int qcom_wdt_start(struct watchdog_device *wdd) in qcom_wdt_start() 52 static int qcom_wdt_stop(struct watchdog_device *wdd) in qcom_wdt_stop() 60 static int qcom_wdt_ping(struct watchdog_device *wdd) in qcom_wdt_ping() 68 static int qcom_wdt_set_timeout(struct watchdog_device *wdd, in qcom_wdt_set_timeout()
|
D | rt2880_wdt.c | 66 static int rt288x_wdt_ping(struct watchdog_device *w) in rt288x_wdt_ping() 73 static int rt288x_wdt_start(struct watchdog_device *w) in rt288x_wdt_start() 93 static int rt288x_wdt_stop(struct watchdog_device *w) in rt288x_wdt_stop() 106 static int rt288x_wdt_set_timeout(struct watchdog_device *w, unsigned int t) in rt288x_wdt_set_timeout() 135 static struct watchdog_device rt288x_wdt_dev = {
|
D | txx9wdt.c | 46 static int txx9wdt_ping(struct watchdog_device *wdt_dev) in txx9wdt_ping() 54 static int txx9wdt_start(struct watchdog_device *wdt_dev) in txx9wdt_start() 67 static int txx9wdt_stop(struct watchdog_device *wdt_dev) in txx9wdt_stop() 77 static int txx9wdt_set_timeout(struct watchdog_device *wdt_dev, in txx9wdt_set_timeout() 99 static struct watchdog_device txx9wdt = {
|
D | sp805_wdt.c | 64 struct watchdog_device wdd; 78 static int wdt_setload(struct watchdog_device *wdd, unsigned int timeout) in wdt_setload() 106 static unsigned int wdt_timeleft(struct watchdog_device *wdd) in wdt_timeleft() 124 static int wdt_config(struct watchdog_device *wdd, bool ping) in wdt_config() 158 static int wdt_ping(struct watchdog_device *wdd) in wdt_ping() 164 static int wdt_enable(struct watchdog_device *wdd) in wdt_enable() 170 static int wdt_disable(struct watchdog_device *wdd) in wdt_disable()
|
D | softdog.c | 106 static int softdog_ping(struct watchdog_device *w) in softdog_ping() 112 static int softdog_stop(struct watchdog_device *w) in softdog_stop() 118 static int softdog_set_timeout(struct watchdog_device *w, unsigned int t) in softdog_set_timeout() 157 static struct watchdog_device softdog_dev = {
|
D | menf21bmc_wdt.c | 38 struct watchdog_device wdt; 62 static int menf21bmc_wdt_start(struct watchdog_device *wdt) in menf21bmc_wdt_start() 69 static int menf21bmc_wdt_stop(struct watchdog_device *wdt) in menf21bmc_wdt_stop() 78 menf21bmc_wdt_settimeout(struct watchdog_device *wdt, unsigned int timeout) in menf21bmc_wdt_settimeout() 98 static int menf21bmc_wdt_ping(struct watchdog_device *wdt) in menf21bmc_wdt_ping()
|
D | mena21_wdt.c | 35 struct watchdog_device wdt; 56 static int a21_wdt_start(struct watchdog_device *wdt) in a21_wdt_start() 69 static int a21_wdt_stop(struct watchdog_device *wdt) in a21_wdt_stop() 82 static int a21_wdt_ping(struct watchdog_device *wdt) in a21_wdt_ping() 97 static int a21_wdt_set_timeout(struct watchdog_device *wdt, in a21_wdt_set_timeout() 140 static struct watchdog_device a21_wdt = {
|
D | ep93xx_wdt.c | 69 static int ep93xx_wdt_start(struct watchdog_device *wdd) in ep93xx_wdt_start() 79 static int ep93xx_wdt_stop(struct watchdog_device *wdd) in ep93xx_wdt_stop() 87 static int ep93xx_wdt_keepalive(struct watchdog_device *wdd) in ep93xx_wdt_keepalive() 109 static struct watchdog_device ep93xx_wdt_wdd = {
|
D | rn5t618_wdt.c | 33 struct watchdog_device wdt_dev; 53 static int rn5t618_wdt_set_timeout(struct watchdog_device *wdt_dev, in rn5t618_wdt_set_timeout() 76 static int rn5t618_wdt_start(struct watchdog_device *wdt_dev) in rn5t618_wdt_start() 105 static int rn5t618_wdt_stop(struct watchdog_device *wdt_dev) in rn5t618_wdt_stop() 113 static int rn5t618_wdt_ping(struct watchdog_device *wdt_dev) in rn5t618_wdt_ping()
|
D | digicolor_wdt.c | 65 static int dc_wdt_start(struct watchdog_device *wdog) in dc_wdt_start() 74 static int dc_wdt_stop(struct watchdog_device *wdog) in dc_wdt_stop() 83 static int dc_wdt_set_timeout(struct watchdog_device *wdog, unsigned int t) in dc_wdt_set_timeout() 93 static unsigned int dc_wdt_get_timeleft(struct watchdog_device *wdog) in dc_wdt_get_timeleft() 115 static struct watchdog_device dc_wdt_wdd = {
|
D | da9063_wdt.c | 41 struct watchdog_device wdtdev; 63 static int da9063_wdt_start(struct watchdog_device *wdd) in da9063_wdt_start() 78 static int da9063_wdt_stop(struct watchdog_device *wdd) in da9063_wdt_stop() 92 static int da9063_wdt_ping(struct watchdog_device *wdd) in da9063_wdt_ping() 106 static int da9063_wdt_set_timeout(struct watchdog_device *wdd, in da9063_wdt_set_timeout()
|
D | wm831x_wdt.c | 32 struct watchdog_device wdt; 54 static int wm831x_wdt_start(struct watchdog_device *wdt_dev) in wm831x_wdt_start() 77 static int wm831x_wdt_stop(struct watchdog_device *wdt_dev) in wm831x_wdt_stop() 100 static int wm831x_wdt_ping(struct watchdog_device *wdt_dev) in wm831x_wdt_ping() 142 static int wm831x_wdt_set_timeout(struct watchdog_device *wdt_dev, in wm831x_wdt_set_timeout() 190 struct watchdog_device *wm831x_wdt; in wm831x_wdt_probe()
|
D | davinci_wdt.c | 68 struct watchdog_device wdd; 71 static int davinci_wdt_start(struct watchdog_device *wdd) in davinci_wdt_start() 107 static int davinci_wdt_ping(struct watchdog_device *wdd) in davinci_wdt_ping() 118 static unsigned int davinci_wdt_get_timeleft(struct watchdog_device *wdd) in davinci_wdt_get_timeleft() 161 struct watchdog_device *wdd; in davinci_wdt_probe()
|
D | diag288_wdt.c | 109 static int wdt_start(struct watchdog_device *dev) in wdt_start() 143 static int wdt_stop(struct watchdog_device *dev) in wdt_stop() 152 static int wdt_ping(struct watchdog_device *dev) in wdt_ping() 189 static int wdt_set_timeout(struct watchdog_device * dev, unsigned int new_to) in wdt_set_timeout() 209 static struct watchdog_device wdt_dev = {
|
D | of_xilinx_wdt.c | 47 struct watchdog_device xilinx_wdt_wdd; 50 static int xilinx_wdt_start(struct watchdog_device *wdd) in xilinx_wdt_start() 71 static int xilinx_wdt_stop(struct watchdog_device *wdd) in xilinx_wdt_stop() 91 static int xilinx_wdt_keepalive(struct watchdog_device *wdd) in xilinx_wdt_keepalive() 152 struct watchdog_device *xilinx_wdt_wdd; in xwdt_probe()
|
D | da9062_wdt.c | 40 struct watchdog_device wdtdev; 109 static int da9062_wdt_start(struct watchdog_device *wdd) in da9062_wdt_start() 124 static int da9062_wdt_stop(struct watchdog_device *wdd) in da9062_wdt_stop() 147 static int da9062_wdt_ping(struct watchdog_device *wdd) in da9062_wdt_ping() 160 static int da9062_wdt_set_timeout(struct watchdog_device *wdd, in da9062_wdt_set_timeout()
|
D | bcm2835_wdt.c | 58 static int bcm2835_wdt_start(struct watchdog_device *wdog) in bcm2835_wdt_start() 77 static int bcm2835_wdt_stop(struct watchdog_device *wdog) in bcm2835_wdt_stop() 86 static int bcm2835_wdt_set_timeout(struct watchdog_device *wdog, unsigned int t) in bcm2835_wdt_set_timeout() 92 static unsigned int bcm2835_wdt_get_timeleft(struct watchdog_device *wdog) in bcm2835_wdt_get_timeleft() 114 static struct watchdog_device bcm2835_wdt_wdd = {
|
D | watchdog_core.h | 34 extern int watchdog_dev_register(struct watchdog_device *); 35 extern int watchdog_dev_unregister(struct watchdog_device *);
|
D | st_lpc_wdt.c | 36 static struct watchdog_device st_wdog_dev; 126 static int st_wdog_start(struct watchdog_device *wdd) in st_wdog_start() 135 static int st_wdog_stop(struct watchdog_device *wdd) in st_wdog_stop() 144 static int st_wdog_set_timeout(struct watchdog_device *wdd, in st_wdog_set_timeout() 155 static int st_wdog_keepalive(struct watchdog_device *wdd) in st_wdog_keepalive() 177 static struct watchdog_device st_wdog_dev = {
|
D | w83627hf_wdt.c | 141 static int w83627hf_init(struct watchdog_device *wdog, enum chips chip) in w83627hf_init() 257 static int wdt_start(struct watchdog_device *wdog) in wdt_start() 262 static int wdt_stop(struct watchdog_device *wdog) in wdt_stop() 267 static int wdt_set_timeout(struct watchdog_device *wdog, unsigned int timeout) in wdt_set_timeout() 274 static unsigned int wdt_get_time(struct watchdog_device *wdog) in wdt_get_time() 319 static struct watchdog_device wdt_dev = {
|
D | max63xx_wdt.c | 47 struct watchdog_device wdd; 119 static int max63xx_wdt_ping(struct watchdog_device *wdd) in max63xx_wdt_ping() 127 static int max63xx_wdt_start(struct watchdog_device *wdd) in max63xx_wdt_start() 139 static int max63xx_wdt_stop(struct watchdog_device *wdd) in max63xx_wdt_stop() 249 struct watchdog_device *wdd = platform_get_drvdata(pdev); in max63xx_wdt_remove()
|
D | moxart_wdt.c | 29 struct watchdog_device dev; 50 static int moxart_wdt_stop(struct watchdog_device *wdt_dev) in moxart_wdt_stop() 59 static int moxart_wdt_start(struct watchdog_device *wdt_dev) in moxart_wdt_start() 71 static int moxart_wdt_set_timeout(struct watchdog_device *wdt_dev, in moxart_wdt_set_timeout()
|
D | pnx4008_wdt.c | 85 static int pnx4008_wdt_start(struct watchdog_device *wdd) in pnx4008_wdt_start() 110 static int pnx4008_wdt_stop(struct watchdog_device *wdd) in pnx4008_wdt_stop() 120 static int pnx4008_wdt_set_timeout(struct watchdog_device *wdd, in pnx4008_wdt_set_timeout() 140 static struct watchdog_device pnx4008_wdd = {
|
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() 232 static int bcm_kona_wdt_set_timeout(struct watchdog_device *wdog, 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() 255 static int bcm_kona_wdt_start(struct watchdog_device *wdog) in bcm_kona_wdt_start() 261 static int bcm_kona_wdt_stop(struct watchdog_device *wdog) in bcm_kona_wdt_stop() 283 static struct watchdog_device bcm_kona_wdt_wdd = {
|
D | ie6xx_wdt.c | 101 static int ie6xx_wdt_ping(struct watchdog_device *wdd) in ie6xx_wdt_ping() 110 static int ie6xx_wdt_set_timeout(struct watchdog_device *wdd, unsigned int t) in ie6xx_wdt_set_timeout() 147 static int ie6xx_wdt_start(struct watchdog_device *wdd) in ie6xx_wdt_start() 159 static int ie6xx_wdt_stop(struct watchdog_device *wdd) in ie6xx_wdt_stop() 187 static struct watchdog_device ie6xx_wdt_dev = {
|
D | mtk_wdt.c | 65 struct watchdog_device wdt_dev; 87 static int mtk_wdt_ping(struct watchdog_device *wdt_dev) in mtk_wdt_ping() 97 static int mtk_wdt_set_timeout(struct watchdog_device *wdt_dev, in mtk_wdt_set_timeout() 118 static int mtk_wdt_stop(struct watchdog_device *wdt_dev) in mtk_wdt_stop() 132 static int mtk_wdt_start(struct watchdog_device *wdt_dev) in mtk_wdt_start()
|
D | cadence_wdt.c | 86 struct watchdog_device cdns_wdt_device; 130 static int cdns_wdt_stop(struct watchdog_device *wdd) in cdns_wdt_stop() 151 static int cdns_wdt_reload(struct watchdog_device *wdd) in cdns_wdt_reload() 181 static int cdns_wdt_start(struct watchdog_device *wdd) in cdns_wdt_start() 236 static int cdns_wdt_settimeout(struct watchdog_device *wdd, in cdns_wdt_settimeout() 321 struct watchdog_device *cdns_wdt_device; in cdns_wdt_probe()
|
D | omap_wdt.c | 64 struct watchdog_device wdog; 132 static int omap_wdt_start(struct watchdog_device *wdog) in omap_wdt_start() 167 static int omap_wdt_stop(struct watchdog_device *wdog) in omap_wdt_stop() 179 static int omap_wdt_ping(struct watchdog_device *wdog) in omap_wdt_ping() 190 static int omap_wdt_set_timeout(struct watchdog_device *wdog, in omap_wdt_set_timeout() 206 static unsigned int omap_wdt_get_timeleft(struct watchdog_device *wdog) in omap_wdt_get_timeleft()
|
D | coh901327_wdt.c | 154 static int coh901327_start(struct watchdog_device *wdt_dev) in coh901327_start() 160 static int coh901327_stop(struct watchdog_device *wdt_dev) in coh901327_stop() 166 static int coh901327_ping(struct watchdog_device *wdd) in coh901327_ping() 176 static int coh901327_settimeout(struct watchdog_device *wdt_dev, in coh901327_settimeout() 190 static unsigned int coh901327_gettimeleft(struct watchdog_device *wdt_dev) in coh901327_gettimeleft() 249 static struct watchdog_device coh901327_wdt = {
|
D | shwdt.c | 85 static int sh_wdt_start(struct watchdog_device *wdt_dev) in sh_wdt_start() 128 static int sh_wdt_stop(struct watchdog_device *wdt_dev) in sh_wdt_stop() 150 static int sh_wdt_keepalive(struct watchdog_device *wdt_dev) in sh_wdt_keepalive() 162 static int sh_wdt_set_heartbeat(struct watchdog_device *wdt_dev, unsigned t) in sh_wdt_set_heartbeat() 215 static struct watchdog_device sh_wdt_dev = {
|
D | mpc8xxx_wdt.c | 55 struct watchdog_device wdd; 93 static int mpc8xxx_wdt_start(struct watchdog_device *w) in mpc8xxx_wdt_start() 113 static int mpc8xxx_wdt_ping(struct watchdog_device *w) in mpc8xxx_wdt_ping() 122 static int mpc8xxx_wdt_stop(struct watchdog_device *w) in mpc8xxx_wdt_stop()
|
D | imgpdc_wdt.c | 86 struct watchdog_device wdt_dev; 93 static int pdc_wdt_keepalive(struct watchdog_device *wdt_dev) in pdc_wdt_keepalive() 103 static int pdc_wdt_stop(struct watchdog_device *wdt_dev) in pdc_wdt_stop() 128 static int pdc_wdt_set_timeout(struct watchdog_device *wdt_dev, in pdc_wdt_set_timeout() 141 static int pdc_wdt_start(struct watchdog_device *wdt_dev) in pdc_wdt_start()
|
D | sunxi_wdt.c | 60 struct watchdog_device wdt_dev; 126 static int sunxi_wdt_ping(struct watchdog_device *wdt_dev) in sunxi_wdt_ping() 137 static int sunxi_wdt_set_timeout(struct watchdog_device *wdt_dev, in sunxi_wdt_set_timeout() 160 static int sunxi_wdt_stop(struct watchdog_device *wdt_dev) in sunxi_wdt_stop() 171 static int sunxi_wdt_start(struct watchdog_device *wdt_dev) in sunxi_wdt_start()
|
D | iTCO_wdt.c | 211 static int iTCO_wdt_start(struct watchdog_device *wd_dev) in iTCO_wdt_start() 245 static int iTCO_wdt_stop(struct watchdog_device *wd_dev) in iTCO_wdt_stop() 269 static int iTCO_wdt_ping(struct watchdog_device *wd_dev) in iTCO_wdt_ping() 290 static int iTCO_wdt_set_timeout(struct watchdog_device *wd_dev, unsigned int t) in iTCO_wdt_set_timeout() 341 static unsigned int iTCO_wdt_get_timeleft(struct watchdog_device *wd_dev) in iTCO_wdt_get_timeleft() 389 static struct watchdog_device iTCO_wdt_watchdog_dev = {
|
D | octeon-wdt-main.c | 448 static int octeon_wdt_ping(struct watchdog_device __always_unused *wdog) in octeon_wdt_ping() 495 static int octeon_wdt_set_timeout(struct watchdog_device *wdog, in octeon_wdt_set_timeout() 520 static int octeon_wdt_start(struct watchdog_device *wdog) in octeon_wdt_start() 527 static int octeon_wdt_stop(struct watchdog_device *wdog) in octeon_wdt_stop() 551 static struct watchdog_device octeon_wdt = {
|
D | at91sam9_wdt.c | 85 struct watchdog_device wdd; 135 static int at91_wdt_start(struct watchdog_device *wdd) in at91_wdt_start() 143 static int at91_wdt_stop(struct watchdog_device *wdd) in at91_wdt_stop() 149 static int at91_wdt_set_timeout(struct watchdog_device *wdd, unsigned int new_timeout) in at91_wdt_set_timeout()
|
D | s3c2410_wdt.c | 131 struct watchdog_device wdt_device; 237 static int s3c2410wdt_keepalive(struct watchdog_device *wdd) in s3c2410wdt_keepalive() 257 static int s3c2410wdt_stop(struct watchdog_device *wdd) in s3c2410wdt_stop() 268 static int s3c2410wdt_start(struct watchdog_device *wdd) in s3c2410wdt_start() 304 static int s3c2410wdt_set_heartbeat(struct watchdog_device *wdd, unsigned timeout) in s3c2410wdt_set_heartbeat() 370 static struct watchdog_device s3c2410_wdd = {
|
/linux-4.4.14/include/linux/ |
D | watchdog.h | 18 struct watchdog_device; 41 int (*start)(struct watchdog_device *); 42 int (*stop)(struct watchdog_device *); 44 int (*ping)(struct watchdog_device *); 45 unsigned int (*status)(struct watchdog_device *); 46 int (*set_timeout)(struct watchdog_device *, unsigned int); 47 unsigned int (*get_timeleft)(struct watchdog_device *); 48 void (*ref)(struct watchdog_device *); 49 void (*unref)(struct watchdog_device *); 50 long (*ioctl)(struct watchdog_device *, unsigned int, unsigned long); [all …]
|
D | bcm47xx_wdt.h | 17 struct watchdog_device wdd;
|
/linux-4.4.14/Documentation/watchdog/ |
D | watchdog-kernel-api.txt | 28 extern int watchdog_register_device(struct watchdog_device *); 29 extern void watchdog_unregister_device(struct watchdog_device *); 32 The parameter of this routine is a pointer to a watchdog_device structure. 37 watchdog_device structure. 45 struct watchdog_device { 96 int (*start)(struct watchdog_device *); 97 int (*stop)(struct watchdog_device *); 99 int (*ping)(struct watchdog_device *); 100 unsigned int (*status)(struct watchdog_device *); 101 int (*set_timeout)(struct watchdog_device *, unsigned int); [all …]
|
D | convert_drivers_to_kernel_api.txt | 119 watchdog_device as a parameter to these functions, so you probably have to 137 +static int s3c2410wdt_keepalive(struct watchdog_device *wdd) 153 Now we need to create a 'struct watchdog_device' and populate it with the 159 watchdog_device. Note that the timeout values are unsigned int. Some drivers 164 +static struct watchdog_device s3c2410_wdd = { 176 watchdog_device like this:
|
/linux-4.4.14/drivers/misc/mei/ |
D | wd.c | 199 static int mei_wd_ops_start(struct watchdog_device *wd_dev) in mei_wd_ops_start() 239 static int mei_wd_ops_stop(struct watchdog_device *wd_dev) in mei_wd_ops_stop() 261 static int mei_wd_ops_ping(struct watchdog_device *wd_dev) in mei_wd_ops_ping() 312 static int mei_wd_ops_set_timeout(struct watchdog_device *wd_dev, in mei_wd_ops_set_timeout() 353 static struct watchdog_device amt_wd_dev = {
|
/linux-4.4.14/drivers/hwmon/ |
D | sch56xx-common.c | 72 struct watchdog_device wddev; 270 static int watchdog_set_timeout(struct watchdog_device *wddev, in watchdog_set_timeout() 314 static int watchdog_start(struct watchdog_device *wddev) in watchdog_start() 366 static int watchdog_trigger(struct watchdog_device *wddev) in watchdog_trigger() 380 static int watchdog_stop(struct watchdog_device *wddev) in watchdog_stop() 398 static void watchdog_ref(struct watchdog_device *wddev) in watchdog_ref() 405 static void watchdog_unref(struct watchdog_device *wddev) in watchdog_unref()
|