/* * sp5100_tco: TCO timer driver for sp5100 chipsets. * * (c) Copyright 2009 Google Inc., All Rights Reserved. * * TCO timer driver for sp5100 chipsets */ /* * Some address definitions for the Watchdog */ #define SP5100_WDT_MEM_MAP_SIZE 0x08 #define SP5100_WDT_CONTROL(base) ((base) + 0x00) /* Watchdog Control */ #define SP5100_WDT_COUNT(base) ((base) + 0x04) /* Watchdog Count */ #define SP5100_WDT_START_STOP_BIT (1 << 0) #define SP5100_WDT_TRIGGER_BIT (1 << 7) #define SP5100_PM_IOPORTS_SIZE 0x02 /* * These two IO registers are hardcoded and there doesn't seem to be a way to * read them from a register. */ /* For SP5100/SB7x0 chipset */ #define SP5100_IO_PM_INDEX_REG 0xCD6 #define SP5100_IO_PM_DATA_REG 0xCD7 #define SP5100_SB_RESOURCE_MMIO_BASE 0x9C #define SP5100_PM_WATCHDOG_CONTROL 0x69 #define SP5100_PM_WATCHDOG_BASE 0x6C #define SP5100_PM_WATCHDOG_FIRED (1 << 1) #define SP5100_PM_WATCHDOG_ACTION_RESET (1 << 2) #define SP5100_PCI_WATCHDOG_MISC_REG 0x41 #define SP5100_PCI_WATCHDOG_DECODE_EN (1 << 3) #define SP5100_PM_WATCHDOG_DISABLE (1 << 0) #define SP5100_PM_WATCHDOG_SECOND_RES (3 << 1) #define SP5100_DEVNAME "SP5100 TCO" /* For SB8x0(or later) chipset */ #define SB800_IO_PM_INDEX_REG 0xCD6 #define SB800_IO_PM_DATA_REG 0xCD7 #define SB800_PM_ACPI_MMIO_EN 0x24 #define SB800_PM_WATCHDOG_CONTROL 0x48 #define SB800_PM_WATCHDOG_BASE 0x48 #define SB800_PM_WATCHDOG_CONFIG 0x4C #define SB800_PCI_WATCHDOG_DECODE_EN (1 << 0) #define SB800_PM_WATCHDOG_DISABLE (1 << 2) #define SB800_PM_WATCHDOG_SECOND_RES (3 << 0) #define SB800_ACPI_MMIO_DECODE_EN (1 << 0) #define SB800_ACPI_MMIO_SEL (1 << 1) #define SB800_PM_WDT_MMIO_OFFSET 0xB00 #define SB800_DEVNAME "SB800 TCO" te-remove'>logtreecommitdiff
path: root/include
AgeCommit message (Expand)AuthorFilesLines
2017-02-13Merge tag 'rxrpc-rewrite-20170210' of git://git.kernel.org/pub/scm/linux/kern...David S. Miller1-0/+24
2017-02-13net: make net_device members garp_port and mrp_port conditionalTobias Klauser1-0/+4
2017-02-13net: busy-poll: remove LL_FLUSH_FAILED and LL_FLUSH_BUSYEric Dumazet1-4/+0
2017-02-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-nextDavid S. Miller4-8/+53
2017-02-12netfilter: nf_tables: add NFTA_RULE_ID attributePablo Neira Ayuso2-0/+5
2017-02-12netfilter: nfnetlink: allow to check for generation IDPablo Neira Ayuso2-0/+13
2017-02-11net: rename dst_neigh_output back to neigh_outputJulian Anastasov2-12/+10
2017-02-11tap: tap as an independent moduleSainath Grandhi1-2/+2
2017-02-11tap: Extending tap device create/destroy APIsSainath Grandhi1-2/+2
2017-02-11tap: Abstract type of virtual interface from tap implementationSainath Grandhi1-4/+53
2017-02-11tap: Tap character device creation/destroy APISainath Grandhi1-0/+3
2017-02-11tap: Renaming tap related APIs, data structures, macrosSainath Grandhi3-25/+25
2017-02-11tap: Refactoring macvtap.cSainath Grandhi1-0/+10
2017-02-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller