Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
cs5536.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Macros

#define CS5536_SB_MSR_BASE   (0x00000000)
 
#define CS5536_GLIU_MSR_BASE   (0x10000000)
 
#define CS5536_ILLEGAL_MSR_BASE   (0x20000000)
 
#define CS5536_USB_MSR_BASE   (0x40000000)
 
#define CS5536_IDE_MSR_BASE   (0x60000000)
 
#define CS5536_DIVIL_MSR_BASE   (0x80000000)
 
#define CS5536_ACC_MSR_BASE   (0xa0000000)
 
#define CS5536_UNUSED_MSR_BASE   (0xc0000000)
 
#define CS5536_GLCP_MSR_BASE   (0xe0000000)
 
#define SB_MSR_REG(offset)   (CS5536_SB_MSR_BASE | (offset))
 
#define GLIU_MSR_REG(offset)   (CS5536_GLIU_MSR_BASE | (offset))
 
#define ILLEGAL_MSR_REG(offset)   (CS5536_ILLEGAL_MSR_BASE | (offset))
 
#define USB_MSR_REG(offset)   (CS5536_USB_MSR_BASE | (offset))
 
#define IDE_MSR_REG(offset)   (CS5536_IDE_MSR_BASE | (offset))
 
#define DIVIL_MSR_REG(offset)   (CS5536_DIVIL_MSR_BASE | (offset))
 
#define ACC_MSR_REG(offset)   (CS5536_ACC_MSR_BASE | (offset))
 
#define UNUSED_MSR_REG(offset)   (CS5536_UNUSED_MSR_BASE | (offset))
 
#define GLCP_MSR_REG(offset)   (CS5536_GLCP_MSR_BASE | (offset))
 
#define CS5536_IRQ_RANGE   0xffffffe0 /* USERD FOR PCI PROBE */
 
#define CS5536_IRQ_LENGTH   0x20 /* THE REGS ACTUAL LENGTH */
 
#define CS5536_SMB_RANGE   0xfffffff8
 
#define CS5536_SMB_LENGTH   0x08
 
#define CS5536_GPIO_RANGE   0xffffff00
 
#define CS5536_GPIO_LENGTH   0x100
 
#define CS5536_MFGPT_RANGE   0xffffffc0
 
#define CS5536_MFGPT_LENGTH   0x40
 
#define CS5536_ACPI_RANGE   0xffffffe0
 
#define CS5536_ACPI_LENGTH   0x20
 
#define CS5536_PMS_RANGE   0xffffff80
 
#define CS5536_PMS_LENGTH   0x80
 
#define CS5536_IDE_RANGE   0xfffffff0
 
#define CS5536_IDE_LENGTH   0x10
 
#define CS5536_ACC_RANGE   0xffffff80
 
#define CS5536_ACC_LENGTH   0x80
 
#define CS5536_OHCI_RANGE   0xfffff000
 
#define CS5536_OHCI_LENGTH   0x1000
 
#define CS5536_EHCI_RANGE   0xfffff000
 
#define CS5536_EHCI_LENGTH   0x1000
 
#define PCI_MSR_CTRL   0xF0
 
#define PCI_MSR_ADDR   0xF4
 
#define PCI_MSR_DATA_LO   0xF8
 
#define PCI_MSR_DATA_HI   0xFC
 
#define GLIU_CAP   0x00
 
#define GLIU_CONFIG   0x01
 
#define GLIU_SMI   0x02
 
#define GLIU_ERROR   0x03
 
#define GLIU_PM   0x04
 
#define GLIU_DIAG   0x05
 
#define GLIU_P2D_BM0   0x20
 
#define GLIU_P2D_BM1   0x21
 
#define GLIU_P2D_BM2   0x22
 
#define GLIU_P2D_BMK0   0x23
 
#define GLIU_P2D_BMK1   0x24
 
#define GLIU_P2D_BM3   0x25
 
#define GLIU_P2D_BM4   0x26
 
#define GLIU_COH   0x80
 
#define GLIU_PAE   0x81
 
#define GLIU_ARB   0x82
 
#define GLIU_ASMI   0x83
 
