Home
last modified time | relevance | path

Searched refs:iomem_base (Results 1 – 22 of 22) sorted by relevance

/linux-6.6.21/drivers/virt/nitro_enclaves/
Dne_pci_dev.c51 memcpy_toio(ne_pci_dev->iomem_base + NE_SEND_DATA, cmd_request, cmd_request_size); in ne_submit_request()
53 iowrite32(cmd_type, ne_pci_dev->iomem_base + NE_COMMAND); in ne_submit_request()
69 memcpy_fromio(cmd_reply, ne_pci_dev->iomem_base + NE_RECV_DATA, cmd_reply_size); in ne_retrieve_reply()
401 iowrite16(NE_VERSION_MAX, ne_pci_dev->iomem_base + NE_VERSION); in ne_pci_dev_enable()
403 dev_version_reply = ioread16(ne_pci_dev->iomem_base + NE_VERSION); in ne_pci_dev_enable()
410 iowrite8(NE_ENABLE_ON, ne_pci_dev->iomem_base + NE_ENABLE); in ne_pci_dev_enable()
412 dev_enable_reply = ioread8(ne_pci_dev->iomem_base + NE_ENABLE); in ne_pci_dev_enable()
435 iowrite8(NE_ENABLE_OFF, ne_pci_dev->iomem_base + NE_ENABLE); in ne_pci_dev_disable()
443 dev_disable_reply = ioread8(ne_pci_dev->iomem_base + NE_ENABLE); in ne_pci_dev_disable()
451 dev_disable_reply = ioread8(ne_pci_dev->iomem_base + NE_ENABLE); in ne_pci_dev_disable()
[all …]
Dne_pci_dev.h301 void __iomem *iomem_base; member
/linux-6.6.21/drivers/misc/ibmasm/
Duart.c23 void __iomem *iomem_base; in ibmasm_register_uart() local
25 iomem_base = sp->base_address + SCOUT_COM_B_BASE; in ibmasm_register_uart()
30 if (0 == readl(iomem_base + UART_SCR)) { in ibmasm_register_uart()
41 uart.port.membase = iomem_base; in ibmasm_register_uart()
/linux-6.6.21/drivers/platform/x86/
Dapple-gmux.c60 u8 __iomem *iomem_base; member
231 u8 gwr = ioread8(gmux_data->iomem_base + GMUX_MMIO_COMMAND_SEND); in gmux_mmio_wait()
234 gwr = ioread8(gmux_data->iomem_base + GMUX_MMIO_COMMAND_SEND); in gmux_mmio_wait()
248 iowrite8((port & 0xff), gmux_data->iomem_base + GMUX_MMIO_PORT_SELECT); in gmux_mmio_read8()
250 gmux_data->iomem_base + GMUX_MMIO_COMMAND_SEND); in gmux_mmio_read8()
252 val = ioread8(gmux_data->iomem_base); in gmux_mmio_read8()
263 iowrite8(val, gmux_data->iomem_base); in gmux_mmio_write8()
265 iowrite8(port & 0xff, gmux_data->iomem_base + GMUX_MMIO_PORT_SELECT); in gmux_mmio_write8()
267 gmux_data->iomem_base + GMUX_MMIO_COMMAND_SEND); in gmux_mmio_write8()
279 iowrite8((port & 0xff), gmux_data->iomem_base + GMUX_MMIO_PORT_SELECT); in gmux_mmio_read32()
[all …]
/linux-6.6.21/include/linux/
Dapple-gmux.h69 u8 __iomem *iomem_base = ioremap(iostart, 16); in apple_gmux_is_mmio() local
72 if (!iomem_base) in apple_gmux_is_mmio()
80 val = ioread8(iomem_base + GMUX_MMIO_COMMAND_SEND); in apple_gmux_is_mmio()
81 iounmap(iomem_base); in apple_gmux_is_mmio()
/linux-6.6.21/drivers/input/keyboard/
Dsh_keysc.c35 void __iomem *iomem_base; member
51 return ioread16(p->iomem_base + (reg_nr << 2)); in sh_keysc_read()
57 iowrite16(value, p->iomem_base + (reg_nr << 2)); in sh_keysc_write()
198 priv->iomem_base = ioremap(res->start, resource_size(res)); in sh_keysc_probe()
199 if (priv->iomem_base == NULL) { in sh_keysc_probe()
261 iounmap(priv->iomem_base); in sh_keysc_probe()
276 iounmap(priv->iomem_base); in sh_keysc_remove()
/linux-6.6.21/include/uapi/linux/
Dserial.h34 unsigned char *iomem_base; member
/linux-6.6.21/drivers/tty/
Dtty_io.c2813 compat_uint_t iomem_base; member
2829 memcpy(&v, &v32, offsetof(struct serial_struct32, iomem_base)); in compat_tty_tiocsserial()
2830 v.iomem_base = compat_ptr(v32.iomem_base); in compat_tty_tiocsserial()
2852 memcpy(&v32, &v, offsetof(struct serial_struct32, iomem_base)); in compat_tty_tiocgserial()
2853 v32.iomem_base = (unsigned long)v.iomem_base >> 32 ? in compat_tty_tiocgserial()
2854 0xfffffff : ptr_to_compat(v.iomem_base); in compat_tty_tiocgserial()
/linux-6.6.21/drivers/tty/serial/8250/
D8250.h63 unsigned char __iomem *iomem_base; member
D8250_core.c559 port->membase = old_serial_port[i].iomem_base; in serial8250_isa_init_ports()
/linux-6.6.21/Documentation/ABI/testing/
Dsysfs-tty123 What: /sys/class/tty/ttyS<x>/iomem_base
/linux-6.6.21/drivers/tty/serial/
Dserial_core.c804 retinfo->iomem_base = (void *)(unsigned long)uport->mapbase; in uart_get_info()
856 (unsigned long)new_info->iomem_base != uport->mapbase || in uart_set_info()
939 uport->mapbase = (unsigned long)new_info->iomem_base; in uart_set_info()
3001 return sprintf(buf, "0x%lX\n", (unsigned long)tmp.iomem_base); in iomem_base_show()
3077 static DEVICE_ATTR_RO(iomem_base);
Dbcm63xx_uart.c594 if (port->mapbase != (unsigned long)serinfo->iomem_base) in bcm_uart_verify_port()
Dpic32_uart.c738 if (port->mapbase != (unsigned long)serinfo->iomem_base) in pic32_uart_verify_port()
Dsa1100.c555 if ((void *)sport->port.mapbase != ser->iomem_base) in sa1100_verify_port()
Dmpc52xx_uart.c1334 (ser->iomem_base != (void *)port->mapbase) || in mpc52xx_uart_verify_port()
Dimx.c1834 if (port->mapbase != (unsigned long)ser->iomem_base) in imx_uart_verify_port()
Datmel_serial.c2471 if (port->mapbase != (unsigned long)ser->iomem_base) in atmel_verify_port()
Damba-pl011.c2227 if (port->mapbase != (unsigned long) ser->iomem_base) in pl011_verify_port()
/linux-6.6.21/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge.c209 unsigned long iomem_base; member
3795 mgp->iomem_base = pci_resource_start(pdev, 0); in myri10ge_probe()
3796 mgp->wc_cookie = arch_phys_wc_add(mgp->iomem_base, mgp->board_span); in myri10ge_probe()
3797 mgp->sram = ioremap_wc(mgp->iomem_base, mgp->board_span); in myri10ge_probe()
3800 mgp->board_span, mgp->iomem_base); in myri10ge_probe()
/linux-6.6.21/drivers/scsi/smartpqi/
Dsmartpqi_init.c4391 admin_queues->iq_pi = ctrl_info->iomem_base + in pqi_create_admin_queues()
4394 admin_queues->oq_ci = ctrl_info->iomem_base + in pqi_create_admin_queues()
4865 event_queue->oq_ci = ctrl_info->iomem_base + in pqi_create_event_queue()
4913 queue_group->iq_pi[RAID_PATH] = ctrl_info->iomem_base + in pqi_create_queue_group()
4948 queue_group->iq_pi[AIO_PATH] = ctrl_info->iomem_base + in pqi_create_queue_group()
5006 queue_group->oq_ci = ctrl_info->iomem_base + in pqi_create_queue_group()
8107 table_iomem_addr = ctrl_info->iomem_base + ctrl_info->config_table_offset; in pqi_process_config_table()
8643 ctrl_info->iomem_base = ioremap(pci_resource_start( in pqi_pci_init()
8646 if (!ctrl_info->iomem_base) { in pqi_pci_init()
8667 ctrl_info->registers = ctrl_info->iomem_base; in pqi_pci_init()
[all …]
Dsmartpqi.h1300 void __iomem *iomem_base; member