plateform stringclasses 1
value | repo_name stringclasses 2
values | name stringlengths 1 78 | ext stringclasses 2
values | path stringlengths 15 1.11k | size int64 1 8.55M | source_encoding stringclasses 11
values | md5 stringlengths 32 32 | text stringlengths 0 8.49M |
|---|---|---|---|---|---|---|---|---|
google | android | scx200_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/scx200_wdt.c | 6,599 | utf_8 | ce0ec3682c23cce96a9b9b66efb55b4e | /* drivers/char/watchdog/scx200_wdt.c
National Semiconductor SCx200 Watchdog support
software is provided AS-IS with no warranties. */
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/init.h>
#include <linux/miscdevice.h>
#include <linux/watchdog... |
google | android | intel-mid_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/intel-mid_wdt.c | 4,347 | utf_8 | eae4763a2e3b23ee638fd65a6bc84d59 | /*
* intel-mid_wdt: generic Intel MID SCU watchdog driver
*
* Platforms supported so far:
* - Merrifield only
*
*/
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/nmi.h>
#include <linux/platform_device.h>
#include <linux/watchdog.h>
#include <linux/platform_data/intel-mid_wdt... |
google | android | ixp4xx_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/ixp4xx_wdt.c | 4,680 | utf_8 | 4e49e1e98a27a67347f81bfd8ed9b825 | /*
* drivers/char/watchdog/ixp4xx_wdt.c
*
* Watchdog driver for Intel IXP4xx network processors
*
* warranty of any kind, whether express or implied.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include ... |
google | android | gef_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/gef_wdt.c | 7,672 | utf_8 | d0fb206aa2d88864fc86cd22ed472956 | /*
* GE watchdog userspace interface
*
*/
/* TODO:
* This driver does not provide support for the hardwares capability of sending
* an interrupt at a programmable threshold.
*
* This driver currently can only support 1 watchdog - there are 2 in the
* hardware that this driver supports. Thus one could be configu... |
google | android | dw_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/dw_wdt.c | 9,722 | utf_8 | ba6a0e45c0522b16a31d471626a06aba | /*
* If we receive an expected close for the watchdog then we keep the timer
* running, otherwise the timer is stopped and the watchdog will expire.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/bitops.h>
#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/err.h... |
google | android | txx9wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/txx9wdt.c | 4,655 | utf_8 | 3b0fec8317f0f6196a43b1826611b882 | /*
* txx9wdt: A Hardware Watchdog Driver for TXx9 SoCs
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/types.h>
#include <linux/watchdog.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/clk.h>
#include <linux/err.h... |
google | android | hpwdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/hpwdt.c | 22,208 | utf_8 | f6f26770fd278051c1d7475f1e8af2a3 | /*
* HP WatchDog Driver
* based on
*
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/device.h>
#include <linux/fs.h>
#include <linux/io.h>
#include <linux/bitops.h>
#include <linux/kernel.h>
#include <linux/miscdevice.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/pci.... |
google | android | omap_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/omap_wdt.c | 9,772 | utf_8 | 89f8f1c1866bdec86cf01c85e554c4ba | /*
* omap_wdt.c
*
* Watchdog driver for the TI OMAP 16xx & 24xx/34xx 32KHz (non-secure) watchdog
*
* Use the driver model and standard identifiers; handle bigger timeouts.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/mm... |
google | android | pika_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/pika_wdt.c | 6,878 | utf_8 | e852466ddedfab02198b1add526dae20 | /*
* PIKA FPGA based Watchdog Timer
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/init.h>
#include <linux/errno.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/fs.h>
#include <linux/miscdevice.h>
#include <linux/watchdo... |
google | android | i6300esb | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/i6300esb.c | 12,672 | utf_8 | 0e39351e96bc1fe4edb50054a3a9fa14 | /*
* i6300esb: Watchdog timer driver for Intel 6300ESB chipset
*
* Ported driver to kernel 2.6
*/
/*
* Includes, defines, variables, module parameters, ...
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/fs.h>
#includ... |
google | android | rt2880_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/rt2880_wdt.c | 5,075 | utf_8 | c3eafa6afa4e86cb28dfc5db8544db7c | /*
* Ralink RT288x/RT3xxx/MT76xx built-in hardware watchdog timer
*
*/
#include <linux/clk.h>
#include <linux/reset.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/watchdog.h>
#include <linux/moduleparam.h>
#include <linux/platform_device.h>
#include <asm/mach-ralink/ralink_regs.h>
#define SYS... |
google | android | acquirewdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/acquirewdt.c | 8,692 | utf_8 | 362a412a41d53f84fef515734c1b8b75 | /*
* Acquire Single Board Computer Watchdog Timer driver
*
* Added nowayout module option to override CONFIG_WATCHDOG_NOWAYOUT
* Can't add timeout - driver doesn't allow changing value
*/
/*
* Theory of Operation:
* The Watch-Dog Timer is provided to ensure that standalone
* Systems can always recover... |
google | android | mena21_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/mena21_wdt.c | 6,025 | utf_8 | fcf58f73cea623d7de824c463d91fd17 | /*
* Watchdog driver for the A21 VME CPU Boards
*
*/
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/platform_device.h>
#include <linux/watchdog.h>
#include <linux/uaccess.h>
#include <linux/gpio.h>
#include <linux/of... |
google | android | ar7_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/ar7_wdt.c | 7,879 | utf_8 | b2c2d626b152b6444be396925a9a97cf | /*
* drivers/watchdog/ar7_wdt.c
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/errno.h>
#include <linux/miscdevice.h>
#include <linux/platform_device.h>
#include <l... |
google | android | octeon-wdt-main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/octeon-wdt-main.c | 17,210 | utf_8 | 63c7494f25206de693eceacab6ce1016 | /*
* Octeon Watchdog driver
*
* for more details.
*
*
* The OCTEON watchdog has a maximum timeout of 2^32 * io_clock.
* For most systems this is less than 10 seconds, so to allow for
* and decrement the counter. But for the last two periods we need to
* let the watchdog progress to the NMI stage so we disable... |
google | android | ath79_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/ath79_wdt.c | 7,566 | utf_8 | d710e55b20085970e3cae694037719f0 | /*
* Atheros AR71XX/AR724X/AR913X built-in hardware watchdog timer.
*
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/bitops.h>
#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/miscdevice.h>
#include <linux/modul... |
google | android | sirfsoc_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/sirfsoc_wdt.c | 5,688 | utf_8 | 60972507a6f6be7ee691d7dd6f54885b | /*
* Watchdog driver for CSR SiRFprimaII and SiRFatlasVI
*
*/
#include <linux/module.h>
#include <linux/watchdog.h>
#include <linux/platform_device.h>
#include <linux/moduleparam.h>
#include <linux/of.h>
#include <linux/io.h>
#include <linux/uaccess.h>
#define CLOCK_FREQ 1000000
#define SIRFSOC_TIMER_COUNTER_LO 0x00... |
google | android | wdrtas | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/wdrtas.c | 15,626 | utf_8 | 253d229238ff5f131ac28fc0ef5bf5e9 | /*
* FIXME: add wdrtas_get_status and wdrtas_get_boot_status as soon as
* RTAS calls are available
*/
/*
* RTAS watchdog driver
*
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/fs.h>
#include <linux/init.h>
#include <linux/kernel.h>
#inc... |
google | android | ep93xx_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/ep93xx_wdt.c | 4,452 | utf_8 | 9b7213d127bc6757444d71b8dc1992fc | /*
* Watchdog driver for Cirrus Logic EP93xx family of devices.
*
* warranty of any kind, whether express or implied.
*
* This watchdog fires after 250msec, which is a too short interval
* for us to rely on the user space daemon alone. So we ping the
* wdt each ~200msec and eventually stop doing it if the user s... |
google | android | bcm47xx_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/bcm47xx_wdt.c | 6,840 | utf_8 | 1ee2d709d06c3c20cc81e821546ead25 | /*
* Watchdog driver for Broadcom BCM47XX
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/bcm47xx_wdt.h>
#include <linux/bitops.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/platform_device.h>
#include <linux/reboot.h>... |
google | android | meson_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/meson_wdt.c | 6,115 | utf_8 | 8992cdf005ee7be141722adb3e663862 | /*
* Meson Watchdog Driver
*
*/
#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/err.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/notifier.h>
#include <linux/of.h>
#include <linux/platform_devic... |
google | android | wm8350_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/wm8350_wdt.c | 4,240 | utf_8 | d5bbdc2821f96826810dea28291dfab8 | /*
* Watchdog driver for the wm8350
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/watchdog.h>
#include <linux/uaccess.h>
#include <linux/mfd/wm8350/core.h>... |
google | android | f71808e_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/f71808e_wdt.c | 20,887 | utf_8 | fa7c61946ae5ef03100b7558099fa42e | /***************************************************************************
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/err.h>
#include <linux/fs.h>... |
google | android | kempld_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/kempld_wdt.c | 14,807 | utf_8 | 0a8e05642d0c74e5b3cee34c2c1b78c8 | /*
* Kontron PLD watchdog driver
*
*
* Note: From the PLD watchdog point of view timeout and pretimeout are
* defined differently than in the kernel.
* First the pretimeout stage runs out before the timeout stage gets
* active.
*
* Kernel/API: P-----| pretimeout
* ... |
google | android | bcm7038_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/bcm7038_wdt.c | 5,818 | utf_8 | e70c8c29f544daba9da3a239097fc24e | /*
*/
#include <linux/clk.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/pm.h>
#include <linux/watchdog.h>
#define WDT_START_1 0xff00
#define WDT_START_2 0x00ff
#define WDT_STOP_1 0xee00
#define WDT_STOP_2 0x00ee
#... |
google | android | menf21bmc_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/menf21bmc_wdt.c | 5,492 | utf_8 | df3729d5af0c9171892baaee09a7f5aa | /*
* MEN 14F021P00 Board Management Controller (BMC) Watchdog Driver.
*
* option) any later version.
*/
#include <linux/kernel.h>
#include <linux/device.h>
#include <linux/module.h>
#include <linux/watchdog.h>
#include <linux/platform_device.h>
#include <linux/i2c.h>
#define DEVNAME "menf21bmc_wdt"
#define BMC_CM... |
google | android | m54xx_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/m54xx_wdt.c | 5,130 | utf_8 | 51906c31c634f74878e11c76166e1590 | /*
* drivers/watchdog/m54xx_wdt.c
*
* Watchdog driver for ColdFire MCF547x & MCF548x processors
* warranty of any kind, whether express or implied.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <li... |
google | android | da9063_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/da9063_wdt.c | 5,792 | utf_8 | 16f8aa44ce37c790efb496773f17f65c | /*
* Watchdog driver for DA9063 PMICs.
*
* option) any later version.
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/watchdog.h>
#include <linux/platform_device.h>
#include <linux/uaccess.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/mfd/da9063/registers.h>
#include <li... |
google | android | sama5d4_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/sama5d4_wdt.c | 6,468 | utf_8 | bc230c1662da956a0c07cfee62400bba | /*
* Driver for Atmel SAMA5D4 Watchdog Timer
*
*/
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_irq.h>
#include <linux/platform_device.h>
#include <linux/reboot.h>
#include <linux/watchdog.h>
#include "at91sam9_wdt.h"
/... |
google | android | sp5100_tco | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/sp5100_tco.c | 14,894 | utf_8 | d3beeb45846fc1b26d0a82619db98d8a | /*
* sp5100_tco : TCO timer driver for sp5100 chipsets
*
*
* See AMD Publication 43009 "AMD SB700/710/750 Register Reference Guide",
* AMD Publication 45482 "AMD SB800-Series Southbridges Register
* Reference Guide"
*/
/*
* Includes, defines, variables, ... |
google | android | pnx4008_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/pnx4008_wdt.c | 6,186 | utf_8 | eed9fef15efb14a371c19261b45e803c | /*
* drivers/char/watchdog/pnx4008_wdt.c
*
* Watchdog driver for PNX4008 board
*
* kind, whether express or implied.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/watchdog.h>
#include <linu... |
google | android | diag288_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/diag288_wdt.c | 7,687 | utf_8 | 494aa55e5c42ddad0d692df44441a87e | /*
* Watchdog driver for z/VM and LPAR using the diag 288 interface.
*
* Under z/VM, expiration of the watchdog will send a "system restart" command
* to CP.
*
* The command can be altered using the module parameter "cmd". This is
* not recommended because it's only supported on z/VM but not whith LPAR.
*
* On... |
google | android | wm831x_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/wm831x_wdt.c | 7,533 | utf_8 | c0b5e9cd55721587c5f2ebacd8a363b6 | /*
* Watchdog driver for the wm831x PMICs
*
*/
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/platform_device.h>
#include <linux/watchdog.h>
#include <linux/uaccess.h>
#include <linux/gpio.h>
#include <linux/mfd/wm83... |
google | android | imgpdc_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/imgpdc_wdt.c | 9,920 | utf_8 | b816564f1fb9ffa7a8e0246cff2e6181 | /*
* Imagination Technologies PowerDown Controller Watchdog Timer.
*
* 2012 Henrik Nordstrom
*
* Notes
* -----
* The timeout value is rounded to the next power of two clock cycles.
* This is configured using the PDC_WDT_CONFIG register, according to this
* fo... |
google | android | da9062_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/da9062_wdt.c | 6,458 | utf_8 | e1307d25969ee91851d972ddebaf72c9 | /*
* da9062_wdt.c - WDT device driver for DA9062
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/watchdog.h>
#include <linux/platform_device.h>
#include <linux/uaccess.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/jiffies.h>
#include <linux/mfd/da9062/registers.h>
#include... |
google | android | at91rm9200_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/at91rm9200_wdt.c | 8,064 | utf_8 | 50091b9707e8edd662356e9003d7a1eb | /*
* Watchdog driver for Atmel AT91RM9200 (Thunder)
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/bitops.h>
#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/mfd/syscon.h>
#include <linux/... |
google | android | wdt977 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/wdt977.c | 12,079 | utf_8 | fbba6db02474cd4e60a79b3671f63116 | /*
* Wdt977 0.04: A Watchdog Device for Netwinder W83977AF chip
*
* Added nowayout module option to override CONFIG_WATCHDOG_NOWAYOUT
* 19-Dec-2001 Woody Suwalski: Netwinder fixes, ioctl interface
* 06-Jan-2002 Woody Suwalski: For compatibility, convert all timeouts
* from minutes to seconds.
* ... |
google | android | watchdog_dev | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/watchdog_dev.c | 14,529 | utf_8 | 9f7a7f1f75fa734c69507e5d8db9c6f8 | /*
* watchdog_dev.c
*
* This material is provided "AS-IS" and at no charge.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h> /* For module stuff/... */
#include <linux/types.h> /* For standard types (like size_t) */
#include <linux/errno.h> /* For the -ENODEV/... values */
#include <linux/ke... |
google | android | mv64x60_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/mv64x60_wdt.c | 7,825 | utf_8 | 67dd96a6b52fffb7a465320e780456c3 | /*
* mv64x60_wdt.c - MV64X60 (Marvell Discovery) watchdog userspace interface
*
* or implied.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/fs.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/miscdevice.h>
#include <linux/module.h>
#include <linux/watchdog.h>
#include <linux/pla... |
google | android | davinci_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/davinci_wdt.c | 6,497 | utf_8 | 025d630e12cf61f2041b181593930a6c | /*
* drivers/char/watchdog/davinci_wdt.c
*
* Watchdog driver for DaVinci DM644x/DM646x processors
*
* or implied.
*/
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/watchdog.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#inc... |
google | android | pc87413_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/pc87413_wdt.c | 14,364 | utf_8 | 30e6ec6b8d71df2485c95e31d56cbea5 | /*
* NS pc87413-wdt Watchdog Timer driver for Linux 2.6.x.x
*
* This material is provided "AS-IS" and at no charge.
*
* Release 1.1
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/types.h>
#include <linux/miscdevice.h>
#include <linux/watchdog.h>
#include <l... |
google | android | sc1200wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/sc1200wdt.c | 11,388 | utf_8 | 7c5091a48c43654d4f98e2c1c6dfbbb0 | /*
* National Semiconductor PC87307/PC97307 (ala SC1200) WDT driver
* temperature warning
* Add WDIOC_GETBOOTSTATUS and
* WDIOC_SETOPTIONS ioctls
* Fix CONFIG_WATCHDOG_NOWAYOUT
* 20020530 Joel Becker Add Matt Domsch's nowayout module
* option
* 20030116 Adam Belay Updated to the latest pnp... |
google | android | ie6xx_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/ie6xx_wdt.c | 8,769 | utf_8 | 7a12aee5cc89f0645ea722bb0c16243e | /*
* Intel Atom E6xx Watchdog driver
*
*
*/
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/watchdog.h>
#include <linux/seq_file.h>
#include <linux/debugfs.h>
#include <linux/uac... |
google | android | twl4030_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/twl4030_wdt.c | 3,873 | utf_8 | c2f4c25c444a501bf89061288c07adac | /*
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <linux/module.h>
#include <linux/types.h>
#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/watchdog.h>
#include <linux/platform_device.h>
#include <linux/i2c/twl.h>
#define TWL4030_WATCHDOG_CFG_REG_OFFS 0x3
stati... |
google | android | wafer5823wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/wafer5823wdt.c | 7,256 | utf_8 | 55c7a6a3ed0b6cbcbf7027d70dfea87a | /*
* ICP Wafer 5823 Single Board Computer WDT driver
* http://www.icpamerica.com/wafer_5823.php
* May also work on other similar models
*
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/miscdevice.h>
#include <linux/watchdog.h>
#include <li... |
google | android | wdt_pci | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/wdt_pci.c | 17,672 | utf_8 | 121bf3533209c7dd76c5758c0793b490 | /*
* Industrial Computer Source PCI-WDT500/501 driver
*
*
* Release 0.10.
*
* Fixes
* Dave Gregorich : Modularisation and minor bugs
* Alan Cox : Added the watchdog ioctl() stuff
* Alan Cox : Fixed the reboot problem (as noted by
* Matt Crocker).
* Alan Cox : Added wdt= boot option
* Alan Cox : Cle... |
google | android | sbc8360 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/sbc8360.c | 10,039 | utf_8 | 69fbbdb9441411db4b70a0c117bb667c | /*
* SBC8360 Watchdog driver
*
*
* Neither Alan Cox nor CymruNet Ltd. admit liability nor provide
* Added nowayout module option to override CONFIG_WATCHDOG_NOWAYOUT
* Added timeout module option to override default
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <l... |
google | android | sbc7240_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/sbc7240_wdt.c | 7,049 | utf_8 | 27e26603aba3116f9af32b4a83c9ea09 | /*
* NANO7240 SBC Watchdog device driver
*
* Based on w83877f.c by Scott Jennings,
*
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/fs.h>
#include <linux/init.h>
#include <linux/ioport.h>
#include <linux/jiffies.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/miscdevi... |
google | android | sch311x_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/sch311x_wdt.c | 13,801 | utf_8 | d039487249b4b6ec6ef4a31612f87352 | /*
* sch311x_wdt.c - Driver for the SCH311x Super-I/O chips
* integrated watchdog.
*
* provided "AS-IS" and at no charge.
*/
/*
* Includes, defines, variables, module parameters, ...
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
/* Includes */
#include <linux/module.h> /* For module specific items */
#includ... |
google | android | gpio_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/gpio_wdt.c | 6,667 | utf_8 | fb93052370f5d676f21d2d41c4c47c3b | /*
* Driver for watchdog device controlled through GPIO-line
*
* (at your option) any later version.
*/
#include <linux/err.h>
#include <linux/delay.h>
#include <linux/module.h>
#include <linux/notifier.h>
#include <linux/of_gpio.h>
#include <linux/platform_device.h>
#include <linux/reboot.h>
#include <linux/watchd... |
google | android | sa1100_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/sa1100_wdt.c | 4,751 | utf_8 | 0e29e94d2b55dcb049e574e522e14a4f | /*
* Watchdog driver for the SA11x0/PXA2xx
*
*
* 27/11/2000 Initial release
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/fs.h>
#include <linux/miscdevice.h>
#include <linux/watchdog.h>
#inc... |
google | android | sunxi_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/sunxi_wdt.c | 8,827 | utf_8 | 73886d7c803ba5a633b531fb2411c099 | /*
* sunxi Watchdog Driver
*
*/
#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/err.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/notifier.h>
#include <linux/of.h>
#include <linux/of_device.h>
#... |
google | android | mtk_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/mtk_wdt.c | 7,219 | utf_8 | 7a2b25c7473767b47b51a13e3a326853 | /*
* Mediatek Watchdog Driver
*
*
* Based on sunxi_wdt.c
*/
#include <linux/err.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/types.h>
#include <linux/watch... |
google | android | coh901327_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/coh901327_wdt.c | 13,086 | utf_8 | 5e230a17257e1a3e10f8a971008775fe | /*
* coh901327_wdt.c
*
*/
#include <linux/module.h>
#include <linux/types.h>
#include <linux/watchdog.h>
#include <linux/interrupt.h>
#include <linux/pm.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/bitops.h>
#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/err.h>
#define... |
google | android | smsc37b787_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/smsc37b787_wdt.c | 15,474 | utf_8 | 09bb815f85bbebd464b53070201aa575 | /*
* SMsC 37B787 Watchdog Timer driver for Linux 2.6.x.x
*
*
* History:
* 2003 - Created version 1.0 for Linux 2.4.x.
* 2006 - Ported to Linux 2.6, added nowayout and MAGICCLOSE
* features. Released version 1.1
*
* Theory of operation:
*
* A Watchdog Timer (WDT) is a hardware circuit that can
* You... |
google | android | moxart_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/moxart_wdt.c | 4,929 | utf_8 | 1fa0600a759da66b9f4b615563203c34 | /*
* MOXA ART SoCs watchdog driver.
*
* warranty of any kind, whether express or implied.
*/
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/err.h>
#include <linux/kernel.h>
#include <linux/notifier.h>
#include <linux/platform_device.h>
#include <linux/reboot.h>
#include <linu... |
google | android | lpc18xx_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/lpc18xx_wdt.c | 9,623 | utf_8 | 115ce28bc6bbd0f7abdb18d0529016cc | /*
* NXP LPC18xx Watchdog Timer (WDT)
*
*
* Notes
* -----
* The Watchdog consists of a fixed divide-by-4 clock pre-scaler and a 24-bit
* counter which decrements on every clock cycle.
*/
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.... |
google | android | st_lpc_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/st_lpc_wdt.c | 8,143 | utf_8 | 66f2484643cb5a66dce59da7ee0cf8cb | /*
* ST's LPC Watchdog
*
* 2 of the Licence, or (at your option) any later version.
*/
#include <linux/clk.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/mfd/syscon.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_platform.h>
#include <linux/platform_... |
google | android | softdog | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/softdog.c | 5,248 | utf_8 | 5a63c11a57fb848360b49031181cc40e | /*
* Modularised.
* Added soft_margin; use upon insmod to change the timer delay.
* NB: uses same minor as wdt (WATCHDOG_MINOR); we could use separate
* minors.
*
* 19980911 Alan Cox
* Made SMP safe for 2.3.x
*
* Added Matt Domsch's nowayout module option.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#... |
google | android | indydog | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/indydog.c | 4,703 | utf_8 | 7ff7bcf0e697d4dee5291593532bf2da | /*
* IndyDog 0.3 A Hardware Watchdog Device for SGI IP22
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/fs.h>
#include <linux/mm.h>
#include <linux/miscdevice.h>
#include <linux/watchdog.h>
#... |
google | android | stmp3xxx_rtc_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/stmp3xxx_rtc_wdt.c | 3,498 | utf_8 | bc469c0d9bcbe3fea0629b9283c71ded | /*
* Watchdog driver for the RTC based watchdog in STMP3xxx and i.MX23/28
*
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/watchdog.h>
#include <linux/platform_device.h>
#include <linux/stmp3xxx_rtc_wdt.h>
#define WDOG_TICK_RATE 1000 /* 1 kHz clock */
#define STMP3XXX_DEFAULT_TIMEOUT 19
#defi... |
google | android | jz4740_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/jz4740_wdt.c | 6,433 | utf_8 | 835e5b86bb2a254c46a03a217d22f378 | /*
* 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/watchdog.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/device.h>
#include <linux/clk.h>
#include <linux/slab.h>
... |
google | android | digicolor_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/digicolor_wdt.c | 4,940 | utf_8 | f9ee8bb3f988a9e3e7ef32fc61f713fa | /*
* Watchdog driver for Conexant Digicolor
*
* option) any later version.
*/
#include <linux/types.h>
#include <linux/module.h>
#include <linux/io.h>
#include <linux/delay.h>
#include <linux/clk.h>
#include <linux/watchdog.h>
#include <linux/reboot.h>
#include <linux/platform_device.h>
#include <linux/of_address.h... |
google | android | sp805_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/sp805_wdt.c | 7,318 | utf_8 | 2cf4874dea2fecbe921033d34af7af75 | /*
* drivers/char/watchdog/sp805-wdt.c
*
* Watchdog driver for ARM SP805 watchdog module
*
* warranty of any kind, whether express or implied.
*/
#include <linux/device.h>
#include <linux/resource.h>
#include <linux/amba/bus.h>
#include <linux/bitops.h>
#include <linux/clk.h>
#include <linux/io.h>
#include <linux... |
google | android | machzwd | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/machzwd.c | 10,054 | utf_8 | 4af9ad46039c1596b34ed4f421caddce | /*
* MachZ ZF-Logic Watchdog Timer driver for Linux
*
*
*
* Based on sbc60xxwdt.c by Jakob Oestergaard
*
*
* We have two timers (wd#1, wd#2) driven by a 32 KHz clock with the
* following periods:
* wd#1 - 2 seconds;
* wd#2 - 7.2 ms;
* After the expiration of wd#1, it can generate a NMI, SCI, ... |
google | android | bcm2835_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/bcm2835_wdt.c | 7,135 | utf_8 | df47fcdc1904626fa68865dde9c2fb2b | /*
* Watchdog driver for Broadcom BCM2835
*
* "bcm2708_wdog" driver written by Luke Diamand that was obtained from
* branch "rpi-3.6.y" of git://github.com/raspberrypi/linux.git was used
* as a hardware reference for the Broadcom BCM2835 watchdog timer.
*
* option) any later version.
*/
#include <linux/delay.h>... |
google | android | wdt285 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/wdt285.c | 4,856 | utf_8 | adad1c7a487fc148401ddd04e25f809c | /*
* Intel 21285 watchdog driver
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/fs.h>
#include <linux/mm.h>
#include <linux/miscdevice.h>
#include <linux/watchdog.h>
#include <linux/reboot.h>... |
google | android | watchdog_core | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/watchdog_core.c | 8,712 | utf_8 | aab10c1f2d0aab2afc24749053953f57 | /*
* watchdog_core.c
*
* This material is provided "AS-IS" and at no charge.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h> /* For EXPORT_SYMBOL/module stuff/... */
#include <linux/types.h> /* For standard types */
#include <linux/errno.h> /* For the -ENODEV/... values */
#include <linux/k... |
google | android | sbc60xxwdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/sbc60xxwdt.c | 10,352 | utf_8 | f6cc98bbe2843500b7fe4a2fdba32566 | /*
* 60xx Single Board Computer Watchdog Timer driver for Linux 2.2.x
*
* Based on acquirewdt.c by Alan Cox.
*
* fix possible wdt_is_open race
* add CONFIG_WATCHDOG_NOWAYOUT support
* remove lock_kernel/unlock_kernel pairs
* ... |
google | android | iTCO_vendor_support | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/iTCO_vendor_support.c | 11,089 | utf_8 | 6cf0802ddaa573be12ea2784978c8384 | /*
* intel TCO vendor specific watchdog driver support
*
* provided "AS-IS" and at no charge.
*/
/*
* Includes, defines, variables, module parameters, ...
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
/* Module and version information */
#define DRV_NAME "iTCO_vendor_support"
#define DRV_VERSION "1.04"
/* Includ... |
google | android | advantechwdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/advantechwdt.c | 7,983 | utf_8 | 3ce724e164c1cbf11ebc4b61ed8a4410 | /*
* Advantech Single Board Computer WDT driver
*
* Clean up ioctls, clean up init + exit, add expect close support,
* add wdt_start and wdt_stop as parameters.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/types.h>
#include <linux/m... |
google | android | ks8695_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/ks8695_wdt.c | 7,838 | utf_8 | 3fca61729bdb6e859b79010aaa2fa6fd | /*
* Watchdog driver for Kendin/Micrel KS8695.
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/bitops.h>
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/miscdevice.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <l... |
google | android | pcwd_usb | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/pcwd_usb.c | 21,684 | utf_8 | 06293296d54c24cc80ab2d2e0e5512b6 | /*
* Berkshire USB-PC Watchdog Card Driver
*
* provided "AS-IS" and at no charge.
*
* Thanks also to Simon Machell at Berkshire Products Inc. for
* providing the test hardware. More info is available at
* http://www.berkprod.com/ or http://www.pcwatchdog.com/
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#incl... |
google | android | geodewdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/geodewdt.c | 6,603 | utf_8 | ac27f24584519aa04d4751af02e396af | /* Watchdog timer for machines with the CS5535/CS5536 companion chip
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/types.h>
#include <linux/miscdevice.h>
#include <linux/watchdog.h>
#include <linux/fs.h>
#include <linux/platform_device.h>
#in... |
google | android | rdc321x_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/rdc321x_wdt.c | 7,328 | utf_8 | 941de87d35069490b61abacf4340e3ad | /*
* RDC321x watchdog driver
*
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/miscdevice.h>
#include <linux/fs.h>
#include <linux/ioport.h>
#include <linux/timer.h>
#include ... |
google | android | w83877f_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/w83877f_wdt.c | 10,171 | utf_8 | cb4e4f51af3cac24be5637419f3091ec | /*
* W83877F Computer Watchdog Timer driver
*
* Based on acquirewdt.c by Alan Cox,
* Eliminate fop_read
* Eliminate extra spin_unlock
* Added KERN_* tags to printks
* add CONFIG_WATCHDOG_NOWAYOUT supp... |
google | android | wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/wdt.c | 15,830 | utf_8 | 8ce6545e8780cf975b40fe4613f43ed0 | /*
* Industrial Computer Source WDT501 driver
*
*
* Release 0.10.
*
* Fixes
* Dave Gregorich : Modularisation and minor bugs
* Alan Cox : Added the watchdog ioctl() stuff
* Alan Cox : Fixed the reboot problem (as noted by
* Matt Crocker).
* Alan Cox : Added wdt= boot option
* Alan Cox : Cleaned up ... |
google | android | ib700wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/ib700wdt.c | 8,519 | utf_8 | 961df66932017b89c3d153334ed116ff | /*
* IB700 Single Board Computer WDT driver
*
* Added nowayout module option to override CONFIG_WATCHDOG_NOWAYOUT
* Added timeout module option to override default
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/types.h>
#include <linux/miscdevice.h>
#include <... |
google | android | bfin_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/bfin_wdt.c | 10,356 | utf_8 | f9a098926dc6211f7bf81f0d011c5503 | /*
* Blackfin On-Chip Watchdog Driver
*
* Originally based on softdog.c
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/platform_device.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/types.h>
#include <linux/timer.h>
#include <linux/miscdevice.h>
#include <linux/watchdog.... |
google | android | iop_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/iop_wdt.c | 6,030 | utf_8 | 41112840752f09dabfec00e2341ea115 | /*
* drivers/char/watchdog/iop_wdt.c
*
* WDT driver for Intel I/O Processors
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/fs.h>
#include <linux/init.h>
#include <linux/device.h>
#include <linux/miscdevice.h>
#include <linux/watchdog.h>
#include <... |
google | android | da9052_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/da9052_wdt.c | 5,930 | utf_8 | ca33b911b89795ce9c1b608b4c43250d | /*
* System monitoring driver for DA9052 PMICs.
*
* (at your option) any later version.
*
*/
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/uaccess.h>
#include <linux/platform_device.h>
#include <linux/time.h>
#include <linux/watchdog.h>
#include <linux/types.h>
#include <linux/kernel.h>
#inclu... |
google | android | retu_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/retu_wdt.c | 4,630 | utf_8 | 29f58b0264d718a8b93207377dbb5a96 | /*
* Retu watchdog driver
*
*/
#include <linux/slab.h>
#include <linux/errno.h>
#include <linux/device.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/mfd/retu.h>
#include <linux/watchdog.h>
#include <linux/platform_device.h>
/* Watchdog timer values in seconds */
#define RETU_WDT_MAX_TIMER 63... |
google | android | pcwd | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/pcwd.c | 26,781 | utf_8 | 2089576195880f9422d86e0158d91430 | /*
* PC Watchdog Driver
*
* 960107 Added request_region routines, modulized the whole thing.
* 960108 Fixed end-of-file pointer (Thanks to Dan Hollis), added
* WD_TIMEOUT define.
* 960216 Added eof marker on the file, and changed verbose messages.
* 960716 Made functional and cosmetic changes to the source for
... |
google | android | ux500_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/ux500_wdt.c | 4,104 | utf_8 | e63a510ed32980ca5a5e682bd4ea83ed | /*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/moduleparam.h>
#include <linux/err.h>
#include <linux/uaccess.h>
#include <linux/watchdog.h>
#include <linux/platform_device.h>
#include <linux/platform_data/ux500_wdt.h>
#include <linux/mfd/dbx500-prc... |
google | android | alim1535_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/alim1535_wdt.c | 10,135 | utf_8 | 1742927f9c9d0dba1daa8e443dda5934 | /*
* Watchdog for the 7101 PMU version found in the ALi M1535 chipsets
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/types.h>
#include <linux/miscdevice.h>
#include <linux/watchdog.h>
#include <linux/ioport.h>
#include <linux/notifier.h>
#in... |
google | android | mixcomwd | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/mixcomwd.c | 7,428 | utf_8 | 048e7d586861aabd1fe3b55928c64dcd | /*
* MixCom Watchdog: A Simple Hardware Watchdog Device
* Based on Softdog driver by Alan Cox and PC Watchdog driver by Ken Hollis
*
*
* Version 0.1 (99/04/15):
* - first version
*
* Version 0.2 (99/06/16):
* - added kernel timer watchdog ping after close
* since the hardware does not support watchdog sh... |
google | android | rn5t618_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/rn5t618_wdt.c | 5,287 | utf_8 | 8343738e428f99654b7f7a30481b432a | /*
* Watchdog driver for Ricoh RN5T618 PMIC
*
*/
#include <linux/device.h>
#include <linux/mfd/rn5t618.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/watchdog.h>
#define DRIVER_NAME "rn5t618-wdt"
static bool nowayout = WATCHDOG_NOWAYOUT;
static unsigned int timeout;
module_param(time... |
google | android | iTCO_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/iTCO_wdt.c | 19,328 | utf_8 | fb5970d60bacbec84c3acb4d7fa60940 | /*
* intel TCO Watchdog Driver
*
* provided "AS-IS" and at no charge.
*
* The TCO watchdog is implemented in the following I/O controller hubs:
* (See the intel documentation on http://developer.intel.com.)
* document number 290655-003, 290677-014: 82801AA (ICH), 82801AB (ICHO)
* document number 290687-002, 298... |
google | android | at91sam9_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/at91sam9_wdt.c | 10,960 | utf_8 | 29ea9513aef0f77f44b93726b3e65726 | /*
* Watchdog driver for Atmel AT91SAM9x processors.
*
*/
/*
* The Watchdog Timer Mode Register can be only written to once. If the
* timeout need to be set from Linux, be sure that the bootstrap or the
* bootloader doesn't write to this register.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/cl... |
google | android | xen_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/xen_wdt.c | 7,630 | utf_8 | 65ae3a4c128465789730a2b23dde56b1 | /*
* Xen Watchdog Driver
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#define DRV_NAME "wdt"
#define DRV_VERSION "0.01"
#include <linux/bug.h>
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/hrtimer.h>
#include <linux/kernel.h>
#include <linux/ktime.h>
#include <linux/init.h>
#include <linux/miscd... |
google | android | imx2_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/imx2_wdt.c | 12,032 | utf_8 | 231a25eefe1a0a8b9b778d940b9cb92d | /*
* Watchdog driver for IMX2 and later processors
*
*
* NOTE: MX1 has a slightly different Watchdog than MX2 and later:
*
* MX1: MX2+:
* ---- -----
* Registers: 32-bit 16-bit
* Stopable timer: Yes No
* Need to enable clk: No Yes
* Halt on suspend: Manual Can be automatic
*/
#include <linux/clk.h... |
google | android | cadence_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/cadence_wdt.c | 14,168 | utf_8 | 5cd0eb0c1821494cf473c76dfc9c6ffa | /*
* Cadence WDT driver - Used by Xilinx Zynq
*
*/
#include <linux/clk.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/irq.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/reboot.h>
#include <... |
google | android | bcm_kona_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/bcm_kona_wdt.c | 9,615 | utf_8 | b50d62c761819d4fc77e17886face694 | /*
*/
#include <linux/debugfs.h>
#include <linux/delay.h>
#include <linux/err.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/of_address.h>
#include <linux/platform_device.h>
#include <linux/watchdog.h>
#define SECWDOG_CTRL_REG 0x00000000
#define SECWDOG_COUNT_REG 0x00000004
#define SECWDOG_RESERV... |
google | android | mpc8xxx_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/mpc8xxx_wdt.c | 7,024 | utf_8 | d9e2668b50e777b019d9cc9748d511ed | /*
* mpc8xxx_wdt.c - MPC8xx/MPC83xx/MPC86xx watchdog userspace interface
*
* option) any later version.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/fs.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/timer.h>
#include <linux/miscdevice.h>
#include <linux/of_address.h>
#include... |
google | android | w83627hf_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/w83627hf_wdt.c | 10,783 | utf_8 | 88be68c21253b37413a55efeac9c9af7 | /*
* w83627hf/thf WDT driver
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/types.h>
#include <linux/watchdog.h>
#include <linux/ioport.h>
#include <linux/notifier.h>
#include <linux/reboot.h>
#include <linux/init.h>
#include <linux/io.h>
#de... |
google | android | at32ap700x_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/at32ap700x_wdt.c | 9,841 | utf_8 | 706431fa85c412c4aae5781a02978582 | /*
* Watchdog driver for Atmel AT32AP700X devices
*
*
*
* Errata: WDT Clear is blocked after WDT Reset
*
* A watchdog timer event will, after reset, block writes to the WDT_CLEAR
* register, preventing the program to clear the next Watchdog Timer Reset.
*
* If you still want to use the WDT after a WDT reset a... |
google | android | s3c2410_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/s3c2410_wdt.c | 19,789 | utf_8 | cc2b6e60639d07414e91642cc0f87cc6 | /* linux/drivers/char/watchdog/s3c2410_wdt.c
*
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/types.h>
#include <linux/timer.h>
#include <linux/watchdog.h>
#include <lin... |
google | android | tegra_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/tegra_wdt.c | 7,890 | utf_8 | a06a5ad74bccbf90fb1f990428fedf73 | /*
* more details.
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/watchdog.h>
/* minimum and maximum watchdog trigger timeout, in seconds */
#define MIN_WDT_TIMEOUT 1
#define MAX_WDT_T... |
google | android | max63xx_wdt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/max63xx_wdt.c | 7,151 | utf_8 | 67cab942a3a91bf90a0dc6b258e23d1d | /*
* drivers/char/watchdog/max63xx_wdt.c
*
* Driver for max63{69,70,71,72,73,74} watchdog timers
*
* warranty of any kind, whether express or implied.
*
* This driver assumes the watchdog pins are memory mapped (as it is
* the case for the Arcom Zeus). Should it be connected over GPIOs or
* another interface, ... |
google | android | riowd | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/watchdog/riowd.c | 5,716 | utf_8 | 79e1279286b8c1a1785cc3e3d6589b13 | /* riowd.c - driver for hw watchdog inside Super I/O of RIO
*
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/fs.h>
#include <linux/errno.h>
#include <linux/miscdevice.h>
#include <linux/watchdog.h>
#include <linux/of.h>
#incl... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.