#define GLIU_AERR   0x84
 
#define GLIU_DEBUG   0x85
 
#define GLIU_PHY_CAP   0x86
 
#define GLIU_NOUT_RESP   0x87
 
#define GLIU_NOUT_WDATA   0x88
 
#define GLIU_WHOAMI   0x8B
 
#define GLIU_SLV_DIS   0x8C
 
#define GLIU_IOD_BM0   0xE0
 
#define GLIU_IOD_BM1   0xE1
 
#define GLIU_IOD_BM2   0xE2
 
#define GLIU_IOD_BM3   0xE3
 
#define GLIU_IOD_BM4   0xE4
 
#define GLIU_IOD_BM5   0xE5
 
#define GLIU_IOD_BM6   0xE6
 
#define GLIU_IOD_BM7   0xE7
 
#define GLIU_IOD_BM8   0xE8
 
#define GLIU_IOD_BM9   0xE9
 
#define GLIU_IOD_SC0   0xEA
 
#define GLIU_IOD_SC1   0xEB
 
#define GLIU_IOD_SC2   0xEC
 
#define GLIU_IOD_SC3   0xED
 
#define GLIU_IOD_SC4   0xEE
 
#define GLIU_IOD_SC5   0xEF
 
#define GLIU_IOD_SC6   0xF0
 
#define GLIU_IOD_SC7   0xF1
 
#define SB_CAP   0x00
 
#define SB_CONFIG   0x01
 
#define SB_SMI   0x02
 
#define SB_ERROR   0x03
 
#define SB_MAR_ERR_EN   0x00000001
 
#define SB_TAR_ERR_EN   0x00000002
 
#define SB_RSVD_BIT1   0x00000004
 
#define SB_EXCEP_ERR_EN   0x00000008
 
#define SB_SYSE_ERR_EN   0x00000010
 
#define SB_PARE_ERR_EN   0x00000020
 
#define SB_TAS_ERR_EN   0x00000040
 
#define SB_MAR_ERR_FLAG   0x00010000
 
#define SB_TAR_ERR_FLAG   0x00020000
 
#define SB_RSVD_BIT2   0x00040000
 
#define SB_EXCEP_ERR_FLAG   0x00080000
 
#define SB_SYSE_ERR_FLAG   0x00100000
 
#define SB_PARE_ERR_FLAG   0x00200000
 
#define SB_TAS_ERR_FLAG   0x00400000
 
#define SB_PM   0x04
 
#define SB_DIAG   0x05
 
#define SB_CTRL   0x10
 
#define SB_R0   0x20
 
#define SB_R1   0x21
 
#define SB_R2   0x22
 
#define SB_R3   0x23
 
#define SB_R4   0x24
 
#define SB_R5   0x25
 
#define SB_R6   0x26
 
#define SB_R7   0x27
 
#define SB_R8   0x28
 
#define SB_R9   0x29
 
#define SB_R10   0x2A
 
#define SB_R11   0x2B
 
#define SB_R12   0x2C
 
#define SB_R13   0x2D
 
#define SB_R14   0x2E
 
#define SB_R15   0x2F
 
#define GLCP_CAP   0x00
 
#define GLCP_CONFIG   0x01
 
#define GLCP_SMI   0x02
 
#define GLCP_ERROR   0x03
 
#define GLCP_PM   0x04
 
#define GLCP_DIAG   0x05
 
#define GLCP_CLK_DIS_DELAY   0x08
 
#define GLCP_PM_CLK_DISABLE   0x09
 
#define GLCP_GLB_PM   0x0B
 
#define GLCP_DBG_OUT   0x0C
 
#define GLCP_RSVD1   0x0D
 
#define GLCP_SOFT_COM   0x0E
 
#define SOFT_BAR_SMB_FLAG   0x00000001
 
#define SOFT_BAR_GPIO_FLAG   0x00000002
 
#define SOFT_BAR_MFGPT_FLAG   0x00000004
 
#define SOFT_BAR_IRQ_FLAG   0x00000008
 
#define SOFT_BAR_PMS_FLAG   0x00000010
 
