Searched refs:sio (Results 1 – 2 of 2) sorted by relevance
66 struct f7188x_sio *sio; member230 struct f7188x_sio *sio = bank->data->sio; in f7188x_gpio_get_direction() local233 err = superio_enter(sio->addr); in f7188x_gpio_get_direction()236 superio_select(sio->addr, SIO_LD_GPIO); in f7188x_gpio_get_direction()238 dir = superio_inb(sio->addr, gpio_dir(bank->regbase)); in f7188x_gpio_get_direction()240 superio_exit(sio->addr); in f7188x_gpio_get_direction()249 struct f7188x_sio *sio = bank->data->sio; in f7188x_gpio_direction_in() local252 err = superio_enter(sio->addr); in f7188x_gpio_direction_in()255 superio_select(sio->addr, SIO_LD_GPIO); in f7188x_gpio_direction_in()257 dir = superio_inb(sio->addr, gpio_dir(bank->regbase)); in f7188x_gpio_direction_in()[all …]
155 struct superio_device *sio = &sio_dev; in superio_init() local156 struct pci_dev *pdev = sio->lio_pdev; in superio_init()160 if (sio->suckyio_irq_enabled) in superio_init()164 BUG_ON(!sio->usb_pdev); in superio_init()167 pdev->irq = sio->usb_pdev->irq; in superio_init()170 sio->usb_pdev->irq = superio_fixup_irq(sio->usb_pdev); in superio_init()175 pci_read_config_dword (pdev, SIO_SP1BAR, &sio->sp1_base); in superio_init()176 sio->sp1_base &= ~1; in superio_init()177 printk(KERN_INFO PFX "Serial port 1 at 0x%x\n", sio->sp1_base); in superio_init()179 pci_read_config_dword (pdev, SIO_SP2BAR, &sio->sp2_base); in superio_init()[all …]