membase 60 arch/arm/kernel/isa.c register_isa_ports(unsigned int membase, unsigned int portbase, unsigned int portshift) membase 62 arch/arm/kernel/isa.c isa_membase = membase; membase 93 arch/arm/mach-cns3xxx/cns3420vb.c .membase = (void __iomem *)CNS3XXX_UART0_BASE_VIRT, membase 25 arch/arm/mach-davinci/serial.c WARN_ONCE(!p->membase, "unmapped write: uart[%d]\n", offset); membase 27 arch/arm/mach-davinci/serial.c __raw_writel(value, p->membase + offset); membase 79 arch/arm/mach-davinci/serial.c if (!p->membase && p->mapbase) { membase 80 arch/arm/mach-davinci/serial.c p->membase = ioremap(p->mapbase, SZ_4K); membase 82 arch/arm/mach-davinci/serial.c if (p->membase) membase 88 arch/arm/mach-davinci/serial.c if (p->membase && p->type != PORT_AR7) membase 63 arch/arm/mach-imx/mach-kzm_arm11_01.c .membase = KZM_ARM11_IO_ADDRESS(KZM_ARM11_16550), membase 75 arch/arm/mach-imx/mach-mx31ads.c .membase = (void *)(PBC_BASE_ADDRESS + PBC_SC16C652_UARTA), membase 82 arch/arm/mach-imx/mach-mx31ads.c .membase = (void *)(PBC_BASE_ADDRESS + PBC_SC16C652_UARTB), membase 152 arch/arm/mach-iop32x/em7210.c .membase = (char *)IQ31244_UART, membase 138 arch/arm/mach-iop32x/glantank.c .membase = (char *)GLANTANK_UART, membase 218 arch/arm/mach-iop32x/iq31244.c .membase = (char *)IQ31244_UART, membase 144 arch/arm/mach-iop32x/iq80321.c .membase = (char *)IQ80321_UART, membase 171 arch/arm/mach-iop32x/n2100.c .membase = (char *)N2100_UART, membase 89 arch/arm/mach-ixp4xx/avila-setup.c .membase = (char *)IXP4XX_UART1_BASE_VIRT + REG_OFFSET, membase 98 arch/arm/mach-ixp4xx/avila-setup.c .membase = (char *)IXP4XX_UART2_BASE_VIRT + REG_OFFSET, membase 67 arch/arm/mach-ixp4xx/coyote-setup.c .membase = (char *)IXP4XX_UART2_BASE_VIRT + REG_OFFSET, membase 103 arch/arm/mach-ixp4xx/coyote-setup.c coyote_uart_data[0].membase = membase 137 arch/arm/mach-ixp4xx/dsmg600-setup.c .membase = (char *)IXP4XX_UART1_BASE_VIRT + REG_OFFSET, membase 146 arch/arm/mach-ixp4xx/dsmg600-setup.c .membase = (char *)IXP4XX_UART2_BASE_VIRT + REG_OFFSET, membase 100 arch/arm/mach-ixp4xx/fsg-setup.c .membase = (char *)IXP4XX_UART1_BASE_VIRT + REG_OFFSET, membase 109 arch/arm/mach-ixp4xx/fsg-setup.c .membase = (char *)IXP4XX_UART2_BASE_VIRT + REG_OFFSET, membase 61 arch/arm/mach-ixp4xx/gateway7001-setup.c .membase = (char *)IXP4XX_UART2_BASE_VIRT + REG_OFFSET, membase 244 arch/arm/mach-ixp4xx/goramo_mlr.c .membase = (char __iomem *)IXP4XX_UART1_BASE_VIRT + membase 254 arch/arm/mach-ixp4xx/goramo_mlr.c .membase = (char __iomem *)IXP4XX_UART2_BASE_VIRT + membase 98 arch/arm/mach-ixp4xx/gtwx5715-setup.c .membase = (char *)IXP4XX_UART2_BASE_VIRT + REG_OFFSET, membase 162 arch/arm/mach-ixp4xx/ixdp425-setup.c .membase = (char *)IXP4XX_UART1_BASE_VIRT + REG_OFFSET, membase 171 arch/arm/mach-ixp4xx/ixdp425-setup.c .membase = (char *)IXP4XX_UART2_BASE_VIRT + REG_OFFSET, membase 140 arch/arm/mach-ixp4xx/nas100d-setup.c .membase = (char *)IXP4XX_UART1_BASE_VIRT + REG_OFFSET, membase 149 arch/arm/mach-ixp4xx/nas100d-setup.c .membase = (char *)IXP4XX_UART2_BASE_VIRT + REG_OFFSET, membase 160 arch/arm/mach-ixp4xx/nslu2-setup.c .membase = (char *)IXP4XX_UART1_BASE_VIRT + REG_OFFSET, membase 169 arch/arm/mach-ixp4xx/nslu2-setup.c .membase = (char *)IXP4XX_UART2_BASE_VIRT + REG_OFFSET, membase 127 arch/arm/mach-ixp4xx/omixp-setup.c .membase = (char *)IXP4XX_UART2_BASE_VIRT + REG_OFFSET, membase 135 arch/arm/mach-ixp4xx/omixp-setup.c .membase = (char *)IXP4XX_UART1_BASE_VIRT + REG_OFFSET, membase 84 arch/arm/mach-ixp4xx/vulcan-setup.c .membase = (char *)IXP4XX_UART1_BASE_VIRT + REG_OFFSET, membase 93 arch/arm/mach-ixp4xx/vulcan-setup.c .membase = (char *)IXP4XX_UART2_BASE_VIRT + REG_OFFSET, membase 62 arch/arm/mach-ixp4xx/wg302v2-setup.c .membase = (char *)IXP4XX_UART2_BASE_VIRT + REG_OFFSET, membase 791 arch/arm/mach-omap1/board-ams-delta.c .membase = IOMEM(MODEM_VIRT), membase 35 arch/arm/mach-omap1/serial.c return (unsigned int)__raw_readb(up->membase + offset); membase 42 arch/arm/mach-omap1/serial.c __raw_writeb(value, p->membase + offset); membase 126 arch/arm/mach-omap1/serial.c serial_platform_data[i].membase = NULL; membase 132 arch/arm/mach-omap1/serial.c serial_platform_data[i].membase = membase 134 arch/arm/mach-omap1/serial.c if (!serial_platform_data[i].membase) { membase 533 arch/arm/mach-pxa/viper.c .membase = (void *)&FFUART, membase 542 arch/arm/mach-pxa/viper.c .membase = (void *)&BTUART, membase 551 arch/arm/mach-pxa/viper.c .membase = (void *)&STUART, membase 276 arch/arm/mach-pxa/zeus.c .membase = (void *)&FFUART, membase 285 arch/arm/mach-pxa/zeus.c .membase = (void *)&BTUART, membase 294 arch/arm/mach-pxa/zeus.c .membase = (void *)&STUART, membase 92 arch/arm/plat-orion/common.c void __iomem *membase, membase 98 arch/arm/plat-orion/common.c data->membase = membase; membase 126 arch/arm/plat-orion/common.c void __init orion_uart0_init(void __iomem *membase, membase 132 arch/arm/plat-orion/common.c membase, mapbase, irq, clk); membase 154 arch/arm/plat-orion/common.c void __init orion_uart1_init(void __iomem *membase, membase 160 arch/arm/plat-orion/common.c membase, mapbase, irq, clk); membase 182 arch/arm/plat-orion/common.c void __init orion_uart2_init(void __iomem *membase, membase 188 arch/arm/plat-orion/common.c membase, mapbase, irq, clk); membase 210 arch/arm/plat-orion/common.c void __init orion_uart3_init(void __iomem *membase, membase 216 arch/arm/plat-orion/common.c membase, mapbase, irq, clk); membase 18 arch/arm/plat-orion/include/plat/common.h void __init orion_uart0_init(void __iomem *membase, membase 23 arch/arm/plat-orion/include/plat/common.h void __init orion_uart1_init(void __iomem *membase, membase 28 arch/arm/plat-orion/include/plat/common.h void __init orion_uart2_init(void __iomem *membase, membase 33 arch/arm/plat-orion/include/plat/common.h void __init orion_uart3_init(void __iomem *membase, membase 21 arch/m68k/include/asm/mcfuart.h void __iomem *membase; /* Virtual address if mapped */ membase 37 arch/mips/alchemy/common/platform.c alchemy_uart_enable(CPHYSADDR(port->membase)); membase 42 arch/mips/alchemy/common/platform.c alchemy_uart_disable(CPHYSADDR(port->membase)); membase 571 arch/mips/ar7/platform.c uart_port.membase = ioremap(uart_port.mapbase, 256); membase 582 arch/mips/ar7/platform.c uart_port.membase = ioremap(uart_port.mapbase, 256); membase 42 arch/mips/bcm47xx/serial.c p->membase = (void *)ssb_port->regs; membase 68 arch/mips/bcm47xx/serial.c p->membase = (void *)bcma_port->regs; membase 96 arch/mips/emma/markeins/platform.c .membase= (void __iomem*)KSEG1ADDR(EMMA2RH_PFUR0_BASE + 3), membase 104 arch/mips/emma/markeins/platform.c .membase = (void __iomem*)KSEG1ADDR(EMMA2RH_PFUR1_BASE + 3), membase 112 arch/mips/emma/markeins/platform.c .membase = (void __iomem*)KSEG1ADDR(EMMA2RH_PFUR2_BASE + 3), membase 101 arch/mips/jazz/setup.c .membase = (void *)(_base), \ membase 36 arch/mips/loongson64/common/serial.c .membase = (void __iomem *)NULL, \ membase 69 arch/mips/loongson64/common/serial.c uart8250_data[mips_machtype][0].membase = membase 90 arch/mips/loongson64/common/serial.c uart8250_data[mips_machtype][i].membase = membase 32 arch/mips/netlogic/xlr/platform.c uartbase = (uint64_t)(long)p->membase; membase 49 arch/mips/netlogic/xlr/platform.c uartbase = (uint64_t)(long)p->membase; membase 92 arch/mips/netlogic/xlr/platform.c xlr_uart_data[0].membase = (void __iomem *)uartbase; membase 96 arch/mips/netlogic/xlr/platform.c xlr_uart_data[1].membase = (void __iomem *)uartbase; membase 54 arch/mips/pmcs-msp71xx/msp_serial.c writeb(value, p->membase + offset); membase 61 arch/mips/pmcs-msp71xx/msp_serial.c return readb(p->membase + offset); membase 67 arch/mips/pmcs-msp71xx/msp_serial.c unsigned int iir = readb(p->membase + (UART_IIR << p->regshift)); membase 82 arch/mips/pmcs-msp71xx/msp_serial.c (void)readb(p->membase + 0xc0); membase 83 arch/mips/pmcs-msp71xx/msp_serial.c writeb(d->last_lcr, p->membase + (UART_LCR << p->regshift)); membase 108 arch/mips/pmcs-msp71xx/msp_serial.c up.membase = ioremap_nocache(up.mapbase, MSP_UART_REG_LEN); membase 146 arch/mips/pmcs-msp71xx/msp_serial.c up.membase = ioremap_nocache(up.mapbase, MSP_UART_REG_LEN); membase 56 arch/mips/pnx833x/common/platform.c .membase = (void __iomem *)PNX833X_UART0_PORTS_START, membase 69 arch/mips/pnx833x/common/platform.c .membase = (void __iomem *)PNX833X_UART1_PORTS_START, membase 13 arch/mips/ralink/bootrom.c static void __iomem *membase = (void __iomem *) KSEG1ADDR(BOOTROM_OFFSET); membase 17 arch/mips/ralink/bootrom.c seq_write(s, membase, BOOTROM_SIZE); membase 33 arch/mips/ralink/cevt-rt3352.c void __iomem *membase; membase 49 arch/mips/ralink/cevt-rt3352.c count = ioread32(sdev->membase + SYSTICK_COUNT); membase 51 arch/mips/ralink/cevt-rt3352.c iowrite32(count, sdev->membase + SYSTICK_COMPARE); membase 100 arch/mips/ralink/cevt-rt3352.c iowrite32(0, systick.membase + SYSTICK_CONFIG); membase 115 arch/mips/ralink/cevt-rt3352.c systick.membase + SYSTICK_CONFIG); membase 124 arch/mips/ralink/cevt-rt3352.c systick.membase = of_iomap(np, 0); membase 125 arch/mips/ralink/cevt-rt3352.c if (!systick.membase) membase 141 arch/mips/ralink/cevt-rt3352.c ret = clocksource_mmio_init(systick.membase + SYSTICK_COUNT, np->name, membase 31 arch/mips/ralink/timer.c void __iomem *membase; membase 39 arch/mips/ralink/timer.c __raw_writel(val, rt->membase + reg); membase 44 arch/mips/ralink/timer.c return __raw_readl(rt->membase + reg); membase 112 arch/mips/ralink/timer.c rt->membase = devm_ioremap_resource(&pdev->dev, res); membase 113 arch/mips/ralink/timer.c if (IS_ERR(rt->membase)) membase 114 arch/mips/ralink/timer.c return PTR_ERR(rt->membase); membase 222 arch/mips/rb532/devices.c .membase = (char *)KSEG1ADDR(REGBASE + UART0BASE), membase 44 arch/mips/rb532/serial.c .membase = (char *)KSEG1ADDR(REGBASE + UART0BASE), membase 449 arch/mips/txx9/generic/setup.c req.membase = ioremap(baseaddr, 0x24); membase 139 arch/mips/vr41xx/common/siu.c port.membase = (unsigned char __iomem *)KSEG1ADDR(res[i].start); membase 60 arch/powerpc/kernel/legacy_serial.c tmp = readl(p->membase + (UART_IIR & ~3)); membase 63 arch/powerpc/kernel/legacy_serial.c return readb(p->membase + offset); membase 70 arch/powerpc/kernel/legacy_serial.c writeb(value, p->membase + offset); membase 517 arch/powerpc/kernel/legacy_serial.c port->membase = ioremap(port->mapbase, 0x100); membase 39 arch/x86/platform/ce4100/ce4100.c return readl(p->membase + offset); membase 58 arch/x86/platform/ce4100/ce4100.c ret = readl(p->membase + offset); membase 79 arch/x86/platform/ce4100/ce4100.c writel(value, p->membase + offset); membase 96 arch/x86/platform/ce4100/ce4100.c up->membase = membase 98 arch/x86/platform/ce4100/ce4100.c up->membase += up->mapbase & ~PAGE_MASK; membase 100 arch/x86/platform/ce4100/ce4100.c up->membase += port * 0x100; membase 96 arch/xtensa/platforms/xt2000/setup.c .membase = (void*)(_base), \ membase 299 drivers/atm/ambassador.c dev->membase[addr / sizeof(u32)] = data; membase 307 drivers/atm/ambassador.c u32 data = dev->membase[addr / sizeof(u32)]; membase 319 drivers/atm/ambassador.c dev->membase[addr / sizeof(u32)] = be; membase 327 drivers/atm/ambassador.c __be32 be = dev->membase[addr / sizeof(u32)]; membase 2134 drivers/atm/ambassador.c dev->membase = bus_to_virt(pci_resource_start(pci_dev, 0)); membase 616 drivers/atm/ambassador.h u32 * membase; membase 176 drivers/atm/he.c #define he_writel(dev, val, reg) do { writel(val, (dev)->membase + (reg)); wmb(); } while (0) membase 177 drivers/atm/he.c #define he_readl(dev, reg) readl((dev)->membase + (reg)) membase 977 drivers/atm/he.c unsigned long membase; membase 990 drivers/atm/he.c membase = pci_resource_start(pci_dev, 0); membase 991 drivers/atm/he.c HPRINTK("membase = 0x%lx irq = %d.\n", membase, pci_dev->irq); membase 1051 drivers/atm/he.c if (!(he_dev->membase = ioremap(membase, HE_REGMAP_SIZE))) { membase 1538 drivers/atm/he.c if (he_dev->membase) { membase 1604 drivers/atm/he.c if (he_dev->membase) membase 1605 drivers/atm/he.c iounmap(he_dev->membase); membase 2793 drivers/atm/he.c val = readl(he_dev->membase + HOST_CNTL); membase 255 drivers/atm/he.h void __iomem *membase; membase 2655 drivers/atm/horizon.c u32 * membase = bus_to_virt (pci_resource_start (pci_dev, 1)); membase 2693 drivers/atm/horizon.c iobase, irq, membase); membase 2725 drivers/atm/horizon.c dev->membase = membase; membase 394 drivers/atm/horizon.h u32 * membase; membase 3097 drivers/atm/idt77252.c if (card->membase) membase 3098 drivers/atm/idt77252.c iounmap(card->membase); membase 3596 drivers/atm/idt77252.c unsigned long membase, srambase; membase 3625 drivers/atm/idt77252.c membase = pci_resource_start(pcidev, 1); membase 3635 drivers/atm/idt77252.c card->membase = ioremap(membase, 1024); membase 3636 drivers/atm/idt77252.c if (!card->membase) { membase 3680 drivers/atm/idt77252.c 'A' + card->revision - 1 : '?', membase, srambase, membase 3716 drivers/atm/idt77252.c iounmap(card->membase); membase 355 drivers/atm/idt77252.h void __iomem *membase; /* SAR's memory base address */ membase 441 drivers/atm/idt77252.h #define SAR_REG_DR0 (card->membase + 0x00) membase 442 drivers/atm/idt77252.h #define SAR_REG_DR1 (card->membase + 0x04) membase 443 drivers/atm/idt77252.h #define SAR_REG_DR2 (card->membase + 0x08) membase 444 drivers/atm/idt77252.h #define SAR_REG_DR3 (card->membase + 0x0C) membase 445 drivers/atm/idt77252.h #define SAR_REG_CMD (card->membase + 0x10) membase 446 drivers/atm/idt77252.h #define SAR_REG_CFG (card->membase + 0x14) membase 447 drivers/atm/idt77252.h #define SAR_REG_STAT (card->membase + 0x18) membase 448 drivers/atm/idt77252.h #define SAR_REG_RSQB (card->membase + 0x1C) membase 449 drivers/atm/idt77252.h #define SAR_REG_RSQT (card->membase + 0x20) membase 450 drivers/atm/idt77252.h #define SAR_REG_RSQH (card->membase + 0x24) membase 451 drivers/atm/idt77252.h #define SAR_REG_CDC (card->membase + 0x28) membase 452 drivers/atm/idt77252.h #define SAR_REG_VPEC (card->membase + 0x2C) membase 453 drivers/atm/idt77252.h #define SAR_REG_ICC (card->membase + 0x30) membase 454 drivers/atm/idt77252.h #define SAR_REG_RAWCT (card->membase + 0x34) membase 455 drivers/atm/idt77252.h #define SAR_REG_TMR (card->membase + 0x38) membase 456 drivers/atm/idt77252.h #define SAR_REG_TSTB (card->membase + 0x3C) membase 457 drivers/atm/idt77252.h #define SAR_REG_TSQB (card->membase + 0x40) membase 458 drivers/atm/idt77252.h #define SAR_REG_TSQT (card->membase + 0x44) membase 459 drivers/atm/idt77252.h #define SAR_REG_TSQH (card->membase + 0x48) membase 460 drivers/atm/idt77252.h #define SAR_REG_GP (card->membase + 0x4C) membase 461 drivers/atm/idt77252.h #define SAR_REG_VPM (card->membase + 0x50) membase 462 drivers/atm/idt77252.h #define SAR_REG_RXFD (card->membase + 0x54) membase 463 drivers/atm/idt77252.h #define SAR_REG_RXFT (card->membase + 0x58) membase 464 drivers/atm/idt77252.h #define SAR_REG_RXFH (card->membase + 0x5C) membase 465 drivers/atm/idt77252.h #define SAR_REG_RAWHND (card->membase + 0x60) membase 466 drivers/atm/idt77252.h #define SAR_REG_RXSTAT (card->membase + 0x64) membase 467 drivers/atm/idt77252.h #define SAR_REG_ABRSTD (card->membase + 0x68) membase 468 drivers/atm/idt77252.h #define SAR_REG_ABRRQ (card->membase + 0x6C) membase 469 drivers/atm/idt77252.h #define SAR_REG_VBRRQ (card->membase + 0x70) membase 470 drivers/atm/idt77252.h #define SAR_REG_RTBL (card->membase + 0x74) membase 471 drivers/atm/idt77252.h #define SAR_REG_MDFCT (card->membase + 0x78) membase 472 drivers/atm/idt77252.h #define SAR_REG_TXSTAT (card->membase + 0x7C) membase 473 drivers/atm/idt77252.h #define SAR_REG_TCMDQ (card->membase + 0x80) membase 474 drivers/atm/idt77252.h #define SAR_REG_IRCP (card->membase + 0x84) membase 475 drivers/atm/idt77252.h #define SAR_REG_FBQP0 (card->membase + 0x88) membase 476 drivers/atm/idt77252.h #define SAR_REG_FBQP1 (card->membase + 0x8C) membase 477 drivers/atm/idt77252.h #define SAR_REG_FBQP2 (card->membase + 0x90) membase 478 drivers/atm/idt77252.h #define SAR_REG_FBQP3 (card->membase + 0x94) membase 479 drivers/atm/idt77252.h #define SAR_REG_FBQS0 (card->membase + 0x98) membase 480 drivers/atm/idt77252.h #define SAR_REG_FBQS1 (card->membase + 0x9C) membase 481 drivers/atm/idt77252.h #define SAR_REG_FBQS2 (card->membase + 0xA0) membase 482 drivers/atm/idt77252.h #define SAR_REG_FBQS3 (card->membase + 0xA4) membase 483 drivers/atm/idt77252.h #define SAR_REG_FBQWP0 (card->membase + 0xA8) membase 484 drivers/atm/idt77252.h #define SAR_REG_FBQWP1 (card->membase + 0xAC) membase 485 drivers/atm/idt77252.h #define SAR_REG_FBQWP2 (card->membase + 0xB0) membase 486 drivers/atm/idt77252.h #define SAR_REG_FBQWP3 (card->membase + 0xB4) membase 487 drivers/atm/idt77252.h #define SAR_REG_NOW (card->membase + 0xB8) membase 105 drivers/atm/nicstar.c #define CMD_BUSY(card) (readl((card)->membase + STAT) & NS_STAT_CMDBZ) membase 214 drivers/atm/nicstar.c writel(0x00000000, card->membase + CFG); membase 253 drivers/atm/nicstar.c iounmap(card->membase); membase 316 drivers/atm/nicstar.c writel(sram_address, card->membase + CMD); membase 318 drivers/atm/nicstar.c data = readl(card->membase + DR0); membase 334 drivers/atm/nicstar.c writel(*(value++), card->membase + i); membase 340 drivers/atm/nicstar.c writel(sram_address, card->membase + CMD); membase 354 drivers/atm/nicstar.c unsigned long membase; membase 390 drivers/atm/nicstar.c membase = pci_resource_start(pcidev, 1); membase 391 drivers/atm/nicstar.c card->membase = ioremap(membase, NS_IOREMAP_SIZE); membase 392 drivers/atm/nicstar.c if (!card->membase) { membase 398 drivers/atm/nicstar.c PRINTK("nicstar%d: membase at 0x%p.\n", i, card->membase); membase 429 drivers/atm/nicstar.c data = readl(card->membase + STAT); membase 431 drivers/atm/nicstar.c writel(NS_STAT_TMROF, card->membase + STAT); membase 434 drivers/atm/nicstar.c writel(NS_CFG_SWRST, card->membase + CFG); membase 436 drivers/atm/nicstar.c writel(0x00000000, card->membase + CFG); membase 439 drivers/atm/nicstar.c writel(0x00000008, card->membase + GP); membase 441 drivers/atm/nicstar.c writel(0x00000001, card->membase + GP); membase 444 drivers/atm/nicstar.c writel(NS_CMD_WRITE_UTILITY | 0x00000100, card->membase + CMD); /* Sync UTOPIA with SAR clock */ membase 449 drivers/atm/nicstar.c writel(NS_CMD_READ_UTILITY | 0x00000200, card->membase + CMD); membase 451 drivers/atm/nicstar.c data = readl(card->membase + DR0); membase 457 drivers/atm/nicstar.c writel(0x00000008, card->membase + DR0); membase 458 drivers/atm/nicstar.c writel(NS_CMD_WRITE_UTILITY | 0x00000200, card->membase + CMD); membase 460 drivers/atm/nicstar.c writel(NS_STAT_SFBQF, card->membase + STAT); membase 463 drivers/atm/nicstar.c writel(0x00000022, card->membase + DR0); membase 464 drivers/atm/nicstar.c writel(NS_CMD_WRITE_UTILITY | 0x00000202, card->membase + CMD); membase 473 drivers/atm/nicstar.c writel(0x00000002, card->membase + DR0); membase 474 drivers/atm/nicstar.c writel(NS_CMD_WRITE_UTILITY | 0x00000205, card->membase + CMD); membase 483 drivers/atm/nicstar.c writel(0x00000000, card->membase + GP); membase 523 drivers/atm/nicstar.c nicstar_init_eprom(card->membase); membase 526 drivers/atm/nicstar.c writel(0x00000000, card->membase + VPM); membase 543 drivers/atm/nicstar.c writel(0x00000000, card->membase + TSQH); membase 544 drivers/atm/nicstar.c writel(ALIGN(card->tsq.dma, NS_TSQ_ALIGNMENT), card->membase + TSQB); membase 562 drivers/atm/nicstar.c writel(0x00000000, card->membase + RSQH); membase 563 drivers/atm/nicstar.c writel(ALIGN(card->rsq.dma, NS_RSQ_ALIGNMENT), card->membase + RSQB); membase 600 drivers/atm/nicstar.c writel(NS_TST0 << 2, card->membase + TSTB); membase 688 drivers/atm/nicstar.c ns_stat_lfbqc_get(readl(card->membase + STAT))) < card->lbnr.min) { membase 718 drivers/atm/nicstar.c ns_stat_sfbqc_get(readl(card->membase + STAT))) < card->sbnr.min) { membase 774 drivers/atm/nicstar.c nicstar_read_eprom(card->membase, NICSTAR_EPROM_MAC_ADDR_OFFSET, membase 777 drivers/atm/nicstar.c nicstar_read_eprom(card->membase, membase 806 drivers/atm/nicstar.c NS_CFG_PHYIE, card->membase + CFG); membase 816 drivers/atm/nicstar.c writel(0x00000000, card->membase + CFG); membase 849 drivers/atm/nicstar.c iounmap(card->membase); membase 967 drivers/atm/nicstar.c stat = readl(card->membase + STAT); membase 1031 drivers/atm/nicstar.c writel(addr2, card->membase + DR3); membase 1032 drivers/atm/nicstar.c writel(id2, card->membase + DR2); membase 1033 drivers/atm/nicstar.c writel(addr1, card->membase + DR1); membase 1034 drivers/atm/nicstar.c writel(id1, card->membase + DR0); membase 1036 drivers/atm/nicstar.c card->membase + CMD); membase 1048 drivers/atm/nicstar.c writel((readl(card->membase + CFG) | NS_CFG_EFBIE), membase 1049 drivers/atm/nicstar.c card->membase + CFG); membase 1071 drivers/atm/nicstar.c stat_r = readl(card->membase + STAT); membase 1077 drivers/atm/nicstar.c writel(NS_STAT_TSIF, card->membase + STAT); membase 1082 drivers/atm/nicstar.c writel(NS_STAT_TXICP, card->membase + STAT); membase 1089 drivers/atm/nicstar.c writel(NS_STAT_TSQF, card->membase + STAT); membase 1096 drivers/atm/nicstar.c writel(NS_STAT_TMROF, card->membase + STAT); membase 1102 drivers/atm/nicstar.c writel(NS_STAT_PHYI, card->membase + STAT); membase 1111 drivers/atm/nicstar.c writel(NS_STAT_SFBQF, card->membase + STAT); membase 1118 drivers/atm/nicstar.c writel(NS_STAT_LFBQF, card->membase + STAT); membase 1125 drivers/atm/nicstar.c writel(NS_STAT_RSQF, card->membase + STAT); membase 1134 drivers/atm/nicstar.c writel(NS_STAT_EOPDU, card->membase + STAT); membase 1139 drivers/atm/nicstar.c writel(NS_STAT_RAWCF, card->membase + STAT); membase 1147 drivers/atm/nicstar.c while (readl(card->membase + RAWCT) != card->rawch) { membase 1171 drivers/atm/nicstar.c writel(NS_STAT_SFBQE, card->membase + STAT); membase 1177 drivers/atm/nicstar.c writel(readl(card->membase + CFG) & membase 1178 drivers/atm/nicstar.c ~NS_CFG_EFBIE, card->membase + CFG); membase 1196 drivers/atm/nicstar.c writel(NS_STAT_LFBQE, card->membase + STAT); membase 1202 drivers/atm/nicstar.c writel(readl(card->membase + CFG) & membase 1203 drivers/atm/nicstar.c ~NS_CFG_EFBIE, card->membase + CFG); membase 1218 drivers/atm/nicstar.c writel(NS_STAT_RSQAF, card->membase + STAT); membase 1434 drivers/atm/nicstar.c card->membase + CMD); membase 1442 drivers/atm/nicstar.c stat = readl(card->membase + STAT); membase 1551 drivers/atm/nicstar.c stat = readl(card->membase + STAT); membase 1552 drivers/atm/nicstar.c cfg = readl(card->membase + CFG); membase 1557 drivers/atm/nicstar.c card->tsq.last, readl(card->membase + TSQT)); membase 1561 drivers/atm/nicstar.c card->rsq.last, readl(card->membase + RSQT)); membase 1901 drivers/atm/nicstar.c card->membase + TSQH); membase 1961 drivers/atm/nicstar.c writel(PTR_DIFF(previous, card->rsq.base), card->membase + RSQH); membase 1977 drivers/atm/nicstar.c stat = readl(card->membase + STAT); membase 2403 drivers/atm/nicstar.c stat = readl(card->membase + STAT); membase 2440 drivers/atm/nicstar.c card->membase + CMD); membase 2442 drivers/atm/nicstar.c phy_regs[i] = readl(card->membase + DR0) & 0x000000FF; membase 2480 drivers/atm/nicstar.c ns_stat_sfbqc_get(readl(card->membase + STAT)); membase 2488 drivers/atm/nicstar.c ns_stat_lfbqc_get(readl(card->membase + STAT)); membase 2699 drivers/atm/nicstar.c stat_r = readl(card->membase + STAT); membase 2708 drivers/atm/nicstar.c writel(stat_w, card->membase + STAT); membase 2724 drivers/atm/nicstar.c writel((u32) value, card->membase + DR0); membase 2726 drivers/atm/nicstar.c card->membase + CMD); membase 2740 drivers/atm/nicstar.c card->membase + CMD); membase 2742 drivers/atm/nicstar.c data = readl(card->membase + DR0) & 0x000000FF; membase 711 drivers/atm/nicstar.h void __iomem *membase; /* Card's memory base address */ membase 38 drivers/bus/hisi_lpc.c void __iomem *membase; membase 123 drivers/bus/hisi_lpc.c writel_relaxed(opcnt, lpcdev->membase + LPC_REG_OP_LEN); membase 124 drivers/bus/hisi_lpc.c writel_relaxed(cmd_word, lpcdev->membase + LPC_REG_CMD); membase 125 drivers/bus/hisi_lpc.c writel_relaxed(addr, lpcdev->membase + LPC_REG_ADDR); membase 128 drivers/bus/hisi_lpc.c lpcdev->membase + LPC_REG_STARTUP_SIGNAL); membase 131 drivers/bus/hisi_lpc.c ret = wait_lpc_idle(lpcdev->membase, waitcnt); membase 137 drivers/bus/hisi_lpc.c readsb(lpcdev->membase + LPC_REG_RDATA, buf, opcnt); membase 176 drivers/bus/hisi_lpc.c writel_relaxed(opcnt, lpcdev->membase + LPC_REG_OP_LEN); membase 177 drivers/bus/hisi_lpc.c writel_relaxed(cmd_word, lpcdev->membase + LPC_REG_CMD); membase 178 drivers/bus/hisi_lpc.c writel_relaxed(addr, lpcdev->membase + LPC_REG_ADDR); membase 180 drivers/bus/hisi_lpc.c writesb(lpcdev->membase + LPC_REG_WDATA, buf, opcnt); membase 183 drivers/bus/hisi_lpc.c lpcdev->membase + LPC_REG_STARTUP_SIGNAL); membase 186 drivers/bus/hisi_lpc.c ret = wait_lpc_idle(lpcdev->membase, waitcnt); membase 612 drivers/bus/hisi_lpc.c lpcdev->membase = devm_ioremap_resource(dev, res); membase 613 drivers/bus/hisi_lpc.c if (IS_ERR(lpcdev->membase)) membase 614 drivers/bus/hisi_lpc.c return PTR_ERR(lpcdev->membase); membase 34 drivers/bus/uniphier-system-bus.c void __iomem *membase; membase 118 drivers/bus/uniphier-system-bus.c void __iomem *base_reg = priv->membase + UNIPHIER_SBC_BASE; membase 136 drivers/bus/uniphier-system-bus.c void __iomem *base_reg = priv->membase + UNIPHIER_SBC_BASE; membase 188 drivers/bus/uniphier-system-bus.c priv->membase = devm_platform_ioremap_resource(pdev, 0); membase 189 drivers/bus/uniphier-system-bus.c if (IS_ERR(priv->membase)) membase 190 drivers/bus/uniphier-system-bus.c return PTR_ERR(priv->membase); membase 22 drivers/clk/hisilicon/reset.c void __iomem *membase; membase 56 drivers/clk/hisilicon/reset.c reg = readl(rstc->membase + offset); membase 57 drivers/clk/hisilicon/reset.c writel(reg | BIT(bit), rstc->membase + offset); membase 77 drivers/clk/hisilicon/reset.c reg = readl(rstc->membase + offset); membase 78 drivers/clk/hisilicon/reset.c writel(reg & ~BIT(bit), rstc->membase + offset); membase 100 drivers/clk/hisilicon/reset.c rstc->membase = devm_ioremap_resource(&pdev->dev, res); membase 101 drivers/clk/hisilicon/reset.c if (IS_ERR(rstc->membase)) membase 28 drivers/clk/sunxi/clk-sun9i-mmc.c void __iomem *membase; membase 42 drivers/clk/sunxi/clk-sun9i-mmc.c void __iomem *reg = data->membase + SUN9I_MMC_WIDTH * id; membase 64 drivers/clk/sunxi/clk-sun9i-mmc.c void __iomem *reg = data->membase + SUN9I_MMC_WIDTH * id; membase 114 drivers/clk/sunxi/clk-sun9i-mmc.c data->membase = devm_ioremap_resource(&pdev->dev, r); membase 115 drivers/clk/sunxi/clk-sun9i-mmc.c if (IS_ERR(data->membase)) membase 116 drivers/clk/sunxi/clk-sun9i-mmc.c return PTR_ERR(data->membase); membase 150 drivers/clk/sunxi/clk-sun9i-mmc.c data->membase + SUN9I_MMC_WIDTH * i, membase 672 drivers/dma/fsl-edma-common.c edma->regs.cr = edma->membase + EDMA_CR; membase 673 drivers/dma/fsl-edma-common.c edma->regs.es = edma->membase + EDMA_ES; membase 674 drivers/dma/fsl-edma-common.c edma->regs.erql = edma->membase + EDMA_ERQ; membase 675 drivers/dma/fsl-edma-common.c edma->regs.eeil = edma->membase + EDMA_EEI; membase 677 drivers/dma/fsl-edma-common.c edma->regs.serq = edma->membase + ((edma->drvdata->version == v2) ? membase 679 drivers/dma/fsl-edma-common.c edma->regs.cerq = edma->membase + ((edma->drvdata->version == v2) ? membase 681 drivers/dma/fsl-edma-common.c edma->regs.seei = edma->membase + ((edma->drvdata->version == v2) ? membase 683 drivers/dma/fsl-edma-common.c edma->regs.ceei = edma->membase + ((edma->drvdata->version == v2) ? membase 685 drivers/dma/fsl-edma-common.c edma->regs.cint = edma->membase + ((edma->drvdata->version == v2) ? membase 687 drivers/dma/fsl-edma-common.c edma->regs.cerr = edma->membase + ((edma->drvdata->version == v2) ? membase 689 drivers/dma/fsl-edma-common.c edma->regs.ssrt = edma->membase + ((edma->drvdata->version == v2) ? membase 691 drivers/dma/fsl-edma-common.c edma->regs.cdne = edma->membase + ((edma->drvdata->version == v2) ? membase 693 drivers/dma/fsl-edma-common.c edma->regs.intl = edma->membase + ((edma->drvdata->version == v2) ? membase 695 drivers/dma/fsl-edma-common.c edma->regs.errl = edma->membase + ((edma->drvdata->version == v2) ? membase 699 drivers/dma/fsl-edma-common.c edma->regs.erqh = edma->membase + EDMA64_ERQH; membase 700 drivers/dma/fsl-edma-common.c edma->regs.eeih = edma->membase + EDMA64_EEIH; membase 701 drivers/dma/fsl-edma-common.c edma->regs.errh = edma->membase + EDMA64_ERRH; membase 702 drivers/dma/fsl-edma-common.c edma->regs.inth = edma->membase + EDMA64_INTH; membase 705 drivers/dma/fsl-edma-common.c edma->regs.tcd = edma->membase + EDMA_TCD; membase 156 drivers/dma/fsl-edma-common.h void __iomem *membase; membase 286 drivers/dma/fsl-edma.c fsl_edma->membase = devm_ioremap_resource(&pdev->dev, res); membase 287 drivers/dma/fsl-edma.c if (IS_ERR(fsl_edma->membase)) membase 288 drivers/dma/fsl-edma.c return PTR_ERR(fsl_edma->membase); membase 208 drivers/dma/mcf-edma.c mcf_edma->membase = devm_ioremap_resource(&pdev->dev, res); membase 209 drivers/dma/mcf-edma.c if (IS_ERR(mcf_edma->membase)) membase 210 drivers/dma/mcf-edma.c return PTR_ERR(mcf_edma->membase); membase 92 drivers/dma/pch_dma.c void __iomem *membase; membase 111 drivers/dma/pch_dma.c readl((pdc)->membase + PDC_##name) membase 113 drivers/dma/pch_dma.c writel((val), (pdc)->membase + PDC_##name) membase 117 drivers/dma/pch_dma.c void __iomem *membase; membase 133 drivers/dma/pch_dma.c readl((pd)->membase + PCH_DMA_##name) membase 135 drivers/dma/pch_dma.c writel((val), (pd)->membase + PCH_DMA_##name) membase 860 drivers/dma/pch_dma.c regs = pd->membase = pci_iomap(pdev, 1, 0); membase 861 drivers/dma/pch_dma.c if (!pd->membase) { membase 893 drivers/dma/pch_dma.c pd_chan->membase = ®s->desc[i]; membase 930 drivers/dma/pch_dma.c pci_iounmap(pdev, pd->membase); membase 959 drivers/dma/pch_dma.c pci_iounmap(pdev, pd->membase); membase 72 drivers/dma/timb_dma.c void __iomem *membase; membase 89 drivers/dma/timb_dma.c void __iomem *membase; membase 118 drivers/dma/timb_dma.c ier = ioread32(td->membase + TIMBDMA_IER); membase 122 drivers/dma/timb_dma.c iowrite32(ier, td->membase + TIMBDMA_IER); membase 136 drivers/dma/timb_dma.c isr = ioread32(td->membase + TIMBDMA_ISR) & (1 << id); membase 138 drivers/dma/timb_dma.c iowrite32(isr, td->membase + TIMBDMA_ISR); membase 193 drivers/dma/timb_dma.c td_chan, td_chan->chan.chan_id, td_chan->membase); membase 198 drivers/dma/timb_dma.c iowrite32(0, td_chan->membase + TIMBDMA_OFFS_RX_DHAR); membase 199 drivers/dma/timb_dma.c iowrite32(td_desc->txd.phys, td_chan->membase + membase 202 drivers/dma/timb_dma.c iowrite32(td_chan->bytes_per_line, td_chan->membase + membase 205 drivers/dma/timb_dma.c iowrite32(TIMBDMA_RX_EN, td_chan->membase + TIMBDMA_OFFS_RX_ER); membase 208 drivers/dma/timb_dma.c iowrite32(0, td_chan->membase + TIMBDMA_OFFS_TX_DHAR); membase 209 drivers/dma/timb_dma.c iowrite32(td_desc->txd.phys, td_chan->membase + membase 238 drivers/dma/timb_dma.c iowrite32(0, td_chan->membase + TIMBDMA_OFFS_RX_ER); membase 574 drivers/dma/timb_dma.c isr = ioread32(td->membase + TIMBDMA_ISR); membase 578 drivers/dma/timb_dma.c iowrite32(ipr, td->membase + TIMBDMA_ISR); membase 591 drivers/dma/timb_dma.c iowrite32(ier, td->membase + TIMBDMA_IER); membase 598 drivers/dma/timb_dma.c u32 ipr = ioread32(td->membase + TIMBDMA_IPR); membase 602 drivers/dma/timb_dma.c iowrite32(0, td->membase + TIMBDMA_IER); membase 647 drivers/dma/timb_dma.c td->membase = ioremap(iomem->start, resource_size(iomem)); membase 648 drivers/dma/timb_dma.c if (!td->membase) { membase 655 drivers/dma/timb_dma.c iowrite32(TIMBDMA_32BIT_ADDR, td->membase + TIMBDMA_ACR); membase 658 drivers/dma/timb_dma.c iowrite32(0x0, td->membase + TIMBDMA_IER); membase 659 drivers/dma/timb_dma.c iowrite32(0xFFFFFFFF, td->membase + TIMBDMA_ISR); membase 708 drivers/dma/timb_dma.c td_chan->membase = td->membase + membase 713 drivers/dma/timb_dma.c i, td_chan->membase); membase 733 drivers/dma/timb_dma.c iounmap(td->membase); membase 752 drivers/dma/timb_dma.c iounmap(td->membase); membase 137 drivers/firmware/efi/libstub/efi-stub-helper.c unsigned long membase = EFI_ERROR; membase 151 drivers/firmware/efi/libstub/efi-stub-helper.c return membase; membase 157 drivers/firmware/efi/libstub/efi-stub-helper.c if (membase > md->phys_addr) membase 158 drivers/firmware/efi/libstub/efi-stub-helper.c membase = md->phys_addr; membase 164 drivers/firmware/efi/libstub/efi-stub-helper.c return membase; membase 97 drivers/gpio/gpio-mvebu.c void __iomem *membase; membase 288 drivers/gpio/gpio-mvebu.c return mvpwm->membase + PWM_BLINK_ON_DURATION_OFF; membase 293 drivers/gpio/gpio-mvebu.c return mvpwm->membase + PWM_BLINK_OFF_DURATION_OFF; membase 815 drivers/gpio/gpio-mvebu.c mvpwm->membase = devm_ioremap_resource(dev, res); membase 816 drivers/gpio/gpio-mvebu.c if (IS_ERR(mvpwm->membase)) membase 817 drivers/gpio/gpio-mvebu.c return PTR_ERR(mvpwm->membase); membase 18 drivers/gpio/gpio-sa1100.c void __iomem *membase; membase 41 drivers/gpio/gpio-sa1100.c return readl_relaxed(sa1100_gpio_chip(chip)->membase + R_GPLR) & membase 49 drivers/gpio/gpio-sa1100.c writel_relaxed(BIT(offset), sa1100_gpio_chip(chip)->membase + reg); membase 54 drivers/gpio/gpio-sa1100.c void __iomem *gpdr = sa1100_gpio_chip(chip)->membase + R_GPDR; membase 61 drivers/gpio/gpio-sa1100.c void __iomem *gpdr = sa1100_gpio_chip(chip)->membase + R_GPDR; membase 73 drivers/gpio/gpio-sa1100.c void __iomem *gpdr = sa1100_gpio_chip(chip)->membase + R_GPDR; membase 101 drivers/gpio/gpio-sa1100.c .membase = (void *)&GPLR, membase 112 drivers/gpio/gpio-sa1100.c void *base = sgc->membase; membase 154 drivers/gpio/gpio-sa1100.c writel_relaxed(BIT(d->hwirq), sgc->membase + R_GEDR); membase 230 drivers/gpio/gpio-sa1100.c void __iomem *gedr = sgc->membase + R_GEDR; membase 259 drivers/gpio/gpio-sa1100.c writel_relaxed(sgc->irqwake & sgc->irqrising, sgc->membase + R_GRER); membase 260 drivers/gpio/gpio-sa1100.c writel_relaxed(sgc->irqwake & sgc->irqfalling, sgc->membase + R_GFER); membase 265 drivers/gpio/gpio-sa1100.c writel_relaxed(readl_relaxed(sgc->membase + R_GEDR), membase 266 drivers/gpio/gpio-sa1100.c sgc->membase + R_GEDR); membase 312 drivers/gpio/gpio-sa1100.c writel_relaxed(0, sgc->membase + R_GFER); membase 313 drivers/gpio/gpio-sa1100.c writel_relaxed(0, sgc->membase + R_GRER); membase 314 drivers/gpio/gpio-sa1100.c writel_relaxed(-1, sgc->membase + R_GEDR); membase 35 drivers/gpio/gpio-timberdale.c void __iomem *membase; membase 49 drivers/gpio/gpio-timberdale.c reg = ioread32(tgpio->membase + offset); membase 56 drivers/gpio/gpio-timberdale.c iowrite32(reg, tgpio->membase + offset); membase 72 drivers/gpio/gpio-timberdale.c value = ioread32(tgpio->membase + TGPIOVAL); membase 109 drivers/gpio/gpio-timberdale.c iowrite32(tgpio->last_ier, tgpio->membase + TGPIO_IER); membase 121 drivers/gpio/gpio-timberdale.c iowrite32(tgpio->last_ier, tgpio->membase + TGPIO_IER); membase 137 drivers/gpio/gpio-timberdale.c ver = ioread32(tgpio->membase + TGPIO_VER); membase 141 drivers/gpio/gpio-timberdale.c lvr = ioread32(tgpio->membase + TGPIO_LVR); membase 142 drivers/gpio/gpio-timberdale.c flr = ioread32(tgpio->membase + TGPIO_FLR); membase 144 drivers/gpio/gpio-timberdale.c bflr = ioread32(tgpio->membase + TGPIO_BFLR); membase 172 drivers/gpio/gpio-timberdale.c iowrite32(lvr, tgpio->membase + TGPIO_LVR); membase 173 drivers/gpio/gpio-timberdale.c iowrite32(flr, tgpio->membase + TGPIO_FLR); membase 175 drivers/gpio/gpio-timberdale.c iowrite32(bflr, tgpio->membase + TGPIO_BFLR); membase 177 drivers/gpio/gpio-timberdale.c iowrite32(1 << offset, tgpio->membase + TGPIO_ICR); membase 192 drivers/gpio/gpio-timberdale.c ipr = ioread32(tgpio->membase + TGPIO_IPR); membase 193 drivers/gpio/gpio-timberdale.c iowrite32(ipr, tgpio->membase + TGPIO_ICR); membase 199 drivers/gpio/gpio-timberdale.c iowrite32(0, tgpio->membase + TGPIO_IER); membase 204 drivers/gpio/gpio-timberdale.c iowrite32(tgpio->last_ier, tgpio->membase + TGPIO_IER); membase 236 drivers/gpio/gpio-timberdale.c tgpio->membase = devm_platform_ioremap_resource(pdev, 0); membase 237 drivers/gpio/gpio-timberdale.c if (IS_ERR(tgpio->membase)) membase 238 drivers/gpio/gpio-timberdale.c return PTR_ERR(tgpio->membase); membase 262 drivers/gpio/gpio-timberdale.c iowrite32(0x0, tgpio->membase + TGPIO_IER); membase 117 drivers/i2c/busses/i2c-cadence.c #define cdns_i2c_readreg(offset) readl_relaxed(id->membase + offset) membase 118 drivers/i2c/busses/i2c-cadence.c #define cdns_i2c_writereg(val, offset) writel_relaxed(val, id->membase + offset) membase 144 drivers/i2c/busses/i2c-cadence.c void __iomem *membase; membase 905 drivers/i2c/busses/i2c-cadence.c id->membase = devm_ioremap_resource(&pdev->dev, r_mem); membase 906 drivers/i2c/busses/i2c-cadence.c if (IS_ERR(id->membase)) membase 907 drivers/i2c/busses/i2c-cadence.c return PTR_ERR(id->membase); membase 83 drivers/i2c/busses/i2c-uniphier-f.c void __iomem *membase; membase 111 drivers/i2c/busses/i2c-uniphier-f.c writel(*priv->buf++, priv->membase + UNIPHIER_FI2C_DTTX); membase 125 drivers/i2c/busses/i2c-uniphier-f.c *priv->buf++ = readl(priv->membase + UNIPHIER_FI2C_DTRX); membase 132 drivers/i2c/busses/i2c-uniphier-f.c writel(priv->enabled_irqs, priv->membase + UNIPHIER_FI2C_IE); membase 138 drivers/i2c/busses/i2c-uniphier-f.c writel(mask, priv->membase + UNIPHIER_FI2C_IC); membase 146 drivers/i2c/busses/i2c-uniphier-f.c priv->membase + UNIPHIER_FI2C_CR); membase 156 drivers/i2c/busses/i2c-uniphier-f.c irq_status = readl(priv->membase + UNIPHIER_FI2C_INT); membase 215 drivers/i2c/busses/i2c-uniphier-f.c priv->membase + UNIPHIER_FI2C_CR); membase 256 drivers/i2c/busses/i2c-uniphier-f.c writel(0, priv->membase + UNIPHIER_FI2C_TBC); membase 259 drivers/i2c/busses/i2c-uniphier-f.c priv->membase + UNIPHIER_FI2C_DTTX); membase 277 drivers/i2c/busses/i2c-uniphier-f.c writel(priv->len, priv->membase + UNIPHIER_FI2C_RBC); membase 286 drivers/i2c/busses/i2c-uniphier-f.c writel(0, priv->membase + UNIPHIER_FI2C_RBC); membase 295 drivers/i2c/busses/i2c-uniphier-f.c priv->membase + UNIPHIER_FI2C_DTTX); membase 300 drivers/i2c/busses/i2c-uniphier-f.c writel(UNIPHIER_FI2C_RST_RST, priv->membase + UNIPHIER_FI2C_RST); membase 306 drivers/i2c/busses/i2c-uniphier-f.c priv->membase + UNIPHIER_FI2C_BRST); membase 335 drivers/i2c/busses/i2c-uniphier-f.c priv->membase + UNIPHIER_FI2C_RST); /* reset TX/RX FIFO */ membase 351 drivers/i2c/busses/i2c-uniphier-f.c priv->membase + UNIPHIER_FI2C_CR); membase 372 drivers/i2c/busses/i2c-uniphier-f.c ret = readl_poll_timeout(priv->membase + UNIPHIER_FI2C_SR, membase 392 drivers/i2c/busses/i2c-uniphier-f.c if (readl(priv->membase + UNIPHIER_FI2C_SR) & UNIPHIER_FI2C_SR_DB) { membase 448 drivers/i2c/busses/i2c-uniphier-f.c return !!(readl(priv->membase + UNIPHIER_FI2C_BM) & membase 457 drivers/i2c/busses/i2c-uniphier-f.c priv->membase + UNIPHIER_FI2C_BRST); membase 464 drivers/i2c/busses/i2c-uniphier-f.c return !!(readl(priv->membase + UNIPHIER_FI2C_BM) & membase 486 drivers/i2c/busses/i2c-uniphier-f.c tmp = readl(priv->membase + UNIPHIER_FI2C_CR); membase 488 drivers/i2c/busses/i2c-uniphier-f.c writel(tmp, priv->membase + UNIPHIER_FI2C_CR); membase 496 drivers/i2c/busses/i2c-uniphier-f.c writel(cyc, priv->membase + UNIPHIER_FI2C_CYC); membase 502 drivers/i2c/busses/i2c-uniphier-f.c writel(cyc * 5 / 9, priv->membase + UNIPHIER_FI2C_LCTL); membase 507 drivers/i2c/busses/i2c-uniphier-f.c writel(cyc / 2, priv->membase + UNIPHIER_FI2C_SSUT); membase 512 drivers/i2c/busses/i2c-uniphier-f.c writel(cyc / 16, priv->membase + UNIPHIER_FI2C_DSUT); membase 529 drivers/i2c/busses/i2c-uniphier-f.c priv->membase = devm_platform_ioremap_resource(pdev, 0); membase 530 drivers/i2c/busses/i2c-uniphier-f.c if (IS_ERR(priv->membase)) membase 531 drivers/i2c/busses/i2c-uniphier-f.c return PTR_ERR(priv->membase); membase 44 drivers/i2c/busses/i2c-uniphier.c void __iomem *membase; membase 74 drivers/i2c/busses/i2c-uniphier.c writel(txdata, priv->membase + UNIPHIER_I2C_DTRM); membase 82 drivers/i2c/busses/i2c-uniphier.c rxdata = readl(priv->membase + UNIPHIER_I2C_DREC); membase 201 drivers/i2c/busses/i2c-uniphier.c if (!(readl(priv->membase + UNIPHIER_I2C_DREC) & membase 256 drivers/i2c/busses/i2c-uniphier.c writel(val, priv->membase + UNIPHIER_I2C_BRST); membase 263 drivers/i2c/busses/i2c-uniphier.c return !!(readl(priv->membase + UNIPHIER_I2C_BSTS) & membase 272 drivers/i2c/busses/i2c-uniphier.c priv->membase + UNIPHIER_I2C_BRST); membase 279 drivers/i2c/busses/i2c-uniphier.c return !!(readl(priv->membase + UNIPHIER_I2C_BSTS) & membase 308 drivers/i2c/busses/i2c-uniphier.c writel((cyc * 5 / 9 << 16) | cyc, priv->membase + UNIPHIER_I2C_CLK); membase 325 drivers/i2c/busses/i2c-uniphier.c priv->membase = devm_platform_ioremap_resource(pdev, 0); membase 326 drivers/i2c/busses/i2c-uniphier.c if (IS_ERR(priv->membase)) membase 327 drivers/i2c/busses/i2c-uniphier.c return PTR_ERR(priv->membase); membase 72 drivers/input/keyboard/locomokbd.c static inline void locomokbd_charge_all(unsigned long membase) membase 74 drivers/input/keyboard/locomokbd.c locomo_writel(0x00FF, membase + LOCOMO_KSC); membase 77 drivers/input/keyboard/locomokbd.c static inline void locomokbd_activate_all(unsigned long membase) membase 81 drivers/input/keyboard/locomokbd.c locomo_writel(0, membase + LOCOMO_KSC); membase 82 drivers/input/keyboard/locomokbd.c r = locomo_readl(membase + LOCOMO_KIC); membase 84 drivers/input/keyboard/locomokbd.c locomo_writel(r, membase + LOCOMO_KIC); membase 87 drivers/input/keyboard/locomokbd.c static inline void locomokbd_activate_col(unsigned long membase, int col) membase 94 drivers/input/keyboard/locomokbd.c locomo_writel(nbset, membase + LOCOMO_KSC); membase 97 drivers/input/keyboard/locomokbd.c static inline void locomokbd_reset_col(unsigned long membase, int col) membase 102 drivers/input/keyboard/locomokbd.c locomo_writel(nbset, membase + LOCOMO_KSC); membase 117 drivers/input/keyboard/locomokbd.c unsigned long membase = locomokbd->base; membase 121 drivers/input/keyboard/locomokbd.c locomokbd_charge_all(membase); membase 126 drivers/input/keyboard/locomokbd.c locomokbd_activate_col(membase, col); membase 129 drivers/input/keyboard/locomokbd.c rowd = ~locomo_readl(membase + LOCOMO_KIB); membase 159 drivers/input/keyboard/locomokbd.c locomokbd_reset_col(membase, col); membase 161 drivers/input/keyboard/locomokbd.c locomokbd_activate_all(membase); membase 1237 drivers/isdn/capi/kcapi.c cparams.membase = cdef.membase; membase 824 drivers/mfd/sm501.c uart_data->membase = sm->regs + offset; membase 41 drivers/misc/ibmasm/uart.c uart.port.membase = iomem_base; membase 232 drivers/net/ethernet/8390/mac8390.c static enum mac8390_access mac8390_testio(unsigned long membase) membase 238 drivers/net/ethernet/8390/mac8390.c nubus_writel(outdata, membase); membase 240 drivers/net/ethernet/8390/mac8390.c indata = nubus_readl(membase); membase 248 drivers/net/ethernet/8390/mac8390.c word_memcpy_tocard(membase, &outdata, 4); membase 250 drivers/net/ethernet/8390/mac8390.c word_memcpy_fromcard(&indata, membase, 4); membase 257 drivers/net/ethernet/8390/mac8390.c static int mac8390_memsize(unsigned long membase) membase 265 drivers/net/ethernet/8390/mac8390.c volatile unsigned short *m = (unsigned short *)(membase + (i * 0x1000)); membase 280 drivers/net/ethernet/8390/mac8390.c volatile unsigned short *p = (unsigned short *)(membase + (j * 0x1000)); membase 77 drivers/net/ethernet/allwinner/sun4i-emac.c void __iomem *membase; membase 99 drivers/net/ethernet/allwinner/sun4i-emac.c reg_val = readl(db->membase + EMAC_MAC_SUPP_REG); membase 103 drivers/net/ethernet/allwinner/sun4i-emac.c writel(reg_val, db->membase + EMAC_MAC_SUPP_REG); membase 112 drivers/net/ethernet/allwinner/sun4i-emac.c reg_val = readl(db->membase + EMAC_MAC_CTL1_REG); membase 116 drivers/net/ethernet/allwinner/sun4i-emac.c writel(reg_val, db->membase + EMAC_MAC_CTL1_REG); membase 194 drivers/net/ethernet/allwinner/sun4i-emac.c writel(0, db->membase + EMAC_CTL_REG); membase 196 drivers/net/ethernet/allwinner/sun4i-emac.c writel(EMAC_CTL_RESET, db->membase + EMAC_CTL_REG); membase 261 drivers/net/ethernet/allwinner/sun4i-emac.c reg_val = readl(db->membase + EMAC_TX_MODE_REG); membase 264 drivers/net/ethernet/allwinner/sun4i-emac.c db->membase + EMAC_TX_MODE_REG); membase 268 drivers/net/ethernet/allwinner/sun4i-emac.c reg_val = readl(db->membase + EMAC_MAC_CTL0_REG); membase 271 drivers/net/ethernet/allwinner/sun4i-emac.c db->membase + EMAC_MAC_CTL0_REG); membase 274 drivers/net/ethernet/allwinner/sun4i-emac.c reg_val = readl(db->membase + EMAC_MAC_CTL1_REG); membase 278 drivers/net/ethernet/allwinner/sun4i-emac.c writel(reg_val, db->membase + EMAC_MAC_CTL1_REG); membase 281 drivers/net/ethernet/allwinner/sun4i-emac.c writel(EMAC_MAC_IPGT_FULL_DUPLEX, db->membase + EMAC_MAC_IPGT_REG); membase 285 drivers/net/ethernet/allwinner/sun4i-emac.c db->membase + EMAC_MAC_IPGR_REG); membase 289 drivers/net/ethernet/allwinner/sun4i-emac.c db->membase + EMAC_MAC_CLRT_REG); membase 293 drivers/net/ethernet/allwinner/sun4i-emac.c db->membase + EMAC_MAC_MAXF_REG); membase 304 drivers/net/ethernet/allwinner/sun4i-emac.c reg_val = readl(db->membase + EMAC_RX_CTL_REG); membase 315 drivers/net/ethernet/allwinner/sun4i-emac.c db->membase + EMAC_RX_CTL_REG); membase 325 drivers/net/ethernet/allwinner/sun4i-emac.c reg_val = readl(db->membase + EMAC_RX_CTL_REG); membase 327 drivers/net/ethernet/allwinner/sun4i-emac.c writel(reg_val, db->membase + EMAC_RX_CTL_REG); membase 332 drivers/net/ethernet/allwinner/sun4i-emac.c reg_val = readl(db->membase + EMAC_MAC_CTL0_REG); membase 334 drivers/net/ethernet/allwinner/sun4i-emac.c writel(reg_val, db->membase + EMAC_MAC_CTL0_REG); membase 337 drivers/net/ethernet/allwinner/sun4i-emac.c reg_val = readl(db->membase + EMAC_MAC_MCFG_REG); membase 340 drivers/net/ethernet/allwinner/sun4i-emac.c writel(reg_val, db->membase + EMAC_MAC_MCFG_REG); membase 343 drivers/net/ethernet/allwinner/sun4i-emac.c writel(0x0, db->membase + EMAC_RX_FBC_REG); membase 346 drivers/net/ethernet/allwinner/sun4i-emac.c writel(0, db->membase + EMAC_INT_CTL_REG); membase 347 drivers/net/ethernet/allwinner/sun4i-emac.c reg_val = readl(db->membase + EMAC_INT_STA_REG); membase 348 drivers/net/ethernet/allwinner/sun4i-emac.c writel(reg_val, db->membase + EMAC_INT_STA_REG); membase 357 drivers/net/ethernet/allwinner/sun4i-emac.c dev_addr[2], db->membase + EMAC_MAC_A1_REG); membase 359 drivers/net/ethernet/allwinner/sun4i-emac.c dev_addr[5], db->membase + EMAC_MAC_A0_REG); membase 377 drivers/net/ethernet/allwinner/sun4i-emac.c dev_addr[2], db->membase + EMAC_MAC_A1_REG); membase 379 drivers/net/ethernet/allwinner/sun4i-emac.c dev_addr[5], db->membase + EMAC_MAC_A0_REG); membase 397 drivers/net/ethernet/allwinner/sun4i-emac.c reg_val = readl(db->membase + EMAC_CTL_REG); membase 399 drivers/net/ethernet/allwinner/sun4i-emac.c db->membase + EMAC_CTL_REG); membase 402 drivers/net/ethernet/allwinner/sun4i-emac.c reg_val = readl(db->membase + EMAC_INT_CTL_REG); membase 404 drivers/net/ethernet/allwinner/sun4i-emac.c writel(reg_val, db->membase + EMAC_INT_CTL_REG); membase 449 drivers/net/ethernet/allwinner/sun4i-emac.c writel(channel, db->membase + EMAC_TX_INS_REG); membase 451 drivers/net/ethernet/allwinner/sun4i-emac.c emac_outblk_32bit(db->membase + EMAC_TX_IO_DATA_REG, membase 459 drivers/net/ethernet/allwinner/sun4i-emac.c writel(skb->len, db->membase + EMAC_TX_PL0_REG); membase 461 drivers/net/ethernet/allwinner/sun4i-emac.c writel(readl(db->membase + EMAC_TX_CTL0_REG) | 1, membase 462 drivers/net/ethernet/allwinner/sun4i-emac.c db->membase + EMAC_TX_CTL0_REG); membase 468 drivers/net/ethernet/allwinner/sun4i-emac.c writel(skb->len, db->membase + EMAC_TX_PL1_REG); membase 470 drivers/net/ethernet/allwinner/sun4i-emac.c writel(readl(db->membase + EMAC_TX_CTL1_REG) | 1, membase 471 drivers/net/ethernet/allwinner/sun4i-emac.c db->membase + EMAC_TX_CTL1_REG); membase 527 drivers/net/ethernet/allwinner/sun4i-emac.c rxcount = readl(db->membase + EMAC_RX_FBC_REG); membase 543 drivers/net/ethernet/allwinner/sun4i-emac.c reg_val = readl(db->membase + EMAC_RX_CTL_REG); membase 545 drivers/net/ethernet/allwinner/sun4i-emac.c writel(reg_val, db->membase + EMAC_RX_CTL_REG); membase 550 drivers/net/ethernet/allwinner/sun4i-emac.c reg_val = readl(db->membase + EMAC_INT_CTL_REG); membase 552 drivers/net/ethernet/allwinner/sun4i-emac.c writel(reg_val, db->membase + EMAC_INT_CTL_REG); membase 555 drivers/net/ethernet/allwinner/sun4i-emac.c rxcount = readl(db->membase + EMAC_RX_FBC_REG); membase 560 drivers/net/ethernet/allwinner/sun4i-emac.c reg_val = readl(db->membase + EMAC_RX_IO_DATA_REG); membase 565 drivers/net/ethernet/allwinner/sun4i-emac.c reg_val = readl(db->membase + EMAC_CTL_REG); membase 567 drivers/net/ethernet/allwinner/sun4i-emac.c db->membase + EMAC_CTL_REG); membase 570 drivers/net/ethernet/allwinner/sun4i-emac.c reg_val = readl(db->membase + EMAC_RX_CTL_REG); membase 572 drivers/net/ethernet/allwinner/sun4i-emac.c db->membase + EMAC_RX_CTL_REG); membase 575 drivers/net/ethernet/allwinner/sun4i-emac.c reg_val = readl(db->membase + EMAC_RX_CTL_REG); membase 579 drivers/net/ethernet/allwinner/sun4i-emac.c reg_val = readl(db->membase + EMAC_CTL_REG); membase 581 drivers/net/ethernet/allwinner/sun4i-emac.c db->membase + EMAC_CTL_REG); membase 582 drivers/net/ethernet/allwinner/sun4i-emac.c reg_val = readl(db->membase + EMAC_INT_CTL_REG); membase 584 drivers/net/ethernet/allwinner/sun4i-emac.c writel(reg_val, db->membase + EMAC_INT_CTL_REG); membase 594 drivers/net/ethernet/allwinner/sun4i-emac.c rxhdr = readl(db->membase + EMAC_RX_IO_DATA_REG); membase 641 drivers/net/ethernet/allwinner/sun4i-emac.c emac_inblk_32bit(db->membase + EMAC_RX_IO_DATA_REG, membase 667 drivers/net/ethernet/allwinner/sun4i-emac.c writel(0, db->membase + EMAC_INT_CTL_REG); membase 671 drivers/net/ethernet/allwinner/sun4i-emac.c int_status = readl(db->membase + EMAC_INT_STA_REG); membase 673 drivers/net/ethernet/allwinner/sun4i-emac.c writel(int_status, db->membase + EMAC_INT_STA_REG); membase 694 drivers/net/ethernet/allwinner/sun4i-emac.c reg_val = readl(db->membase + EMAC_INT_CTL_REG); membase 696 drivers/net/ethernet/allwinner/sun4i-emac.c writel(reg_val, db->membase + EMAC_INT_CTL_REG); membase 752 drivers/net/ethernet/allwinner/sun4i-emac.c writel(0, db->membase + EMAC_INT_CTL_REG); membase 755 drivers/net/ethernet/allwinner/sun4i-emac.c reg_val = readl(db->membase + EMAC_INT_STA_REG); membase 756 drivers/net/ethernet/allwinner/sun4i-emac.c writel(reg_val, db->membase + EMAC_INT_STA_REG); membase 759 drivers/net/ethernet/allwinner/sun4i-emac.c reg_val = readl(db->membase + EMAC_CTL_REG); membase 761 drivers/net/ethernet/allwinner/sun4i-emac.c writel(reg_val, db->membase + EMAC_CTL_REG); membase 829 drivers/net/ethernet/allwinner/sun4i-emac.c db->membase = of_iomap(np, 0); membase 830 drivers/net/ethernet/allwinner/sun4i-emac.c if (!db->membase) { membase 837 drivers/net/ethernet/allwinner/sun4i-emac.c ndev->base_addr = (unsigned long)db->membase; membase 905 drivers/net/ethernet/allwinner/sun4i-emac.c ndev->name, db->membase, ndev->irq, ndev->dev_addr); membase 914 drivers/net/ethernet/allwinner/sun4i-emac.c iounmap(db->membase); membase 931 drivers/net/ethernet/allwinner/sun4i-emac.c iounmap(db->membase); membase 196 drivers/net/ethernet/ethoc.c void __iomem *membase; membase 313 drivers/net/ethernet/ethoc.c vma = dev->membase; membase 1099 drivers/net/ethernet/ethoc.c priv->membase = devm_ioremap_nocache(&pdev->dev, membase 1101 drivers/net/ethernet/ethoc.c if (!priv->membase) { membase 1108 drivers/net/ethernet/ethoc.c priv->membase = dmam_alloc_coherent(&pdev->dev, membase 1111 drivers/net/ethernet/ethoc.c if (!priv->membase) { membase 1295 drivers/net/ethernet/sfc/ef10.c void __iomem *membase; membase 1401 drivers/net/ethernet/sfc/ef10.c membase = ioremap_nocache(efx->membase_phys, uc_mem_map_size); membase 1402 drivers/net/ethernet/sfc/ef10.c if (!membase) { membase 1408 drivers/net/ethernet/sfc/ef10.c iounmap(efx->membase); membase 1409 drivers/net/ethernet/sfc/ef10.c efx->membase = membase; membase 1435 drivers/net/ethernet/sfc/ef10.c &efx->membase_phys, efx->membase, uc_mem_map_size, membase 1328 drivers/net/ethernet/sfc/efx.c efx->membase = ioremap_nocache(efx->membase_phys, mem_map_size); membase 1329 drivers/net/ethernet/sfc/efx.c if (!efx->membase) { membase 1339 drivers/net/ethernet/sfc/efx.c efx->membase); membase 1359 drivers/net/ethernet/sfc/efx.c if (efx->membase) { membase 1360 drivers/net/ethernet/sfc/efx.c iounmap(efx->membase); membase 1361 drivers/net/ethernet/sfc/efx.c efx->membase = NULL; membase 1268 drivers/net/ethernet/sfc/falcon/efx.c efx->membase = ioremap_nocache(efx->membase_phys, mem_map_size); membase 1269 drivers/net/ethernet/sfc/falcon/efx.c if (!efx->membase) { membase 1279 drivers/net/ethernet/sfc/falcon/efx.c efx->membase); membase 1299 drivers/net/ethernet/sfc/falcon/efx.c if (efx->membase) { membase 1300 drivers/net/ethernet/sfc/falcon/efx.c iounmap(efx->membase); membase 1301 drivers/net/ethernet/sfc/falcon/efx.c efx->membase = NULL; membase 87 drivers/net/ethernet/sfc/falcon/farch.c ef4_sram_writeq(efx, efx->membase + efx->type->buf_tbl_base, membase 70 drivers/net/ethernet/sfc/falcon/io.h __raw_writeq((__force u64)value, efx->membase + reg); membase 74 drivers/net/ethernet/sfc/falcon/io.h return (__force __le64)__raw_readq(efx->membase + reg); membase 81 drivers/net/ethernet/sfc/falcon/io.h __raw_writel((__force u32)value, efx->membase + reg); membase 85 drivers/net/ethernet/sfc/falcon/io.h return (__force __le32)__raw_readl(efx->membase + reg); membase 112 drivers/net/ethernet/sfc/falcon/io.h static inline void ef4_sram_writeq(struct ef4_nic *efx, void __iomem *membase, membase 124 drivers/net/ethernet/sfc/falcon/io.h __raw_writeq((__force u64)value->u64[0], membase + addr); membase 126 drivers/net/ethernet/sfc/falcon/io.h __raw_writel((__force u32)value->u32[0], membase + addr); membase 127 drivers/net/ethernet/sfc/falcon/io.h __raw_writel((__force u32)value->u32[1], membase + addr + 4); membase 163 drivers/net/ethernet/sfc/falcon/io.h static inline void ef4_sram_readq(struct ef4_nic *efx, void __iomem *membase, membase 171 drivers/net/ethernet/sfc/falcon/io.h value->u64[0] = (__force __le64)__raw_readq(membase + addr); membase 173 drivers/net/ethernet/sfc/falcon/io.h value->u32[0] = (__force __le32)__raw_readl(membase + addr); membase 174 drivers/net/ethernet/sfc/falcon/io.h value->u32[1] = (__force __le32)__raw_readl(membase + addr + 4); membase 779 drivers/net/ethernet/sfc/falcon/net_driver.h void __iomem *membase; membase 417 drivers/net/ethernet/sfc/falcon/nic.c efx->membase + table->offset, membase 89 drivers/net/ethernet/sfc/farch.c efx_sram_writeq(efx, efx->membase + efx->type->buf_tbl_base, membase 82 drivers/net/ethernet/sfc/io.h __raw_writeq((__force u64)value, efx->membase + reg); membase 86 drivers/net/ethernet/sfc/io.h return (__force __le64)__raw_readq(efx->membase + reg); membase 93 drivers/net/ethernet/sfc/io.h __raw_writel((__force u32)value, efx->membase + reg); membase 97 drivers/net/ethernet/sfc/io.h return (__force __le32)__raw_readl(efx->membase + reg); membase 124 drivers/net/ethernet/sfc/io.h static inline void efx_sram_writeq(struct efx_nic *efx, void __iomem *membase, membase 136 drivers/net/ethernet/sfc/io.h __raw_writeq((__force u64)value->u64[0], membase + addr); membase 138 drivers/net/ethernet/sfc/io.h __raw_writel((__force u32)value->u32[0], membase + addr); membase 139 drivers/net/ethernet/sfc/io.h __raw_writel((__force u32)value->u32[1], membase + addr + 4); membase 175 drivers/net/ethernet/sfc/io.h static inline void efx_sram_readq(struct efx_nic *efx, void __iomem *membase, membase 183 drivers/net/ethernet/sfc/io.h value->u64[0] = (__force __le64)__raw_readq(membase + addr); membase 185 drivers/net/ethernet/sfc/io.h value->u32[0] = (__force __le32)__raw_readl(membase + addr); membase 186 drivers/net/ethernet/sfc/io.h value->u32[1] = (__force __le32)__raw_readl(membase + addr + 4); membase 949 drivers/net/ethernet/sfc/net_driver.h void __iomem *membase; membase 424 drivers/net/ethernet/sfc/nic.c efx->membase + table->offset, membase 488 drivers/net/ethernet/sfc/siena_sriov.c efx_sram_writeq(efx, efx->membase + FR_BZ_BUF_FULL_TBL, membase 1093 drivers/net/ethernet/sgi/ioc3-eth.c .membase = (unsigned char __iomem *)uart, membase 25 drivers/net/phy/mdio-hisi-femac.c void __iomem *membase; membase 32 drivers/net/phy/mdio-hisi-femac.c return readl_poll_timeout(data->membase + MDIO_RWCTRL, membase 46 drivers/net/phy/mdio-hisi-femac.c data->membase + MDIO_RWCTRL); membase 52 drivers/net/phy/mdio-hisi-femac.c return readl(data->membase + MDIO_RO_DATA) & 0xFFFF; membase 67 drivers/net/phy/mdio-hisi-femac.c data->membase + MDIO_RWCTRL); membase 90 drivers/net/phy/mdio-hisi-femac.c data->membase = devm_platform_ioremap_resource(pdev, 0); membase 91 drivers/net/phy/mdio-hisi-femac.c if (IS_ERR(data->membase)) { membase 92 drivers/net/phy/mdio-hisi-femac.c ret = PTR_ERR(data->membase); membase 32 drivers/net/phy/mdio-sun4i.c void __iomem *membase; membase 43 drivers/net/phy/mdio-sun4i.c writel((mii_id << 8) | regnum, data->membase + EMAC_MAC_MADR_REG); membase 45 drivers/net/phy/mdio-sun4i.c writel(0x1, data->membase + EMAC_MAC_MCMD_REG); membase 49 drivers/net/phy/mdio-sun4i.c while (readl(data->membase + EMAC_MAC_MIND_REG) & 0x1) { membase 56 drivers/net/phy/mdio-sun4i.c writel(0x0, data->membase + EMAC_MAC_MCMD_REG); membase 58 drivers/net/phy/mdio-sun4i.c value = readl(data->membase + EMAC_MAC_MRDD_REG); membase 70 drivers/net/phy/mdio-sun4i.c writel((mii_id << 8) | regnum, data->membase + EMAC_MAC_MADR_REG); membase 72 drivers/net/phy/mdio-sun4i.c writel(0x1, data->membase + EMAC_MAC_MCMD_REG); membase 76 drivers/net/phy/mdio-sun4i.c while (readl(data->membase + EMAC_MAC_MIND_REG) & 0x1) { membase 83 drivers/net/phy/mdio-sun4i.c writel(0x0, data->membase + EMAC_MAC_MCMD_REG); membase 85 drivers/net/phy/mdio-sun4i.c writel(value, data->membase + EMAC_MAC_MWTD_REG); membase 108 drivers/net/phy/mdio-sun4i.c data->membase = devm_platform_ioremap_resource(pdev, 0); membase 109 drivers/net/phy/mdio-sun4i.c if (IS_ERR(data->membase)) { membase 110 drivers/net/phy/mdio-sun4i.c ret = PTR_ERR(data->membase); membase 406 drivers/pci/controller/pci-mvebu.c if (conf->memlimit < conf->membase || membase 419 drivers/pci/controller/pci-mvebu.c desired.base = ((conf->membase & 0xFFF0) << 16); membase 26 drivers/pci/pci-bridge-emul.h u16 membase; membase 246 drivers/pinctrl/pinctrl-falcon.c void __iomem *mem = info->membase[PORT(pin)]; membase 283 drivers/pinctrl/pinctrl-falcon.c void __iomem *mem = info->membase[PORT(pin)]; membase 331 drivers/pinctrl/pinctrl-falcon.c pad_r32(info->membase[port], LTQ_PADC_MUX(PORT_PIN(offset)))); membase 383 drivers/pinctrl/pinctrl-falcon.c if ((port >= PORTS) || (!info->membase[port])) membase 386 drivers/pinctrl/pinctrl-falcon.c pad_w32(info->membase[port], mux, membase 413 drivers/pinctrl/pinctrl-falcon.c if ((id >= PORTS) || (!falcon_info.membase[id])) membase 416 drivers/pinctrl/pinctrl-falcon.c avail = pad_r32(falcon_info.membase[id], LTQ_PADC_AVAIL); membase 457 drivers/pinctrl/pinctrl-falcon.c falcon_info.membase[*bank] = devm_ioremap_resource(&pdev->dev, membase 459 drivers/pinctrl/pinctrl-falcon.c if (IS_ERR(falcon_info.membase[*bank])) { membase 461 drivers/pinctrl/pinctrl-falcon.c return PTR_ERR(falcon_info.membase[*bank]); membase 464 drivers/pinctrl/pinctrl-falcon.c avail = pad_r32(falcon_info.membase[*bank], membase 67 drivers/pinctrl/pinctrl-lantiq.h void __iomem *membase[5]; membase 1349 drivers/pinctrl/pinctrl-xway.c !gpio_getbit(info->membase[0], reg, PORT_PIN(pin))); membase 1357 drivers/pinctrl/pinctrl-xway.c if (!gpio_getbit(info->membase[0], reg, PORT_PIN(pin))) { membase 1366 drivers/pinctrl/pinctrl-xway.c if (!gpio_getbit(info->membase[0], reg, PORT_PIN(pin))) membase 1375 drivers/pinctrl/pinctrl-xway.c gpio_getbit(info->membase[0], reg, PORT_PIN(pin))); membase 1407 drivers/pinctrl/pinctrl-xway.c gpio_setbit(info->membase[0], membase 1411 drivers/pinctrl/pinctrl-xway.c gpio_clearbit(info->membase[0], membase 1422 drivers/pinctrl/pinctrl-xway.c gpio_clearbit(info->membase[0], membase 1427 drivers/pinctrl/pinctrl-xway.c gpio_setbit(info->membase[0], reg, PORT_PIN(pin)); membase 1434 drivers/pinctrl/pinctrl-xway.c gpio_clearbit(info->membase[0], membase 1438 drivers/pinctrl/pinctrl-xway.c gpio_setbit(info->membase[0], membase 1449 drivers/pinctrl/pinctrl-xway.c gpio_clearbit(info->membase[0], membase 1453 drivers/pinctrl/pinctrl-xway.c gpio_setbit(info->membase[0], membase 1507 drivers/pinctrl/pinctrl-xway.c gpio_setbit(info->membase[0], GPIO_ALT0(pin), PORT_PIN(pin)); membase 1509 drivers/pinctrl/pinctrl-xway.c gpio_clearbit(info->membase[0], GPIO_ALT0(pin), PORT_PIN(pin)); membase 1512 drivers/pinctrl/pinctrl-xway.c gpio_setbit(info->membase[0], alt1_reg, PORT_PIN(pin)); membase 1514 drivers/pinctrl/pinctrl-xway.c gpio_clearbit(info->membase[0], alt1_reg, PORT_PIN(pin)); membase 1538 drivers/pinctrl/pinctrl-xway.c gpio_setbit(info->membase[0], GPIO_OUT(pin), PORT_PIN(pin)); membase 1540 drivers/pinctrl/pinctrl-xway.c gpio_clearbit(info->membase[0], GPIO_OUT(pin), PORT_PIN(pin)); membase 1547 drivers/pinctrl/pinctrl-xway.c return !!gpio_getbit(info->membase[0], GPIO_IN(pin), PORT_PIN(pin)); membase 1554 drivers/pinctrl/pinctrl-xway.c gpio_clearbit(info->membase[0], GPIO_DIR(pin), PORT_PIN(pin)); membase 1564 drivers/pinctrl/pinctrl-xway.c gpio_setbit(info->membase[0], GPIO3_OD, PORT_PIN(pin)); membase 1566 drivers/pinctrl/pinctrl-xway.c gpio_setbit(info->membase[0], GPIO_OD(pin), PORT_PIN(pin)); membase 1567 drivers/pinctrl/pinctrl-xway.c gpio_setbit(info->membase[0], GPIO_DIR(pin), PORT_PIN(pin)); membase 1713 drivers/pinctrl/pinctrl-xway.c xway_info.membase[0] = devm_ioremap_resource(&pdev->dev, res); membase 1714 drivers/pinctrl/pinctrl-xway.c if (IS_ERR(xway_info.membase[0])) membase 1715 drivers/pinctrl/pinctrl-xway.c return PTR_ERR(xway_info.membase[0]); membase 486 drivers/pinctrl/sunxi/pinctrl-sunxi.c val = (readl(pctl->membase + offset) >> shift) & mask; membase 586 drivers/pinctrl/sunxi/pinctrl-sunxi.c reg = readl(pctl->membase + offset); membase 588 drivers/pinctrl/sunxi/pinctrl-sunxi.c writel(reg | val << shift, pctl->membase + offset); membase 652 drivers/pinctrl/sunxi/pinctrl-sunxi.c reg = readl(pctl->membase + sunxi_grp_config_reg(pin)); membase 654 drivers/pinctrl/sunxi/pinctrl-sunxi.c writel(reg | val, pctl->membase + sunxi_grp_config_reg(pin)); membase 660 drivers/pinctrl/sunxi/pinctrl-sunxi.c reg = readl(pctl->membase + PIO_POW_MOD_SEL_REG); membase 662 drivers/pinctrl/sunxi/pinctrl-sunxi.c writel(reg | val << bank, pctl->membase + PIO_POW_MOD_SEL_REG); membase 709 drivers/pinctrl/sunxi/pinctrl-sunxi.c val = readl(pctl->membase + sunxi_mux_reg(pin)); membase 712 drivers/pinctrl/sunxi/pinctrl-sunxi.c pctl->membase + sunxi_mux_reg(pin)); membase 853 drivers/pinctrl/sunxi/pinctrl-sunxi.c val = (readl(pctl->membase + reg) >> index) & DATA_PINS_MASK; membase 872 drivers/pinctrl/sunxi/pinctrl-sunxi.c regval = readl(pctl->membase + reg); membase 879 drivers/pinctrl/sunxi/pinctrl-sunxi.c writel(regval, pctl->membase + reg); membase 1002 drivers/pinctrl/sunxi/pinctrl-sunxi.c regval = readl(pctl->membase + reg); membase 1004 drivers/pinctrl/sunxi/pinctrl-sunxi.c writel(regval | (mode << index), pctl->membase + reg); membase 1018 drivers/pinctrl/sunxi/pinctrl-sunxi.c writel(1 << status_idx, pctl->membase + status_reg); membase 1032 drivers/pinctrl/sunxi/pinctrl-sunxi.c val = readl(pctl->membase + reg); membase 1033 drivers/pinctrl/sunxi/pinctrl-sunxi.c writel(val & ~(1 << idx), pctl->membase + reg); membase 1049 drivers/pinctrl/sunxi/pinctrl-sunxi.c val = readl(pctl->membase + reg); membase 1050 drivers/pinctrl/sunxi/pinctrl-sunxi.c writel(val | (1 << idx), pctl->membase + reg); membase 1134 drivers/pinctrl/sunxi/pinctrl-sunxi.c val = readl(pctl->membase + reg); membase 1372 drivers/pinctrl/sunxi/pinctrl-sunxi.c pctl->membase + membase 1400 drivers/pinctrl/sunxi/pinctrl-sunxi.c pctl->membase = devm_ioremap_resource(&pdev->dev, res); membase 1401 drivers/pinctrl/sunxi/pinctrl-sunxi.c if (IS_ERR(pctl->membase)) membase 1402 drivers/pinctrl/sunxi/pinctrl-sunxi.c return PTR_ERR(pctl->membase); membase 1550 drivers/pinctrl/sunxi/pinctrl-sunxi.c writel(0, pctl->membase + membase 1553 drivers/pinctrl/sunxi/pinctrl-sunxi.c pctl->membase + membase 158 drivers/pinctrl/sunxi/pinctrl-sunxi.h void __iomem *membase; membase 43 drivers/reset/reset-simple.c reg = readl(data->membase + (bank * reg_width)); membase 48 drivers/reset/reset-simple.c writel(reg, data->membase + (bank * reg_width)); membase 76 drivers/reset/reset-simple.c reg = readl(data->membase + (bank * reg_width)); membase 141 drivers/reset/reset-simple.c void __iomem *membase; membase 152 drivers/reset/reset-simple.c membase = devm_ioremap_resource(dev, res); membase 153 drivers/reset/reset-simple.c if (IS_ERR(membase)) membase 154 drivers/reset/reset-simple.c return PTR_ERR(membase); membase 157 drivers/reset/reset-simple.c data->membase = membase; membase 171 drivers/reset/reset-simple.c data->membase += reg_offset; membase 33 drivers/reset/reset-simple.h void __iomem *membase; membase 45 drivers/reset/reset-socfpga.c data->membase = ioremap(res.start, size); membase 46 drivers/reset/reset-socfpga.c if (!data->membase) { membase 53 drivers/reset/reset-socfpga.c data->membase += reg_offset; membase 18 drivers/reset/reset-stm32mp1.c void __iomem *membase; membase 36 drivers/reset/reset-stm32mp1.c addr = data->membase + (bank * reg_width); membase 66 drivers/reset/reset-stm32mp1.c reg = readl(data->membase + (bank * reg_width)); membase 86 drivers/reset/reset-stm32mp1.c void __iomem *membase; membase 94 drivers/reset/reset-stm32mp1.c membase = devm_ioremap_resource(dev, res); membase 95 drivers/reset/reset-stm32mp1.c if (IS_ERR(membase)) membase 96 drivers/reset/reset-stm32mp1.c return PTR_ERR(membase); membase 98 drivers/reset/reset-stm32mp1.c data->membase = membase; membase 45 drivers/reset/reset-sunxi.c data->membase = ioremap(res.start, size); membase 46 drivers/reset/reset-sunxi.c if (!data->membase) { membase 52 drivers/reset/reset-uniphier-glue.c priv->rdata.membase = devm_ioremap_resource(dev, res); membase 53 drivers/reset/reset-uniphier-glue.c if (IS_ERR(priv->rdata.membase)) membase 54 drivers/reset/reset-uniphier-glue.c return PTR_ERR(priv->rdata.membase); membase 416 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->io_mem[logicalBar].membase = membase 421 drivers/scsi/pm8001/pm8001_init.c ioremap(pm8001_ha->io_mem[logicalBar].membase, membase 428 drivers/scsi/pm8001/pm8001_init.c (u64)pm8001_ha->io_mem[logicalBar].membase, membase 433 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->io_mem[logicalBar].membase = 0; membase 476 drivers/scsi/pm8001/pm8001_sas.h u64 membase; membase 27 drivers/spi/spi-sh-sci.c void __iomem *membase; membase 33 drivers/spi/spi-sh-sci.c #define SCSPTR(sp) (sp->membase + 0x1c) membase 154 drivers/spi/spi-sh-sci.c sp->membase = ioremap(r->start, resource_size(r)); membase 155 drivers/spi/spi-sh-sci.c if (!sp->membase) { membase 167 drivers/spi/spi-sh-sci.c iounmap(sp->membase); membase 180 drivers/spi/spi-sh-sci.c iounmap(sp->membase); membase 79 drivers/spi/spi-txx9.c void __iomem *membase; membase 88 drivers/spi/spi-txx9.c return __raw_readl(c->membase + reg); membase 92 drivers/spi/spi-txx9.c __raw_writel(val, c->membase + reg); membase 359 drivers/spi/spi-txx9.c c->membase = devm_ioremap_resource(&dev->dev, res); membase 360 drivers/spi/spi-txx9.c if (IS_ERR(c->membase)) membase 419 drivers/staging/comedi/drivers/ii_pci20kc.c unsigned int membase; membase 424 drivers/staging/comedi/drivers/ii_pci20kc.c membase = it->options[0]; membase 425 drivers/staging/comedi/drivers/ii_pci20kc.c if (!membase || (membase & ~(0x100000 - II20K_SIZE))) { membase 432 drivers/staging/comedi/drivers/ii_pci20kc.c if (!request_mem_region(membase, II20K_SIZE, dev->board_name)) { membase 434 drivers/staging/comedi/drivers/ii_pci20kc.c dev->board_name, membase, II20K_SIZE); membase 437 drivers/staging/comedi/drivers/ii_pci20kc.c dev->iobase = membase; /* actually, a memory address */ membase 439 drivers/staging/comedi/drivers/ii_pci20kc.c dev->mmio = ioremap(membase, II20K_SIZE); membase 83 drivers/staging/isdn/avm/avmcard.h unsigned long membase; membase 874 drivers/staging/isdn/avm/b1dma.c seq_printf(m, "%-16s 0x%lx\n", "membase", card->membase); membase 175 drivers/staging/isdn/avm/b1pci.c cinfo->card ? cinfo->card->membase : 0, membase 207 drivers/staging/isdn/avm/b1pci.c card->membase = p->membase; membase 217 drivers/staging/isdn/avm/b1pci.c card->mbase = ioremap(card->membase, 64); membase 220 drivers/staging/isdn/avm/b1pci.c card->membase); membase 265 drivers/staging/isdn/avm/b1pci.c card->port, card->irq, card->membase, card->revision); membase 318 drivers/staging/isdn/avm/b1pci.c param.membase = pci_resource_start(pdev, 0); membase 322 drivers/staging/isdn/avm/b1pci.c param.port, param.irq, param.membase); membase 330 drivers/staging/isdn/avm/b1pci.c param.port, param.irq, param.membase); membase 333 drivers/staging/isdn/avm/b1pci.c param.membase = 0; membase 1063 drivers/staging/isdn/avm/c4.c cinfo->card ? cinfo->card->membase : 0 membase 1079 drivers/staging/isdn/avm/c4.c seq_printf(m, "%-16s 0x%lx\n", "membase", card->membase); membase 1156 drivers/staging/isdn/avm/c4.c card->membase = p->membase; membase 1166 drivers/staging/isdn/avm/c4.c card->mbase = ioremap(card->membase, 128); membase 1169 drivers/staging/isdn/avm/c4.c card->membase); membase 1219 drivers/staging/isdn/avm/c4.c card->membase); membase 1253 drivers/staging/isdn/avm/c4.c param.membase = pci_resource_start(dev, 0); membase 1256 drivers/staging/isdn/avm/c4.c nr, param.port, param.irq, param.membase); membase 1261 drivers/staging/isdn/avm/c4.c nr, param.port, param.irq, param.membase); membase 73 drivers/staging/isdn/avm/t1pci.c card->membase = p->membase; membase 83 drivers/staging/isdn/avm/t1pci.c card->mbase = ioremap(card->membase, 64); membase 86 drivers/staging/isdn/avm/t1pci.c card->membase); membase 134 drivers/staging/isdn/avm/t1pci.c card->port, card->irq, card->membase); membase 183 drivers/staging/isdn/avm/t1pci.c cinfo->card ? cinfo->card->membase : 0 membase 203 drivers/staging/isdn/avm/t1pci.c param.membase = pci_resource_start(dev, 0); membase 206 drivers/staging/isdn/avm/t1pci.c param.port, param.irq, param.membase); membase 211 drivers/staging/isdn/avm/t1pci.c param.port, param.irq, param.membase); membase 421 drivers/staging/isdn/hysdn/boardergo.c card->memend = card->membase + ERG_DPRAM_PAGE_SIZE - 1; membase 422 drivers/staging/isdn/hysdn/boardergo.c if (!(card->dpram = ioremap(card->membase, ERG_DPRAM_PAGE_SIZE))) { membase 151 drivers/staging/isdn/hysdn/hysdn_defs.h unsigned long membase; /* DPRAM memory base */ membase 81 drivers/staging/isdn/hysdn/hysdn_init.c card->membase = pci_resource_start(akt_pcidev, PCI_REG_MEMORY_BASE); membase 281 drivers/staging/isdn/hysdn/hysdn_procconf.c card->membase, membase 172 drivers/staging/wlan-ng/p80211netdev.h unsigned int membase; membase 441 drivers/tty/goldfish.c __raw_writel(ch, port->membase); membase 454 drivers/tty/goldfish.c if (!device->port.membase) membase 71 drivers/tty/serial/8250/8250_acorn.c uart.port.membase = info->vaddr + type->offset[i]; membase 330 drivers/tty/serial/8250/8250_aspeed_vuart.c port.port.membase = vuart->regs; membase 69 drivers/tty/serial/8250/8250_bcm2835aux.c data->uart.port.membase = devm_ioremap_resource(&pdev->dev, res); membase 70 drivers/tty/serial/8250/8250_bcm2835aux.c ret = PTR_ERR_OR_ZERO(data->uart.port.membase); membase 547 drivers/tty/serial/8250/8250_core.c port->membase = old_serial_port[i].iomem_base; membase 716 drivers/tty/serial/8250/8250_core.c p->membase = port->membase; membase 809 drivers/tty/serial/8250/8250_core.c uart.port.membase = p->membase; membase 991 drivers/tty/serial/8250/8250_core.c uart->port.membase = up->port.membase; membase 80 drivers/tty/serial/8250/8250_dw.c void __iomem *offset = p->membase + (UART_LCR << p->regshift); membase 118 drivers/tty/serial/8250/8250_dw.c lsr = readb (p->membase + (UART_LSR << p->regshift)); membase 139 drivers/tty/serial/8250/8250_dw.c writeb(value, p->membase + (offset << p->regshift)); membase 150 drivers/tty/serial/8250/8250_dw.c writeb(value, p->membase + (offset << p->regshift)); membase 158 drivers/tty/serial/8250/8250_dw.c unsigned int value = readb(p->membase + (offset << p->regshift)); membase 168 drivers/tty/serial/8250/8250_dw.c value = (u8)__raw_readq(p->membase + (offset << p->regshift)); membase 178 drivers/tty/serial/8250/8250_dw.c __raw_writeq(value, p->membase + (offset << p->regshift)); membase 180 drivers/tty/serial/8250/8250_dw.c __raw_readq(p->membase + (UART_LCR << p->regshift)); membase 191 drivers/tty/serial/8250/8250_dw.c writel(value, p->membase + (offset << p->regshift)); membase 199 drivers/tty/serial/8250/8250_dw.c unsigned int value = readl(p->membase + (offset << p->regshift)); membase 208 drivers/tty/serial/8250/8250_dw.c iowrite32be(value, p->membase + (offset << p->regshift)); membase 216 drivers/tty/serial/8250/8250_dw.c unsigned int value = ioread32be(p->membase + (offset << p->regshift)); membase 419 drivers/tty/serial/8250/8250_dw.c p->membase = devm_ioremap(dev, regs->start, resource_size(regs)); membase 420 drivers/tty/serial/8250/8250_dw.c if (!p->membase) membase 38 drivers/tty/serial/8250/8250_dwlib.c return ioread32be(p->membase + offset); membase 39 drivers/tty/serial/8250/8250_dwlib.c return readl(p->membase + offset); membase 45 drivers/tty/serial/8250/8250_dwlib.c iowrite32be(reg, p->membase + offset); membase 47 drivers/tty/serial/8250/8250_dwlib.c writel(reg, p->membase + offset); membase 44 drivers/tty/serial/8250/8250_early.c return readb(port->membase + offset); membase 46 drivers/tty/serial/8250/8250_early.c return readw(port->membase + offset); membase 48 drivers/tty/serial/8250/8250_early.c return readl(port->membase + offset); membase 50 drivers/tty/serial/8250/8250_early.c return ioread32be(port->membase + offset); membase 67 drivers/tty/serial/8250/8250_early.c writeb(value, port->membase + offset); membase 70 drivers/tty/serial/8250/8250_early.c writew(value, port->membase + offset); membase 73 drivers/tty/serial/8250/8250_early.c writel(value, port->membase + offset); membase 76 drivers/tty/serial/8250/8250_early.c iowrite32be(value, port->membase + offset); membase 138 drivers/tty/serial/8250/8250_early.c if (!(device->port.membase || device->port.iobase)) membase 168 drivers/tty/serial/8250/8250_early.c if (!(device->port.membase || device->port.iobase)) membase 32 drivers/tty/serial/8250/8250_em.c writeb(value, p->membase); membase 38 drivers/tty/serial/8250/8250_em.c writel(value, p->membase + ((offset + 1) << 2)); membase 45 drivers/tty/serial/8250/8250_em.c writel(value, p->membase + (offset << 2)); membase 53 drivers/tty/serial/8250/8250_em.c return readb(p->membase); membase 58 drivers/tty/serial/8250/8250_em.c return readl(p->membase + ((offset + 1) << 2)); membase 63 drivers/tty/serial/8250/8250_em.c return readl(p->membase + (offset << 2)); membase 207 drivers/tty/serial/8250/8250_exar.c port->port.membase = priv->virt + offset; membase 217 drivers/tty/serial/8250/8250_exar.c status = readb(port->port.membase + UART_EXAR_DVID); membase 248 drivers/tty/serial/8250/8250_exar.c p = port->port.membase; membase 368 drivers/tty/serial/8250/8250_exar.c u8 __iomem *p = port->membase; membase 396 drivers/tty/serial/8250/8250_exar.c u8 __iomem *p = port->membase; membase 434 drivers/tty/serial/8250/8250_exar.c u8 __iomem *p = port->port.membase; membase 498 drivers/tty/serial/8250/8250_exar.c p = port->port.membase; membase 58 drivers/tty/serial/8250/8250_gsc.c uart.port.membase = ioremap_nocache(address, 16); membase 59 drivers/tty/serial/8250/8250_gsc.c if (!uart.port.membase) { membase 72 drivers/tty/serial/8250/8250_gsc.c iounmap(uart.port.membase); membase 118 drivers/tty/serial/8250/8250_hp300.c port.membase = (char *)(port.mapbase + DIO_VIRADDRBASE); membase 135 drivers/tty/serial/8250/8250_hp300.c port.membase = (char *)(port.mapbase + DIO_VIRADDRBASE); membase 177 drivers/tty/serial/8250/8250_hp300.c uart.port.membase = (char *)(uart.port.mapbase + DIO_VIRADDRBASE); membase 259 drivers/tty/serial/8250/8250_hp300.c uart.port.membase = (char *)(base + DIO_VIRADDRBASE); membase 47 drivers/tty/serial/8250/8250_ingenic.c return readl(port->membase + (offset << 2)); membase 52 drivers/tty/serial/8250/8250_ingenic.c writel(value, port->membase + (offset << 2)); membase 97 drivers/tty/serial/8250/8250_ingenic.c if (!dev->port.membase) membase 182 drivers/tty/serial/8250/8250_ingenic.c writeb(value, p->membase + (offset << p->regshift)); membase 189 drivers/tty/serial/8250/8250_ingenic.c value = readb(p->membase + (offset << p->regshift)); membase 252 drivers/tty/serial/8250/8250_ingenic.c uart.port.membase = devm_ioremap(&pdev->dev, regs->start, membase 254 drivers/tty/serial/8250/8250_ingenic.c if (!uart.port.membase) membase 98 drivers/tty/serial/8250/8250_lpc18xx.c writel(value, p->membase + offset); membase 120 drivers/tty/serial/8250/8250_lpc18xx.c uart.port.membase = devm_ioremap(&pdev->dev, res->start, membase 122 drivers/tty/serial/8250/8250_lpc18xx.c if (!uart.port.membase) membase 99 drivers/tty/serial/8250/8250_lpss.c writel(reg, p->membase + BYT_PRV_CLK); membase 101 drivers/tty/serial/8250/8250_lpss.c writel(reg, p->membase + BYT_PRV_CLK); membase 154 drivers/tty/serial/8250/8250_lpss.c writel(BYT_TX_OVF_INT_MASK, port->membase + BYT_TX_OVF_INT); membase 314 drivers/tty/serial/8250/8250_lpss.c uart.port.membase = pcim_iomap(pdev, 0, 0); membase 315 drivers/tty/serial/8250/8250_lpss.c if (!uart.port.membase) membase 55 drivers/tty/serial/8250/8250_men_mcb.c void __iomem *membase) membase 61 drivers/tty/serial/8250/8250_men_mcb.c return readb(membase) >> 4; membase 77 drivers/tty/serial/8250/8250_men_mcb.c void __iomem *membase; membase 82 drivers/tty/serial/8250/8250_men_mcb.c membase = devm_ioremap_resource(&mdev->dev, mem); membase 83 drivers/tty/serial/8250/8250_men_mcb.c if (IS_ERR(membase)) membase 84 drivers/tty/serial/8250/8250_men_mcb.c return PTR_ERR_OR_ZERO(membase); membase 86 drivers/tty/serial/8250/8250_men_mcb.c num_ports = get_num_ports(mdev, membase); membase 116 drivers/tty/serial/8250/8250_men_mcb.c data[i].uart.port.membase = membase; membase 142 drivers/tty/serial/8250/8250_men_mcb.c num_ports = get_num_ports(mdev, data[0].uart.port.membase); membase 175 drivers/tty/serial/8250/8250_mid.c chip->regs = p->membase; membase 228 drivers/tty/serial/8250/8250_mid.c writel(ps, p->membase + INTEL_MID_UART_PS); /* set PS */ membase 229 drivers/tty/serial/8250/8250_mid.c writel(mul, p->membase + INTEL_MID_UART_MUL); /* set MUL */ membase 230 drivers/tty/serial/8250/8250_mid.c writel(div, p->membase + INTEL_MID_UART_DIV); membase 311 drivers/tty/serial/8250/8250_mid.c uart.port.membase = pcim_iomap(pdev, bar, 0); membase 312 drivers/tty/serial/8250/8250_mid.c if (!uart.port.membase) membase 495 drivers/tty/serial/8250/8250_mtk.c uart.port.membase = devm_ioremap(&pdev->dev, regs->start, membase 497 drivers/tty/serial/8250/8250_mtk.c if (!uart.port.membase) membase 531 drivers/tty/serial/8250/8250_mtk.c writel(0x0, uart.port.membase + membase 632 drivers/tty/serial/8250/8250_mtk.c if (!device->port.membase) membase 133 drivers/tty/serial/8250/8250_omap.c return readl(up->port.membase + (reg << up->port.regshift)); membase 1138 drivers/tty/serial/8250/8250_omap.c void __iomem *membase; membase 1150 drivers/tty/serial/8250/8250_omap.c membase = devm_ioremap_nocache(&pdev->dev, regs->start, membase 1152 drivers/tty/serial/8250/8250_omap.c if (!membase) membase 1158 drivers/tty/serial/8250/8250_omap.c up.port.membase = membase; membase 102 drivers/tty/serial/8250/8250_pci.c port->port.membase = pcim_iomap_table(dev)[bar] + offset; membase 108 drivers/tty/serial/8250/8250_pci.c port->port.membase = NULL; membase 1620 drivers/tty/serial/8250/8250_pci.c writeb(value, p->membase + offset); membase 1621 drivers/tty/serial/8250/8250_pci.c readb(p->membase + UART_SCR); /* Dummy read for flush pcie tx queue */ membase 359 drivers/tty/serial/8250/8250_port.c return __raw_readl(p->membase + (offset << p->regshift)); membase 369 drivers/tty/serial/8250/8250_port.c __raw_writel(value, p->membase + (offset << p->regshift)); membase 375 drivers/tty/serial/8250/8250_port.c return __raw_readl(up->port.membase + 0x28); membase 380 drivers/tty/serial/8250/8250_port.c __raw_writel(value, up->port.membase + 0x28); membase 402 drivers/tty/serial/8250/8250_port.c return readb(p->membase + offset); membase 408 drivers/tty/serial/8250/8250_port.c writeb(value, p->membase + offset); membase 414 drivers/tty/serial/8250/8250_port.c writew(value, p->membase + offset); membase 420 drivers/tty/serial/8250/8250_port.c return readw(p->membase + offset); membase 426 drivers/tty/serial/8250/8250_port.c writel(value, p->membase + offset); membase 432 drivers/tty/serial/8250/8250_port.c return readl(p->membase + offset); membase 438 drivers/tty/serial/8250/8250_port.c iowrite32be(value, p->membase + offset); membase 444 drivers/tty/serial/8250/8250_port.c return ioread32be(p->membase + offset); membase 1167 drivers/tty/serial/8250/8250_port.c if (!port->iobase && !port->mapbase && !port->membase) membase 1171 drivers/tty/serial/8250/8250_port.c port->name, port->iobase, port->membase); membase 2787 drivers/tty/serial/8250/8250_port.c port->membase = ioremap_nocache(port->mapbase, size); membase 2788 drivers/tty/serial/8250/8250_port.c if (!port->membase) { membase 2820 drivers/tty/serial/8250/8250_port.c iounmap(port->membase); membase 2821 drivers/tty/serial/8250/8250_port.c port->membase = NULL; membase 3224 drivers/tty/serial/8250/8250_port.c if (!port->iobase && !port->membase) membase 178 drivers/tty/serial/8250/8250_pxa.c if (!(device->port.membase || device->port.iobase)) membase 43 drivers/tty/serial/8250/8250_uniphier.c if (!device->port.membase) membase 92 drivers/tty/serial/8250/8250_uniphier.c return (readl(p->membase + offset) >> valshift) & 0xff; membase 123 drivers/tty/serial/8250/8250_uniphier.c writel(value, p->membase + offset); membase 135 drivers/tty/serial/8250/8250_uniphier.c tmp = readl(p->membase + offset); membase 138 drivers/tty/serial/8250/8250_uniphier.c writel(tmp, p->membase + offset); membase 150 drivers/tty/serial/8250/8250_uniphier.c return readl(up->port.membase + UNIPHIER_UART_DLR); membase 155 drivers/tty/serial/8250/8250_uniphier.c writel(value, up->port.membase + UNIPHIER_UART_DLR); membase 164 drivers/tty/serial/8250/8250_uniphier.c void __iomem *membase; membase 174 drivers/tty/serial/8250/8250_uniphier.c membase = devm_ioremap(dev, regs->start, resource_size(regs)); membase 175 drivers/tty/serial/8250/8250_uniphier.c if (!membase) membase 213 drivers/tty/serial/8250/8250_uniphier.c up.port.membase = membase; membase 64 drivers/tty/serial/altera_jtaguart.c return (readl(port->membase + ALTERA_JTAGUART_CONTROL_REG) & membase 83 drivers/tty/serial/altera_jtaguart.c writel(pp->imr, port->membase + ALTERA_JTAGUART_CONTROL_REG); membase 92 drivers/tty/serial/altera_jtaguart.c writel(pp->imr, port->membase + ALTERA_JTAGUART_CONTROL_REG); membase 101 drivers/tty/serial/altera_jtaguart.c writel(pp->imr, port->membase + ALTERA_JTAGUART_CONTROL_REG); membase 123 drivers/tty/serial/altera_jtaguart.c while ((status = readl(port->membase + ALTERA_JTAGUART_DATA_REG)) & membase 147 drivers/tty/serial/altera_jtaguart.c writel(port->x_char, port->membase + ALTERA_JTAGUART_DATA_REG); membase 155 drivers/tty/serial/altera_jtaguart.c count = (readl(port->membase + ALTERA_JTAGUART_CONTROL_REG) & membase 164 drivers/tty/serial/altera_jtaguart.c port->membase + ALTERA_JTAGUART_DATA_REG); membase 175 drivers/tty/serial/altera_jtaguart.c writel(pp->imr, port->membase + ALTERA_JTAGUART_CONTROL_REG); membase 186 drivers/tty/serial/altera_jtaguart.c isr = (readl(port->membase + ALTERA_JTAGUART_CONTROL_REG) >> membase 206 drivers/tty/serial/altera_jtaguart.c writel(0, port->membase + ALTERA_JTAGUART_CONTROL_REG); membase 228 drivers/tty/serial/altera_jtaguart.c writel(pp->imr, port->membase + ALTERA_JTAGUART_CONTROL_REG); membase 245 drivers/tty/serial/altera_jtaguart.c writel(pp->imr, port->membase + ALTERA_JTAGUART_CONTROL_REG); membase 309 drivers/tty/serial/altera_jtaguart.c while (((status = readl(port->membase + ALTERA_JTAGUART_CONTROL_REG)) & membase 319 drivers/tty/serial/altera_jtaguart.c writel(c, port->membase + ALTERA_JTAGUART_DATA_REG); membase 328 drivers/tty/serial/altera_jtaguart.c while ((readl(port->membase + ALTERA_JTAGUART_CONTROL_REG) & membase 334 drivers/tty/serial/altera_jtaguart.c writel(c, port->membase + ALTERA_JTAGUART_DATA_REG); membase 355 drivers/tty/serial/altera_jtaguart.c if (port->membase == NULL) membase 393 drivers/tty/serial/altera_jtaguart.c if (!dev->port.membase) membase 451 drivers/tty/serial/altera_jtaguart.c port->membase = ioremap(port->mapbase, ALTERA_JTAGUART_SIZE); membase 452 drivers/tty/serial/altera_jtaguart.c if (!port->membase) membase 477 drivers/tty/serial/altera_jtaguart.c iounmap(port->membase); membase 86 drivers/tty/serial/altera_uart.c return readl(port->membase + (reg << port->regshift)); membase 91 drivers/tty/serial/altera_uart.c writel(dat, port->membase + (reg << port->regshift)); membase 471 drivers/tty/serial/altera_uart.c if (!port->membase) membase 515 drivers/tty/serial/altera_uart.c if (!port->membase) membase 598 drivers/tty/serial/altera_uart.c port->membase = ioremap(port->mapbase, ALTERA_UART_SIZE); membase 599 drivers/tty/serial/altera_uart.c if (!port->membase) membase 628 drivers/tty/serial/altera_uart.c iounmap(port->membase); membase 69 drivers/tty/serial/amba-pl010.c cr = readb(uap->port.membase + UART010_CR); membase 71 drivers/tty/serial/amba-pl010.c writel(cr, uap->port.membase + UART010_CR); membase 80 drivers/tty/serial/amba-pl010.c cr = readb(uap->port.membase + UART010_CR); membase 82 drivers/tty/serial/amba-pl010.c writel(cr, uap->port.membase + UART010_CR); membase 91 drivers/tty/serial/amba-pl010.c cr = readb(uap->port.membase + UART010_CR); membase 93 drivers/tty/serial/amba-pl010.c writel(cr, uap->port.membase + UART010_CR); membase 101 drivers/tty/serial/amba-pl010.c cr = readb(uap->port.membase + UART010_CR); membase 103 drivers/tty/serial/amba-pl010.c writel(cr, uap->port.membase + UART010_CR); membase 112 drivers/tty/serial/amba-pl010.c cr = readb(uap->port.membase + UART010_CR); membase 114 drivers/tty/serial/amba-pl010.c writel(cr, uap->port.membase + UART010_CR); membase 121 drivers/tty/serial/amba-pl010.c status = readb(uap->port.membase + UART01x_FR); membase 123 drivers/tty/serial/amba-pl010.c ch = readb(uap->port.membase + UART01x_DR); membase 132 drivers/tty/serial/amba-pl010.c rsr = readb(uap->port.membase + UART01x_RSR) | UART_DUMMY_RSR_RX; membase 134 drivers/tty/serial/amba-pl010.c writel(0, uap->port.membase + UART01x_ECR); membase 164 drivers/tty/serial/amba-pl010.c status = readb(uap->port.membase + UART01x_FR); membase 177 drivers/tty/serial/amba-pl010.c writel(uap->port.x_char, uap->port.membase + UART01x_DR); membase 189 drivers/tty/serial/amba-pl010.c writel(xmit->buf[xmit->tail], uap->port.membase + UART01x_DR); membase 207 drivers/tty/serial/amba-pl010.c writel(0, uap->port.membase + UART010_ICR); membase 209 drivers/tty/serial/amba-pl010.c status = readb(uap->port.membase + UART01x_FR) & UART01x_FR_MODEM_ANY; membase 237 drivers/tty/serial/amba-pl010.c status = readb(uap->port.membase + UART010_IIR); membase 250 drivers/tty/serial/amba-pl010.c status = readb(uap->port.membase + UART010_IIR); membase 265 drivers/tty/serial/amba-pl010.c unsigned int status = readb(uap->port.membase + UART01x_FR); membase 276 drivers/tty/serial/amba-pl010.c status = readb(uap->port.membase + UART01x_FR); membase 293 drivers/tty/serial/amba-pl010.c uap->data->set_mctrl(uap->dev, uap->port.membase, mctrl); membase 304 drivers/tty/serial/amba-pl010.c lcr_h = readb(uap->port.membase + UART010_LCRH); membase 309 drivers/tty/serial/amba-pl010.c writel(lcr_h, uap->port.membase + UART010_LCRH); membase 338 drivers/tty/serial/amba-pl010.c uap->old_status = readb(uap->port.membase + UART01x_FR) & UART01x_FR_MODEM_ANY; membase 344 drivers/tty/serial/amba-pl010.c uap->port.membase + UART010_CR); membase 367 drivers/tty/serial/amba-pl010.c writel(0, uap->port.membase + UART010_CR); membase 370 drivers/tty/serial/amba-pl010.c writel(readb(uap->port.membase + UART010_LCRH) & membase 372 drivers/tty/serial/amba-pl010.c uap->port.membase + UART010_LCRH); membase 456 drivers/tty/serial/amba-pl010.c old_cr = readb(uap->port.membase + UART010_CR) & ~UART010_CR_MSIE; membase 461 drivers/tty/serial/amba-pl010.c writel(0, uap->port.membase + UART010_CR); membase 465 drivers/tty/serial/amba-pl010.c writel((quot & 0xf00) >> 8, uap->port.membase + UART010_LCRM); membase 466 drivers/tty/serial/amba-pl010.c writel(quot & 0xff, uap->port.membase + UART010_LCRL); membase 473 drivers/tty/serial/amba-pl010.c writel(lcr_h, uap->port.membase + UART010_LCRH); membase 474 drivers/tty/serial/amba-pl010.c writel(old_cr, uap->port.membase + UART010_CR); membase 575 drivers/tty/serial/amba-pl010.c status = readb(uap->port.membase + UART01x_FR); membase 578 drivers/tty/serial/amba-pl010.c writel(ch, uap->port.membase + UART01x_DR); membase 592 drivers/tty/serial/amba-pl010.c old_cr = readb(uap->port.membase + UART010_CR); membase 593 drivers/tty/serial/amba-pl010.c writel(UART01x_CR_UARTEN, uap->port.membase + UART010_CR); membase 602 drivers/tty/serial/amba-pl010.c status = readb(uap->port.membase + UART01x_FR); membase 605 drivers/tty/serial/amba-pl010.c writel(old_cr, uap->port.membase + UART010_CR); membase 614 drivers/tty/serial/amba-pl010.c if (readb(uap->port.membase + UART010_CR) & UART01x_CR_UARTEN) { membase 616 drivers/tty/serial/amba-pl010.c lcr_h = readb(uap->port.membase + UART010_LCRH); membase 631 drivers/tty/serial/amba-pl010.c quot = readb(uap->port.membase + UART010_LCRL) | membase 632 drivers/tty/serial/amba-pl010.c readb(uap->port.membase + UART010_LCRM) << 8; membase 727 drivers/tty/serial/amba-pl010.c uap->port.membase = base; membase 292 drivers/tty/serial/amba-pl011.c void __iomem *addr = uap->port.membase + pl011_reg_to_offset(uap, reg); membase 301 drivers/tty/serial/amba-pl011.c void __iomem *addr = uap->port.membase + pl011_reg_to_offset(uap, reg); membase 2416 drivers/tty/serial/amba-pl011.c while (readl(port->membase + UART01x_FR) & UART01x_FR_TXFF) membase 2418 drivers/tty/serial/amba-pl011.c writel(c, port->membase + UART01x_DR); membase 2419 drivers/tty/serial/amba-pl011.c while (!(readl(port->membase + UART01x_FR) & UART011_FR_TXFE)) membase 2432 drivers/tty/serial/amba-pl011.c while (readl(port->membase + UART01x_FR) & UART01x_FR_TXFF) membase 2435 drivers/tty/serial/amba-pl011.c writel(c, port->membase + UART01x_DR); membase 2437 drivers/tty/serial/amba-pl011.c writeb(c, port->membase + UART01x_DR); membase 2438 drivers/tty/serial/amba-pl011.c while (readl(port->membase + UART01x_FR) & UART01x_FR_BUSY) membase 2464 drivers/tty/serial/amba-pl011.c if (!device->port.membase) membase 2488 drivers/tty/serial/amba-pl011.c if (!device->port.membase) membase 2584 drivers/tty/serial/amba-pl011.c uap->port.membase = base; membase 625 drivers/tty/serial/apbuart.c port->membase = ioremap(addr, sizeof(struct grlib_apbuart_regs_map)); membase 46 drivers/tty/serial/apbuart.h #define APBBASE(port) ((struct grlib_apbuart_regs_map *)((port)->membase)) membase 55 drivers/tty/serial/ar933x_uart.c return readl(up->port.membase + offset); membase 61 drivers/tty/serial/ar933x_uart.c writel(value, up->port.membase + offset); membase 669 drivers/tty/serial/ar933x_uart.c port->membase = devm_ioremap_resource(&pdev->dev, mem_res); membase 670 drivers/tty/serial/ar933x_uart.c if (IS_ERR(port->membase)) membase 671 drivers/tty/serial/ar933x_uart.c return PTR_ERR(port->membase); membase 72 drivers/tty/serial/arc_uart.c #define RBASE(port, reg) (port->membase + reg) membase 504 drivers/tty/serial/arc_uart.c if (!port->membase) membase 563 drivers/tty/serial/arc_uart.c if (!dev->port.membase) membase 616 drivers/tty/serial/arc_uart.c port->membase = of_iomap(np, 0); membase 617 drivers/tty/serial/arc_uart.c if (!port->membase) membase 218 drivers/tty/serial/atmel_serial.c return __raw_readl(port->membase + reg); membase 223 drivers/tty/serial/atmel_serial.c __raw_writel(value, port->membase + reg); membase 228 drivers/tty/serial/atmel_serial.c return __raw_readb(port->membase + ATMEL_US_RHR); membase 233 drivers/tty/serial/atmel_serial.c __raw_writeb(value, port->membase + ATMEL_US_THR); membase 2374 drivers/tty/serial/atmel_serial.c iounmap(port->membase); membase 2375 drivers/tty/serial/atmel_serial.c port->membase = NULL; membase 2391 drivers/tty/serial/atmel_serial.c port->membase = ioremap(port->mapbase, size); membase 2392 drivers/tty/serial/atmel_serial.c if (port->membase == NULL) { membase 2503 drivers/tty/serial/atmel_serial.c port->membase = NULL; membase 2642 drivers/tty/serial/atmel_serial.c if (port->membase == NULL) { membase 80 drivers/tty/serial/bcm63xx_uart.c return __raw_readl(port->membase + offset); membase 86 drivers/tty/serial/bcm63xx_uart.c __raw_writel(value, port->membase + offset); membase 745 drivers/tty/serial/bcm63xx_uart.c if (!port->membase) membase 784 drivers/tty/serial/bcm63xx_uart.c if (!device->port.membase) membase 829 drivers/tty/serial/bcm63xx_uart.c if (port->membase) membase 838 drivers/tty/serial/bcm63xx_uart.c port->membase = devm_ioremap_resource(&pdev->dev, res_mem); membase 839 drivers/tty/serial/bcm63xx_uart.c if (IS_ERR(port->membase)) membase 840 drivers/tty/serial/bcm63xx_uart.c return PTR_ERR(port->membase); membase 865 drivers/tty/serial/bcm63xx_uart.c ports[pdev->id].membase = NULL; membase 879 drivers/tty/serial/bcm63xx_uart.c ports[pdev->id].membase = NULL; membase 109 drivers/tty/serial/clps711x.c ch = readw(port->membase + UARTDR_OFFSET); membase 155 drivers/tty/serial/clps711x.c writew(port->x_char, port->membase + UARTDR_OFFSET); membase 172 drivers/tty/serial/clps711x.c writew(xmit->buf[xmit->tail], port->membase + UARTDR_OFFSET); membase 216 drivers/tty/serial/clps711x.c ubrlcr = readl(port->membase + UBRLCR_OFFSET); membase 221 drivers/tty/serial/clps711x.c writel(ubrlcr, port->membase + UBRLCR_OFFSET); membase 240 drivers/tty/serial/clps711x.c writel(readl(port->membase + UBRLCR_OFFSET) & ~UBRLCR_BREAK, membase 241 drivers/tty/serial/clps711x.c port->membase + UBRLCR_OFFSET); membase 313 drivers/tty/serial/clps711x.c writel(ubrlcr | (quot - 1), port->membase + UBRLCR_OFFSET); membase 365 drivers/tty/serial/clps711x.c writew(ch, port->membase + UARTDR_OFFSET); membase 406 drivers/tty/serial/clps711x.c ubrlcr = readl(port->membase + UBRLCR_OFFSET); membase 459 drivers/tty/serial/clps711x.c s->port.membase = devm_ioremap_resource(&pdev->dev, res); membase 460 drivers/tty/serial/clps711x.c if (IS_ERR(s->port.membase)) membase 461 drivers/tty/serial/clps711x.c return PTR_ERR(s->port.membase); membase 85 drivers/tty/serial/digicolor-usart.c return !!(readb_relaxed(port->membase + UA_STATUS_FIFO) & membase 91 drivers/tty/serial/digicolor-usart.c return !!(readb_relaxed(port->membase + UA_STATUS_FIFO) & membase 97 drivers/tty/serial/digicolor-usart.c u8 int_enable = readb_relaxed(port->membase + UA_INT_ENABLE); membase 100 drivers/tty/serial/digicolor-usart.c writeb_relaxed(int_enable, port->membase + UA_INT_ENABLE); membase 105 drivers/tty/serial/digicolor-usart.c u8 int_enable = readb_relaxed(port->membase + UA_INT_ENABLE); membase 108 drivers/tty/serial/digicolor-usart.c writeb_relaxed(int_enable, port->membase + UA_INT_ENABLE); membase 113 drivers/tty/serial/digicolor-usart.c u8 int_enable = readb_relaxed(port->membase + UA_INT_ENABLE); membase 116 drivers/tty/serial/digicolor-usart.c writeb_relaxed(int_enable, port->membase + UA_INT_ENABLE); membase 127 drivers/tty/serial/digicolor-usart.c writeb_relaxed(UA_INT_RX, dp->port.membase + UA_INTFLAG_SET); membase 145 drivers/tty/serial/digicolor-usart.c ch = readb_relaxed(port->membase + UA_EMI_REC); membase 146 drivers/tty/serial/digicolor-usart.c status = readb_relaxed(port->membase + UA_STATUS); membase 192 drivers/tty/serial/digicolor-usart.c writeb_relaxed(port->x_char, port->membase + UA_EMI_REC); membase 204 drivers/tty/serial/digicolor-usart.c writeb(xmit->buf[xmit->tail], port->membase + UA_EMI_REC); membase 222 drivers/tty/serial/digicolor-usart.c u8 int_status = readb_relaxed(port->membase + UA_INT_STATUS); membase 225 drivers/tty/serial/digicolor-usart.c port->membase + UA_INTFLAG_CLEAR); membase 237 drivers/tty/serial/digicolor-usart.c u8 status = readb_relaxed(port->membase + UA_STATUS); membase 260 drivers/tty/serial/digicolor-usart.c writeb_relaxed(UA_ENABLE_ENABLE, port->membase + UA_ENABLE); membase 261 drivers/tty/serial/digicolor-usart.c writeb_relaxed(UA_CONTROL_SOFT_RESET, port->membase + UA_CONTROL); membase 262 drivers/tty/serial/digicolor-usart.c writeb_relaxed(0, port->membase + UA_CONTROL); membase 266 drivers/tty/serial/digicolor-usart.c port->membase + UA_CONFIG_FIFO); membase 268 drivers/tty/serial/digicolor-usart.c port->membase + UA_STATUS_FIFO); membase 270 drivers/tty/serial/digicolor-usart.c port->membase + UA_CONTROL); membase 272 drivers/tty/serial/digicolor-usart.c port->membase + UA_INT_ENABLE); membase 284 drivers/tty/serial/digicolor-usart.c writeb_relaxed(0, port->membase + UA_ENABLE); membase 340 drivers/tty/serial/digicolor-usart.c writeb_relaxed(config, port->membase + UA_CONFIG); membase 341 drivers/tty/serial/digicolor-usart.c writeb_relaxed(divisor & 0xff, port->membase + UA_HBAUD_LO); membase 342 drivers/tty/serial/digicolor-usart.c writeb_relaxed(divisor >> 8, port->membase + UA_HBAUD_HI); membase 389 drivers/tty/serial/digicolor-usart.c writeb_relaxed(ch, port->membase + UA_EMI_REC); membase 412 drivers/tty/serial/digicolor-usart.c status = readb_relaxed(port->membase + UA_STATUS); membase 476 drivers/tty/serial/digicolor-usart.c dp->port.membase = devm_ioremap_resource(&pdev->dev, res); membase 477 drivers/tty/serial/digicolor-usart.c if (IS_ERR(dp->port.membase)) membase 478 drivers/tty/serial/digicolor-usart.c return PTR_ERR(dp->port.membase); membase 105 drivers/tty/serial/dz.c void __iomem *addr = dport->port.membase + offset; membase 112 drivers/tty/serial/dz.c void __iomem *addr = dport->port.membase + offset; membase 669 drivers/tty/serial/dz.c iounmap(uport->membase); membase 670 drivers/tty/serial/dz.c uport->membase = NULL; membase 679 drivers/tty/serial/dz.c if (!uport->membase) membase 680 drivers/tty/serial/dz.c uport->membase = ioremap_nocache(uport->mapbase, membase 682 drivers/tty/serial/dz.c if (!uport->membase) { membase 139 drivers/tty/serial/earlycon.c port->membase = earlycon_map(port->mapbase, 64); membase 253 drivers/tty/serial/earlycon.c port->membase = earlycon_map(port->mapbase, SZ_4K); membase 95 drivers/tty/serial/efm32-uart.c writel_relaxed(value, efm_port->port.membase + offset); membase 101 drivers/tty/serial/efm32-uart.c return readl_relaxed(efm_port->port.membase + offset); membase 440 drivers/tty/serial/efm32-uart.c iounmap(port->membase); membase 448 drivers/tty/serial/efm32-uart.c port->membase = ioremap(port->mapbase, 60); membase 449 drivers/tty/serial/efm32-uart.c if (!efm_port->port.membase) { membase 467 drivers/tty/serial/efm32-uart.c iounmap(port->membase); membase 152 drivers/tty/serial/fsl_linflexuart.c ier = readl(port->membase + LINIER); membase 154 drivers/tty/serial/fsl_linflexuart.c writel(ier, port->membase + LINIER); membase 161 drivers/tty/serial/fsl_linflexuart.c ier = readl(port->membase + LINIER); membase 162 drivers/tty/serial/fsl_linflexuart.c writel(ier & ~LINFLEXD_LINIER_DRIE, port->membase + LINIER); membase 173 drivers/tty/serial/fsl_linflexuart.c writeb(c, sport->membase + BDRL); membase 176 drivers/tty/serial/fsl_linflexuart.c while (((status = readl(sport->membase + UARTSR)) & membase 185 drivers/tty/serial/fsl_linflexuart.c sport->membase + UARTSR); membase 200 drivers/tty/serial/fsl_linflexuart.c ier = readl(port->membase + LINIER); membase 201 drivers/tty/serial/fsl_linflexuart.c writel(ier | LINFLEXD_LINIER_DTIE, port->membase + LINIER); membase 214 drivers/tty/serial/fsl_linflexuart.c writeb(sport->x_char, sport->membase + BDRL); membase 217 drivers/tty/serial/fsl_linflexuart.c while (((status = readl(sport->membase + UARTSR)) & membase 222 drivers/tty/serial/fsl_linflexuart.c sport->membase + UARTSR); membase 253 drivers/tty/serial/fsl_linflexuart.c status = readl(sport->membase + UARTSR); membase 255 drivers/tty/serial/fsl_linflexuart.c rx = readb(sport->membase + BDRM); membase 276 drivers/tty/serial/fsl_linflexuart.c sport->membase + UARTSR); membase 277 drivers/tty/serial/fsl_linflexuart.c status = readl(sport->membase + UARTSR); membase 302 drivers/tty/serial/fsl_linflexuart.c status = readl(sport->membase + UARTSR); membase 317 drivers/tty/serial/fsl_linflexuart.c status = readl(port->membase + UARTSR) & LINFLEXD_UARTSR_DTFTFF; membase 340 drivers/tty/serial/fsl_linflexuart.c ier = readl(sport->membase + LINIER); membase 342 drivers/tty/serial/fsl_linflexuart.c writel(ier, sport->membase + LINIER); membase 344 drivers/tty/serial/fsl_linflexuart.c cr = readl(sport->membase + UARTCR); membase 346 drivers/tty/serial/fsl_linflexuart.c writel(cr, sport->membase + UARTCR); membase 353 drivers/tty/serial/fsl_linflexuart.c writel(cr1, sport->membase + LINCR1); membase 356 drivers/tty/serial/fsl_linflexuart.c while ((readl(sport->membase + LINSR) membase 370 drivers/tty/serial/fsl_linflexuart.c writel(LINFLEXD_UARTCR_UART, sport->membase + UARTCR); membase 375 drivers/tty/serial/fsl_linflexuart.c writel(cr, sport->membase + UARTCR); membase 379 drivers/tty/serial/fsl_linflexuart.c writel(cr1, sport->membase + LINCR1); membase 381 drivers/tty/serial/fsl_linflexuart.c ier = readl(sport->membase + LINIER); membase 385 drivers/tty/serial/fsl_linflexuart.c writel(ier, sport->membase + LINIER); membase 413 drivers/tty/serial/fsl_linflexuart.c ier = readl(port->membase + LINIER); membase 415 drivers/tty/serial/fsl_linflexuart.c writel(ier, port->membase + LINIER); membase 430 drivers/tty/serial/fsl_linflexuart.c cr = readl(port->membase + UARTCR); membase 434 drivers/tty/serial/fsl_linflexuart.c cr1 = readl(port->membase + LINCR1); membase 436 drivers/tty/serial/fsl_linflexuart.c writel(cr1, port->membase + LINCR1); membase 439 drivers/tty/serial/fsl_linflexuart.c while ((readl(port->membase + LINSR) membase 525 drivers/tty/serial/fsl_linflexuart.c writel(cr, port->membase + UARTCR); membase 529 drivers/tty/serial/fsl_linflexuart.c writel(cr1, port->membase + LINCR1); membase 580 drivers/tty/serial/fsl_linflexuart.c cr = readl(port->membase + UARTCR); membase 582 drivers/tty/serial/fsl_linflexuart.c writeb(ch, port->membase + BDRL); membase 585 drivers/tty/serial/fsl_linflexuart.c while ((readl(port->membase + UARTSR) & membase 590 drivers/tty/serial/fsl_linflexuart.c while (readl(port->membase + UARTSR) & membase 595 drivers/tty/serial/fsl_linflexuart.c writel((readl(port->membase + UARTSR) | membase 597 drivers/tty/serial/fsl_linflexuart.c port->membase + UARTSR); membase 648 drivers/tty/serial/fsl_linflexuart.c ier = readl(sport->membase + LINIER); membase 651 drivers/tty/serial/fsl_linflexuart.c cr = readl(sport->membase + UARTCR); membase 653 drivers/tty/serial/fsl_linflexuart.c writel(cr, sport->membase + UARTCR); membase 657 drivers/tty/serial/fsl_linflexuart.c writel(ier, sport->membase + LINIER); membase 689 drivers/tty/serial/fsl_linflexuart.c cr = readl(sport->membase + UARTCR); membase 802 drivers/tty/serial/fsl_linflexuart.c if (!device->port.membase) membase 856 drivers/tty/serial/fsl_linflexuart.c sport->membase = devm_ioremap_resource(&pdev->dev, res); membase 857 drivers/tty/serial/fsl_linflexuart.c if (IS_ERR(sport->membase)) membase 858 drivers/tty/serial/fsl_linflexuart.c return PTR_ERR(sport->membase); membase 323 drivers/tty/serial/fsl_lpuart.c return readl(port->membase + off); membase 325 drivers/tty/serial/fsl_lpuart.c return ioread32be(port->membase + off); membase 336 drivers/tty/serial/fsl_lpuart.c writel(val, port->membase + off); membase 339 drivers/tty/serial/fsl_lpuart.c iowrite32be(val, port->membase + off); membase 381 drivers/tty/serial/fsl_lpuart.c temp = readb(port->membase + UARTCR2); membase 383 drivers/tty/serial/fsl_lpuart.c writeb(temp, port->membase + UARTCR2); membase 399 drivers/tty/serial/fsl_lpuart.c temp = readb(port->membase + UARTCR2); membase 400 drivers/tty/serial/fsl_lpuart.c writeb(temp & ~UARTCR2_RE, port->membase + UARTCR2); membase 552 drivers/tty/serial/fsl_lpuart.c val = readb(sport->port.membase + UARTCFIFO); membase 554 drivers/tty/serial/fsl_lpuart.c writeb(val, sport->port.membase + UARTCFIFO); membase 561 drivers/tty/serial/fsl_lpuart.c while (!(readb(port->membase + offset) & bit)) membase 585 drivers/tty/serial/fsl_lpuart.c writeb(0, sport->port.membase + UARTCR2); membase 587 drivers/tty/serial/fsl_lpuart.c temp = readb(sport->port.membase + UARTPFIFO); membase 590 drivers/tty/serial/fsl_lpuart.c sport->port.membase + UARTPFIFO); membase 594 drivers/tty/serial/fsl_lpuart.c sport->port.membase + UARTCFIFO); membase 597 drivers/tty/serial/fsl_lpuart.c if (readb(sport->port.membase + UARTSR1) & UARTSR1_RDRF) { membase 598 drivers/tty/serial/fsl_lpuart.c readb(sport->port.membase + UARTDR); membase 599 drivers/tty/serial/fsl_lpuart.c writeb(UARTSFIFO_RXUF, sport->port.membase + UARTSFIFO); membase 602 drivers/tty/serial/fsl_lpuart.c writeb(0, sport->port.membase + UARTTWFIFO); membase 603 drivers/tty/serial/fsl_lpuart.c writeb(1, sport->port.membase + UARTRWFIFO); membase 606 drivers/tty/serial/fsl_lpuart.c writeb(UARTCR2_RE | UARTCR2_TE, sport->port.membase + UARTCR2); membase 616 drivers/tty/serial/fsl_lpuart.c writeb(c, port->membase + UARTDR); membase 621 drivers/tty/serial/fsl_lpuart.c if (!(readb(port->membase + UARTSR1) & UARTSR1_RDRF)) membase 624 drivers/tty/serial/fsl_lpuart.c return readb(port->membase + UARTDR); membase 683 drivers/tty/serial/fsl_lpuart.c writeb(sport->port.x_char, sport->port.membase + UARTDR); membase 695 drivers/tty/serial/fsl_lpuart.c (readb(sport->port.membase + UARTTCFIFO) < sport->txfifo_size)) { membase 696 drivers/tty/serial/fsl_lpuart.c writeb(xmit->buf[xmit->tail], sport->port.membase + UARTDR); membase 750 drivers/tty/serial/fsl_lpuart.c temp = readb(port->membase + UARTCR2); membase 751 drivers/tty/serial/fsl_lpuart.c writeb(temp | UARTCR2_TIE, port->membase + UARTCR2); membase 757 drivers/tty/serial/fsl_lpuart.c if (readb(port->membase + UARTSR1) & UARTSR1_TDRE) membase 784 drivers/tty/serial/fsl_lpuart.c unsigned char sr1 = readb(port->membase + UARTSR1); membase 785 drivers/tty/serial/fsl_lpuart.c unsigned char sfifo = readb(port->membase + UARTSFIFO); membase 830 drivers/tty/serial/fsl_lpuart.c while (!(readb(sport->port.membase + UARTSFIFO) & UARTSFIFO_RXEMPT)) { membase 837 drivers/tty/serial/fsl_lpuart.c sr = readb(sport->port.membase + UARTSR1); membase 838 drivers/tty/serial/fsl_lpuart.c rx = readb(sport->port.membase + UARTDR); membase 884 drivers/tty/serial/fsl_lpuart.c writeb(UARTCFIFO_RXFLUSH, sport->port.membase + UARTCFIFO); membase 885 drivers/tty/serial/fsl_lpuart.c writeb(UARTSFIFO_RXOF, sport->port.membase + UARTSFIFO); membase 969 drivers/tty/serial/fsl_lpuart.c sts = readb(sport->port.membase + UARTSR1); membase 1021 drivers/tty/serial/fsl_lpuart.c unsigned char sr = readb(sport->port.membase + UARTSR1); membase 1027 drivers/tty/serial/fsl_lpuart.c cr2 = readb(sport->port.membase + UARTCR2); membase 1029 drivers/tty/serial/fsl_lpuart.c writeb(cr2, sport->port.membase + UARTCR2); membase 1032 drivers/tty/serial/fsl_lpuart.c readb(sport->port.membase + UARTDR); membase 1047 drivers/tty/serial/fsl_lpuart.c if (readb(sport->port.membase + UARTSFIFO) & membase 1050 drivers/tty/serial/fsl_lpuart.c sport->port.membase + UARTSFIFO); membase 1052 drivers/tty/serial/fsl_lpuart.c sport->port.membase + UARTCFIFO); membase 1056 drivers/tty/serial/fsl_lpuart.c writeb(cr2, sport->port.membase + UARTCR2); membase 1210 drivers/tty/serial/fsl_lpuart.c writeb(readb(sport->port.membase + UARTCR5) | UARTCR5_RDMAS, membase 1211 drivers/tty/serial/fsl_lpuart.c sport->port.membase + UARTCR5); membase 1239 drivers/tty/serial/fsl_lpuart.c u8 modem = readb(sport->port.membase + UARTMODEM) & membase 1241 drivers/tty/serial/fsl_lpuart.c writeb(modem, sport->port.membase + UARTMODEM); membase 1280 drivers/tty/serial/fsl_lpuart.c writeb(modem, sport->port.membase + UARTMODEM); membase 1289 drivers/tty/serial/fsl_lpuart.c reg = readb(port->membase + UARTMODEM); membase 1322 drivers/tty/serial/fsl_lpuart.c temp = readb(sport->port.membase + UARTMODEM) & membase 1331 drivers/tty/serial/fsl_lpuart.c writeb(temp, port->membase + UARTMODEM); membase 1355 drivers/tty/serial/fsl_lpuart.c temp = readb(port->membase + UARTCR2) & ~UARTCR2_SBK; membase 1360 drivers/tty/serial/fsl_lpuart.c writeb(temp, port->membase + UARTCR2); membase 1380 drivers/tty/serial/fsl_lpuart.c cr2 = readb(sport->port.membase + UARTCR2); membase 1384 drivers/tty/serial/fsl_lpuart.c writeb(cr2, sport->port.membase + UARTCR2); membase 1386 drivers/tty/serial/fsl_lpuart.c val = readb(sport->port.membase + UARTPFIFO); membase 1388 drivers/tty/serial/fsl_lpuart.c sport->port.membase + UARTPFIFO); membase 1392 drivers/tty/serial/fsl_lpuart.c sport->port.membase + UARTCFIFO); membase 1395 drivers/tty/serial/fsl_lpuart.c if (readb(sport->port.membase + UARTSR1) & UARTSR1_RDRF) { membase 1396 drivers/tty/serial/fsl_lpuart.c readb(sport->port.membase + UARTDR); membase 1397 drivers/tty/serial/fsl_lpuart.c writeb(UARTSFIFO_RXUF, sport->port.membase + UARTSFIFO); membase 1400 drivers/tty/serial/fsl_lpuart.c writeb(0, sport->port.membase + UARTTWFIFO); membase 1401 drivers/tty/serial/fsl_lpuart.c writeb(1, sport->port.membase + UARTRWFIFO); membase 1404 drivers/tty/serial/fsl_lpuart.c writeb(cr2_saved, sport->port.membase + UARTCR2); membase 1413 drivers/tty/serial/fsl_lpuart.c cr2 = readb(sport->port.membase + UARTCR2); membase 1415 drivers/tty/serial/fsl_lpuart.c writeb(cr2, sport->port.membase + UARTCR2); membase 1473 drivers/tty/serial/fsl_lpuart.c writeb(readb(sport->port.membase + UARTCR5) | membase 1474 drivers/tty/serial/fsl_lpuart.c UARTCR5_TDMAS, sport->port.membase + UARTCR5); membase 1503 drivers/tty/serial/fsl_lpuart.c temp = readb(sport->port.membase + UARTPFIFO); membase 1597 drivers/tty/serial/fsl_lpuart.c temp = readb(port->membase + UARTCR2); membase 1600 drivers/tty/serial/fsl_lpuart.c writeb(temp, port->membase + UARTCR2); membase 1638 drivers/tty/serial/fsl_lpuart.c cr1 = old_cr1 = readb(sport->port.membase + UARTCR1); membase 1639 drivers/tty/serial/fsl_lpuart.c old_cr2 = readb(sport->port.membase + UARTCR2); membase 1640 drivers/tty/serial/fsl_lpuart.c cr3 = readb(sport->port.membase + UARTCR3); membase 1641 drivers/tty/serial/fsl_lpuart.c cr4 = readb(sport->port.membase + UARTCR4); membase 1642 drivers/tty/serial/fsl_lpuart.c bdh = readb(sport->port.membase + UARTBDH); membase 1643 drivers/tty/serial/fsl_lpuart.c modem = readb(sport->port.membase + UARTMODEM); membase 1754 drivers/tty/serial/fsl_lpuart.c sport->port.membase + UARTCR2); membase 1762 drivers/tty/serial/fsl_lpuart.c writeb(cr4 | brfa, sport->port.membase + UARTCR4); membase 1763 drivers/tty/serial/fsl_lpuart.c writeb(bdh, sport->port.membase + UARTBDH); membase 1764 drivers/tty/serial/fsl_lpuart.c writeb(sbr & 0xFF, sport->port.membase + UARTBDL); membase 1765 drivers/tty/serial/fsl_lpuart.c writeb(cr3, sport->port.membase + UARTCR3); membase 1766 drivers/tty/serial/fsl_lpuart.c writeb(cr1, sport->port.membase + UARTCR1); membase 1767 drivers/tty/serial/fsl_lpuart.c writeb(modem, sport->port.membase + UARTMODEM); membase 1770 drivers/tty/serial/fsl_lpuart.c writeb(old_cr2, sport->port.membase + UARTCR2); membase 2081 drivers/tty/serial/fsl_lpuart.c writeb(ch, port->membase + UARTDR); membase 2104 drivers/tty/serial/fsl_lpuart.c cr2 = old_cr2 = readb(sport->port.membase + UARTCR2); membase 2107 drivers/tty/serial/fsl_lpuart.c writeb(cr2, sport->port.membase + UARTCR2); membase 2114 drivers/tty/serial/fsl_lpuart.c writeb(old_cr2, sport->port.membase + UARTCR2); membase 2161 drivers/tty/serial/fsl_lpuart.c cr = readb(sport->port.membase + UARTCR2); membase 2168 drivers/tty/serial/fsl_lpuart.c cr = readb(sport->port.membase + UARTCR1); membase 2183 drivers/tty/serial/fsl_lpuart.c bdh = readb(sport->port.membase + UARTBDH); membase 2185 drivers/tty/serial/fsl_lpuart.c bdl = readb(sport->port.membase + UARTBDL); membase 2189 drivers/tty/serial/fsl_lpuart.c brfa = readb(sport->port.membase + UARTCR4); membase 2320 drivers/tty/serial/fsl_lpuart.c if (!device->port.membase) membase 2330 drivers/tty/serial/fsl_lpuart.c if (!device->port.membase) membase 2341 drivers/tty/serial/fsl_lpuart.c if (!device->port.membase) membase 2345 drivers/tty/serial/fsl_lpuart.c device->port.membase += IMX_REG_OFF; membase 2387 drivers/tty/serial/fsl_lpuart.c sport->port.membase = devm_ioremap_resource(&pdev->dev, res); membase 2388 drivers/tty/serial/fsl_lpuart.c if (IS_ERR(sport->port.membase)) membase 2389 drivers/tty/serial/fsl_lpuart.c return PTR_ERR(sport->port.membase); membase 2391 drivers/tty/serial/fsl_lpuart.c sport->port.membase += sdata->reg_off; membase 2535 drivers/tty/serial/fsl_lpuart.c temp = readb(sport->port.membase + UARTCR2); membase 2537 drivers/tty/serial/fsl_lpuart.c writeb(temp, sport->port.membase + UARTCR2); membase 2564 drivers/tty/serial/fsl_lpuart.c writeb(readb(sport->port.membase + UARTCR5) & membase 2565 drivers/tty/serial/fsl_lpuart.c ~UARTCR5_RDMAS, sport->port.membase + UARTCR5); membase 1558 drivers/tty/serial/icom.c icom_port->uart_port.membase = membase 305 drivers/tty/serial/imx.c writel(val, sport->port.membase + offset); membase 322 drivers/tty/serial/imx.c sport->ucr2 = readl(sport->port.membase + offset); membase 335 drivers/tty/serial/imx.c return readl(sport->port.membase + offset); membase 2136 drivers/tty/serial/imx.c if (!dev->port.membase) membase 2255 drivers/tty/serial/imx.c sport->port.membase = base; membase 2293 drivers/tty/serial/imx.c sport->ucr1 = readl(sport->port.membase + UCR1); membase 2294 drivers/tty/serial/imx.c sport->ucr2 = readl(sport->port.membase + UCR2); membase 2295 drivers/tty/serial/imx.c sport->ucr3 = readl(sport->port.membase + UCR3); membase 2296 drivers/tty/serial/imx.c sport->ucr4 = readl(sport->port.membase + UCR4); membase 2297 drivers/tty/serial/imx.c sport->ufcr = readl(sport->port.membase + UFCR); membase 91 drivers/tty/serial/ip22zilog.c #define ZILOG_CHANNEL_FROM_PORT(PORT) ((struct zilog_channel *)((PORT)->membase)) membase 1103 drivers/tty/serial/ip22zilog.c up[(chip * 2) + 0].port.membase = (char *) &rp->channelB; membase 1104 drivers/tty/serial/ip22zilog.c up[(chip * 2) + 1].port.membase = (char *) &rp->channelA; membase 143 drivers/tty/serial/jsm/jsm.h u64 membase; /* Start of base memory of the card */ membase 138 drivers/tty/serial/jsm/jsm_driver.c brd->membase = pci_resource_start(pdev, 4); membase 141 drivers/tty/serial/jsm/jsm_driver.c if (brd->membase & 0x1) membase 142 drivers/tty/serial/jsm/jsm_driver.c brd->membase &= ~0x3; membase 144 drivers/tty/serial/jsm/jsm_driver.c brd->membase &= ~0xF; membase 156 drivers/tty/serial/jsm/jsm_driver.c brd->re_map_membase = ioremap(brd->membase, membase 190 drivers/tty/serial/jsm/jsm_driver.c brd->membase = pci_resource_start(pdev, 0); membase 193 drivers/tty/serial/jsm/jsm_driver.c if (brd->membase & 1) membase 194 drivers/tty/serial/jsm/jsm_driver.c brd->membase &= ~0x3; membase 196 drivers/tty/serial/jsm/jsm_driver.c brd->membase &= ~0xF; membase 204 drivers/tty/serial/jsm/jsm_driver.c brd->re_map_membase = ioremap(brd->membase, membase 455 drivers/tty/serial/jsm/jsm_tty.c brd->channels[i]->uart_port.membase = brd->re_map_membase; membase 159 drivers/tty/serial/lantiq.c __raw_writel(ASCWHBSTATE_CLRREN, port->membase + LTQ_ASC_WHBSTATE); membase 168 drivers/tty/serial/lantiq.c fifocnt = __raw_readl(port->membase + LTQ_ASC_FSTAT) & membase 172 drivers/tty/serial/lantiq.c ch = readb(port->membase + LTQ_ASC_RBUF); membase 173 drivers/tty/serial/lantiq.c rsr = (__raw_readl(port->membase + LTQ_ASC_STATE) membase 186 drivers/tty/serial/lantiq.c port->membase + LTQ_ASC_WHBSTATE); membase 190 drivers/tty/serial/lantiq.c port->membase + LTQ_ASC_WHBSTATE); membase 195 drivers/tty/serial/lantiq.c port->membase + LTQ_ASC_WHBSTATE); membase 233 drivers/tty/serial/lantiq.c while (((__raw_readl(port->membase + LTQ_ASC_FSTAT) & membase 236 drivers/tty/serial/lantiq.c writeb(port->x_char, port->membase + LTQ_ASC_TBUF); membase 246 drivers/tty/serial/lantiq.c port->membase + LTQ_ASC_TBUF); membase 263 drivers/tty/serial/lantiq.c __raw_writel(ASC_IRNCR_TIR, port->membase + LTQ_ASC_IRNCR); membase 279 drivers/tty/serial/lantiq.c ASCWHBSTATE_CLRROE, port->membase + LTQ_ASC_WHBSTATE); membase 292 drivers/tty/serial/lantiq.c __raw_writel(ASC_IRNCR_RIR, port->membase + LTQ_ASC_IRNCR); membase 306 drivers/tty/serial/lantiq.c stat = readl(port->membase + LTQ_ASC_IRNCR); membase 327 drivers/tty/serial/lantiq.c status = __raw_readl(port->membase + LTQ_ASC_FSTAT) & membase 361 drivers/tty/serial/lantiq.c port->membase + LTQ_ASC_CLC); membase 363 drivers/tty/serial/lantiq.c __raw_writel(0, port->membase + LTQ_ASC_PISEL); membase 367 drivers/tty/serial/lantiq.c port->membase + LTQ_ASC_TXFCON); membase 371 drivers/tty/serial/lantiq.c port->membase + LTQ_ASC_RXFCON); membase 377 drivers/tty/serial/lantiq.c ASCCON_ROEN, port->membase + LTQ_ASC_CON); membase 386 drivers/tty/serial/lantiq.c port->membase + LTQ_ASC_IRNREN); membase 399 drivers/tty/serial/lantiq.c __raw_writel(0, port->membase + LTQ_ASC_CON); membase 401 drivers/tty/serial/lantiq.c port->membase + LTQ_ASC_RXFCON); membase 403 drivers/tty/serial/lantiq.c port->membase + LTQ_ASC_TXFCON); membase 476 drivers/tty/serial/lantiq.c asc_update_bits(0, con, port->membase + LTQ_ASC_CON); membase 484 drivers/tty/serial/lantiq.c asc_update_bits(ASCCON_R, 0, port->membase + LTQ_ASC_CON); membase 487 drivers/tty/serial/lantiq.c asc_update_bits(ASCCON_FDE, 0, port->membase + LTQ_ASC_CON); membase 490 drivers/tty/serial/lantiq.c asc_update_bits(ASCCON_BRS, 0, port->membase + LTQ_ASC_CON); membase 493 drivers/tty/serial/lantiq.c __raw_writel(divisor, port->membase + LTQ_ASC_BG); membase 496 drivers/tty/serial/lantiq.c asc_update_bits(0, ASCCON_R, port->membase + LTQ_ASC_CON); membase 499 drivers/tty/serial/lantiq.c __raw_writel(ASCWHBSTATE_SETREN, port->membase + LTQ_ASC_WHBSTATE); membase 525 drivers/tty/serial/lantiq.c devm_iounmap(&pdev->dev, port->membase); membase 526 drivers/tty/serial/lantiq.c port->membase = NULL; membase 552 drivers/tty/serial/lantiq.c port->membase = devm_ioremap_nocache(&pdev->dev, membase 554 drivers/tty/serial/lantiq.c if (port->membase == NULL) membase 606 drivers/tty/serial/lantiq.c if (!port->membase) membase 610 drivers/tty/serial/lantiq.c fifofree = (__raw_readl(port->membase + LTQ_ASC_FSTAT) membase 613 drivers/tty/serial/lantiq.c writeb(ch, port->membase + LTQ_ASC_TBUF); membase 700 drivers/tty/serial/lantiq.c if (!device->port.membase) membase 104 drivers/tty/serial/lpc32xx_hs.c port->membase))) == 0) membase 118 drivers/tty/serial/lpc32xx_hs.c port->membase))) < 32) membase 129 drivers/tty/serial/lpc32xx_hs.c writel((u32)ch, LPC32XX_HSUART_FIFO(port->membase)); membase 169 drivers/tty/serial/lpc32xx_hs.c if (!port->membase) membase 248 drivers/tty/serial/lpc32xx_hs.c while ((readl(LPC32XX_HSUART_LEVEL(port->membase)) > 0) && membase 250 drivers/tty/serial/lpc32xx_hs.c tmp = readl(LPC32XX_HSUART_FIFO(port->membase)); membase 259 drivers/tty/serial/lpc32xx_hs.c tmp = readl(LPC32XX_HSUART_FIFO(port->membase)); membase 267 drivers/tty/serial/lpc32xx_hs.c LPC32XX_HSUART_IIR(port->membase)); membase 275 drivers/tty/serial/lpc32xx_hs.c tmp = readl(LPC32XX_HSUART_FIFO(port->membase)); membase 289 drivers/tty/serial/lpc32xx_hs.c writel((u32)port->x_char, LPC32XX_HSUART_FIFO(port->membase)); membase 300 drivers/tty/serial/lpc32xx_hs.c LPC32XX_HSUART_LEVEL(port->membase))) < 64) { membase 302 drivers/tty/serial/lpc32xx_hs.c LPC32XX_HSUART_FIFO(port->membase)); membase 314 drivers/tty/serial/lpc32xx_hs.c tmp = readl(LPC32XX_HSUART_CTRL(port->membase)); membase 316 drivers/tty/serial/lpc32xx_hs.c writel(tmp, LPC32XX_HSUART_CTRL(port->membase)); membase 329 drivers/tty/serial/lpc32xx_hs.c status = readl(LPC32XX_HSUART_IIR(port->membase)); membase 333 drivers/tty/serial/lpc32xx_hs.c writel(LPC32XX_HSU_BRK_INT, LPC32XX_HSUART_IIR(port->membase)); membase 340 drivers/tty/serial/lpc32xx_hs.c writel(LPC32XX_HSU_FE_INT, LPC32XX_HSUART_IIR(port->membase)); membase 345 drivers/tty/serial/lpc32xx_hs.c LPC32XX_HSUART_IIR(port->membase)); membase 357 drivers/tty/serial/lpc32xx_hs.c writel(LPC32XX_HSU_TX_INT, LPC32XX_HSUART_IIR(port->membase)); membase 371 drivers/tty/serial/lpc32xx_hs.c if (LPC32XX_HSU_TX_LEV(readl(LPC32XX_HSUART_LEVEL(port->membase))) == 0) membase 396 drivers/tty/serial/lpc32xx_hs.c tmp = readl(LPC32XX_HSUART_CTRL(port->membase)); membase 398 drivers/tty/serial/lpc32xx_hs.c writel(tmp, LPC32XX_HSUART_CTRL(port->membase)); membase 407 drivers/tty/serial/lpc32xx_hs.c tmp = readl(LPC32XX_HSUART_CTRL(port->membase)); membase 409 drivers/tty/serial/lpc32xx_hs.c writel(tmp, LPC32XX_HSUART_CTRL(port->membase)); membase 417 drivers/tty/serial/lpc32xx_hs.c tmp = readl(LPC32XX_HSUART_CTRL(port->membase)); membase 419 drivers/tty/serial/lpc32xx_hs.c writel(tmp, LPC32XX_HSUART_CTRL(port->membase)); membase 422 drivers/tty/serial/lpc32xx_hs.c LPC32XX_HSU_FE_INT), LPC32XX_HSUART_IIR(port->membase)); membase 433 drivers/tty/serial/lpc32xx_hs.c tmp = readl(LPC32XX_HSUART_CTRL(port->membase)); membase 438 drivers/tty/serial/lpc32xx_hs.c writel(tmp, LPC32XX_HSUART_CTRL(port->membase)); membase 455 drivers/tty/serial/lpc32xx_hs.c LPC32XX_HSUART_IIR(port->membase)); membase 457 drivers/tty/serial/lpc32xx_hs.c writel(0xFF, LPC32XX_HSUART_RATE(port->membase)); membase 465 drivers/tty/serial/lpc32xx_hs.c writel(tmp, LPC32XX_HSUART_CTRL(port->membase)); membase 475 drivers/tty/serial/lpc32xx_hs.c LPC32XX_HSUART_CTRL(port->membase)); membase 490 drivers/tty/serial/lpc32xx_hs.c writel(tmp, LPC32XX_HSUART_CTRL(port->membase)); membase 522 drivers/tty/serial/lpc32xx_hs.c tmp = readl(LPC32XX_HSUART_CTRL(port->membase)); membase 527 drivers/tty/serial/lpc32xx_hs.c writel(tmp, LPC32XX_HSUART_CTRL(port->membase)); membase 529 drivers/tty/serial/lpc32xx_hs.c writel(quot, LPC32XX_HSUART_RATE(port->membase)); membase 549 drivers/tty/serial/lpc32xx_hs.c iounmap(port->membase); membase 550 drivers/tty/serial/lpc32xx_hs.c port->membase = NULL; membase 567 drivers/tty/serial/lpc32xx_hs.c port->membase = ioremap(port->mapbase, SZ_4K); membase 568 drivers/tty/serial/lpc32xx_hs.c if (!port->membase) { membase 592 drivers/tty/serial/lpc32xx_hs.c LPC32XX_HSUART_IIR(port->membase)); membase 594 drivers/tty/serial/lpc32xx_hs.c writel(0xFF, LPC32XX_HSUART_RATE(port->membase)); membase 600 drivers/tty/serial/lpc32xx_hs.c LPC32XX_HSUART_CTRL(port->membase)); membase 658 drivers/tty/serial/lpc32xx_hs.c p->port.membase = NULL; membase 1350 drivers/tty/serial/max310x.c s->p[i].port.membase = (void __iomem *)~0; membase 62 drivers/tty/serial/mcf.c return (readb(port->membase + MCFUART_USR) & MCFUART_USR_TXEMPTY) ? membase 73 drivers/tty/serial/mcf.c sigs = (readb(port->membase + MCFUART_UIPR) & MCFUART_UIPR_CTS) ? membase 91 drivers/tty/serial/mcf.c writeb(MCFUART_UOP_RTS, port->membase + MCFUART_UOP1); membase 93 drivers/tty/serial/mcf.c writeb(MCFUART_UOP_RTS, port->membase + MCFUART_UOP0); membase 104 drivers/tty/serial/mcf.c writeb(MCFUART_UCR_TXENABLE, port->membase + MCFUART_UCR); membase 106 drivers/tty/serial/mcf.c writeb(MCFUART_UOP_RTS, port->membase + MCFUART_UOP1); membase 109 drivers/tty/serial/mcf.c writeb(pp->imr, port->membase + MCFUART_UIMR); membase 119 drivers/tty/serial/mcf.c writeb(pp->imr, port->membase + MCFUART_UIMR); membase 129 drivers/tty/serial/mcf.c writeb(pp->imr, port->membase + MCFUART_UIMR); membase 140 drivers/tty/serial/mcf.c writeb(MCFUART_UCR_CMDBREAKSTART, port->membase + MCFUART_UCR); membase 142 drivers/tty/serial/mcf.c writeb(MCFUART_UCR_CMDBREAKSTOP, port->membase + MCFUART_UCR); membase 156 drivers/tty/serial/mcf.c writeb(MCFUART_UCR_CMDRESETRX, port->membase + MCFUART_UCR); membase 157 drivers/tty/serial/mcf.c writeb(MCFUART_UCR_CMDRESETTX, port->membase + MCFUART_UCR); membase 161 drivers/tty/serial/mcf.c port->membase + MCFUART_UCR); membase 165 drivers/tty/serial/mcf.c writeb(pp->imr, port->membase + MCFUART_UIMR); membase 183 drivers/tty/serial/mcf.c writeb(pp->imr, port->membase + MCFUART_UIMR); membase 186 drivers/tty/serial/mcf.c writeb(MCFUART_UCR_CMDRESETRX, port->membase + MCFUART_UCR); membase 187 drivers/tty/serial/mcf.c writeb(MCFUART_UCR_CMDRESETTX, port->membase + MCFUART_UCR); membase 262 drivers/tty/serial/mcf.c writeb(MCFUART_UCR_CMDRESETRX, port->membase + MCFUART_UCR); membase 263 drivers/tty/serial/mcf.c writeb(MCFUART_UCR_CMDRESETTX, port->membase + MCFUART_UCR); membase 264 drivers/tty/serial/mcf.c writeb(MCFUART_UCR_CMDRESETMRPTR, port->membase + MCFUART_UCR); membase 265 drivers/tty/serial/mcf.c writeb(mr1, port->membase + MCFUART_UMR); membase 266 drivers/tty/serial/mcf.c writeb(mr2, port->membase + MCFUART_UMR); membase 267 drivers/tty/serial/mcf.c writeb((baudclk & 0xff00) >> 8, port->membase + MCFUART_UBG1); membase 268 drivers/tty/serial/mcf.c writeb((baudclk & 0xff), port->membase + MCFUART_UBG2); membase 270 drivers/tty/serial/mcf.c writeb((baudfr & 0x0f), port->membase + MCFUART_UFPD); membase 273 drivers/tty/serial/mcf.c port->membase + MCFUART_UCSR); membase 275 drivers/tty/serial/mcf.c port->membase + MCFUART_UCR); membase 286 drivers/tty/serial/mcf.c while ((status = readb(port->membase + MCFUART_USR)) & MCFUART_USR_RXREADY) { membase 287 drivers/tty/serial/mcf.c ch = readb(port->membase + MCFUART_URB); membase 293 drivers/tty/serial/mcf.c port->membase + MCFUART_UCR); membase 336 drivers/tty/serial/mcf.c writeb(port->x_char, port->membase + MCFUART_UTB); membase 342 drivers/tty/serial/mcf.c while (readb(port->membase + MCFUART_USR) & MCFUART_USR_TXREADY) { membase 345 drivers/tty/serial/mcf.c writeb(xmit->buf[xmit->tail], port->membase + MCFUART_UTB); membase 355 drivers/tty/serial/mcf.c writeb(pp->imr, port->membase + MCFUART_UIMR); membase 359 drivers/tty/serial/mcf.c port->membase + MCFUART_UCR); membase 372 drivers/tty/serial/mcf.c isr = readb(port->membase + MCFUART_UISR) & pp->imr; membase 396 drivers/tty/serial/mcf.c writeb(0, port->membase + MCFUART_UIMR); membase 442 drivers/tty/serial/mcf.c mr1 = readb(port->membase + MCFUART_UMR); membase 443 drivers/tty/serial/mcf.c mr2 = readb(port->membase + MCFUART_UMR); membase 452 drivers/tty/serial/mcf.c writeb(mr1, port->membase + MCFUART_UMR); membase 453 drivers/tty/serial/mcf.c writeb(mr2, port->membase + MCFUART_UMR); membase 501 drivers/tty/serial/mcf.c port->membase = (platp[i].membase) ? platp[i].membase : membase 522 drivers/tty/serial/mcf.c if (readb(port->membase + MCFUART_USR) & MCFUART_USR_TXREADY) membase 525 drivers/tty/serial/mcf.c writeb(c, port->membase + MCFUART_UTB); membase 527 drivers/tty/serial/mcf.c if (readb(port->membase + MCFUART_USR) & MCFUART_USR_TXREADY) membase 556 drivers/tty/serial/mcf.c if (port->membase == 0) membase 626 drivers/tty/serial/mcf.c port->membase = (platp[i].membase) ? platp[i].membase : membase 145 drivers/tty/serial/men_z135_uart.c reg = ioread32(port->membase + addr); membase 147 drivers/tty/serial/men_z135_uart.c iowrite32(reg, port->membase + addr); membase 167 drivers/tty/serial/men_z135_uart.c reg = ioread32(port->membase + addr); membase 169 drivers/tty/serial/men_z135_uart.c iowrite32(reg, port->membase + addr); membase 228 drivers/tty/serial/men_z135_uart.c stat_reg = ioread32(port->membase + MEN_Z135_STAT_REG); membase 271 drivers/tty/serial/men_z135_uart.c memcpy_fromio(uart->rxbuf, port->membase + MEN_Z135_RX_RAM, room); membase 274 drivers/tty/serial/men_z135_uart.c iowrite32(room, port->membase + MEN_Z135_RX_CTRL); membase 320 drivers/tty/serial/men_z135_uart.c wptr = ioread32(port->membase + MEN_Z135_TX_CTRL); membase 354 drivers/tty/serial/men_z135_uart.c memcpy_toio(port->membase + MEN_Z135_TX_RAM, &xmit->buf[xmit->tail], n); membase 357 drivers/tty/serial/men_z135_uart.c iowrite32(n & 0x3ff, port->membase + MEN_Z135_TX_CTRL); membase 392 drivers/tty/serial/men_z135_uart.c uart->stat_reg = ioread32(port->membase + MEN_Z135_STAT_REG); membase 400 drivers/tty/serial/men_z135_uart.c iowrite8(irq_id, port->membase + MEN_Z135_STAT_REG); membase 462 drivers/tty/serial/men_z135_uart.c wptr = ioread32(port->membase + MEN_Z135_TX_CTRL); membase 484 drivers/tty/serial/men_z135_uart.c conf_reg = old = ioread32(port->membase + MEN_Z135_CONF_REG); membase 511 drivers/tty/serial/men_z135_uart.c iowrite32(conf_reg, port->membase + MEN_Z135_CONF_REG); membase 525 drivers/tty/serial/men_z135_uart.c msr = ioread8(port->membase + MEN_Z135_STAT_REG + 1); membase 620 drivers/tty/serial/men_z135_uart.c conf_reg = ioread32(port->membase + MEN_Z135_CONF_REG); membase 628 drivers/tty/serial/men_z135_uart.c iowrite32(conf_reg, port->membase + MEN_Z135_CONF_REG); membase 631 drivers/tty/serial/men_z135_uart.c iowrite32(rx_timeout, port->membase + MEN_Z135_TIMEOUT); membase 659 drivers/tty/serial/men_z135_uart.c conf_reg = ioread32(port->membase + MEN_Z135_CONF_REG); membase 706 drivers/tty/serial/men_z135_uart.c iowrite32(conf_reg, port->membase + MEN_Z135_CONF_REG); membase 708 drivers/tty/serial/men_z135_uart.c uart_freq = ioread32(port->membase + MEN_Z135_UART_FREQ); membase 719 drivers/tty/serial/men_z135_uart.c iowrite32(bd_reg, port->membase + MEN_Z135_BAUD_REG); membase 734 drivers/tty/serial/men_z135_uart.c iounmap(port->membase); membase 735 drivers/tty/serial/men_z135_uart.c port->membase = NULL; membase 753 drivers/tty/serial/men_z135_uart.c port->membase = ioremap(mem->start, resource_size(mem)); membase 754 drivers/tty/serial/men_z135_uart.c if (port->membase == NULL) { membase 842 drivers/tty/serial/men_z135_uart.c uart->port.membase = NULL; membase 97 drivers/tty/serial/meson_uart.c val = readl(port->membase + AML_UART_STATUS); membase 106 drivers/tty/serial/meson_uart.c val = readl(port->membase + AML_UART_CONTROL); membase 108 drivers/tty/serial/meson_uart.c writel(val, port->membase + AML_UART_CONTROL); membase 115 drivers/tty/serial/meson_uart.c val = readl(port->membase + AML_UART_CONTROL); membase 117 drivers/tty/serial/meson_uart.c writel(val, port->membase + AML_UART_CONTROL); membase 129 drivers/tty/serial/meson_uart.c val = readl(port->membase + AML_UART_CONTROL); membase 132 drivers/tty/serial/meson_uart.c writel(val, port->membase + AML_UART_CONTROL); membase 148 drivers/tty/serial/meson_uart.c while (!(readl(port->membase + AML_UART_STATUS) & AML_UART_TX_FULL)) { membase 150 drivers/tty/serial/meson_uart.c writel(port->x_char, port->membase + AML_UART_WFIFO); membase 160 drivers/tty/serial/meson_uart.c writel(ch, port->membase + AML_UART_WFIFO); membase 166 drivers/tty/serial/meson_uart.c val = readl(port->membase + AML_UART_CONTROL); membase 168 drivers/tty/serial/meson_uart.c writel(val, port->membase + AML_UART_CONTROL); membase 184 drivers/tty/serial/meson_uart.c ostatus = status = readl(port->membase + AML_UART_STATUS); membase 194 drivers/tty/serial/meson_uart.c mode = readl(port->membase + AML_UART_CONTROL); membase 196 drivers/tty/serial/meson_uart.c writel(mode, port->membase + AML_UART_CONTROL); membase 200 drivers/tty/serial/meson_uart.c writel(mode, port->membase + AML_UART_CONTROL); membase 209 drivers/tty/serial/meson_uart.c ch = readl(port->membase + AML_UART_RFIFO); membase 228 drivers/tty/serial/meson_uart.c } while (!(readl(port->membase + AML_UART_STATUS) & AML_UART_RX_EMPTY)); membase 241 drivers/tty/serial/meson_uart.c if (!(readl(port->membase + AML_UART_STATUS) & AML_UART_RX_EMPTY)) membase 244 drivers/tty/serial/meson_uart.c if (!(readl(port->membase + AML_UART_STATUS) & AML_UART_TX_FULL)) { membase 245 drivers/tty/serial/meson_uart.c if (readl(port->membase + AML_UART_CONTROL) & AML_UART_TX_INT_EN) membase 263 drivers/tty/serial/meson_uart.c val = readl(port->membase + AML_UART_CONTROL); membase 265 drivers/tty/serial/meson_uart.c writel(val, port->membase + AML_UART_CONTROL); membase 268 drivers/tty/serial/meson_uart.c writel(val, port->membase + AML_UART_CONTROL); membase 276 drivers/tty/serial/meson_uart.c val = readl(port->membase + AML_UART_CONTROL); membase 278 drivers/tty/serial/meson_uart.c writel(val, port->membase + AML_UART_CONTROL); membase 280 drivers/tty/serial/meson_uart.c writel(val, port->membase + AML_UART_CONTROL); membase 283 drivers/tty/serial/meson_uart.c writel(val, port->membase + AML_UART_CONTROL); membase 286 drivers/tty/serial/meson_uart.c writel(val, port->membase + AML_UART_CONTROL); membase 289 drivers/tty/serial/meson_uart.c writel(val, port->membase + AML_UART_MISC); membase 311 drivers/tty/serial/meson_uart.c writel(val, port->membase + AML_UART_REG5); membase 327 drivers/tty/serial/meson_uart.c val = readl(port->membase + AML_UART_CONTROL); membase 366 drivers/tty/serial/meson_uart.c writel(val, port->membase + AML_UART_CONTROL); membase 401 drivers/tty/serial/meson_uart.c devm_iounmap(port->dev, port->membase); membase 402 drivers/tty/serial/meson_uart.c port->membase = NULL; membase 414 drivers/tty/serial/meson_uart.c port->membase = devm_ioremap_nocache(port->dev, port->mapbase, membase 416 drivers/tty/serial/meson_uart.c if (!port->membase) membase 452 drivers/tty/serial/meson_uart.c val = readl(port->membase + AML_UART_CONTROL); membase 454 drivers/tty/serial/meson_uart.c writel(val, port->membase + AML_UART_CONTROL); membase 459 drivers/tty/serial/meson_uart.c if (!port->membase) membase 462 drivers/tty/serial/meson_uart.c while (readl(port->membase + AML_UART_STATUS) & AML_UART_TX_FULL) membase 464 drivers/tty/serial/meson_uart.c writel(ch, port->membase + AML_UART_WFIFO); membase 484 drivers/tty/serial/meson_uart.c val = readl(port->membase + AML_UART_CONTROL); membase 486 drivers/tty/serial/meson_uart.c writel(tmp, port->membase + AML_UART_CONTROL); membase 489 drivers/tty/serial/meson_uart.c writel(val, port->membase + AML_UART_CONTROL); membase 520 drivers/tty/serial/meson_uart.c if (!port || !port->membase) membase 560 drivers/tty/serial/meson_uart.c if (!device->port.membase) membase 71 drivers/tty/serial/milbeaut_usio.c writew(readw(port->membase + MLB_USIO_REG_FCR) & ~MLB_USIO_FCR_FTIE, membase 72 drivers/tty/serial/milbeaut_usio.c port->membase + MLB_USIO_REG_FCR); membase 73 drivers/tty/serial/milbeaut_usio.c writeb(readb(port->membase + MLB_USIO_REG_SCR) & ~MLB_USIO_SCR_TBIE, membase 74 drivers/tty/serial/milbeaut_usio.c port->membase + MLB_USIO_REG_SCR); membase 82 drivers/tty/serial/milbeaut_usio.c writew(readw(port->membase + MLB_USIO_REG_FCR) & ~MLB_USIO_FCR_FTIE, membase 83 drivers/tty/serial/milbeaut_usio.c port->membase + MLB_USIO_REG_FCR); membase 84 drivers/tty/serial/milbeaut_usio.c writeb(readb(port->membase + MLB_USIO_REG_SCR) & membase 86 drivers/tty/serial/milbeaut_usio.c port->membase + MLB_USIO_REG_SCR); membase 89 drivers/tty/serial/milbeaut_usio.c writew(port->x_char, port->membase + MLB_USIO_REG_DR); membase 100 drivers/tty/serial/milbeaut_usio.c (readw(port->membase + MLB_USIO_REG_FBYTE) & 0xff); membase 103 drivers/tty/serial/milbeaut_usio.c writew(xmit->buf[xmit->tail], port->membase + MLB_USIO_REG_DR); membase 112 drivers/tty/serial/milbeaut_usio.c writew(readw(port->membase + MLB_USIO_REG_FCR) & ~MLB_USIO_FCR_FDRQ, membase 113 drivers/tty/serial/milbeaut_usio.c port->membase + MLB_USIO_REG_FCR); membase 115 drivers/tty/serial/milbeaut_usio.c writeb(readb(port->membase + MLB_USIO_REG_SCR) | MLB_USIO_SCR_TBIE, membase 116 drivers/tty/serial/milbeaut_usio.c port->membase + MLB_USIO_REG_SCR); membase 127 drivers/tty/serial/milbeaut_usio.c u16 fcr = readw(port->membase + MLB_USIO_REG_FCR); membase 129 drivers/tty/serial/milbeaut_usio.c writew(fcr | MLB_USIO_FCR_FTIE, port->membase + MLB_USIO_REG_FCR); membase 133 drivers/tty/serial/milbeaut_usio.c writeb(readb(port->membase + MLB_USIO_REG_SCR) | MLB_USIO_SCR_TBIE, membase 134 drivers/tty/serial/milbeaut_usio.c port->membase + MLB_USIO_REG_SCR); membase 136 drivers/tty/serial/milbeaut_usio.c if (readb(port->membase + MLB_USIO_REG_SSR) & MLB_USIO_SSR_TBI) membase 142 drivers/tty/serial/milbeaut_usio.c writeb(readb(port->membase + MLB_USIO_REG_SCR) & ~MLB_USIO_SCR_RIE, membase 143 drivers/tty/serial/milbeaut_usio.c port->membase + MLB_USIO_REG_SCR); membase 148 drivers/tty/serial/milbeaut_usio.c writeb(readb(port->membase + MLB_USIO_REG_SCR) | membase 150 drivers/tty/serial/milbeaut_usio.c port->membase + MLB_USIO_REG_SCR); membase 162 drivers/tty/serial/milbeaut_usio.c status = readb(port->membase + MLB_USIO_REG_SSR); membase 169 drivers/tty/serial/milbeaut_usio.c ch = readw(port->membase + MLB_USIO_REG_DR); membase 199 drivers/tty/serial/milbeaut_usio.c writeb(readb(port->membase + MLB_USIO_REG_SSR) | membase 201 drivers/tty/serial/milbeaut_usio.c port->membase + MLB_USIO_REG_SSR); membase 203 drivers/tty/serial/milbeaut_usio.c max_count = readw(port->membase + MLB_USIO_REG_FBYTE) >> 8; membase 204 drivers/tty/serial/milbeaut_usio.c writew(readw(port->membase + MLB_USIO_REG_FCR) | membase 206 drivers/tty/serial/milbeaut_usio.c port->membase + MLB_USIO_REG_FCR); membase 228 drivers/tty/serial/milbeaut_usio.c if (readb(port->membase + MLB_USIO_REG_SSR) & MLB_USIO_SSR_TBI) membase 237 drivers/tty/serial/milbeaut_usio.c return (readb(port->membase + MLB_USIO_REG_SSR) & MLB_USIO_SSR_TBI) ? membase 273 drivers/tty/serial/milbeaut_usio.c escr = readb(port->membase + MLB_USIO_REG_ESCR); membase 277 drivers/tty/serial/milbeaut_usio.c writeb(0, port->membase + MLB_USIO_REG_SCR); membase 278 drivers/tty/serial/milbeaut_usio.c writeb(escr, port->membase + MLB_USIO_REG_ESCR); membase 279 drivers/tty/serial/milbeaut_usio.c writeb(MLB_USIO_SCR_UPCL, port->membase + MLB_USIO_REG_SCR); membase 280 drivers/tty/serial/milbeaut_usio.c writeb(MLB_USIO_SSR_REC, port->membase + MLB_USIO_REG_SSR); membase 281 drivers/tty/serial/milbeaut_usio.c writew(0, port->membase + MLB_USIO_REG_FCR); membase 283 drivers/tty/serial/milbeaut_usio.c port->membase + MLB_USIO_REG_FCR); membase 285 drivers/tty/serial/milbeaut_usio.c port->membase + MLB_USIO_REG_FCR); membase 286 drivers/tty/serial/milbeaut_usio.c writew(0, port->membase + MLB_USIO_REG_FBYTE); membase 287 drivers/tty/serial/milbeaut_usio.c writew(BIT(12), port->membase + MLB_USIO_REG_FBYTE); membase 290 drivers/tty/serial/milbeaut_usio.c MLB_USIO_SCR_RXE, port->membase + MLB_USIO_REG_SCR); membase 360 drivers/tty/serial/milbeaut_usio.c writeb(0, port->membase + MLB_USIO_REG_SCR); membase 361 drivers/tty/serial/milbeaut_usio.c writeb(MLB_USIO_SCR_UPCL, port->membase + MLB_USIO_REG_SCR); membase 362 drivers/tty/serial/milbeaut_usio.c writeb(MLB_USIO_SSR_REC, port->membase + MLB_USIO_REG_SSR); membase 363 drivers/tty/serial/milbeaut_usio.c writew(0, port->membase + MLB_USIO_REG_FCR); membase 364 drivers/tty/serial/milbeaut_usio.c writeb(smr, port->membase + MLB_USIO_REG_SMR); membase 365 drivers/tty/serial/milbeaut_usio.c writeb(escr, port->membase + MLB_USIO_REG_ESCR); membase 366 drivers/tty/serial/milbeaut_usio.c writew(quot, port->membase + MLB_USIO_REG_BGR); membase 367 drivers/tty/serial/milbeaut_usio.c writew(0, port->membase + MLB_USIO_REG_FCR); membase 370 drivers/tty/serial/milbeaut_usio.c port->membase + MLB_USIO_REG_FCR); membase 371 drivers/tty/serial/milbeaut_usio.c writew(0, port->membase + MLB_USIO_REG_FBYTE); membase 372 drivers/tty/serial/milbeaut_usio.c writew(BIT(12), port->membase + MLB_USIO_REG_FBYTE); membase 374 drivers/tty/serial/milbeaut_usio.c MLB_USIO_SCR_TXE, port->membase + MLB_USIO_REG_SCR); membase 409 drivers/tty/serial/milbeaut_usio.c while (!(readb(port->membase + MLB_USIO_REG_SSR) & MLB_USIO_SSR_TDRE)) membase 412 drivers/tty/serial/milbeaut_usio.c writew(c, port->membase + MLB_USIO_REG_DR); membase 435 drivers/tty/serial/milbeaut_usio.c if (!port->membase) membase 479 drivers/tty/serial/milbeaut_usio.c if (!device->port.membase) membase 528 drivers/tty/serial/milbeaut_usio.c port->membase = devm_ioremap(&pdev->dev, res->start, membase 77 drivers/tty/serial/mpc52xx_uart.c #define PSC(port) ((struct mpc52xx_psc __iomem *)((port)->membase)) membase 765 drivers/tty/serial/mpc52xx_uart.c #define PSC_5125(port) ((struct mpc5125_psc __iomem *)((port)->membase)) membase 1279 drivers/tty/serial/mpc52xx_uart.c iounmap(port->membase); membase 1280 drivers/tty/serial/mpc52xx_uart.c port->membase = NULL; membase 1292 drivers/tty/serial/mpc52xx_uart.c port->membase = ioremap(port->mapbase, membase 1295 drivers/tty/serial/mpc52xx_uart.c if (!port->membase) membase 1316 drivers/tty/serial/mpc52xx_uart.c iounmap(port->membase); membase 1317 drivers/tty/serial/mpc52xx_uart.c port->membase = NULL; membase 1656 drivers/tty/serial/mpc52xx_uart.c port->membase = ioremap(res.start, sizeof(struct mpc52xx_psc)); membase 1659 drivers/tty/serial/mpc52xx_uart.c if (port->membase == NULL) membase 1663 drivers/tty/serial/mpc52xx_uart.c (void *)port->mapbase, port->membase, membase 88 drivers/tty/serial/mps2-uart.c writeb(val, mps_port->port.membase + off); membase 95 drivers/tty/serial/mps2-uart.c return readb(mps_port->port.membase + off); membase 102 drivers/tty/serial/mps2-uart.c writel_relaxed(val, mps_port->port.membase + off); membase 489 drivers/tty/serial/mps2-uart.c while (readb(port->membase + UARTn_STATE) & UARTn_STATE_TX_FULL) membase 492 drivers/tty/serial/mps2-uart.c writeb((unsigned char)ch, port->membase + UARTn_DATA); membase 505 drivers/tty/serial/mps2-uart.c if (!device->port.membase) membase 561 drivers/tty/serial/mps2-uart.c mps_port->port.membase = devm_ioremap_resource(&pdev->dev, res); membase 562 drivers/tty/serial/mps2-uart.c if (IS_ERR(mps_port->port.membase)) membase 563 drivers/tty/serial/mps2-uart.c return PTR_ERR(mps_port->port.membase); membase 192 drivers/tty/serial/msm_serial.c writel_relaxed(val, port->membase + off); membase 198 drivers/tty/serial/msm_serial.c return readl_relaxed(port->membase + off); membase 722 drivers/tty/serial/msm_serial.c ioread32_rep(port->membase + UARTDM_RF, buf, 1); membase 823 drivers/tty/serial/msm_serial.c tf = port->membase + UARTDM_TF; membase 825 drivers/tty/serial/msm_serial.c tf = port->membase + UART_TF; membase 873 drivers/tty/serial/msm_serial.c tf = port->membase + UARTDM_TF; membase 875 drivers/tty/serial/msm_serial.c tf = port->membase + UART_TF; membase 1339 drivers/tty/serial/msm_serial.c iounmap(port->membase); membase 1340 drivers/tty/serial/msm_serial.c port->membase = NULL; membase 1359 drivers/tty/serial/msm_serial.c port->membase = ioremap(port->mapbase, size); membase 1360 drivers/tty/serial/msm_serial.c if (!port->membase) { membase 1586 drivers/tty/serial/msm_serial.c tf = port->membase + UARTDM_TF; membase 1588 drivers/tty/serial/msm_serial.c tf = port->membase + UART_TF; membase 1670 drivers/tty/serial/msm_serial.c if (unlikely(!port->membase)) membase 1694 drivers/tty/serial/msm_serial.c if (!device->port.membase) membase 1715 drivers/tty/serial/msm_serial.c if (!device->port.membase) membase 67 drivers/tty/serial/mux.c #define UART_PUT_CHAR(p, c) __raw_writel((c), (p)->membase + IO_DATA_REG_OFFSET) membase 68 drivers/tty/serial/mux.c #define UART_GET_FIFO_CNT(p) __raw_readl((p)->membase + IO_DCOUNT_REG_OFFSET) membase 236 drivers/tty/serial/mux.c data = __raw_readl(port->membase + IO_DATA_REG_OFFSET); membase 362 drivers/tty/serial/mux.c if(port->membase == NULL) membase 477 drivers/tty/serial/mux.c port->membase = ioremap_nocache(port->mapbase, MUX_LINE_OFFSET); membase 519 drivers/tty/serial/mux.c if(port->membase) membase 520 drivers/tty/serial/mux.c iounmap(port->membase); membase 164 drivers/tty/serial/mvebu-uart.c st = readl(port->membase + UART_STAT); membase 186 drivers/tty/serial/mvebu-uart.c unsigned int ctl = readl(port->membase + UART_INTR(port)); membase 189 drivers/tty/serial/mvebu-uart.c writel(ctl, port->membase + UART_INTR(port)); membase 198 drivers/tty/serial/mvebu-uart.c writel(xmit->buf[xmit->tail], port->membase + UART_TSH(port)); membase 203 drivers/tty/serial/mvebu-uart.c ctl = readl(port->membase + UART_INTR(port)); membase 205 drivers/tty/serial/mvebu-uart.c writel(ctl, port->membase + UART_INTR(port)); membase 212 drivers/tty/serial/mvebu-uart.c ctl = readl(port->membase + UART_CTRL(port)); membase 214 drivers/tty/serial/mvebu-uart.c writel(ctl, port->membase + UART_CTRL(port)); membase 216 drivers/tty/serial/mvebu-uart.c ctl = readl(port->membase + UART_INTR(port)); membase 218 drivers/tty/serial/mvebu-uart.c writel(ctl, port->membase + UART_INTR(port)); membase 227 drivers/tty/serial/mvebu-uart.c ctl = readl(port->membase + UART_CTRL(port)); membase 232 drivers/tty/serial/mvebu-uart.c writel(ctl, port->membase + UART_CTRL(port)); membase 244 drivers/tty/serial/mvebu-uart.c ch = readl(port->membase + UART_RBR(port)); membase 292 drivers/tty/serial/mvebu-uart.c status = readl(port->membase + UART_STAT); membase 305 drivers/tty/serial/mvebu-uart.c writel(port->x_char, port->membase + UART_TSH(port)); membase 317 drivers/tty/serial/mvebu-uart.c writel(xmit->buf[xmit->tail], port->membase + UART_TSH(port)); membase 324 drivers/tty/serial/mvebu-uart.c st = readl(port->membase + UART_STAT); membase 339 drivers/tty/serial/mvebu-uart.c unsigned int st = readl(port->membase + UART_STAT); membase 354 drivers/tty/serial/mvebu-uart.c unsigned int st = readl(port->membase + UART_STAT); membase 366 drivers/tty/serial/mvebu-uart.c unsigned int st = readl(port->membase + UART_STAT); membase 381 drivers/tty/serial/mvebu-uart.c port->membase + UART_CTRL(port)); membase 385 drivers/tty/serial/mvebu-uart.c ret = readl(port->membase + UART_STAT); membase 387 drivers/tty/serial/mvebu-uart.c writel(ret, port->membase + UART_STAT); membase 389 drivers/tty/serial/mvebu-uart.c writel(CTRL_BRK_INT, port->membase + UART_CTRL(port)); membase 391 drivers/tty/serial/mvebu-uart.c ctl = readl(port->membase + UART_INTR(port)); membase 393 drivers/tty/serial/mvebu-uart.c writel(ctl, port->membase + UART_INTR(port)); membase 436 drivers/tty/serial/mvebu-uart.c writel(0, port->membase + UART_INTR(port)); membase 468 drivers/tty/serial/mvebu-uart.c brdv = readl(port->membase + UART_BRDV); membase 471 drivers/tty/serial/mvebu-uart.c writel(brdv, port->membase + UART_BRDV); membase 473 drivers/tty/serial/mvebu-uart.c osamp = readl(port->membase + UART_OSAMP); membase 475 drivers/tty/serial/mvebu-uart.c writel(osamp, port->membase + UART_OSAMP); membase 549 drivers/tty/serial/mvebu-uart.c unsigned int st = readl(port->membase + UART_STAT); membase 554 drivers/tty/serial/mvebu-uart.c return readl(port->membase + UART_RBR(port)); membase 562 drivers/tty/serial/mvebu-uart.c st = readl(port->membase + UART_STAT); membase 570 drivers/tty/serial/mvebu-uart.c writel(c, port->membase + UART_TSH(port)); membase 603 drivers/tty/serial/mvebu-uart.c st = readl(port->membase + UART_STAT); membase 609 drivers/tty/serial/mvebu-uart.c writel(c, port->membase + UART_STD_TSH); membase 612 drivers/tty/serial/mvebu-uart.c st = readl(port->membase + UART_STAT); membase 631 drivers/tty/serial/mvebu-uart.c if (!device->port.membase) membase 647 drivers/tty/serial/mvebu-uart.c readl_poll_timeout_atomic(port->membase + UART_STAT, val, membase 654 drivers/tty/serial/mvebu-uart.c writel(ch, port->membase + UART_TSH(port)); membase 670 drivers/tty/serial/mvebu-uart.c ier = readl(port->membase + UART_CTRL(port)) & CTRL_BRK_INT; membase 671 drivers/tty/serial/mvebu-uart.c intr = readl(port->membase + UART_INTR(port)) & membase 673 drivers/tty/serial/mvebu-uart.c writel(0, port->membase + UART_CTRL(port)); membase 674 drivers/tty/serial/mvebu-uart.c writel(0, port->membase + UART_INTR(port)); membase 681 drivers/tty/serial/mvebu-uart.c writel(ier, port->membase + UART_CTRL(port)); membase 684 drivers/tty/serial/mvebu-uart.c ctl = intr | readl(port->membase + UART_INTR(port)); membase 685 drivers/tty/serial/mvebu-uart.c writel(ctl, port->membase + UART_INTR(port)); membase 705 drivers/tty/serial/mvebu-uart.c if (!port->mapbase || !port->membase) { membase 757 drivers/tty/serial/mvebu-uart.c mvuart->pm_regs.rbr = readl(port->membase + UART_RBR(port)); membase 758 drivers/tty/serial/mvebu-uart.c mvuart->pm_regs.tsh = readl(port->membase + UART_TSH(port)); membase 759 drivers/tty/serial/mvebu-uart.c mvuart->pm_regs.ctrl = readl(port->membase + UART_CTRL(port)); membase 760 drivers/tty/serial/mvebu-uart.c mvuart->pm_regs.intr = readl(port->membase + UART_INTR(port)); membase 761 drivers/tty/serial/mvebu-uart.c mvuart->pm_regs.stat = readl(port->membase + UART_STAT); membase 762 drivers/tty/serial/mvebu-uart.c mvuart->pm_regs.brdv = readl(port->membase + UART_BRDV); membase 763 drivers/tty/serial/mvebu-uart.c mvuart->pm_regs.osamp = readl(port->membase + UART_OSAMP); membase 775 drivers/tty/serial/mvebu-uart.c writel(mvuart->pm_regs.rbr, port->membase + UART_RBR(port)); membase 776 drivers/tty/serial/mvebu-uart.c writel(mvuart->pm_regs.tsh, port->membase + UART_TSH(port)); membase 777 drivers/tty/serial/mvebu-uart.c writel(mvuart->pm_regs.ctrl, port->membase + UART_CTRL(port)); membase 778 drivers/tty/serial/mvebu-uart.c writel(mvuart->pm_regs.intr, port->membase + UART_INTR(port)); membase 779 drivers/tty/serial/mvebu-uart.c writel(mvuart->pm_regs.stat, port->membase + UART_STAT); membase 780 drivers/tty/serial/mvebu-uart.c writel(mvuart->pm_regs.brdv, port->membase + UART_BRDV); membase 781 drivers/tty/serial/mvebu-uart.c writel(mvuart->pm_regs.osamp, port->membase + UART_OSAMP); membase 852 drivers/tty/serial/mvebu-uart.c port->membase = devm_ioremap_resource(&pdev->dev, reg); membase 853 drivers/tty/serial/mvebu-uart.c if (IS_ERR(port->membase)) membase 854 drivers/tty/serial/mvebu-uart.c return PTR_ERR(port->membase); membase 911 drivers/tty/serial/mvebu-uart.c writel(CTRL_SOFT_RST, port->membase + UART_CTRL(port)); membase 913 drivers/tty/serial/mvebu-uart.c writel(0, port->membase + UART_CTRL(port)); membase 496 drivers/tty/serial/mxs-auart.c void __iomem *addr = uap->port.membase + mxs_reg_to_offset(uap, reg); membase 504 drivers/tty/serial/mxs-auart.c void __iomem *addr = uap->port.membase + mxs_reg_to_offset(uap, reg); membase 512 drivers/tty/serial/mxs-auart.c void __iomem *addr = uap->port.membase + mxs_reg_to_offset(uap, reg); membase 520 drivers/tty/serial/mxs-auart.c void __iomem *addr = uap->port.membase + mxs_reg_to_offset(uap, reg); membase 1686 drivers/tty/serial/mxs-auart.c s->port.membase = ioremap(r->start, resource_size(r)); membase 1687 drivers/tty/serial/mxs-auart.c if (!s->port.membase) { membase 181 drivers/tty/serial/omap-serial.c return readw(up->port.membase + offset); membase 187 drivers/tty/serial/omap-serial.c writew(value, up->port.membase + offset); membase 1237 drivers/tty/serial/omap-serial.c return readw(port->membase + offset); membase 1244 drivers/tty/serial/omap-serial.c writew(value, port->membase + offset); membase 1274 drivers/tty/serial/omap-serial.c if (!(device->port.membase || device->port.iobase)) membase 1535 drivers/tty/serial/omap-serial.c mvr = readl(up->port.membase + (UART_OMAP_MVER << up->port.regshift)); membase 1714 drivers/tty/serial/omap-serial.c up->port.membase = base; membase 82 drivers/tty/serial/owl-uart.c writel(val, port->membase + off); membase 87 drivers/tty/serial/owl-uart.c return readl(port->membase + off); membase 411 drivers/tty/serial/owl-uart.c devm_iounmap(port->dev, port->membase); membase 412 drivers/tty/serial/owl-uart.c port->membase = NULL; membase 430 drivers/tty/serial/owl-uart.c port->membase = devm_ioremap_nocache(port->dev, port->mapbase, membase 432 drivers/tty/serial/owl-uart.c if (!port->membase) membase 485 drivers/tty/serial/owl-uart.c if (!port->membase) membase 561 drivers/tty/serial/owl-uart.c if (!owl_port || !owl_port->port.membase) membase 600 drivers/tty/serial/owl-uart.c if (!device->port.membase) membase 212 drivers/tty/serial/pch_uart.c void __iomem *membase; membase 322 drivers/tty/serial/pch_uart.c "IER: \t0x%02x\n", ioread8(priv->membase + UART_IER)); membase 324 drivers/tty/serial/pch_uart.c "IIR: \t0x%02x\n", ioread8(priv->membase + UART_IIR)); membase 326 drivers/tty/serial/pch_uart.c "LCR: \t0x%02x\n", ioread8(priv->membase + UART_LCR)); membase 328 drivers/tty/serial/pch_uart.c "MCR: \t0x%02x\n", ioread8(priv->membase + UART_MCR)); membase 330 drivers/tty/serial/pch_uart.c "LSR: \t0x%02x\n", ioread8(priv->membase + UART_LSR)); membase 332 drivers/tty/serial/pch_uart.c "MSR: \t0x%02x\n", ioread8(priv->membase + UART_MSR)); membase 335 drivers/tty/serial/pch_uart.c ioread8(priv->membase + PCH_UART_BRCSR)); membase 337 drivers/tty/serial/pch_uart.c lcr = ioread8(priv->membase + UART_LCR); membase 338 drivers/tty/serial/pch_uart.c iowrite8(PCH_UART_LCR_DLAB, priv->membase + UART_LCR); membase 340 drivers/tty/serial/pch_uart.c "DLL: \t0x%02x\n", ioread8(priv->membase + UART_DLL)); membase 342 drivers/tty/serial/pch_uart.c "DLM: \t0x%02x\n", ioread8(priv->membase + UART_DLM)); membase 343 drivers/tty/serial/pch_uart.c iowrite8(lcr, priv->membase + UART_LCR); membase 425 drivers/tty/serial/pch_uart.c u8 ier = ioread8(priv->membase + UART_IER); membase 427 drivers/tty/serial/pch_uart.c iowrite8(ier, priv->membase + UART_IER); membase 433 drivers/tty/serial/pch_uart.c u8 ier = ioread8(priv->membase + UART_IER); membase 435 drivers/tty/serial/pch_uart.c iowrite8(ier, priv->membase + UART_IER); membase 475 drivers/tty/serial/pch_uart.c iowrite8(PCH_UART_LCR_DLAB, priv->membase + UART_LCR); membase 476 drivers/tty/serial/pch_uart.c iowrite8(dll, priv->membase + PCH_UART_DLL); membase 477 drivers/tty/serial/pch_uart.c iowrite8(dlm, priv->membase + PCH_UART_DLM); membase 478 drivers/tty/serial/pch_uart.c iowrite8(lcr, priv->membase + UART_LCR); membase 492 drivers/tty/serial/pch_uart.c iowrite8(PCH_UART_FCR_FIFOE | priv->fcr, priv->membase + UART_FCR); membase 494 drivers/tty/serial/pch_uart.c priv->membase + UART_FCR); membase 495 drivers/tty/serial/pch_uart.c iowrite8(priv->fcr, priv->membase + UART_FCR); membase 544 drivers/tty/serial/pch_uart.c iowrite8(PCH_UART_FCR_FIFOE, priv->membase + UART_FCR); membase 546 drivers/tty/serial/pch_uart.c priv->membase + UART_FCR); membase 547 drivers/tty/serial/pch_uart.c iowrite8(fcr, priv->membase + UART_FCR); membase 555 drivers/tty/serial/pch_uart.c unsigned int msr = ioread8(priv->membase + UART_MSR); membase 568 drivers/tty/serial/pch_uart.c iowrite8(thr, priv->membase + PCH_UART_THR); membase 579 drivers/tty/serial/pch_uart.c lsr = ioread8(priv->membase + UART_LSR); membase 580 drivers/tty/serial/pch_uart.c for (i = 0, lsr = ioread8(priv->membase + UART_LSR); membase 582 drivers/tty/serial/pch_uart.c lsr = ioread8(priv->membase + UART_LSR)) { membase 583 drivers/tty/serial/pch_uart.c rbr = ioread8(priv->membase + PCH_UART_RBR); membase 604 drivers/tty/serial/pch_uart.c return ioread8(priv->membase + UART_IIR) &\ membase 610 drivers/tty/serial/pch_uart.c return ioread8(priv->membase + UART_LSR); membase 617 drivers/tty/serial/pch_uart.c lcr = ioread8(priv->membase + UART_LCR); membase 623 drivers/tty/serial/pch_uart.c iowrite8(lcr, priv->membase + UART_LCR); membase 1211 drivers/tty/serial/pch_uart.c iowrite8(mcr, priv->membase + UART_MCR); membase 1443 drivers/tty/serial/pch_uart.c pci_iounmap(priv->pdev, priv->membase); membase 1451 drivers/tty/serial/pch_uart.c void __iomem *membase; membase 1458 drivers/tty/serial/pch_uart.c membase = pci_iomap(priv->pdev, 1, 0); membase 1459 drivers/tty/serial/pch_uart.c if (!membase) { membase 1463 drivers/tty/serial/pch_uart.c priv->membase = port->membase = membase; membase 1519 drivers/tty/serial/pch_uart.c status = ioread8(up->membase + UART_LSR); membase 1532 drivers/tty/serial/pch_uart.c unsigned int msr = ioread8(up->membase + UART_MSR); membase 1551 drivers/tty/serial/pch_uart.c u8 lsr = ioread8(priv->membase + UART_LSR); membase 1556 drivers/tty/serial/pch_uart.c return ioread8(priv->membase + PCH_UART_RBR); membase 1570 drivers/tty/serial/pch_uart.c ier = ioread8(priv->membase + UART_IER); membase 1577 drivers/tty/serial/pch_uart.c iowrite8(c, priv->membase + PCH_UART_THR); membase 1584 drivers/tty/serial/pch_uart.c iowrite8(ier, priv->membase + UART_IER); membase 1620 drivers/tty/serial/pch_uart.c iowrite8(ch, priv->membase + PCH_UART_THR); membase 1659 drivers/tty/serial/pch_uart.c ier = ioread8(priv->membase + UART_IER); membase 1670 drivers/tty/serial/pch_uart.c iowrite8(ier, priv->membase + UART_IER); membase 1696 drivers/tty/serial/pch_uart.c if (!port || (!port->iobase && !port->membase)) membase 1791 drivers/tty/serial/pch_uart.c priv->port.membase = NULL; membase 621 drivers/tty/serial/pic32_uart.c port->membase = devm_ioremap_nocache(port->dev, port->mapbase, membase 623 drivers/tty/serial/pic32_uart.c if (!port->membase) { membase 870 drivers/tty/serial/pic32_uart.c port->membase = NULL; membase 79 drivers/tty/serial/pic32_uart.h __raw_writel(val, port->membase + reg); membase 86 drivers/tty/serial/pic32_uart.h return __raw_readl(port->membase + reg); membase 1414 drivers/tty/serial/pmac_zilog.c uap->port.membase = ioremap(uap->port.mapbase, 0x1000); membase 1416 drivers/tty/serial/pmac_zilog.c uap->control_reg = uap->port.membase; membase 1712 drivers/tty/serial/pmac_zilog.c uap->port.membase = (unsigned char __iomem *) r_ports->start; membase 1721 drivers/tty/serial/pmac_zilog.c uap->control_reg = uap->port.membase; membase 67 drivers/tty/serial/pnx8xxx_uart.c return (__raw_readl(sport->port.membase + offset)); membase 72 drivers/tty/serial/pnx8xxx_uart.c __raw_writel(value, sport->port.membase + offset); membase 58 drivers/tty/serial/pxa.c return readl(up->port.membase + offset); membase 64 drivers/tty/serial/pxa.c writel(value, up->port.membase + offset); membase 895 drivers/tty/serial/pxa.c sport->port.membase = ioremap(mmres->start, resource_size(mmres)); membase 896 drivers/tty/serial/pxa.c if (!sport->port.membase) { membase 203 drivers/tty/serial/qcom_geni_serial.c uport->membase = devm_platform_ioremap_resource(pdev, 0); membase 204 drivers/tty/serial/qcom_geni_serial.c if (IS_ERR(uport->membase)) membase 205 drivers/tty/serial/qcom_geni_serial.c return PTR_ERR(uport->membase); membase 206 drivers/tty/serial/qcom_geni_serial.c port->se.base = uport->membase; membase 226 drivers/tty/serial/qcom_geni_serial.c geni_ios = readl(uport->membase + SE_GENI_IOS); membase 244 drivers/tty/serial/qcom_geni_serial.c writel(uart_manual_rfr, uport->membase + SE_UART_MANUAL_RFR); membase 292 drivers/tty/serial/qcom_geni_serial.c reg = readl(uport->membase + offset); membase 305 drivers/tty/serial/qcom_geni_serial.c writel(xmit_size, uport->membase + SE_UART_TX_TRANS_LEN); membase 307 drivers/tty/serial/qcom_geni_serial.c writel(m_cmd, uport->membase + SE_GENI_M_CMD0); membase 318 drivers/tty/serial/qcom_geni_serial.c writel(M_GENI_CMD_ABORT, uport->membase + membase 324 drivers/tty/serial/qcom_geni_serial.c writel(irq_clear, uport->membase + SE_GENI_M_IRQ_CLEAR); membase 331 drivers/tty/serial/qcom_geni_serial.c writel(S_GENI_CMD_ABORT, uport->membase + SE_GENI_S_CMD_CTRL_REG); membase 334 drivers/tty/serial/qcom_geni_serial.c writel(irq_clear, uport->membase + SE_GENI_S_IRQ_CLEAR); membase 335 drivers/tty/serial/qcom_geni_serial.c writel(FORCE_DEFAULT, uport->membase + GENI_FORCE_DEFAULT_REG); membase 344 drivers/tty/serial/qcom_geni_serial.c status = readl(uport->membase + SE_GENI_M_IRQ_STATUS); membase 345 drivers/tty/serial/qcom_geni_serial.c writel(status, uport->membase + SE_GENI_M_IRQ_CLEAR); membase 347 drivers/tty/serial/qcom_geni_serial.c status = readl(uport->membase + SE_GENI_S_IRQ_STATUS); membase 348 drivers/tty/serial/qcom_geni_serial.c writel(status, uport->membase + SE_GENI_S_IRQ_CLEAR); membase 350 drivers/tty/serial/qcom_geni_serial.c status = readl(uport->membase + SE_GENI_RX_FIFO_STATUS); membase 354 drivers/tty/serial/qcom_geni_serial.c rx_fifo = readl(uport->membase + SE_GENI_RX_FIFOn); membase 361 drivers/tty/serial/qcom_geni_serial.c writel(DEF_TX_WM, uport->membase + SE_GENI_TX_WATERMARK_REG); membase 365 drivers/tty/serial/qcom_geni_serial.c writel(c, uport->membase + SE_GENI_TX_FIFOn); membase 366 drivers/tty/serial/qcom_geni_serial.c writel(M_TX_FIFO_WATERMARK_EN, uport->membase + SE_GENI_M_IRQ_CLEAR); membase 374 drivers/tty/serial/qcom_geni_serial.c writel(ch, uport->membase + SE_GENI_TX_FIFOn); membase 393 drivers/tty/serial/qcom_geni_serial.c writel(DEF_TX_WM, uport->membase + SE_GENI_TX_WATERMARK_REG); membase 411 drivers/tty/serial/qcom_geni_serial.c writel(M_TX_FIFO_WATERMARK_EN, uport->membase + membase 440 drivers/tty/serial/qcom_geni_serial.c geni_status = readl(uport->membase + SE_GENI_STATUS); membase 450 drivers/tty/serial/qcom_geni_serial.c writel(M_CMD_ABORT_EN, uport->membase + membase 453 drivers/tty/serial/qcom_geni_serial.c writel(M_CMD_CANCEL_EN, uport->membase + SE_GENI_M_IRQ_CLEAR); membase 462 drivers/tty/serial/qcom_geni_serial.c irq_en = readl(uport->membase + SE_GENI_M_IRQ_EN); membase 464 drivers/tty/serial/qcom_geni_serial.c uport->membase + SE_GENI_M_IRQ_EN); membase 489 drivers/tty/serial/qcom_geni_serial.c ioread32_rep(uport->membase + SE_GENI_RX_FIFOn, buf, 1); membase 532 drivers/tty/serial/qcom_geni_serial.c ioread32_rep(uport->membase + SE_GENI_RX_FIFOn, port->rx_fifo, words); membase 553 drivers/tty/serial/qcom_geni_serial.c status = readl(uport->membase + SE_GENI_STATUS); membase 560 drivers/tty/serial/qcom_geni_serial.c irq_en = readl(uport->membase + SE_GENI_M_IRQ_EN); membase 563 drivers/tty/serial/qcom_geni_serial.c writel(DEF_TX_WM, uport->membase + SE_GENI_TX_WATERMARK_REG); membase 564 drivers/tty/serial/qcom_geni_serial.c writel(irq_en, uport->membase + SE_GENI_M_IRQ_EN); membase 573 drivers/tty/serial/qcom_geni_serial.c irq_en = readl(uport->membase + SE_GENI_M_IRQ_EN); membase 575 drivers/tty/serial/qcom_geni_serial.c writel(0, uport->membase + SE_GENI_TX_WATERMARK_REG); membase 576 drivers/tty/serial/qcom_geni_serial.c writel(irq_en, uport->membase + SE_GENI_M_IRQ_EN); membase 577 drivers/tty/serial/qcom_geni_serial.c status = readl(uport->membase + SE_GENI_STATUS); membase 588 drivers/tty/serial/qcom_geni_serial.c writel(M_CMD_ABORT_EN, uport->membase + SE_GENI_M_IRQ_CLEAR); membase 590 drivers/tty/serial/qcom_geni_serial.c writel(M_CMD_CANCEL_EN, uport->membase + SE_GENI_M_IRQ_CLEAR); membase 599 drivers/tty/serial/qcom_geni_serial.c status = readl(uport->membase + SE_GENI_STATUS); membase 605 drivers/tty/serial/qcom_geni_serial.c irq_en = readl(uport->membase + SE_GENI_S_IRQ_EN); membase 607 drivers/tty/serial/qcom_geni_serial.c writel(irq_en, uport->membase + SE_GENI_S_IRQ_EN); membase 609 drivers/tty/serial/qcom_geni_serial.c irq_en = readl(uport->membase + SE_GENI_M_IRQ_EN); membase 611 drivers/tty/serial/qcom_geni_serial.c writel(irq_en, uport->membase + SE_GENI_M_IRQ_EN); membase 621 drivers/tty/serial/qcom_geni_serial.c irq_en = readl(uport->membase + SE_GENI_S_IRQ_EN); membase 623 drivers/tty/serial/qcom_geni_serial.c writel(irq_en, uport->membase + SE_GENI_S_IRQ_EN); membase 625 drivers/tty/serial/qcom_geni_serial.c irq_en = readl(uport->membase + SE_GENI_M_IRQ_EN); membase 627 drivers/tty/serial/qcom_geni_serial.c writel(irq_en, uport->membase + SE_GENI_M_IRQ_EN); membase 629 drivers/tty/serial/qcom_geni_serial.c status = readl(uport->membase + SE_GENI_STATUS); membase 641 drivers/tty/serial/qcom_geni_serial.c s_irq_status = readl(uport->membase + SE_GENI_S_IRQ_STATUS); membase 645 drivers/tty/serial/qcom_geni_serial.c writel(s_irq_status, uport->membase + SE_GENI_S_IRQ_CLEAR); membase 647 drivers/tty/serial/qcom_geni_serial.c status = readl(uport->membase + SE_GENI_STATUS); membase 661 drivers/tty/serial/qcom_geni_serial.c status = readl(uport->membase + SE_GENI_RX_FIFO_STATUS); membase 691 drivers/tty/serial/qcom_geni_serial.c status = readl(uport->membase + SE_GENI_TX_FIFO_STATUS); membase 717 drivers/tty/serial/qcom_geni_serial.c irq_en = readl(uport->membase + SE_GENI_M_IRQ_EN); membase 720 drivers/tty/serial/qcom_geni_serial.c uport->membase + SE_GENI_M_IRQ_EN); membase 737 drivers/tty/serial/qcom_geni_serial.c iowrite32_rep(uport->membase + SE_GENI_TX_FIFOn, buf, 1); membase 753 drivers/tty/serial/qcom_geni_serial.c uport->membase + SE_GENI_M_IRQ_CLEAR); membase 757 drivers/tty/serial/qcom_geni_serial.c irq_en = readl(uport->membase + SE_GENI_M_IRQ_EN); membase 760 drivers/tty/serial/qcom_geni_serial.c uport->membase + SE_GENI_M_IRQ_EN); membase 783 drivers/tty/serial/qcom_geni_serial.c m_irq_status = readl(uport->membase + SE_GENI_M_IRQ_STATUS); membase 784 drivers/tty/serial/qcom_geni_serial.c s_irq_status = readl(uport->membase + SE_GENI_S_IRQ_STATUS); membase 785 drivers/tty/serial/qcom_geni_serial.c geni_status = readl(uport->membase + SE_GENI_STATUS); membase 786 drivers/tty/serial/qcom_geni_serial.c m_irq_en = readl(uport->membase + SE_GENI_M_IRQ_EN); membase 787 drivers/tty/serial/qcom_geni_serial.c writel(m_irq_status, uport->membase + SE_GENI_M_IRQ_CLEAR); membase 788 drivers/tty/serial/qcom_geni_serial.c writel(s_irq_status, uport->membase + SE_GENI_S_IRQ_CLEAR); membase 874 drivers/tty/serial/qcom_geni_serial.c writel(rxstale, uport->membase + SE_UART_RX_STALE_CNT); membase 986 drivers/tty/serial/qcom_geni_serial.c tx_trans_cfg = readl(uport->membase + SE_UART_TX_TRANS_CFG); membase 987 drivers/tty/serial/qcom_geni_serial.c tx_parity_cfg = readl(uport->membase + SE_UART_TX_PARITY_CFG); membase 988 drivers/tty/serial/qcom_geni_serial.c rx_trans_cfg = readl(uport->membase + SE_UART_RX_TRANS_CFG); membase 989 drivers/tty/serial/qcom_geni_serial.c rx_parity_cfg = readl(uport->membase + SE_UART_RX_PARITY_CFG); membase 1046 drivers/tty/serial/qcom_geni_serial.c uport->membase + SE_UART_LOOPBACK_CFG); membase 1047 drivers/tty/serial/qcom_geni_serial.c writel(tx_trans_cfg, uport->membase + SE_UART_TX_TRANS_CFG); membase 1048 drivers/tty/serial/qcom_geni_serial.c writel(tx_parity_cfg, uport->membase + SE_UART_TX_PARITY_CFG); membase 1049 drivers/tty/serial/qcom_geni_serial.c writel(rx_trans_cfg, uport->membase + SE_UART_RX_TRANS_CFG); membase 1050 drivers/tty/serial/qcom_geni_serial.c writel(rx_parity_cfg, uport->membase + SE_UART_RX_PARITY_CFG); membase 1051 drivers/tty/serial/qcom_geni_serial.c writel(bits_per_char, uport->membase + SE_UART_TX_WORD_LEN); membase 1052 drivers/tty/serial/qcom_geni_serial.c writel(bits_per_char, uport->membase + SE_UART_RX_WORD_LEN); membase 1053 drivers/tty/serial/qcom_geni_serial.c writel(stop_bit_len, uport->membase + SE_UART_TX_STOP_BIT_LEN); membase 1054 drivers/tty/serial/qcom_geni_serial.c writel(ser_clk_cfg, uport->membase + GENI_SER_M_CLK_CFG); membase 1055 drivers/tty/serial/qcom_geni_serial.c writel(ser_clk_cfg, uport->membase + GENI_SER_S_CLK_CFG); membase 1062 drivers/tty/serial/qcom_geni_serial.c return !readl(uport->membase + SE_GENI_TX_FIFO_STATUS); membase 1087 drivers/tty/serial/qcom_geni_serial.c if (unlikely(!uport->membase)) membase 1122 drivers/tty/serial/qcom_geni_serial.c if (!uport->membase) membase 1126 drivers/tty/serial/qcom_geni_serial.c se.base = uport->membase; membase 1146 drivers/tty/serial/qcom_geni_serial.c writel(tx_trans_cfg, uport->membase + SE_UART_TX_TRANS_CFG); membase 1147 drivers/tty/serial/qcom_geni_serial.c writel(tx_parity_cfg, uport->membase + SE_UART_TX_PARITY_CFG); membase 1148 drivers/tty/serial/qcom_geni_serial.c writel(rx_trans_cfg, uport->membase + SE_UART_RX_TRANS_CFG); membase 1149 drivers/tty/serial/qcom_geni_serial.c writel(rx_parity_cfg, uport->membase + SE_UART_RX_PARITY_CFG); membase 1150 drivers/tty/serial/qcom_geni_serial.c writel(bits_per_char, uport->membase + SE_UART_TX_WORD_LEN); membase 1151 drivers/tty/serial/qcom_geni_serial.c writel(bits_per_char, uport->membase + SE_UART_RX_WORD_LEN); membase 1152 drivers/tty/serial/qcom_geni_serial.c writel(stop_bit_len, uport->membase + SE_UART_TX_STOP_BIT_LEN); membase 128 drivers/tty/serial/rda-uart.c writel(val, port->membase + off); membase 133 drivers/tty/serial/rda-uart.c return readl(port->membase + off); membase 501 drivers/tty/serial/rda-uart.c port->membase = devm_ioremap_nocache(port->dev, port->mapbase, membase 503 drivers/tty/serial/rda-uart.c if (!port->membase) membase 542 drivers/tty/serial/rda-uart.c devm_iounmap(port->dev, port->membase); membase 543 drivers/tty/serial/rda-uart.c port->membase = NULL; membase 580 drivers/tty/serial/rda-uart.c if (!port->membase) membase 648 drivers/tty/serial/rda-uart.c if (!rda_port || !rda_port->port.membase) membase 687 drivers/tty/serial/rda-uart.c if (!device->port.membase) membase 702 drivers/tty/serial/rp2.c p->membase = rp->base; membase 49 drivers/tty/serial/sa1100.c #define UART_GET_UTCR0(sport) __raw_readl((sport)->port.membase + UTCR0) membase 50 drivers/tty/serial/sa1100.c #define UART_GET_UTCR1(sport) __raw_readl((sport)->port.membase + UTCR1) membase 51 drivers/tty/serial/sa1100.c #define UART_GET_UTCR2(sport) __raw_readl((sport)->port.membase + UTCR2) membase 52 drivers/tty/serial/sa1100.c #define UART_GET_UTCR3(sport) __raw_readl((sport)->port.membase + UTCR3) membase 53 drivers/tty/serial/sa1100.c #define UART_GET_UTSR0(sport) __raw_readl((sport)->port.membase + UTSR0) membase 54 drivers/tty/serial/sa1100.c #define UART_GET_UTSR1(sport) __raw_readl((sport)->port.membase + UTSR1) membase 55 drivers/tty/serial/sa1100.c #define UART_GET_CHAR(sport) __raw_readl((sport)->port.membase + UTDR) membase 57 drivers/tty/serial/sa1100.c #define UART_PUT_UTCR0(sport,v) __raw_writel((v),(sport)->port.membase + UTCR0) membase 58 drivers/tty/serial/sa1100.c #define UART_PUT_UTCR1(sport,v) __raw_writel((v),(sport)->port.membase + UTCR1) membase 59 drivers/tty/serial/sa1100.c #define UART_PUT_UTCR2(sport,v) __raw_writel((v),(sport)->port.membase + UTCR2) membase 60 drivers/tty/serial/sa1100.c #define UART_PUT_UTCR3(sport,v) __raw_writel((v),(sport)->port.membase + UTCR3) membase 61 drivers/tty/serial/sa1100.c #define UART_PUT_UTSR0(sport,v) __raw_writel((v),(sport)->port.membase + UTSR0) membase 62 drivers/tty/serial/sa1100.c #define UART_PUT_UTSR1(sport,v) __raw_writel((v),(sport)->port.membase + UTSR1) membase 63 drivers/tty/serial/sa1100.c #define UART_PUT_CHAR(sport,v) __raw_writel((v),(sport)->port.membase + UTDR) membase 679 drivers/tty/serial/sa1100.c sa1100_ports[idx].port.membase = (void __iomem *)&Ser1UTCR0; membase 686 drivers/tty/serial/sa1100.c sa1100_ports[idx].port.membase = (void __iomem *)&Ser2UTCR0; membase 693 drivers/tty/serial/sa1100.c sa1100_ports[idx].port.membase = (void __iomem *)&Ser3UTCR0; membase 1013 drivers/tty/serial/samsung.c port, (unsigned long long)port->mapbase, port->membase); membase 1061 drivers/tty/serial/samsung.c port, (unsigned long long)port->mapbase, port->membase); membase 1778 drivers/tty/serial/samsung.c port->membase = devm_ioremap(port->dev, res->start, resource_size(res)); membase 1779 drivers/tty/serial/samsung.c if (!port->membase) { membase 1839 drivers/tty/serial/samsung.c &port->mapbase, port->membase, port->irq, membase 2504 drivers/tty/serial/samsung.c while (!(readl(port->membase + S3C2410_UTRSTAT) & S3C2410_UTRSTAT_TXFE)) membase 2512 drivers/tty/serial/samsung.c while (readl(port->membase + S3C2410_UFSTAT) & data->txfull_mask) membase 2518 drivers/tty/serial/samsung.c if (readl(port->membase + S3C2410_UFCON) & S3C2410_UFCON_FIFOMODE) membase 2523 drivers/tty/serial/samsung.c writeb(c, port->membase + S3C2410_UTXH); membase 2536 drivers/tty/serial/samsung.c if (!device->port.membase) membase 109 drivers/tty/serial/samsung.h #define portaddr(port, reg) ((port)->membase + (reg)) membase 111 drivers/tty/serial/samsung.h ((unsigned long *)(unsigned long)((port)->membase + (reg))) membase 123 drivers/tty/serial/sb1250-duart.c void __iomem *csr = sport->port.membase + reg; membase 137 drivers/tty/serial/sb1250-duart.c void __iomem *csr = sport->port.membase + reg; membase 656 drivers/tty/serial/sb1250-duart.c iounmap(uport->membase); membase 657 drivers/tty/serial/sb1250-duart.c uport->membase = NULL; membase 670 drivers/tty/serial/sb1250-duart.c if (!uport->membase) membase 671 drivers/tty/serial/sb1250-duart.c uport->membase = ioremap_nocache(uport->mapbase, membase 673 drivers/tty/serial/sb1250-duart.c if (!uport->membase) { membase 683 drivers/tty/serial/sb1250-duart.c iounmap(uport->membase); membase 684 drivers/tty/serial/sb1250-duart.c uport->membase = NULL; membase 232 drivers/tty/serial/sccnxp.c ret = readb(port->membase + (reg << port->regshift)); membase 243 drivers/tty/serial/sccnxp.c writeb(v, port->membase + (reg << port->regshift)); membase 891 drivers/tty/serial/sccnxp.c void __iomem *membase; membase 894 drivers/tty/serial/sccnxp.c membase = devm_ioremap_resource(&pdev->dev, res); membase 895 drivers/tty/serial/sccnxp.c if (IS_ERR(membase)) membase 896 drivers/tty/serial/sccnxp.c return PTR_ERR(membase); membase 999 drivers/tty/serial/sccnxp.c s->port[i].membase = membase; membase 154 drivers/tty/serial/serial-tegra.c return readl(tup->uport.membase + (reg << tup->uport.regshift)); membase 160 drivers/tty/serial/serial-tegra.c writel(val, tup->uport.membase + (reg << tup->uport.regshift)); membase 1588 drivers/tty/serial/serial-tegra.c u->membase = devm_ioremap_resource(&pdev->dev, resource); membase 1589 drivers/tty/serial/serial-tegra.c if (IS_ERR(u->membase)) membase 1590 drivers/tty/serial/serial-tegra.c return PTR_ERR(u->membase); membase 1944 drivers/tty/serial/serial_core.c ports[idx].membase == NULL)) membase 1947 drivers/tty/serial/serial_core.c ports[idx].membase != NULL) membase 2337 drivers/tty/serial/serial_core.c if (!port->iobase && !port->mapbase && !port->membase) membase 174 drivers/tty/serial/serial_txx9.c return __raw_readl(up->port.membase + offset); membase 185 drivers/tty/serial/serial_txx9.c __raw_writel(value, up->port.membase + offset); membase 765 drivers/tty/serial/serial_txx9.c up->port.membase = ioremap(up->port.mapbase, size); membase 766 drivers/tty/serial/serial_txx9.c if (!up->port.membase) { membase 791 drivers/tty/serial/serial_txx9.c iounmap(up->port.membase); membase 792 drivers/tty/serial/serial_txx9.c up->port.membase = NULL; membase 1040 drivers/tty/serial/serial_txx9.c uart->port.membase = port->membase; membase 1074 drivers/tty/serial/serial_txx9.c uart->port.membase = NULL; membase 1091 drivers/tty/serial/serial_txx9.c port.membase = p->membase; membase 511 drivers/tty/serial/sh-sci.c return ioread8(p->membase + (reg->offset << p->regshift)); membase 513 drivers/tty/serial/sh-sci.c return ioread16(p->membase + (reg->offset << p->regshift)); membase 525 drivers/tty/serial/sh-sci.c iowrite8(value, p->membase + (reg->offset << p->regshift)); membase 527 drivers/tty/serial/sh-sci.c iowrite16(value, p->membase + (reg->offset << p->regshift)); membase 2685 drivers/tty/serial/sh-sci.c if (port->membase) membase 2689 drivers/tty/serial/sh-sci.c port->membase = ioremap_nocache(port->mapbase, sport->reg_size); membase 2690 drivers/tty/serial/sh-sci.c if (unlikely(!port->membase)) { membase 2700 drivers/tty/serial/sh-sci.c port->membase = (void __iomem *)(uintptr_t)port->mapbase; membase 2711 drivers/tty/serial/sh-sci.c iounmap(port->membase); membase 2712 drivers/tty/serial/sh-sci.c port->membase = NULL; membase 3434 drivers/tty/serial/sh-sci.c if (!device->port.membase) membase 202 drivers/tty/serial/sifive.c writel_relaxed(v, port->membase + offs); membase 222 drivers/tty/serial/sifive.c return readl_relaxed(port->membase + offs); membase 740 drivers/tty/serial/sifive.c if (!port->membase) membase 941 drivers/tty/serial/sifive.c ssp->port.membase = base; membase 1362 drivers/tty/serial/sirfsoc_uart.c port->membase = devm_ioremap(&pdev->dev, membase 1364 drivers/tty/serial/sirfsoc_uart.c if (!port->membase) { membase 439 drivers/tty/serial/sirfsoc_uart.h #define portaddr(port, reg) ((port)->membase + (reg)) membase 144 drivers/tty/serial/sprd_serial.c return readl_relaxed(port->membase + offset); membase 150 drivers/tty/serial/sprd_serial.c writel_relaxed(value, port->membase + offset); membase 999 drivers/tty/serial/sprd_serial.c if (!sprd_uart_port || !sprd_uart_port->port.membase) { membase 1037 drivers/tty/serial/sprd_serial.c !(readl(port->membase + SPRD_LSR) & SPRD_LSR_TX_OVER)) membase 1040 drivers/tty/serial/sprd_serial.c writeb(c, port->membase + SPRD_TXD); membase 1053 drivers/tty/serial/sprd_serial.c if (!device->port.membase) membase 1205 drivers/tty/serial/sprd_serial.c up->membase = devm_ioremap_resource(&pdev->dev, res); membase 1206 drivers/tty/serial/sprd_serial.c if (IS_ERR(up->membase)) membase 1207 drivers/tty/serial/sprd_serial.c return PTR_ERR(up->membase); membase 159 drivers/tty/serial/st-asc.c return readl_relaxed(port->membase + offset); membase 161 drivers/tty/serial/st-asc.c return readl(port->membase + offset); membase 168 drivers/tty/serial/st-asc.c writel_relaxed(value, port->membase + offset); membase 170 drivers/tty/serial/st-asc.c writel(value, port->membase + offset); membase 735 drivers/tty/serial/st-asc.c port->membase = devm_ioremap_resource(&pdev->dev, res); membase 736 drivers/tty/serial/st-asc.c if (IS_ERR(port->membase)) membase 737 drivers/tty/serial/st-asc.c return PTR_ERR(port->membase); membase 931 drivers/tty/serial/st-asc.c if (ascport->port.mapbase == 0 || ascport->port.membase == NULL) membase 52 drivers/tty/serial/stm32-usart.c val = readl_relaxed(port->membase + reg); membase 54 drivers/tty/serial/stm32-usart.c writel_relaxed(val, port->membase + reg); membase 61 drivers/tty/serial/stm32-usart.c val = readl_relaxed(port->membase + reg); membase 63 drivers/tty/serial/stm32-usart.c writel_relaxed(val, port->membase + reg); membase 117 drivers/tty/serial/stm32-usart.c cr1 = readl_relaxed(port->membase + ofs->cr1); membase 118 drivers/tty/serial/stm32-usart.c cr3 = readl_relaxed(port->membase + ofs->cr3); membase 119 drivers/tty/serial/stm32-usart.c usartdiv = readl_relaxed(port->membase + ofs->brr); membase 140 drivers/tty/serial/stm32-usart.c writel_relaxed(cr3, port->membase + ofs->cr3); membase 141 drivers/tty/serial/stm32-usart.c writel_relaxed(cr1, port->membase + ofs->cr1); membase 178 drivers/tty/serial/stm32-usart.c *sr = readl_relaxed(port->membase + ofs->isr); membase 207 drivers/tty/serial/stm32-usart.c c = readl_relaxed(port->membase + ofs->rdr); membase 244 drivers/tty/serial/stm32-usart.c port->membase + ofs->icr); membase 338 drivers/tty/serial/stm32-usart.c if (!(readl_relaxed(port->membase + ofs->isr) & USART_SR_TXE)) membase 340 drivers/tty/serial/stm32-usart.c writel_relaxed(xmit->buf[xmit->tail], port->membase + ofs->tdr); membase 422 drivers/tty/serial/stm32-usart.c writel_relaxed(port->x_char, port->membase + ofs->tdr); membase 438 drivers/tty/serial/stm32-usart.c writel_relaxed(USART_ICR_TCCF, port->membase + ofs->icr); membase 461 drivers/tty/serial/stm32-usart.c sr = readl_relaxed(port->membase + ofs->isr); membase 465 drivers/tty/serial/stm32-usart.c port->membase + ofs->icr); membase 469 drivers/tty/serial/stm32-usart.c port->membase + ofs->icr); membase 505 drivers/tty/serial/stm32-usart.c return readl_relaxed(port->membase + ofs->isr) & USART_SR_TXE; membase 609 drivers/tty/serial/stm32-usart.c val = readl_relaxed(port->membase + ofs->cr3); membase 613 drivers/tty/serial/stm32-usart.c writel_relaxed(val, port->membase + ofs->cr3); membase 639 drivers/tty/serial/stm32-usart.c ret = readl_relaxed_poll_timeout(port->membase + ofs->isr, membase 702 drivers/tty/serial/stm32-usart.c writel_relaxed(0, port->membase + ofs->cr1); membase 713 drivers/tty/serial/stm32-usart.c cr3 = readl_relaxed(port->membase + ofs->cr3); membase 752 drivers/tty/serial/stm32-usart.c writel_relaxed(bits, port->membase + ofs->rtor); membase 791 drivers/tty/serial/stm32-usart.c writel_relaxed(mantissa | fraction, port->membase + ofs->brr); membase 839 drivers/tty/serial/stm32-usart.c writel_relaxed(cr3, port->membase + ofs->cr3); membase 840 drivers/tty/serial/stm32-usart.c writel_relaxed(cr2, port->membase + ofs->cr2); membase 841 drivers/tty/serial/stm32-usart.c writel_relaxed(cr1, port->membase + ofs->cr1); membase 948 drivers/tty/serial/stm32-usart.c port->membase = devm_ioremap_resource(&pdev->dev, res); membase 949 drivers/tty/serial/stm32-usart.c if (IS_ERR(port->membase)) membase 950 drivers/tty/serial/stm32-usart.c return PTR_ERR(port->membase); membase 1252 drivers/tty/serial/stm32-usart.c while (!(readl_relaxed(port->membase + ofs->isr) & USART_SR_TXE)) membase 1255 drivers/tty/serial/stm32-usart.c writel_relaxed(ch, port->membase + ofs->tdr); membase 1277 drivers/tty/serial/stm32-usart.c old_cr1 = readl_relaxed(port->membase + ofs->cr1); membase 1280 drivers/tty/serial/stm32-usart.c writel_relaxed(new_cr1, port->membase + ofs->cr1); membase 1285 drivers/tty/serial/stm32-usart.c writel_relaxed(old_cr1, port->membase + ofs->cr1); membase 1311 drivers/tty/serial/stm32-usart.c if (stm32port->port.mapbase == 0 || stm32port->port.membase == NULL) membase 1359 drivers/tty/serial/stm32-usart.c val = readl_relaxed(port->membase + ofs->cr3); membase 1363 drivers/tty/serial/stm32-usart.c writel_relaxed(val, port->membase + ofs->cr3); membase 560 drivers/tty/serial/sunhv.c port->membase = (unsigned char __iomem *) __pa(port); membase 977 drivers/tty/serial/sunsab.c up->port.membase = of_ioremap(&op->resource[0], offset, membase 980 drivers/tty/serial/sunsab.c if (!up->port.membase) membase 982 drivers/tty/serial/sunsab.c up->regs = (union sab82532_async_regs __iomem *) up->port.membase; membase 1067 drivers/tty/serial/sunsab.c up[1].port.membase, membase 1071 drivers/tty/serial/sunsab.c up[0].port.membase, membase 1084 drivers/tty/serial/sunsab.c up[1].port.membase, membase 1087 drivers/tty/serial/sunsab.c up[0].port.membase, membase 118 drivers/tty/serial/sunsu.c return readb(up->port.membase + offset); membase 148 drivers/tty/serial/sunsu.c writeb(value, up->port.membase + offset); membase 1465 drivers/tty/serial/sunsu.c up->port.membase = of_ioremap(rp, 0, up->reg_size, "su"); membase 1466 drivers/tty/serial/sunsu.c if (!up->port.membase) { membase 1484 drivers/tty/serial/sunsu.c up->port.membase, up->reg_size); membase 1524 drivers/tty/serial/sunsu.c of_iounmap(&op->resource[0], up->port.membase, up->reg_size); membase 1545 drivers/tty/serial/sunsu.c if (up->port.membase) membase 1546 drivers/tty/serial/sunsu.c of_iounmap(&op->resource[0], up->port.membase, up->reg_size); membase 109 drivers/tty/serial/sunzilog.c #define ZILOG_CHANNEL_FROM_PORT(PORT) ((struct zilog_channel __iomem *)((PORT)->membase)) membase 1436 drivers/tty/serial/sunzilog.c up[0].port.membase = (void __iomem *) &rp->channelA; membase 1453 drivers/tty/serial/sunzilog.c up[1].port.membase = (void __iomem *) &rp->channelB; membase 42 drivers/tty/serial/timbuart.c u32 ier = ioread32(port->membase + TIMBUART_IER) & ~RXFLAGS; membase 43 drivers/tty/serial/timbuart.c iowrite32(ier, port->membase + TIMBUART_IER); membase 49 drivers/tty/serial/timbuart.c u32 ier = ioread32(port->membase + TIMBUART_IER) & ~TXBAE; membase 50 drivers/tty/serial/timbuart.c iowrite32(ier, port->membase + TIMBUART_IER); membase 64 drivers/tty/serial/timbuart.c u32 isr = ioread32(port->membase + TIMBUART_ISR); membase 72 drivers/tty/serial/timbuart.c u8 ctl = ioread8(port->membase + TIMBUART_CTRL) | membase 75 drivers/tty/serial/timbuart.c iowrite8(ctl, port->membase + TIMBUART_CTRL); membase 76 drivers/tty/serial/timbuart.c iowrite32(TXBF, port->membase + TIMBUART_ISR); membase 84 drivers/tty/serial/timbuart.c while (ioread32(port->membase + TIMBUART_ISR) & RXDP) { membase 85 drivers/tty/serial/timbuart.c u8 ch = ioread8(port->membase + TIMBUART_RXFIFO); membase 102 drivers/tty/serial/timbuart.c while (!(ioread32(port->membase + TIMBUART_ISR) & TXBF) && membase 105 drivers/tty/serial/timbuart.c port->membase + TIMBUART_TXFIFO); membase 114 drivers/tty/serial/timbuart.c ioread8(port->membase + TIMBUART_CTRL), membase 116 drivers/tty/serial/timbuart.c ioread8(port->membase + TIMBUART_BAUDRATE)); membase 134 drivers/tty/serial/timbuart.c iowrite32(TXFLAGS, port->membase + TIMBUART_ISR); membase 158 drivers/tty/serial/timbuart.c u8 ctl = ioread8(port->membase + TIMBUART_CTRL) | membase 160 drivers/tty/serial/timbuart.c iowrite8(ctl, port->membase + TIMBUART_CTRL); membase 166 drivers/tty/serial/timbuart.c iowrite32(RXFLAGS, port->membase + TIMBUART_ISR); membase 182 drivers/tty/serial/timbuart.c isr = ioread32(uart->port.membase + TIMBUART_ISR); membase 193 drivers/tty/serial/timbuart.c iowrite32(ier, uart->port.membase + TIMBUART_IER); membase 201 drivers/tty/serial/timbuart.c u8 cts = ioread8(port->membase + TIMBUART_CTRL); membase 215 drivers/tty/serial/timbuart.c iowrite8(TIMBUART_CTRL_RTS, port->membase + TIMBUART_CTRL); membase 217 drivers/tty/serial/timbuart.c iowrite8(0, port->membase + TIMBUART_CTRL); membase 226 drivers/tty/serial/timbuart.c iowrite32(CTS_DELTA, port->membase + TIMBUART_ISR); membase 247 drivers/tty/serial/timbuart.c iowrite8(TIMBUART_CTRL_FLSHRX, port->membase + TIMBUART_CTRL); membase 248 drivers/tty/serial/timbuart.c iowrite32(0x1ff, port->membase + TIMBUART_ISR); membase 251 drivers/tty/serial/timbuart.c port->membase + TIMBUART_IER); membase 263 drivers/tty/serial/timbuart.c iowrite32(0, port->membase + TIMBUART_IER); membase 302 drivers/tty/serial/timbuart.c iowrite8((u8)bindex, port->membase + TIMBUART_BAUDRATE); membase 322 drivers/tty/serial/timbuart.c iounmap(port->membase); membase 323 drivers/tty/serial/timbuart.c port->membase = NULL; membase 339 drivers/tty/serial/timbuart.c port->membase = ioremap(port->mapbase, size); membase 340 drivers/tty/serial/timbuart.c if (port->membase == NULL) { membase 353 drivers/tty/serial/timbuart.c if (ioread8(uart->port.membase + TIMBUART_IPR)) { membase 354 drivers/tty/serial/timbuart.c uart->last_ier = ioread32(uart->port.membase + TIMBUART_IER); membase 357 drivers/tty/serial/timbuart.c iowrite32(0, uart->port.membase + TIMBUART_IER); membase 445 drivers/tty/serial/timbuart.c uart->port.membase = NULL; membase 110 drivers/tty/serial/uartlite.c return pdata->reg_ops->in(port->membase + offset); membase 117 drivers/tty/serial/uartlite.c pdata->reg_ops->out(val, port->membase + offset); membase 346 drivers/tty/serial/uartlite.c iounmap(port->membase); membase 347 drivers/tty/serial/uartlite.c port->membase = NULL; membase 363 drivers/tty/serial/uartlite.c port->membase = ioremap(port->mapbase, ULITE_REGION); membase 364 drivers/tty/serial/uartlite.c if (!port->membase) { membase 527 drivers/tty/serial/uartlite.c if (!port->membase) { membase 562 drivers/tty/serial/uartlite.c while (--retries && (readl(port->membase + 8) & (1 << 3))) membase 568 drivers/tty/serial/uartlite.c writel(c & 0xff, port->membase + 4); membase 581 drivers/tty/serial/uartlite.c if (!device->port.membase) membase 650 drivers/tty/serial/uartlite.c port->membase = NULL; membase 59 drivers/tty/serial/vr41xx_siu.c #define siu_read(port, offset) readb((port)->membase + (offset)) membase 60 drivers/tty/serial/vr41xx_siu.c #define siu_write(port, offset, value) writeb((value), (port)->membase + (offset)) membase 438 drivers/tty/serial/vr41xx_siu.c if (port->membase == NULL) membase 620 drivers/tty/serial/vr41xx_siu.c iounmap(port->membase); membase 621 drivers/tty/serial/vr41xx_siu.c port->membase = NULL; membase 639 drivers/tty/serial/vr41xx_siu.c port->membase = ioremap(port->mapbase, size); membase 640 drivers/tty/serial/vr41xx_siu.c if (port->membase == NULL) { membase 784 drivers/tty/serial/vr41xx_siu.c if (port->membase == NULL) { membase 787 drivers/tty/serial/vr41xx_siu.c port->membase = ioremap(port->mapbase, siu_port_size(port)); membase 118 drivers/tty/serial/vt8500_serial.c writel(val, port->membase + off); membase 123 drivers/tty/serial/vt8500_serial.c return readl(port->membase + off); membase 173 drivers/tty/serial/vt8500_serial.c c = readw(port->membase + VT8500_RXFIFO) & 0x3ff; membase 201 drivers/tty/serial/vt8500_serial.c writeb(port->x_char, port->membase + VT8500_TXFIFO); membase 214 drivers/tty/serial/vt8500_serial.c writeb(xmit->buf[xmit->tail], port->membase + VT8500_TXFIFO); membase 496 drivers/tty/serial/vt8500_serial.c writeb(c, port->membase + VT8500_TXFIFO); membase 676 drivers/tty/serial/vt8500_serial.c vt8500_port->uart.membase = devm_ioremap_resource(&pdev->dev, mmres); membase 677 drivers/tty/serial/vt8500_serial.c if (IS_ERR(vt8500_port->uart.membase)) membase 678 drivers/tty/serial/vt8500_serial.c return PTR_ERR(vt8500_port->uart.membase); membase 225 drivers/tty/serial/xilinx_uartps.c while ((readl(port->membase + CDNS_UART_SR) & membase 228 drivers/tty/serial/xilinx_uartps.c rxbs_status = readl(port->membase + CDNS_UART_RXBS); membase 229 drivers/tty/serial/xilinx_uartps.c data = readl(port->membase + CDNS_UART_FIFO); membase 313 drivers/tty/serial/xilinx_uartps.c writel(CDNS_UART_IXR_TXEMPTY, port->membase + CDNS_UART_IDR); membase 317 drivers/tty/serial/xilinx_uartps.c !(readl(port->membase + CDNS_UART_SR) & membase 326 drivers/tty/serial/xilinx_uartps.c port->membase + CDNS_UART_FIFO); membase 364 drivers/tty/serial/xilinx_uartps.c isrstatus = readl(port->membase + CDNS_UART_ISR); membase 365 drivers/tty/serial/xilinx_uartps.c writel(isrstatus, port->membase + CDNS_UART_ISR); membase 377 drivers/tty/serial/xilinx_uartps.c !(readl(port->membase + CDNS_UART_CR) & CDNS_UART_CR_RX_DIS)) membase 466 drivers/tty/serial/xilinx_uartps.c mreg = readl(port->membase + CDNS_UART_MR); membase 471 drivers/tty/serial/xilinx_uartps.c writel(mreg, port->membase + CDNS_UART_MR); membase 472 drivers/tty/serial/xilinx_uartps.c writel(cd, port->membase + CDNS_UART_BAUDGEN); membase 473 drivers/tty/serial/xilinx_uartps.c writel(bdiv, port->membase + CDNS_UART_BAUDDIV); membase 520 drivers/tty/serial/xilinx_uartps.c ctrl_reg = readl(port->membase + CDNS_UART_CR); membase 522 drivers/tty/serial/xilinx_uartps.c writel(ctrl_reg, port->membase + CDNS_UART_CR); membase 547 drivers/tty/serial/xilinx_uartps.c ctrl_reg = readl(port->membase + CDNS_UART_CR); membase 549 drivers/tty/serial/xilinx_uartps.c writel(ctrl_reg, port->membase + CDNS_UART_CR); membase 551 drivers/tty/serial/xilinx_uartps.c while (readl(port->membase + CDNS_UART_CR) & membase 560 drivers/tty/serial/xilinx_uartps.c writel(rx_timeout, port->membase + CDNS_UART_RXTOUT); membase 561 drivers/tty/serial/xilinx_uartps.c ctrl_reg = readl(port->membase + CDNS_UART_CR); membase 564 drivers/tty/serial/xilinx_uartps.c writel(ctrl_reg, port->membase + CDNS_UART_CR); membase 590 drivers/tty/serial/xilinx_uartps.c status = readl(port->membase + CDNS_UART_CR); membase 593 drivers/tty/serial/xilinx_uartps.c writel(status, port->membase + CDNS_UART_CR); membase 600 drivers/tty/serial/xilinx_uartps.c writel(CDNS_UART_IXR_TXEMPTY, port->membase + CDNS_UART_ISR); membase 602 drivers/tty/serial/xilinx_uartps.c writel(CDNS_UART_IXR_TXEMPTY, port->membase + CDNS_UART_IER); membase 613 drivers/tty/serial/xilinx_uartps.c regval = readl(port->membase + CDNS_UART_CR); membase 616 drivers/tty/serial/xilinx_uartps.c writel(regval, port->membase + CDNS_UART_CR); membase 628 drivers/tty/serial/xilinx_uartps.c writel(CDNS_UART_RX_IRQS, port->membase + CDNS_UART_IDR); membase 631 drivers/tty/serial/xilinx_uartps.c regval = readl(port->membase + CDNS_UART_CR); membase 633 drivers/tty/serial/xilinx_uartps.c writel(regval, port->membase + CDNS_UART_CR); membase 646 drivers/tty/serial/xilinx_uartps.c status = readl(port->membase + CDNS_UART_SR) & membase 664 drivers/tty/serial/xilinx_uartps.c status = readl(port->membase + CDNS_UART_CR); membase 668 drivers/tty/serial/xilinx_uartps.c port->membase + CDNS_UART_CR); membase 672 drivers/tty/serial/xilinx_uartps.c port->membase + CDNS_UART_CR); membase 694 drivers/tty/serial/xilinx_uartps.c if (!(readl(port->membase + CDNS_UART_CR) & membase 696 drivers/tty/serial/xilinx_uartps.c err = readl_poll_timeout(port->membase + CDNS_UART_SR, membase 707 drivers/tty/serial/xilinx_uartps.c ctrl_reg = readl(port->membase + CDNS_UART_CR); membase 709 drivers/tty/serial/xilinx_uartps.c writel(ctrl_reg, port->membase + CDNS_UART_CR); membase 728 drivers/tty/serial/xilinx_uartps.c ctrl_reg = readl(port->membase + CDNS_UART_CR); membase 730 drivers/tty/serial/xilinx_uartps.c writel(ctrl_reg, port->membase + CDNS_UART_CR); membase 732 drivers/tty/serial/xilinx_uartps.c while (readl(port->membase + CDNS_UART_CR) & membase 740 drivers/tty/serial/xilinx_uartps.c ctrl_reg = readl(port->membase + CDNS_UART_CR); membase 743 drivers/tty/serial/xilinx_uartps.c writel(ctrl_reg, port->membase + CDNS_UART_CR); membase 745 drivers/tty/serial/xilinx_uartps.c writel(rx_timeout, port->membase + CDNS_UART_RXTOUT); membase 765 drivers/tty/serial/xilinx_uartps.c mode_reg = readl(port->membase + CDNS_UART_MR); membase 806 drivers/tty/serial/xilinx_uartps.c writel(cval, port->membase + CDNS_UART_MR); membase 831 drivers/tty/serial/xilinx_uartps.c port->membase + CDNS_UART_CR); membase 837 drivers/tty/serial/xilinx_uartps.c port->membase + CDNS_UART_CR); membase 839 drivers/tty/serial/xilinx_uartps.c while (readl(port->membase + CDNS_UART_CR) & membase 847 drivers/tty/serial/xilinx_uartps.c status = readl(port->membase + CDNS_UART_CR); membase 850 drivers/tty/serial/xilinx_uartps.c writel(status, port->membase + CDNS_UART_CR); membase 857 drivers/tty/serial/xilinx_uartps.c port->membase + CDNS_UART_MR); membase 863 drivers/tty/serial/xilinx_uartps.c writel(rx_trigger_level, port->membase + CDNS_UART_RXWM); membase 869 drivers/tty/serial/xilinx_uartps.c writel(rx_timeout, port->membase + CDNS_UART_RXTOUT); membase 872 drivers/tty/serial/xilinx_uartps.c writel(readl(port->membase + CDNS_UART_ISR), membase 873 drivers/tty/serial/xilinx_uartps.c port->membase + CDNS_UART_ISR); membase 887 drivers/tty/serial/xilinx_uartps.c port->membase + CDNS_UART_IER); membase 889 drivers/tty/serial/xilinx_uartps.c writel(CDNS_UART_RX_IRQS, port->membase + CDNS_UART_IER); membase 906 drivers/tty/serial/xilinx_uartps.c status = readl(port->membase + CDNS_UART_IMR); membase 907 drivers/tty/serial/xilinx_uartps.c writel(status, port->membase + CDNS_UART_IDR); membase 908 drivers/tty/serial/xilinx_uartps.c writel(0xffffffff, port->membase + CDNS_UART_ISR); membase 912 drivers/tty/serial/xilinx_uartps.c port->membase + CDNS_UART_CR); membase 968 drivers/tty/serial/xilinx_uartps.c port->membase = ioremap(port->mapbase, CDNS_UART_REGISTER_SPACE); membase 969 drivers/tty/serial/xilinx_uartps.c if (!port->membase) { membase 987 drivers/tty/serial/xilinx_uartps.c iounmap(port->membase); membase 988 drivers/tty/serial/xilinx_uartps.c port->membase = NULL; membase 1027 drivers/tty/serial/xilinx_uartps.c val = readl(port->membase + CDNS_UART_MODEMCR); membase 1028 drivers/tty/serial/xilinx_uartps.c mode_reg = readl(port->membase + CDNS_UART_MR); membase 1041 drivers/tty/serial/xilinx_uartps.c writel(val, port->membase + CDNS_UART_MODEMCR); membase 1042 drivers/tty/serial/xilinx_uartps.c writel(mode_reg, port->membase + CDNS_UART_MR); membase 1054 drivers/tty/serial/xilinx_uartps.c if (readl(port->membase + CDNS_UART_SR) & CDNS_UART_SR_RXEMPTY) membase 1057 drivers/tty/serial/xilinx_uartps.c c = (unsigned char) readl(port->membase + CDNS_UART_FIFO); membase 1071 drivers/tty/serial/xilinx_uartps.c while (!(readl(port->membase + CDNS_UART_SR) & CDNS_UART_SR_TXEMPTY)) membase 1075 drivers/tty/serial/xilinx_uartps.c writel(c, port->membase + CDNS_UART_FIFO); membase 1078 drivers/tty/serial/xilinx_uartps.c while (!(readl(port->membase + CDNS_UART_SR) & CDNS_UART_SR_TXEMPTY)) membase 1132 drivers/tty/serial/xilinx_uartps.c while (readl(port->membase + CDNS_UART_SR) & CDNS_UART_SR_TXFULL) membase 1134 drivers/tty/serial/xilinx_uartps.c writel(ch, port->membase + CDNS_UART_FIFO); membase 1150 drivers/tty/serial/xilinx_uartps.c if (!port->membase) membase 1155 drivers/tty/serial/xilinx_uartps.c port->membase + CDNS_UART_CR); membase 1171 drivers/tty/serial/xilinx_uartps.c writel(mr, port->membase + CDNS_UART_MR); membase 1172 drivers/tty/serial/xilinx_uartps.c writel(cd, port->membase + CDNS_UART_BAUDGEN); membase 1173 drivers/tty/serial/xilinx_uartps.c writel(bdiv, port->membase + CDNS_UART_BAUDDIV); membase 1211 drivers/tty/serial/xilinx_uartps.c imr = readl(port->membase + CDNS_UART_IMR); membase 1212 drivers/tty/serial/xilinx_uartps.c writel(imr, port->membase + CDNS_UART_IDR); membase 1218 drivers/tty/serial/xilinx_uartps.c ctrl = readl(port->membase + CDNS_UART_CR); membase 1221 drivers/tty/serial/xilinx_uartps.c writel(ctrl, port->membase + CDNS_UART_CR); membase 1224 drivers/tty/serial/xilinx_uartps.c while ((readl(port->membase + CDNS_UART_SR) & membase 1230 drivers/tty/serial/xilinx_uartps.c writel(imr, port->membase + CDNS_UART_IER); membase 1252 drivers/tty/serial/xilinx_uartps.c if (!port->membase) { membase 1295 drivers/tty/serial/xilinx_uartps.c while (!(readl(port->membase + CDNS_UART_SR) & membase 1297 drivers/tty/serial/xilinx_uartps.c readl(port->membase + CDNS_UART_FIFO); membase 1299 drivers/tty/serial/xilinx_uartps.c writel(1, port->membase + CDNS_UART_RXWM); membase 1301 drivers/tty/serial/xilinx_uartps.c writel(CDNS_UART_IXR_TOUT, port->membase + CDNS_UART_IDR); membase 1335 drivers/tty/serial/xilinx_uartps.c ctrl_reg = readl(port->membase + CDNS_UART_CR); membase 1337 drivers/tty/serial/xilinx_uartps.c writel(ctrl_reg, port->membase + CDNS_UART_CR); membase 1338 drivers/tty/serial/xilinx_uartps.c while (readl(port->membase + CDNS_UART_CR) & membase 1343 drivers/tty/serial/xilinx_uartps.c writel(rx_timeout, port->membase + CDNS_UART_RXTOUT); membase 1345 drivers/tty/serial/xilinx_uartps.c ctrl_reg = readl(port->membase + CDNS_UART_CR); membase 1348 drivers/tty/serial/xilinx_uartps.c writel(ctrl_reg, port->membase + CDNS_UART_CR); membase 1356 drivers/tty/serial/xilinx_uartps.c writel(rx_trigger_level, port->membase + CDNS_UART_RXWM); membase 1358 drivers/tty/serial/xilinx_uartps.c writel(CDNS_UART_IXR_TOUT, port->membase + CDNS_UART_IER); membase 144 drivers/tty/serial/zs.c void __iomem *control = zport->port.membase + ZS_CHAN_IO_OFFSET; membase 159 drivers/tty/serial/zs.c void __iomem *control = zport->port.membase + ZS_CHAN_IO_OFFSET; membase 173 drivers/tty/serial/zs.c void __iomem *data = zport->port.membase + membase 184 drivers/tty/serial/zs.c void __iomem *data = zport->port.membase + membase 987 drivers/tty/serial/zs.c iounmap(uport->membase); membase 988 drivers/tty/serial/zs.c uport->membase = 0; membase 994 drivers/tty/serial/zs.c if (!uport->membase) membase 995 drivers/tty/serial/zs.c uport->membase = ioremap_nocache(uport->mapbase, membase 997 drivers/tty/serial/zs.c if (!uport->membase) { membase 407 drivers/video/vgastate.c if (!state->membase) membase 408 drivers/video/vgastate.c state->membase = 0xA0000; membase 410 drivers/video/vgastate.c fbbase = ioremap(state->membase, state->memsize); membase 467 drivers/video/vgastate.c void __iomem *fbbase = ioremap(state->membase, state->memsize); membase 63 drivers/watchdog/lantiq_wdt.c void __iomem *membase; membase 69 drivers/watchdog/lantiq_wdt.c return __raw_readl(priv->membase + offset); membase 74 drivers/watchdog/lantiq_wdt.c __raw_writel(val, priv->membase + offset); membase 213 drivers/watchdog/lantiq_wdt.c priv->membase = devm_platform_ioremap_resource(pdev, 0); membase 214 drivers/watchdog/lantiq_wdt.c if (IS_ERR(priv->membase)) membase 215 drivers/watchdog/lantiq_wdt.c return PTR_ERR(priv->membase); membase 36 include/linux/isdn/capilli.h unsigned int membase; membase 19 include/linux/serial_8250.h void __iomem *membase; /* ioremap cookie or NULL */ membase 108 include/linux/serial_core.h unsigned char __iomem *membase; /* read/write[bwl] */ membase 28 include/uapi/linux/kernelcapi.h unsigned int membase; membase 184 include/video/vga.h unsigned long membase; /* VGA window base, 0 for default - 0xA000 */