#define SOFT_BAR_ACPI_FLAG   0x00000020
 
#define SOFT_BAR_IDE_FLAG   0x00000400
 
#define SOFT_BAR_ACC_FLAG   0x00000800
 
#define SOFT_BAR_OHCI_FLAG   0x00001000
 
#define SOFT_BAR_EHCI_FLAG   0x00002000
 
#define GLCP_RSVD2   0x0F
 
#define GLCP_CLK_OFF   0x10
 
#define GLCP_CLK_ACTIVE   0x11
 
#define GLCP_CLK_DISABLE   0x12
 
#define GLCP_CLK4ACK   0x13
 
#define GLCP_SYS_RST   0x14
 
#define GLCP_RSVD3   0x15
 
#define GLCP_DBG_CLK_CTRL   0x16
 
#define GLCP_CHIP_REV_ID   0x17
 
#define PIC_YSEL_LOW   0x20
 
#define PIC_YSEL_LOW_USB_SHIFT   8
 
#define PIC_YSEL_LOW_ACC_SHIFT   16
 
#define PIC_YSEL_LOW_FLASH_SHIFT   24
 
#define PIC_YSEL_HIGH   0x21
 
#define PIC_ZSEL_LOW   0x22
 
#define PIC_ZSEL_HIGH   0x23
 
#define PIC_IRQM_PRIM   0x24
 
#define PIC_IRQM_LPC   0x25
 
#define PIC_XIRR_STS_LOW   0x26
 
#define PIC_XIRR_STS_HIGH   0x27
 
#define PCI_SHDW   0x34
 
#define DIVIL_CAP   0x00
 
#define DIVIL_CONFIG   0x01
 
#define DIVIL_SMI   0x02
 
#define DIVIL_ERROR   0x03
 
#define DIVIL_PM   0x04
 
#define DIVIL_DIAG   0x05
 
#define DIVIL_LBAR_IRQ   0x08
 
#define DIVIL_LBAR_KEL   0x09
 
#define DIVIL_LBAR_SMB   0x0B
 
#define DIVIL_LBAR_GPIO   0x0C
 
#define DIVIL_LBAR_MFGPT   0x0D
 
#define DIVIL_LBAR_ACPI   0x0E
 
#define DIVIL_LBAR_PMS   0x0F
 
#define DIVIL_LEG_IO   0x14
 
#define DIVIL_BALL_OPTS   0x15
 
#define DIVIL_SOFT_IRQ   0x16
 
#define DIVIL_SOFT_RESET   0x17
 
#define MFGPT_IRQ   0x28
 
#define IDE_CAP   0x00
 
#define IDE_CONFIG   0x01
 
#define IDE_SMI   0x02
 
#define IDE_ERROR   0x03
 
#define IDE_PM   0x04
 
#define IDE_DIAG   0x05
 
#define IDE_IO_BAR   0x08
 
#define IDE_CFG   0x10
 
#define IDE_DTC   0x12
 
#define IDE_CAST   0x13
 
#define IDE_ETC   0x14
 
#define IDE_INTERNAL_PM   0x15
 
#define ACC_CAP   0x00
 
#define ACC_CONFIG   0x01
 
#define ACC_SMI   0x02
 
#define ACC_ERROR   0x03
 
#define ACC_PM   0x04
 
#define ACC_DIAG   0x05
 
#define USB_CAP   0x00
 
#define USB_CONFIG   0x01
 
#define USB_SMI   0x02
 
#define USB_ERROR   0x03
 
#define USB_PM   0x04
 
#define USB_DIAG   0x05
 
#define USB_OHCI   0x08
 
#define USB_EHCI   0x09
 
#define GPIOL_OUT_VAL   0x00
 
#define GPIOL_OUT_EN   0x04
 

Functions

void _rdmsr (u32 msr, u32 *hi, u32 *lo)
 
void _wrmsr (u32 msr, u32 hi, u32 lo)
 

Macro Definition Documentation

#define ACC_CAP   0x00

Definition at line 277 of file cs5536.h.

#define ACC_CONFIG   0x01

