Home
last modified time | relevance | path

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

/drivers/gpio/
Dgpio-f7188x.c64 struct f7188x_sio *sio; member
218 struct f7188x_sio *sio = bank->data->sio; in f7188x_gpio_get_direction() local
221 err = superio_enter(sio->addr); in f7188x_gpio_get_direction()
224 superio_select(sio->addr, SIO_LD_GPIO); in f7188x_gpio_get_direction()
226 dir = superio_inb(sio->addr, gpio_dir(bank->regbase)); in f7188x_gpio_get_direction()
228 superio_exit(sio->addr); in f7188x_gpio_get_direction()
237 struct f7188x_sio *sio = bank->data->sio; in f7188x_gpio_direction_in() local
240 err = superio_enter(sio->addr); in f7188x_gpio_direction_in()
243 superio_select(sio->addr, SIO_LD_GPIO); in f7188x_gpio_direction_in()
245 dir = superio_inb(sio->addr, gpio_dir(bank->regbase)); in f7188x_gpio_direction_in()
[all …]
/drivers/parisc/
Dsuperio.c155 struct superio_device *sio = &sio_dev; in superio_init() local
156 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 …]
/drivers/net/ethernet/ti/
Dtlan.c2262 u8 sio; in tlan_finish_reset() local
2332 sio = tlan_dio_read8(dev->base_addr, TLAN_NET_SIO); in tlan_finish_reset()
2333 sio |= TLAN_NET_SIO_MINTEN; in tlan_finish_reset()
2334 tlan_dio_write8(dev->base_addr, TLAN_NET_SIO, sio); in tlan_finish_reset()
2856 u16 sio, tmp; in tlan_mii_read_reg() local
2865 sio = dev->base_addr + TLAN_DIO_DATA + TLAN_NET_SIO; in tlan_mii_read_reg()
2872 minten = tlan_get_bit(TLAN_NET_SIO_MINTEN, sio); in tlan_mii_read_reg()
2874 tlan_clear_bit(TLAN_NET_SIO_MINTEN, sio); in tlan_mii_read_reg()
2882 tlan_clear_bit(TLAN_NET_SIO_MTXEN, sio); /* change direction */ in tlan_mii_read_reg()
2884 tlan_clear_bit(TLAN_NET_SIO_MCLK, sio); /* clock idle bit */ in tlan_mii_read_reg()
[all …]
/drivers/md/
Ddm-io.c402 struct sync_io *sio = context; in sync_io_complete() local
404 sio->error_bits = error; in sync_io_complete()
405 complete(&sio->wait); in sync_io_complete()
413 struct sync_io sio; in sync_io() local
420 init_completion(&sio.wait); in sync_io()
427 io->context = &sio; in sync_io()
434 wait_for_completion_io(&sio.wait); in sync_io()
437 *error_bits = sio.error_bits; in sync_io()
439 return sio.error_bits ? -EIO : 0; in sync_io()
/drivers/hwmon/
Dw83627hf.c113 superio_outb(struct w83627hf_sio_data *sio, int reg, int val) in superio_outb() argument
115 outb(reg, sio->sioaddr); in superio_outb()
116 outb(val, sio->sioaddr + 1); in superio_outb()
120 superio_inb(struct w83627hf_sio_data *sio, int reg) in superio_inb() argument
122 outb(reg, sio->sioaddr); in superio_inb()
123 return inb(sio->sioaddr + 1); in superio_inb()
127 superio_select(struct w83627hf_sio_data *sio, int ld) in superio_select() argument
129 outb(DEV, sio->sioaddr); in superio_select()
130 outb(ld, sio->sioaddr + 1); in superio_select()
134 superio_enter(struct w83627hf_sio_data *sio) in superio_enter() argument
[all …]
/drivers/usb/serial/
DKconfig177 See <http://ftdi-usb-sio.sourceforge.net/> for more