Lines Matching +full:0 +full:xf004
74 #define PCI_VENDOR_ASPEED 0x1a03
78 .class_mask = 0xff0000, \
88 {0, 0, 0},
115 __ast_write8_i(ioregs, AST_IO_VGACRI, 0xa1, AST_IO_VGACRA1_MMIO_ENABLED); in ast_enable_mmio_release()
122 __ast_write8_i(ioregs, AST_IO_VGACRI, 0xa1, in ast_enable_mmio()
131 __ast_write8_i(ioregs, AST_IO_VGACRI, 0x80, AST_IO_VGACR80_PASSWORD); in ast_open_key()
142 uint32_t scu_rev = 0xffffffff; in ast_detect_chip()
158 * The BMC will set SCU 0x40 D[12] to 1 if the P2 bridge in ast_detect_chip()
162 vgacrd0 = __ast_read8_i(ioregs, AST_IO_VGACRI, 0xd0); in ast_detect_chip()
163 vgacrd1 = __ast_read8_i(ioregs, AST_IO_VGACRI, 0xd1); in ast_detect_chip()
164 if (!(vgacrd0 & 0x80) || !(vgacrd1 & 0x10)) { in ast_detect_chip()
171 if ((pdev->revision & 0xf0) == 0x40) { in ast_detect_chip()
177 data = __ast_read32(regs, 0xf004); in ast_detect_chip()
178 if ((data != 0xffffffff) && (data != 0x00)) { in ast_detect_chip()
182 __ast_write32(regs, 0xf004, 0x1e6e0000); in ast_detect_chip()
183 __ast_write32(regs, 0xf000, 0x1); in ast_detect_chip()
184 scu_rev = __ast_read32(regs, 0x1207c); in ast_detect_chip()
205 if (pdev->revision >= 0x50) { in ast_detect_chip()
208 } else if (pdev->revision >= 0x40) { in ast_detect_chip()
209 switch (scu_rev & 0x300) { in ast_detect_chip()
210 case 0x0100: in ast_detect_chip()
219 } else if (pdev->revision >= 0x30) { in ast_detect_chip()
220 switch (scu_rev & 0x300) { in ast_detect_chip()
221 case 0x0100: in ast_detect_chip()
230 } else if (pdev->revision >= 0x20) { in ast_detect_chip()
231 switch (scu_rev & 0x300) { in ast_detect_chip()
232 case 0x0000: in ast_detect_chip()
241 } else if (pdev->revision >= 0x10) { in ast_detect_chip()
242 switch (scu_rev & 0x0300) { in ast_detect_chip()
243 case 0x0200: in ast_detect_chip()
247 case 0x0100: in ast_detect_chip()
251 case 0x0000: in ast_detect_chip()
268 return 0; in ast_detect_chip()
294 if (pdev->revision >= 0x40) { in ast_pci_probe()
365 return 0; in ast_pci_probe()
389 return 0; in ast_drm_freeze()
424 return 0; in ast_pm_suspend()