Definition at line 278 of file cs5536.h.

#define ACC_DIAG   0x05

Definition at line 282 of file cs5536.h.

#define ACC_ERROR   0x03

Definition at line 280 of file cs5536.h.

#define ACC_MSR_REG (   offset)    (CS5536_ACC_MSR_BASE | (offset))

Definition at line 35 of file cs5536.h.

#define ACC_PM   0x04

Definition at line 281 of file cs5536.h.

#define ACC_SMI   0x02

Definition at line 279 of file cs5536.h.

#define CS5536_ACC_LENGTH   0x80

Definition at line 61 of file cs5536.h.

#define CS5536_ACC_MSR_BASE   (0xa0000000)

Definition at line 25 of file cs5536.h.

#define CS5536_ACC_RANGE   0xffffff80

Definition at line 60 of file cs5536.h.

#define CS5536_ACPI_LENGTH   0x20

Definition at line 53 of file cs5536.h.

#define CS5536_ACPI_RANGE   0xffffffe0

Definition at line 52 of file cs5536.h.

#define CS5536_DIVIL_MSR_BASE   (0x80000000)

Definition at line 24 of file cs5536.h.

#define CS5536_EHCI_LENGTH   0x1000

Definition at line 66 of file cs5536.h.

#define CS5536_EHCI_RANGE   0xfffff000

Definition at line 65 of file cs5536.h.

#define CS5536_GLCP_MSR_BASE   (0xe0000000)

Definition at line 27 of file cs5536.h.

#define CS5536_GLIU_MSR_BASE   (0x10000000)

Definition at line 20 of file cs5536.h.

#define CS5536_GPIO_LENGTH   0x100

Definition at line 49 of file cs5536.h.

#define CS5536_GPIO_RANGE   0xffffff00

Definition at line 48 of file cs5536.h.

#define CS5536_IDE_LENGTH   0x10

Definition at line 58 of file cs5536.h.

#define CS5536_IDE_MSR_BASE   (0x60000000)

Definition at line 23 of file cs5536.h.

#define CS5536_IDE_RANGE   0xfffffff0

Definition at line 57 of file cs5536.h.

#define CS5536_ILLEGAL_MSR_BASE   (0x20000000)

Definition at line 21 of file cs5536.h.

#define CS5536_IRQ_LENGTH   0x20 /* THE REGS ACTUAL LENGTH */

Definition at line 45 of file cs5536.h.

#define CS5536_IRQ_RANGE   0xffffffe0 /* USERD FOR PCI PROBE */

Definition at line 44 of file cs5536.h.

#define CS5536_MFGPT_LENGTH   0x40

Definition at line 51 of file cs5536.h.

#define CS5536_MFGPT_RANGE   0xffffffc0

Definition at line 50 of file cs5536.h.

#define CS5536_OHCI_LENGTH   0x1000

Definition at line 64 of file cs5536.h.

#define CS5536_OHCI_RANGE   0xfffff000

Definition at line 63 of file cs5536.h.

#define CS5536_PMS_LENGTH   0x80

Definition at line 55 of file cs5536.h.

#define CS5536_PMS_RANGE   0xffffff80

Definition at line 54 of file cs5536.h.

#define CS5536_SB_MSR_BASE   (0x00000000)

Definition at line 19 of file cs5536.h.

#define CS5536_SMB_LENGTH   0x08

Definition at line 47 of file cs5536.h.

#define CS5536_SMB_RANGE   0xfffffff8

Definition at line 46 of file cs5536.h.

#define CS5536_UNUSED_MSR_BASE   (0xc0000000)

Definition at line 26 of file cs5536.h.

#define CS5536_USB_MSR_BASE   (0x40000000)

Definition at line 22 of file cs5536.h.

#define DIVIL_BALL_OPTS   0x15

Definition at line 247 of file cs5536.h.

#define DIVIL_CAP   0x00

Definition at line 229 of file cs5536.h.

#define DIVIL_CONFIG   0x01

Definition at line 230 of file cs5536.h.

#define DIVIL_DIAG   0x05

Definition at line 234 of file cs5536.h.

