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

/linux-4.1.27/drivers/misc/ibmasm/
H A Duart.c37 void __iomem *iomem_base; ibmasm_register_uart() local
39 iomem_base = sp->base_address + SCOUT_COM_B_BASE; ibmasm_register_uart()
44 if (0 == readl(iomem_base + UART_SCR)) { ibmasm_register_uart()
55 uart.port.membase = iomem_base; ibmasm_register_uart()
/linux-4.1.27/drivers/input/keyboard/
H A Dsh_keysc.c38 void __iomem *iomem_base; member in struct:sh_keysc_priv
54 return ioread16(p->iomem_base + (reg_nr << 2)); sh_keysc_read()
60 iowrite16(value, p->iomem_base + (reg_nr << 2)); sh_keysc_write()
203 priv->iomem_base = ioremap_nocache(res->start, resource_size(res)); sh_keysc_probe()
204 if (priv->iomem_base == NULL) { sh_keysc_probe()
266 iounmap(priv->iomem_base); sh_keysc_probe()
281 iounmap(priv->iomem_base); sh_keysc_remove()
/linux-4.1.27/drivers/tty/serial/
H A Dm32r_sio.h40 unsigned char __iomem *iomem_base; member in struct:old_serial_port
H A Dserial_core.c694 retinfo->iomem_base = (void *)(unsigned long)uport->mapbase; do_uart_get_info()
750 (unsigned long)new_info->iomem_base != uport->mapbase || uart_set_info()
827 uport->mapbase = (unsigned long)new_info->iomem_base; uart_set_info()
2599 return snprintf(buf, PAGE_SIZE, "0x%lX\n", (unsigned long)tmp.iomem_base); uart_get_attr_iomem_base()
2623 static DEVICE_ATTR(iomem_base, S_IRUSR | S_IRGRP, uart_get_attr_iomem_base, NULL);
H A Dbcm63xx_uart.c628 if (port->mapbase != (unsigned long)serinfo->iomem_base) bcm_uart_verify_port()
H A Dpnx8xxx_uart.c625 if ((void *)sport->port.mapbase != ser->iomem_base) pnx8xxx_verify_port()
H A Dsa1100.c586 if ((void *)sport->port.mapbase != ser->iomem_base) sa1100_verify_port()
H A Dvr41xx_siu.c678 if (port->mapbase != (unsigned long)serial->iomem_base) siu_verify_port()
H A Dm32r_sio.c960 up->port.membase = old_serial_port[i].iomem_base; m32r_sio_init_ports()
H A Dmpc52xx_uart.c1334 (ser->iomem_base != (void *)port->mapbase) || mpc52xx_uart_verify_port()
H A Datmel_serial.c2198 if ((void *)port->mapbase != ser->iomem_base) atmel_verify_port()
H A Dimx.c1476 if (sport->port.mapbase != (unsigned long)ser->iomem_base) imx_verify_port()
H A Dmpsc.c1540 else if ((void *)pi->port.mapbase != ser->iomem_base) mpsc_verify_port()
/linux-4.1.27/arch/mn10300/unit-asb2303/include/unit/
H A Dserial.h39 .iomem_base = (u8 *) SERIAL_PORT0_BASE_ADDRESS, \
47 .iomem_base = (u8 *) SERIAL_PORT1_BASE_ADDRESS, \
/linux-4.1.27/arch/mn10300/unit-asb2305/include/unit/
H A Dserial.h38 .iomem_base = (u8 *) SERIAL_PORT0_BASE_ADDRESS, \
/linux-4.1.27/include/uapi/linux/
H A Dserial.h33 unsigned char *iomem_base; member in struct:serial_struct
/linux-4.1.27/arch/mn10300/unit-asb2364/include/unit/
H A Dserial.h44 .iomem_base = (u8 *) SERIAL_PORT0_BASE_ADDRESS, \
/linux-4.1.27/drivers/tty/serial/8250/
H A D8250.h58 unsigned char __iomem *iomem_base; member in struct:old_serial_port
H A D8250_core.c3314 port->membase = old_serial_port[i].iomem_base; serial8250_isa_init_ports()
/linux-4.1.27/fs/
H A Dcompat_ioctl.c601 compat_uint_t iomem_base; member in struct:serial_struct32
621 if (__copy_from_user(&ss, ss32, offsetof(SS32, iomem_base))) serial_struct_ioctl()
623 if (__get_user(udata, &ss32->iomem_base)) serial_struct_ioctl()
625 ss.iomem_base = compat_ptr(udata); serial_struct_ioctl()
637 if (__copy_to_user(ss32,&ss,offsetof(SS32,iomem_base))) serial_struct_ioctl()
639 base = (unsigned long)ss.iomem_base >> 32 ? serial_struct_ioctl()
640 0xffffffff : (unsigned)(unsigned long)ss.iomem_base; serial_struct_ioctl()
641 if (__put_user(base, &ss32->iomem_base) || serial_struct_ioctl()
/linux-4.1.27/drivers/net/ethernet/myricom/myri10ge/
H A Dmyri10ge.c224 unsigned long iomem_base; member in struct:myri10ge_priv
4036 mgp->iomem_base = pci_resource_start(pdev, 0); myri10ge_probe()
4037 mgp->wc_cookie = arch_phys_wc_add(mgp->iomem_base, mgp->board_span); myri10ge_probe()
4038 mgp->sram = ioremap_wc(mgp->iomem_base, mgp->board_span); myri10ge_probe()
4041 mgp->board_span, mgp->iomem_base); myri10ge_probe()
/linux-4.1.27/arch/mn10300/kernel/
H A Dmn10300-serial.c1487 ss->iomem_base != mapbase || mn10300_serial_verify_port()

Completed in 529 milliseconds