Lines Matching defs:sio
154 struct superio_device *sio = &sio_dev;
155 struct pci_dev *pdev = sio->lio_pdev;
158 if (sio->suckyio_irq_enabled)
162 BUG_ON(!sio->usb_pdev);
165 pdev->irq = sio->usb_pdev->irq;
168 sio->usb_pdev->irq = superio_fixup_irq(sio->usb_pdev);
173 pci_read_config_dword (pdev, SIO_SP1BAR, &sio->sp1_base);
174 sio->sp1_base &= ~1;
175 printk(KERN_INFO PFX "Serial port 1 at 0x%x\n", sio->sp1_base);
177 pci_read_config_dword (pdev, SIO_SP2BAR, &sio->sp2_base);
178 sio->sp2_base &= ~1;
179 printk(KERN_INFO PFX "Serial port 2 at 0x%x\n", sio->sp2_base);
181 pci_read_config_dword (pdev, SIO_PPBAR, &sio->pp_base);
182 sio->pp_base &= ~1;
183 printk(KERN_INFO PFX "Parallel port at 0x%x\n", sio->pp_base);
185 pci_read_config_dword (pdev, SIO_FDCBAR, &sio->fdc_base);
186 sio->fdc_base &= ~1;
187 printk(KERN_INFO PFX "Floppy controller at 0x%x\n", sio->fdc_base);
188 pci_read_config_dword (pdev, SIO_ACPIBAR, &sio->acpi_base);
189 sio->acpi_base &= ~1;
190 printk(KERN_INFO PFX "ACPI at 0x%x\n", sio->acpi_base);
194 request_region (sio->acpi_base, 0x1f, "acpi");
260 outb(1, sio->acpi_base + USB_REG_CR);
261 if (inb(sio->acpi_base + USB_REG_CR) & 1)
267 SUPERIO, (void *)sio)) {
274 sio->suckyio_irq_enabled = 1;
448 struct superio_device *sio = &sio_dev;
461 BUG_ON(!sio->suckyio_irq_enabled); /* Enabled by PCI_FIXUP_FINAL */