#define DIVIL_ERROR   0x03

Definition at line 232 of file cs5536.h.

#define DIVIL_LBAR_ACPI   0x0E

Definition at line 244 of file cs5536.h.

#define DIVIL_LBAR_GPIO   0x0C

Definition at line 242 of file cs5536.h.

#define DIVIL_LBAR_IRQ   0x08

Definition at line 239 of file cs5536.h.

#define DIVIL_LBAR_KEL   0x09

Definition at line 240 of file cs5536.h.

#define DIVIL_LBAR_MFGPT   0x0D

Definition at line 243 of file cs5536.h.

#define DIVIL_LBAR_PMS   0x0F

Definition at line 245 of file cs5536.h.

#define DIVIL_LBAR_SMB   0x0B

Definition at line 241 of file cs5536.h.

#define DIVIL_LEG_IO   0x14

Definition at line 246 of file cs5536.h.

#define DIVIL_MSR_REG (   offset)    (CS5536_DIVIL_MSR_BASE | (offset))

Definition at line 34 of file cs5536.h.

#define DIVIL_PM   0x04

Definition at line 233 of file cs5536.h.

#define DIVIL_SMI   0x02

Definition at line 231 of file cs5536.h.

#define DIVIL_SOFT_IRQ   0x16

Definition at line 248 of file cs5536.h.

#define DIVIL_SOFT_RESET   0x17

Definition at line 249 of file cs5536.h.

#define GLCP_CAP   0x00

Definition at line 176 of file cs5536.h.

#define GLCP_CHIP_REV_ID   0x17

Definition at line 210 of file cs5536.h.

#define GLCP_CLK4ACK   0x13

Definition at line 206 of file cs5536.h.

#define GLCP_CLK_ACTIVE   0x11

Definition at line 204 of file cs5536.h.

#define GLCP_CLK_DIS_DELAY   0x08

Definition at line 186 of file cs5536.h.

#define GLCP_CLK_DISABLE   0x12

Definition at line 205 of file cs5536.h.

#define GLCP_CLK_OFF   0x10

Definition at line 203 of file cs5536.h.

#define GLCP_CONFIG   0x01

Definition at line 177 of file cs5536.h.

#define GLCP_DBG_CLK_CTRL   0x16

Definition at line 209 of file cs5536.h.

#define GLCP_DBG_OUT   0x0C

Definition at line 189 of file cs5536.h.

#define GLCP_DIAG   0x05

Definition at line 181 of file cs5536.h.

#define GLCP_ERROR   0x03

Definition at line 179 of file cs5536.h.

#define GLCP_GLB_PM   0x0B

Definition at line 188 of file cs5536.h.

#define GLCP_MSR_REG (   offset)    (CS5536_GLCP_MSR_BASE | (offset))

Definition at line 37 of file cs5536.h.

#define GLCP_PM   0x04

Definition at line 180 of file cs5536.h.

#define GLCP_PM_CLK_DISABLE   0x09

Definition at line 187 of file cs5536.h.

#define GLCP_RSVD1   0x0D

Definition at line 190 of file cs5536.h.

#define GLCP_RSVD2   0x0F

Definition at line 202 of file cs5536.h.

#define GLCP_RSVD3   0x15

Definition at line 208 of file cs5536.h.

#define GLCP_SMI   0x02

Definition at line 178 of file cs5536.h.

#define GLCP_SOFT_COM   0x0E

Definition at line 191 of file cs5536.h.

#define GLCP_SYS_RST   0x14

Definition at line 207 of file cs5536.h.

#define GLIU_AERR   0x84

Definition at line 102 of file cs5536.h.

#define GLIU_ARB   0x82

Definition at line 100 of file cs5536.h.

#define GLIU_ASMI   0x83

Definition at line 101 of file cs5536.h.

#define GLIU_CAP   0x00

Definition at line 81 of file cs5536.h.

#define GLIU_COH   0x80

Definition at line 98 of file cs5536.h.

#define GLIU_CONFIG   0x01

Definition at line 82 of file cs5536.h.

#define GLIU_DEBUG   0x85

