/linux/drivers/gpio/ |
H A D | gpio-f7188x.c | 93 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/mm/ |
H A D | page_io.c | 348 struct swap_iocb *sio = container_of(iocb, struct swap_iocb, iocb); in sio_write_complete() 349 struct page *page = sio->bvec[0].bv_page; in sio_write_complete() 352 if (ret != sio->len) { in sio_write_complete() 363 for (p = 0; p < sio->pages; p++) { in sio_write_complete() 364 page = sio->bvec[p].bv_page; in sio_write_complete() 370 for (p = 0; p < sio->pages; p++) in sio_write_complete() 371 end_page_writeback(sio->bvec[p].bv_page); in sio_write_complete() 373 mempool_free(sio, sio_pool); 378 struct swap_iocb *sio = NULL; in swap_writepage_fs() 387 sio in swap_writepage_fs() 346 struct swap_iocb *sio = container_of(iocb, struct swap_iocb, iocb); sio_write_complete() local 376 struct swap_iocb *sio = NULL; swap_writepage_fs() local 475 swap_write_unplug(struct swap_iocb * sio) swap_write_unplug() argument 489 struct swap_iocb *sio = container_of(iocb, struct swap_iocb, iocb); sio_read_complete() local 544 struct swap_iocb *sio = NULL; swap_read_folio_fs() local 658 __swap_read_unplug(struct swap_iocb * sio) __swap_read_unplug() argument [all...] |
H A D | swap.h | 21 void swap_write_unplug(struct swap_iocb *sio); 114 static inline void swap_write_unplug(struct swap_iocb *sio) in swap_write_unplug() argument
|
/linux/drivers/parisc/ |
H A D | superio.c | 151 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/drivers/net/ethernet/ti/ |
H A D | tlan.c | 2234 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/Documentation/hwmon/ |
H A D | smsc47b397.rst | 35 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
|
H A D | lm70.rst | 47 complement digital temperature (sent via the SIO line), is available in the
|
/linux/drivers/md/ |
H A D | dm-io.c | 438 struct sync_io *sio = context; in sync_io_complete() local 440 sio->error_bits = error; in sync_io_complete() 441 complete(&sio->wait); in sync_io_complete() 448 struct sync_io sio; in sync_io() local 450 init_completion(&sio.wait); in sync_io() 453 sync_io_complete, &sio, ioprio); in sync_io() 455 wait_for_completion_io(&sio.wait); in sync_io() 458 *error_bits = sio.error_bits; in sync_io() 460 return sio.error_bits ? -EIO : 0; in sync_io()
|
/linux/arch/alpha/kernel/ |
H A D | sys_cabriolet.c | 171 * because it is the Saturn IO (SIO) PCI/ISA Bridge Chip. 181 { -1, -1, -1, -1, -1}, /* IdSel 8, SIO */ in eb66p_map_irq() 201 * because it is the Saturn IO (SIO) PCI/ISA Bridge Chip. 212 { -1, -1, -1, -1, -1}, /* IdSel 8, SIO */ in cabriolet_map_irq() 241 * PCI slots, the SIO, PCI/IDE, and USB. 261 * 0x804 | INTB0 | USB | IDE | SIO | INTA3 |INTA2 | INTA1 | INTA0 | 289 { -1, -1, -1, -1, -1}, /* IdSel 8, SIO */ in alphapc164_map_irq()
|
H A D | irq_alpha.c | 173 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()
|
H A D | sys_ruffian.c | 106 * SIO 14 23 - - - 127 {-1, -1, -1, -1, -1}, /* IdSel 14, SIO */ in ruffian_map_irq()
|
H A D | sys_takara.c | 153 * because the SIO ISA bridge can also be slot 7. However, the SIO
|
/linux/drivers/spi/ |
H A D | spi-lm70llp.c | 64 #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/arch/mips/include/asm/octeon/ |
H A D | cvmx-pow.h | 1571 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 …]
|
H A D | cvmx-address.h | 176 } sio; member 251 } sio; member
|
/linux/drivers/net/wwan/iosm/ |
H A D | iosm_ipc_imem_ops.c | 49 /* Through tasklet to do sio write. */ 192 * ipc_imem_sys_port_close - Release a sio link to CP. 205 /* If current phase is IPC_P_OFF or SIO ID is -ve then in ipc_imem_sys_port_close() 345 /* Open a SIO link to CP and return the channel instance */ 393 dev_err(ipc_imem->dev, "SIO open refused, phase %d", phase); in ipc_imem_sys_devlink_open() 399 /* Release a SIO channel link to CP. */
|
H A D | iosm_ipc_devlink.h | 84 * struct iosm_devlink_sio - SIO instance 155 * @devlink_sio: SIO instance for read/write functionality
|
H A D | iosm_ipc_imem.h | 177 * @channel: Id of the sio device, set by imem_sio_open, 292 * @sio: IPC SIO data structure pointer
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | microchip,sparx5-sgpio.yaml | 13 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/arch/sh/kernel/cpu/sh4a/ |
H A D | setup-sh7343.c | 318 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 } },
|
H A D | setup-sh7722.c | 536 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/arch/alpha/include/asm/ |
H A D | dma.h | 81 These may be due to SIO (PCI<->ISA bridge) chipset limitation, or 86 due to an hardware SIO limitation, is 16MB. 91 due to an hardware SIO chip limitation, is 2GB.
|
/linux/arch/mips/txx9/generic/ |
H A D | irq_tx4938.c | 28 /* raise priority for errors, timers, SIO */ in tx4938_irq_init()
|
H A D | irq_tx4927.c | 40 /* raise priority for errors, timers, SIO */ in tx4927_irq_init()
|
/linux/arch/mips/txx9/rbtx4927/ |
H A D | setup.c | 162 /* TX4927-SIO DTR on (PIO[15]) */ in rbtx4927_gpio_init() 163 gpio_request(15, "sio-dtr"); in rbtx4927_gpio_init()
|