Home
last modified time | relevance | path

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

12345

/kernel/linux/linux-6.6/mm/
Dpage_io.c259 struct swap_iocb *sio = container_of(iocb, struct swap_iocb, iocb); in sio_write_complete() local
260 struct page *page = sio->bvec[0].bv_page; in sio_write_complete()
263 if (ret != sio->len) { in sio_write_complete()
276 for (p = 0; p < sio->pages; p++) { in sio_write_complete()
277 page = sio->bvec[p].bv_page; in sio_write_complete()
282 for (p = 0; p < sio->pages; p++) in sio_write_complete()
283 count_swpout_vm_event(page_folio(sio->bvec[p].bv_page)); in sio_write_complete()
286 for (p = 0; p < sio->pages; p++) in sio_write_complete()
287 end_page_writeback(sio->bvec[p].bv_page); in sio_write_complete()
289 mempool_free(sio, sio_pool); in sio_write_complete()
[all …]
Dswap.h18 void swap_write_unplug(struct swap_iocb *sio);
70 static inline void swap_write_unplug(struct swap_iocb *sio) in swap_write_unplug() argument
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
Dtlan.c2232 u8 sio; in tlan_finish_reset() local
2300 sio = tlan_dio_read8(dev->base_addr, TLAN_NET_SIO); in tlan_finish_reset()
2301 sio |= TLAN_NET_SIO_MINTEN; in tlan_finish_reset()
2302 tlan_dio_write8(dev->base_addr, TLAN_NET_SIO, sio); in tlan_finish_reset()
2816 * the TLAN SIO register.
2824 u16 sio, tmp; in tlan_mii_read_reg() local
2833 sio = dev->base_addr + TLAN_DIO_DATA + TLAN_NET_SIO; in tlan_mii_read_reg()
2840 minten = tlan_get_bit(TLAN_NET_SIO_MINTEN, sio); in tlan_mii_read_reg()
2842 tlan_clear_bit(TLAN_NET_SIO_MINTEN, sio); in tlan_mii_read_reg()
2850 tlan_clear_bit(TLAN_NET_SIO_MTXEN, sio); /* change direction */ in tlan_mii_read_reg()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/arch/alpha/kernel/
Dsys_sio.c9 * Code for all boards that route the PCI interrupts through the SIO
95 orig_route_tab, alpha_mv.sys.sio.route_tab); in sio_pci_route()
103 alpha_mv.sys.sio.route_tab); in sio_pci_route()
189 {-1, -1, -1, -1, -1}, /* idsel 7 (SIO: PCI/ISA bridge) */ in noname_map_irq()
200 tmp = __kernel_extbl(alpha_mv.sys.sio.route_tab, irq); in noname_map_irq()
217 {-1, -1, -1, -1, -1}, /* idsel 7 (SIO: PCI/ISA bridge) */ in p2k_map_irq()
226 tmp = __kernel_extbl(alpha_mv.sys.sio.route_tab, irq); in p2k_map_irq()
355 .sys = { .sio = {
385 .sys = { .sio = {
414 .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()
/kernel/linux/linux-6.6/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
/kernel/linux/linux-5.10/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
/kernel/linux/linux-6.6/drivers/md/
Ddm-io.c421 struct sync_io *sio = context; in sync_io_complete() local
423 sio->error_bits = error; in sync_io_complete()
424 complete(&sio->wait); in sync_io_complete()
432 struct sync_io sio; in sync_io() local
439 init_completion(&sio.wait); in sync_io()
446 io->context = &sio; in sync_io()
453 wait_for_completion_io(&sio.wait); in sync_io()
456 *error_bits = sio.error_bits; in sync_io()
458 return sio.error_bits ? -EIO : 0; in sync_io()
/kernel/linux/linux-5.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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/drivers/net/wwan/iosm/
Diosm_ipc_imem_ops.c49 /* 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. */
/kernel/linux/linux-5.10/arch/mips/txx9/rbtx4938/
Dirq.c31 * TXX9_IRQ_BASE+08 TX4938 SIO 0
32 * TXX9_IRQ_BASE+09 TX4938 SIO 1
/kernel/linux/linux-6.6/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
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-6.6/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 …]

12345