Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpio/
Dgpio-f7188x.c76 struct f7188x_sio *sio; member
261 struct f7188x_sio *sio = bank->data->sio; in f7188x_gpio_get_direction() local
264 err = superio_enter(sio->addr); in f7188x_gpio_get_direction()
267 superio_select(sio->addr, SIO_LD_GPIO); in f7188x_gpio_get_direction()
269 dir = superio_inb(sio->addr, gpio_dir(bank->regbase)); in f7188x_gpio_get_direction()
271 superio_exit(sio->addr); in f7188x_gpio_get_direction()
283 struct f7188x_sio *sio = bank->data->sio; in f7188x_gpio_direction_in() local
286 err = superio_enter(sio->addr); in f7188x_gpio_direction_in()
289 superio_select(sio->addr, SIO_LD_GPIO); in f7188x_gpio_direction_in()
291 dir = superio_inb(sio->addr, gpio_dir(bank->regbase)); in f7188x_gpio_direction_in()
[all …]
/Linux-v5.10/drivers/parisc/
Dsuperio.c151 struct superio_device *sio = &sio_dev; in superio_init() local
152 struct pci_dev *pdev = sio->lio_pdev; in superio_init()
156 if (sio->suckyio_irq_enabled) in superio_init()
160 BUG_ON(!sio->usb_pdev); in superio_init()
163 pdev->irq = sio->usb_pdev->irq; in superio_init()
166 sio->usb_pdev->irq = superio_fixup_irq(sio->usb_pdev); in superio_init()
171 pci_read_config_dword (pdev, SIO_SP1BAR, &sio->sp1_base); in superio_init()
172 sio->sp1_base &= ~1; in superio_init()
173 printk(KERN_INFO PFX "Serial port 1 at 0x%x\n", sio->sp1_base); in superio_init()
175 pci_read_config_dword (pdev, SIO_SP2BAR, &sio->sp2_base); in superio_init()
[all …]
/Linux-v5.10/drivers/net/ethernet/ti/
Dtlan.c2233 u8 sio; in tlan_finish_reset() local
2301 sio = tlan_dio_read8(dev->base_addr, TLAN_NET_SIO); in tlan_finish_reset()
2302 sio |= TLAN_NET_SIO_MINTEN; in tlan_finish_reset()
2303 tlan_dio_write8(dev->base_addr, TLAN_NET_SIO, sio); in tlan_finish_reset()
2825 u16 sio, tmp; in tlan_mii_read_reg() local
2834 sio = dev->base_addr + TLAN_DIO_DATA + TLAN_NET_SIO; in tlan_mii_read_reg()
2841 minten = tlan_get_bit(TLAN_NET_SIO_MINTEN, sio); in tlan_mii_read_reg()
2843 tlan_clear_bit(TLAN_NET_SIO_MINTEN, sio); in tlan_mii_read_reg()
2851 tlan_clear_bit(TLAN_NET_SIO_MTXEN, sio); /* change direction */ in tlan_mii_read_reg()
2853 tlan_clear_bit(TLAN_NET_SIO_MCLK, sio); /* clock idle bit */ in tlan_mii_read_reg()
[all …]
/Linux-v5.10/arch/alpha/kernel/
Dsys_sio.c93 orig_route_tab, alpha_mv.sys.sio.route_tab); in sio_pci_route()
101 alpha_mv.sys.sio.route_tab); in sio_pci_route()
198 tmp = __kernel_extbl(alpha_mv.sys.sio.route_tab, irq); in noname_map_irq()
224 tmp = __kernel_extbl(alpha_mv.sys.sio.route_tab, irq); in p2k_map_irq()
353 .sys = { .sio = {
383 .sys = { .sio = {
412 .sys = { .sio = {
450 .sys = { .sio = {
479 .sys = { .sio = {
/Linux-v5.10/arch/mips/include/asm/octeon/
Dcvmx-pow.h1571 ptr.sio.mem_region = CVMX_IO_SEG; in cvmx_pow_tag_sw_nocheck()
1572 ptr.sio.is_io = 1; in cvmx_pow_tag_sw_nocheck()
1573 ptr.sio.did = CVMX_OCT_DID_TAG_SWTAG; in cvmx_pow_tag_sw_nocheck()
1683 ptr.sio.mem_region = CVMX_IO_SEG; in cvmx_pow_tag_sw_full_nocheck()
1684 ptr.sio.is_io = 1; in cvmx_pow_tag_sw_full_nocheck()
1685 ptr.sio.did = CVMX_OCT_DID_TAG_SWTAG; in cvmx_pow_tag_sw_full_nocheck()
1686 ptr.sio.offset = CAST64(wqp); in cvmx_pow_tag_sw_full_nocheck()
1760 ptr.sio.mem_region = CVMX_IO_SEG; in cvmx_pow_tag_sw_null_nocheck()
1761 ptr.sio.is_io = 1; in cvmx_pow_tag_sw_null_nocheck()
1762 ptr.sio.did = CVMX_OCT_DID_TAG_TAG1; in cvmx_pow_tag_sw_null_nocheck()
[all …]
Dcvmx-address.h176 } sio; member
251 } sio; member
/Linux-v5.10/drivers/md/
Ddm-io.c426 struct sync_io *sio = context; in sync_io_complete() local
428 sio->error_bits = error; in sync_io_complete()
429 complete(&sio->wait); in sync_io_complete()
437 struct sync_io sio; in sync_io() local
444 init_completion(&sio.wait); in sync_io()
451 io->context = &sio; in sync_io()
458 wait_for_completion_io(&sio.wait); in sync_io()
461 *error_bits = sio.error_bits; in sync_io()
463 return sio.error_bits ? -EIO : 0; in sync_io()
/Linux-v5.10/drivers/hwmon/
Dw83627hf.c100 superio_outb(struct w83627hf_sio_data *sio, int reg, int val) in superio_outb() argument
102 outb(reg, sio->sioaddr); in superio_outb()
103 outb(val, sio->sioaddr + 1); in superio_outb()
107 superio_inb(struct w83627hf_sio_data *sio, int reg) in superio_inb() argument
109 outb(reg, sio->sioaddr); in superio_inb()
110 return inb(sio->sioaddr + 1); in superio_inb()
114 superio_select(struct w83627hf_sio_data *sio, int ld) in superio_select() argument
116 outb(DEV, sio->sioaddr); in superio_select()
117 outb(ld, sio->sioaddr + 1); in superio_select()
121 superio_enter(struct w83627hf_sio_data *sio) in superio_enter() argument
[all …]
/Linux-v5.10/arch/alpha/include/asm/
Dmachvec.h120 } sio; member
/Linux-v5.10/drivers/usb/serial/
DKconfig176 See <http://ftdi-usb-sio.sourceforge.net/> for more