Lines Matching +full:0 +full:x3d

11 #define ACPI_PM_EVT_BLK         (acpi_iobase + 0x00) /* 4 bytes */
12 #define ACPI_PM_CNT_BLK (acpi_iobase + 0x04) /* 2 bytes */
13 #define ACPI_PMA_CNT_BLK (acpi_iobase + 0x0F) /* 1 byte */
14 #define ACPI_PM_TMR_BLK (acpi_iobase + 0x18) /* 4 bytes */
15 #define ACPI_GPE0_BLK (acpi_iobase + 0x10) /* 8 bytes */
16 #define ACPI_END (acpi_iobase + 0x80)
18 #define PM_INDEX 0xCD6
19 #define PM_DATA 0xCD7
20 #define PM2_INDEX 0xCD0
21 #define PM2_DATA 0xCD1
73 pm_iowrite(0x20, ACPI_PM_EVT_BLK & 0xff); in acpi_registers_setup()
74 pm_iowrite(0x21, ACPI_PM_EVT_BLK >> 8); in acpi_registers_setup()
77 pm_iowrite(0x22, ACPI_PM_CNT_BLK & 0xff); in acpi_registers_setup()
78 pm_iowrite(0x23, ACPI_PM_CNT_BLK >> 8); in acpi_registers_setup()
81 pm_iowrite(0x28, ACPI_GPE0_BLK & 0xff); in acpi_registers_setup()
82 pm_iowrite(0x29, ACPI_GPE0_BLK >> 8); in acpi_registers_setup()
85 pm_iowrite(0x2e, ACPI_END & 0xff); in acpi_registers_setup()
86 pm_iowrite(0x2f, ACPI_END >> 8); in acpi_registers_setup()
89 * of the PM registers at index 0x20~0x2B to decode ACPI I/O address. */ in acpi_registers_setup()
90 pm_iowrite(0x0e, 1 << 3); in acpi_registers_setup()
96 pm_iowrite(0x10, pm_ioread(0x10) | 1); in acpi_registers_setup()
103 pm_iowrite(0x8d, pm_ioread(0x8d) & (~(1 << 1))); in acpi_registers_setup()
106 pm_iowrite(0x94, pm_ioread(0x94) | (1 << 3)); in acpi_registers_setup()
109 pm_iowrite(0x33, pm_ioread(0x33) & (~(3 << 4))); in acpi_registers_setup()
112 pm_iowrite(0x3d, pm_ioread(0x3d) & (~(3 << 2))); in acpi_registers_setup()
115 pm_iowrite(0x37, pm_ioread(0x37) & (~(1 << 6))); in acpi_registers_setup()
118 pm_iowrite(0x7c, pm_ioread(0x7c) | (1 << 6)); in acpi_registers_setup()
121 value = pm2_ioread(0xf6); in acpi_registers_setup()
123 pm2_iowrite(0xf6, value); in acpi_registers_setup()
126 value = pm2_ioread(0xf8); in acpi_registers_setup()
128 pm2_iowrite(0xf8, value); in acpi_registers_setup()
135 res = platform_get_resource(pdev, IORESOURCE_IO, 0); in rs780e_acpi_probe()
150 return 0; in rs780e_acpi_probe()