Definition at line 103 of file cs5536.h.

#define GLIU_DIAG   0x05

Definition at line 86 of file cs5536.h.

#define GLIU_ERROR   0x03

Definition at line 84 of file cs5536.h.

#define GLIU_IOD_BM0   0xE0

Definition at line 109 of file cs5536.h.

#define GLIU_IOD_BM1   0xE1

Definition at line 110 of file cs5536.h.

#define GLIU_IOD_BM2   0xE2

Definition at line 111 of file cs5536.h.

#define GLIU_IOD_BM3   0xE3

Definition at line 112 of file cs5536.h.

#define GLIU_IOD_BM4   0xE4

Definition at line 113 of file cs5536.h.

#define GLIU_IOD_BM5   0xE5

Definition at line 114 of file cs5536.h.

#define GLIU_IOD_BM6   0xE6

Definition at line 115 of file cs5536.h.

#define GLIU_IOD_BM7   0xE7

Definition at line 116 of file cs5536.h.

#define GLIU_IOD_BM8   0xE8

Definition at line 117 of file cs5536.h.

#define GLIU_IOD_BM9   0xE9

Definition at line 118 of file cs5536.h.

#define GLIU_IOD_SC0   0xEA

Definition at line 119 of file cs5536.h.

#define GLIU_IOD_SC1   0xEB

Definition at line 120 of file cs5536.h.

#define GLIU_IOD_SC2   0xEC

Definition at line 121 of file cs5536.h.

#define GLIU_IOD_SC3   0xED

Definition at line 122 of file cs5536.h.

#define GLIU_IOD_SC4   0xEE

Definition at line 123 of file cs5536.h.

#define GLIU_IOD_SC5   0xEF

Definition at line 124 of file cs5536.h.

#define GLIU_IOD_SC6   0xF0

Definition at line 125 of file cs5536.h.

#define GLIU_IOD_SC7   0xF1

Definition at line 126 of file cs5536.h.

#define GLIU_MSR_REG (   offset)    (CS5536_GLIU_MSR_BASE | (offset))

Definition at line 30 of file cs5536.h.

#define GLIU_NOUT_RESP   0x87

Definition at line 105 of file cs5536.h.

#define GLIU_NOUT_WDATA   0x88

Definition at line 106 of file cs5536.h.

#define GLIU_P2D_BM0   0x20

Definition at line 91 of file cs5536.h.

#define GLIU_P2D_BM1   0x21

Definition at line 92 of file cs5536.h.

#define GLIU_P2D_BM2   0x22

Definition at line 93 of file cs5536.h.

#define GLIU_P2D_BM3   0x25

Definition at line 96 of file cs5536.h.

#define GLIU_P2D_BM4   0x26

Definition at line 97 of file cs5536.h.

#define GLIU_P2D_BMK0   0x23

Definition at line 94 of file cs5536.h.

#define GLIU_P2D_BMK1   0x24

Definition at line 95 of file cs5536.h.

#define GLIU_PAE   0x81

Definition at line 99 of file cs5536.h.

#define GLIU_PHY_CAP   0x86

Definition at line 104 of file cs5536.h.

#define GLIU_PM   0x04

Definition at line 85 of file cs5536.h.

#define GLIU_SLV_DIS   0x8C

Definition at line 108 of file cs5536.h.

#define GLIU_SMI   0x02

Definition at line 83 of file cs5536.h.

#define GLIU_WHOAMI   0x8B

Definition at line 107 of file cs5536.h.

#define GPIOL_OUT_EN   0x04

Definition at line 303 of file cs5536.h.

#define GPIOL_OUT_VAL   0x00

Definition at line 302 of file cs5536.h.

#define IDE_CAP   0x00

Definition at line 257 of file cs5536.h.

#define IDE_CAST   0x13

Definition at line 270 of file cs5536.h.

#define IDE_CFG   0x10

Definition at line 268 of file cs5536.h.

#define IDE_CONFIG   0x01

Definition at line 258 of file cs5536.h.

#define IDE_DIAG   0x05

Definition at line 262 of file cs5536.h.

#define IDE_DTC   0x12

