Lines Matching refs:sio
151 struct superio_device *sio = &sio_dev;
152 struct pci_dev *pdev = sio->lio_pdev;
156 if (sio->suckyio_irq_enabled)
160 BUG_ON(!sio->usb_pdev);
163 pdev->irq = sio->usb_pdev->irq;
166 sio->usb_pdev->irq = superio_fixup_irq(sio->usb_pdev);
171 pci_read_config_dword (pdev, SIO_SP1BAR, &sio->sp1_base);
172 sio->sp1_base &= ~1;
173 printk(KERN_INFO PFX "Serial port 1 at 0x%x\n", sio->sp1_base);
175 pci_read_config_dword (pdev, SIO_SP2BAR, &sio->sp2_base);
176 sio->sp2_base &= ~1;
177 printk(KERN_INFO PFX "Serial port 2 at 0x%x\n", sio->sp2_base);
179 pci_read_config_dword (pdev, SIO_PPBAR, &sio->pp_base);
180 sio->pp_base &= ~1;
181 printk(KERN_INFO PFX "Parallel port at 0x%x\n", sio->pp_base);
183 pci_read_config_dword (pdev, SIO_FDCBAR, &sio->fdc_base);
184 sio->fdc_base &= ~1;
185 printk(KERN_INFO PFX "Floppy controller at 0x%x\n", sio->fdc_base);
186 pci_read_config_dword (pdev, SIO_ACPIBAR, &sio->acpi_base);
187 sio->acpi_base &= ~1;
188 printk(KERN_INFO PFX "ACPI at 0x%x\n", sio->acpi_base);
192 request_region (sio->acpi_base, 0x1f, "acpi");
267 outb(1, sio->acpi_base + USB_REG_CR);
268 if (inb(sio->acpi_base + USB_REG_CR) & 1)
274 SUPERIO, (void *)sio)) {
281 sio->suckyio_irq_enabled = 1;
449 struct superio_device *sio = &sio_dev;
462 BUG_ON(!sio->suckyio_irq_enabled); /* Enabled by PCI_FIXUP_FINAL */