Lines Matching refs:ps
842 struct pci_save *ps;
850 ps = (struct pci_save *) kmalloc(npci * sizeof(*ps), GFP_KERNEL);
851 pbook_pci_saves = ps;
852 if (ps == NULL)
856 pci_read_config_word(pd, PCI_COMMAND, &ps->command);
857 pci_read_config_word(pd, PCI_CACHE_LINE_SIZE, &ps->cache_lat);
858 pci_read_config_word(pd, PCI_INTERRUPT_LINE, &ps->intr);
859 ++ps;
868 struct pci_save *ps = pbook_pci_saves;
872 for (pd = pci_devices; pd != NULL; pd = pd->next, ++ps) {
873 if (ps->command == 0)
876 if ((ps->command & ~cmd) == 0)
887 ps->cache_lat);
889 ps->intr);
890 pci_write_config_word(pd, PCI_COMMAND, ps->command);