Definition at line 269 of file cs5536.h.

#define IDE_ERROR   0x03

Definition at line 260 of file cs5536.h.

#define IDE_ETC   0x14

Definition at line 271 of file cs5536.h.

#define IDE_INTERNAL_PM   0x15

Definition at line 272 of file cs5536.h.

#define IDE_IO_BAR   0x08

Definition at line 267 of file cs5536.h.

#define IDE_MSR_REG (   offset)    (CS5536_IDE_MSR_BASE | (offset))

Definition at line 33 of file cs5536.h.

#define IDE_PM   0x04

Definition at line 261 of file cs5536.h.

#define IDE_SMI   0x02

Definition at line 259 of file cs5536.h.

#define ILLEGAL_MSR_REG (   offset)    (CS5536_ILLEGAL_MSR_BASE | (offset))

Definition at line 31 of file cs5536.h.

#define MFGPT_IRQ   0x28

Definition at line 252 of file cs5536.h.

#define PCI_MSR_ADDR   0xF4

Definition at line 72 of file cs5536.h.

#define PCI_MSR_CTRL   0xF0

Definition at line 71 of file cs5536.h.

#define PCI_MSR_DATA_HI   0xFC

Definition at line 74 of file cs5536.h.

#define PCI_MSR_DATA_LO   0xF8

Definition at line 73 of file cs5536.h.

#define PCI_SHDW   0x34

Definition at line 224 of file cs5536.h.

#define PIC_IRQM_LPC   0x25

Definition at line 221 of file cs5536.h.

#define PIC_IRQM_PRIM   0x24

Definition at line 220 of file cs5536.h.

#define PIC_XIRR_STS_HIGH   0x27

Definition at line 223 of file cs5536.h.

#define PIC_XIRR_STS_LOW   0x26

Definition at line 222 of file cs5536.h.

#define PIC_YSEL_HIGH   0x21

Definition at line 217 of file cs5536.h.

#define PIC_YSEL_LOW   0x20

Definition at line 213 of file cs5536.h.

#define PIC_YSEL_LOW_ACC_SHIFT   16

Definition at line 215 of file cs5536.h.

#define PIC_YSEL_LOW_FLASH_SHIFT   24

Definition at line 216 of file cs5536.h.

#define PIC_YSEL_LOW_USB_SHIFT   8

Definition at line 214 of file cs5536.h.

#define PIC_ZSEL_HIGH   0x23

Definition at line 219 of file cs5536.h.

#define PIC_ZSEL_LOW   0x22

Definition at line 218 of file cs5536.h.

#define SB_CAP   0x00

Definition at line 131 of file cs5536.h.

#define SB_CONFIG   0x01

Definition at line 132 of file cs5536.h.

#define SB_CTRL   0x10

Definition at line 155 of file cs5536.h.

#define SB_DIAG   0x05

Definition at line 150 of file cs5536.h.

#define SB_ERROR   0x03

Definition at line 134 of file cs5536.h.

#define SB_EXCEP_ERR_EN   0x00000008

Definition at line 138 of file cs5536.h.

#define SB_EXCEP_ERR_FLAG   0x00080000

Definition at line 145 of file cs5536.h.

#define SB_MAR_ERR_EN   0x00000001

Definition at line 135 of file cs5536.h.

#define SB_MAR_ERR_FLAG   0x00010000

Definition at line 142 of file cs5536.h.

#define SB_MSR_REG (   offset)    (CS5536_SB_MSR_BASE | (offset))

Definition at line 29 of file cs5536.h.

#define SB_PARE_ERR_EN   0x00000020

Definition at line 140 of file cs5536.h.

#define SB_PARE_ERR_FLAG   0x00200000

Definition at line 147 of file cs5536.h.

#define SB_PM   0x04

Definition at line 149 of file cs5536.h.

#define SB_R0   0x20

Definition at line 156 of file cs5536.h.

#define SB_R1   0x21

Definition at line 157 of file cs5536.h.

#define SB_R10   0x2A

Definition at line 166 of file cs5536.h.

#define SB_R11   0x2B

