Lines Matching refs:ps
2024 struct pci_save *ps = pbook_pci_saves; in pbook_pci_save() local
2028 if (ps == NULL) in pbook_pci_save()
2035 pci_read_config_word(pd, PCI_COMMAND, &ps->command); in pbook_pci_save()
2036 pci_read_config_word(pd, PCI_CACHE_LINE_SIZE, &ps->cache_lat); in pbook_pci_save()
2037 pci_read_config_word(pd, PCI_INTERRUPT_LINE, &ps->intr); in pbook_pci_save()
2038 pci_read_config_dword(pd, PCI_ROM_ADDRESS, &ps->rom_address); in pbook_pci_save()
2042 pci_read_config_dword(pd, i<<4, &ps->config[i]); in pbook_pci_save()
2044 ++ps; in pbook_pci_save()
2056 struct pci_save *ps = pbook_pci_saves - 1; in pbook_pci_restore() local
2066 ps++; in pbook_pci_restore()
2068 pci_write_config_dword(pd, i<<4, ps->config[i]); in pbook_pci_restore()
2069 pci_write_config_dword(pd, 4, ps->config[1]); in pbook_pci_restore()
2073 ps++; in pbook_pci_restore()
2074 if (ps->command == 0) in pbook_pci_restore()
2077 if ((ps->command & ~cmd) == 0) in pbook_pci_restore()
2086 ps->rom_address); in pbook_pci_restore()
2088 ps->cache_lat); in pbook_pci_restore()
2090 ps->intr); in pbook_pci_restore()
2091 pci_write_config_word(pd, PCI_COMMAND, ps->command); in pbook_pci_restore()