Home
last modified time | relevance | path

Searched refs:SaveArea (Results 1 – 1 of 1) sorted by relevance

/linux-2.4.37.9/arch/ppc64/kernel/
Dpci.c884 int pci_save_config_regs(struct pci_dev* PciDev,struct pci_config_reg_save_area* SaveArea) in pci_save_config_regs() argument
886 memset(SaveArea,0x00,sizeof(struct pci_config_reg_save_area) ); in pci_save_config_regs()
887 SaveArea->PciDev = PciDev; in pci_save_config_regs()
888 SaveArea->RCode = 0; in pci_save_config_regs()
889 SaveArea->Register = 0; in pci_save_config_regs()
893 while (SaveArea->Register < REG_SAVE_SIZE && SaveArea->RCode == 0) { in pci_save_config_regs()
894SaveArea->RCode = pci_read_config_byte(PciDev, SaveArea->Register, &SaveArea->Regs[SaveArea->Regis… in pci_save_config_regs()
895 ++SaveArea->Register; in pci_save_config_regs()
897 if (SaveArea->RCode != 0) { /* Ouch */ in pci_save_config_regs()
898 SaveArea->Flags = 0x80; in pci_save_config_regs()
[all …]