Definition at line 167 of file cs5536.h.

#define SB_R12   0x2C

Definition at line 168 of file cs5536.h.

#define SB_R13   0x2D

Definition at line 169 of file cs5536.h.

#define SB_R14   0x2E

Definition at line 170 of file cs5536.h.

#define SB_R15   0x2F

Definition at line 171 of file cs5536.h.

#define SB_R2   0x22

Definition at line 158 of file cs5536.h.

#define SB_R3   0x23

Definition at line 159 of file cs5536.h.

#define SB_R4   0x24

Definition at line 160 of file cs5536.h.

#define SB_R5   0x25

Definition at line 161 of file cs5536.h.

#define SB_R6   0x26

Definition at line 162 of file cs5536.h.

#define SB_R7   0x27

Definition at line 163 of file cs5536.h.

#define SB_R8   0x28

Definition at line 164 of file cs5536.h.

#define SB_R9   0x29

Definition at line 165 of file cs5536.h.

#define SB_RSVD_BIT1   0x00000004

Definition at line 137 of file cs5536.h.

#define SB_RSVD_BIT2   0x00040000

Definition at line 144 of file cs5536.h.

#define SB_SMI   0x02

Definition at line 133 of file cs5536.h.

#define SB_SYSE_ERR_EN   0x00000010

Definition at line 139 of file cs5536.h.

#define SB_SYSE_ERR_FLAG   0x00100000

Definition at line 146 of file cs5536.h.

#define SB_TAR_ERR_EN   0x00000002

Definition at line 136 of file cs5536.h.

#define SB_TAR_ERR_FLAG   0x00020000

Definition at line 143 of file cs5536.h.

#define SB_TAS_ERR_EN   0x00000040

Definition at line 141 of file cs5536.h.

#define SB_TAS_ERR_FLAG   0x00400000

Definition at line 148 of file cs5536.h.

#define SOFT_BAR_ACC_FLAG   0x00000800

Definition at line 199 of file cs5536.h.

#define SOFT_BAR_ACPI_FLAG   0x00000020

Definition at line 197 of file cs5536.h.

#define SOFT_BAR_EHCI_FLAG   0x00002000

Definition at line 201 of file cs5536.h.

#define SOFT_BAR_GPIO_FLAG   0x00000002

Definition at line 193 of file cs5536.h.

#define SOFT_BAR_IDE_FLAG   0x00000400

Definition at line 198 of file cs5536.h.

#define SOFT_BAR_IRQ_FLAG   0x00000008

Definition at line 195 of file cs5536.h.

#define SOFT_BAR_MFGPT_FLAG   0x00000004

Definition at line 194 of file cs5536.h.

#define SOFT_BAR_OHCI_FLAG   0x00001000

Definition at line 200 of file cs5536.h.

#define SOFT_BAR_PMS_FLAG   0x00000010

Definition at line 196 of file cs5536.h.

#define SOFT_BAR_SMB_FLAG   0x00000001

Definition at line 192 of file cs5536.h.

#define UNUSED_MSR_REG (   offset)    (CS5536_UNUSED_MSR_BASE | (offset))

Definition at line 36 of file cs5536.h.

#define USB_CAP   0x00

Definition at line 287 of file cs5536.h.

#define USB_CONFIG   0x01

Definition at line 288 of file cs5536.h.

#define USB_DIAG   0x05

Definition at line 292 of file cs5536.h.

#define USB_EHCI   0x09

Definition at line 298 of file cs5536.h.

#define USB_ERROR   0x03

Definition at line 290 of file cs5536.h.

#define USB_MSR_REG (   offset)    (CS5536_USB_MSR_BASE | (offset))

Definition at line 32 of file cs5536.h.

#define USB_OHCI   0x08

Definition at line 297 of file cs5536.h.

#define USB_PM   0x04

Definition at line 291 of file cs5536.h.

#define USB_SMI   0x02

Definition at line 289 of file cs5536.h.

Function Documentation

void _rdmsr ( u32  msr,
u32 hi,
u32 lo 
)
void _wrmsr ( u32  msr,
u32  hi,
u32  lo 
)