Home
last modified time | relevance | path

Searched full:sio (Results 1 – 25 of 63) sorted by relevance

123

/Linux-v6.1/mm/
Dpage_io.c262 struct swap_iocb *sio = container_of(iocb, struct swap_iocb, iocb); in sio_write_complete() local
263 struct page *page = sio->bvec[0].bv_page; in sio_write_complete()
266 if (ret != sio->len) { in sio_write_complete()
279 for (p = 0; p < sio->pages; p++) { in sio_write_complete()
280 page = sio->bvec[p].bv_page; in sio_write_complete()
285 for (p = 0; p < sio->pages; p++) in sio_write_complete()
286 count_swpout_vm_event(sio->bvec[p].bv_page); in sio_write_complete()
289 for (p = 0; p < sio->pages; p++) in sio_write_complete()
290 end_page_writeback(sio->bvec[p].bv_page); in sio_write_complete()
292 mempool_free(sio, sio_pool); in sio_write_complete()
[all …]
Dswap.h19 void swap_write_unplug(struct swap_iocb *sio);
71 static inline void swap_write_unplug(struct swap_iocb *sio) in swap_write_unplug() argument
/Linux-v6.1/drivers/gpio/
Dgpio-f7188x.c93 struct f7188x_sio *sio; member
292 struct f7188x_sio *sio = bank->data->sio; in f7188x_gpio_get_direction() local
295 err = superio_enter(sio->addr); in f7188x_gpio_get_direction()
298 superio_select(sio->addr, sio->device); in f7188x_gpio_get_direction()
300 dir = superio_inb(sio->addr, f7188x_gpio_dir(bank->regbase)); in f7188x_gpio_get_direction()
302 superio_exit(sio->addr); in f7188x_gpio_get_direction()
304 if (f7188x_gpio_dir_invert(sio->type)) in f7188x_gpio_get_direction()
317 struct f7188x_sio *sio = bank->data->sio; in f7188x_gpio_direction_in() local
320 err = superio_enter(sio->addr); in f7188x_gpio_direction_in()
323 superio_select(sio->addr, sio->device); in f7188x_gpio_direction_in()
[all …]
/Linux-v6.1/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-v6.1/drivers/net/ethernet/ti/
Dtlan.c2234 u8 sio; in tlan_finish_reset() local
2302 sio = tlan_dio_read8(dev->base_addr, TLAN_NET_SIO); in tlan_finish_reset()
2303 sio |= TLAN_NET_SIO_MINTEN; in tlan_finish_reset()
2304 tlan_dio_write8(dev->base_addr, TLAN_NET_SIO, sio); in tlan_finish_reset()
2828 * the TLAN SIO register.
2836 u16 sio, tmp; in __tlan_mii_read_reg() local
2846 sio = dev->base_addr + TLAN_DIO_DATA + TLAN_NET_SIO; in __tlan_mii_read_reg()
2850 minten = tlan_get_bit(TLAN_NET_SIO_MINTEN, sio); in __tlan_mii_read_reg()
2852 tlan_clear_bit(TLAN_NET_SIO_MINTEN, sio); in __tlan_mii_read_reg()
2860 tlan_clear_bit(TLAN_NET_SIO_MTXEN, sio); /* change direction */ in __tlan_mii_read_reg()
[all …]
/Linux-v6.1/arch/alpha/kernel/
Dsys_sio.c9 * Code for all boards that route the PCI interrupts through the SIO
93 orig_route_tab, alpha_mv.sys.sio.route_tab); in sio_pci_route()
101 alpha_mv.sys.sio.route_tab); in sio_pci_route()
187 {-1, -1, -1, -1, -1}, /* idsel 7 (SIO: PCI/ISA bridge) */ in noname_map_irq()
198 tmp = __kernel_extbl(alpha_mv.sys.sio.route_tab, irq); in noname_map_irq()
215 {-1, -1, -1, -1, -1}, /* idsel 7 (SIO: PCI/ISA bridge) */ in p2k_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 = {
[all …]
Dsys_cabriolet.c174 * because it is the Saturn IO (SIO) PCI/ISA Bridge Chip.
184 { -1, -1, -1, -1, -1}, /* IdSel 8, SIO */ in eb66p_map_irq()
204 * because it is the Saturn IO (SIO) PCI/ISA Bridge Chip.
215 { -1, -1, -1, -1, -1}, /* IdSel 8, SIO */ in cabriolet_map_irq()
251 * PCI slots, the SIO, PCI/IDE, and USB.
271 * 0x804 | INTB0 | USB | IDE | SIO | INTA3 |INTA2 | INTA1 | INTA0 |
299 { -1, -1, -1, -1, -1}, /* IdSel 8, SIO */ in alphapc164_map_irq()
Dsys_eb64p.c162 * 8 Intel SIO PCI-ISA bridge chip
179 { -1, -1, -1, -1, -1}, /* IdSel 8, SIO */ in eb64p_map_irq()
Dirq_alpha.c173 case 0x204: reason = "SIO SERR occurred on PCI bus"; break; in process_mcheck_info()
175 case 0x206: reason = "SIO IOCHK occurred on ISA bus"; break; in process_mcheck_info()
Dsys_ruffian.c106 * SIO 14 23 - - -
127 {-1, -1, -1, -1, -1}, /* IdSel 14, SIO */ in ruffian_map_irq()
/Linux-v6.1/Documentation/hwmon/
Dsmsc47b397.rst35 Methods for detecting the HP SIO and reading the thermal data on a dc7100
38 The thermal information on the dc7100 is contained in the SIO Hardware Monitor
90 The SIO counts the number of 90kHz (11.111us) pulses per revolution.
102 Obtaining the SIO version.
146 The following is an example of how to read the SIO Device ID located at 0x20:
164 The registers of interest for identifying the SIO on the dc7100 are Device ID
Dlm70.rst47 complement digital temperature (sent via the SIO line), is available in the
/Linux-v6.1/drivers/md/
Ddm-io.c408 struct sync_io *sio = context; in sync_io_complete() local
410 sio->error_bits = error; in sync_io_complete()
411 complete(&sio->wait); in sync_io_complete()
419 struct sync_io sio; in sync_io() local
426 init_completion(&sio.wait); in sync_io()
433 io->context = &sio; in sync_io()
440 wait_for_completion_io(&sio.wait); in sync_io()
443 *error_bits = sio.error_bits; in sync_io()
445 return sio.error_bits ? -EIO : 0; in sync_io()
/Linux-v6.1/drivers/spi/
Dspi-lm70llp.c64 #define SIO 0x10 macro
153 * Why do we return 0 when the SIO line is high and vice-versa?
155 * is wired in just such a way : when the lm70's SIO goes high, a transistor
162 return ((SIO == (parport_read_status(pp->port) & SIO)) ? 0 : 1); in getmiso()
/Linux-v6.1/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 …]
/Linux-v6.1/drivers/net/wwan/iosm/
Diosm_ipc_imem_ops.c49 /* Through tasklet to do sio write. */
188 * ipc_imem_sys_port_close - Release a sio link to CP.
201 /* If current phase is IPC_P_OFF or SIO ID is -ve then in ipc_imem_sys_port_close()
341 /* Open a SIO link to CP and return the channel instance */
389 dev_err(ipc_imem->dev, "SIO open refused, phase %d", phase); in ipc_imem_sys_devlink_open()
395 /* Release a SIO channel link to CP. */
Diosm_ipc_devlink.h84 * struct iosm_devlink_sio - SIO instance
155 * @devlink_sio: SIO instance for read/write functionality
/Linux-v6.1/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-v6.1/Documentation/devicetree/bindings/pinctrl/
Dmicrochip,sparx5-sgpio.yaml13 By using a serial interface, the SIO controller significantly extend
15 pins on the device. The primary purpose of the SIO controllers is to
/Linux-v6.1/arch/sh/kernel/cpu/sh4a/
Dsetup-sh7343.c318 SIOF0, SIOF1, SIO, enumerator
353 INTC_VECT(SIO, 0xd00),
392 { 0, 0, 0, SIO, Z3D4, 0, SIOF1, SIOF0 } },
415 { 0xa4080020, 0, 16, 4, /* IPRI */ { SIO, 0, TSIF, I2C1 } },
Dsetup-sh7722.c536 SCIF0, SCIF1, SCIF2, SIOF0, SIOF1, SIO, enumerator
566 INTC_VECT(SIOF1, 0xca0), INTC_VECT(SIO, 0xd00),
606 { 0, 0, 0, SIO, 0, 0, SIOF1, SIOF0 } },
631 { 0xa4080020, 0, 16, 4, /* IPRI */ { SIO, 0, TSIF, RTC } },
/Linux-v6.1/arch/alpha/include/asm/
Ddma.h81 These may be due to SIO (PCI<->ISA bridge) chipset limitation, or
86 hardware SIO limitation, is 64MB.
91 due to an hardware SIO limitation, is 16MB.
96 due to an hardware SIO chip limitation, is 2GB.
/Linux-v6.1/arch/mips/txx9/generic/
Dirq_tx4938.c28 /* raise priority for errors, timers, SIO */ in tx4938_irq_init()
Dirq_tx4927.c40 /* raise priority for errors, timers, SIO */ in tx4927_irq_init()
/Linux-v6.1/drivers/usb/serial/
Dftdi_sio.c3 * USB FTDI SIO driver
16 * See http://ftdi-usb-sio.sourceforge.net for up to date testing info
51 SIO, enumerator
141 * The 8U232AM has the same API as the sio except for:
1086 [SIO] = "SIO", /* the serial part of FT8U100AX */
1277 case SIO: in get_ftdi_divisor()
1384 if (priv->chip_type == SIO || priv->chip_type == FT232A) in write_latency_timer()
1425 if (priv->chip_type == SIO || priv->chip_type == FT232A) in read_latency_timer()
1579 priv->chip_type = SIO; in ftdi_determine_type()
1714 if (type == SIO) in ftdi_is_visible()
[all …]

123