Lines Matching +full:0 +full:xf004

75 #define PCI_VENDOR_ASPEED 0x1a03
79 .class_mask = 0xff0000, \
89 {0, 0, 0},
116 __ast_write8_i(ioregs, AST_IO_VGACRI, 0xa1, AST_IO_VGACRA1_MMIO_ENABLED); in ast_enable_mmio_release()
123 __ast_write8_i(ioregs, AST_IO_VGACRI, 0xa1, in ast_enable_mmio()
132 __ast_write8_i(ioregs, AST_IO_VGACRI, 0x80, AST_IO_VGACR80_PASSWORD); in ast_open_key()
143 uint32_t scu_rev = 0xffffffff; in ast_detect_chip()
159 * The BMC will set SCU 0x40 D[12] to 1 if the P2 bridge in ast_detect_chip()
163 vgacrd0 = __ast_read8_i(ioregs, AST_IO_VGACRI, 0xd0); in ast_detect_chip()
164 vgacrd1 = __ast_read8_i(ioregs, AST_IO_VGACRI, 0xd1); in ast_detect_chip()
165 if (!(vgacrd0 & 0x80) || !(vgacrd1 & 0x10)) { in ast_detect_chip()
172 if ((pdev->revision & 0xf0) == 0x40) { in ast_detect_chip()
178 data = __ast_read32(regs, 0xf004); in ast_detect_chip()
179 if ((data != 0xffffffff) && (data != 0x00)) { in ast_detect_chip()
183 __ast_write32(regs, 0xf004, 0x1e6e0000); in ast_detect_chip()
184 __ast_write32(regs, 0xf000, 0x1); in ast_detect_chip()
185 scu_rev = __ast_read32(regs, 0x1207c); in ast_detect_chip()
206 if (pdev->revision >= 0x50) { in ast_detect_chip()
209 } else if (pdev->revision >= 0x40) { in ast_detect_chip()
210 switch (scu_rev & 0x300) { in ast_detect_chip()
211 case 0x0100: in ast_detect_chip()
220 } else if (pdev->revision >= 0x30) { in ast_detect_chip()
221 switch (scu_rev & 0x300) { in ast_detect_chip()
222 case 0x0100: in ast_detect_chip()
231 } else if (pdev->revision >= 0x20) { in ast_detect_chip()
232 switch (scu_rev & 0x300) { in ast_detect_chip()
233 case 0x0000: in ast_detect_chip()
242 } else if (pdev->revision >= 0x10) { in ast_detect_chip()
243 switch (scu_rev & 0x0300) { in ast_detect_chip()
244 case 0x0200: in ast_detect_chip()
248 case 0x0100: in ast_detect_chip()
252 case 0x0000: in ast_detect_chip()
269 return 0; in ast_detect_chip()
295 if (pdev->revision >= 0x40) { in ast_pci_probe()
366 return 0; in ast_pci_probe()
390 return 0; in ast_drm_freeze()
425 return 0; in ast_pm_suspend()