virtbase 70 drivers/auxdisplay/arm-charlcd.c void __iomem *virtbase; virtbase 81 drivers/auxdisplay/arm-charlcd.c status = readl(lcd->virtbase + CHAR_STAT) & 0x01; virtbase 83 drivers/auxdisplay/arm-charlcd.c writel(CHAR_RAW_CLEAR, lcd->virtbase + CHAR_RAW); virtbase 99 drivers/auxdisplay/arm-charlcd.c writel(0x00, lcd->virtbase + CHAR_MASK); virtbase 129 drivers/auxdisplay/arm-charlcd.c val = readl(lcd->virtbase + CHAR_RAW); virtbase 133 drivers/auxdisplay/arm-charlcd.c writel(CHAR_RAW_CLEAR, lcd->virtbase + CHAR_RAW); virtbase 138 drivers/auxdisplay/arm-charlcd.c data = readl(lcd->virtbase + CHAR_RD) & 0xf0; virtbase 148 drivers/auxdisplay/arm-charlcd.c val = readl(lcd->virtbase + CHAR_RAW); virtbase 151 drivers/auxdisplay/arm-charlcd.c writel(CHAR_RAW_CLEAR, lcd->virtbase + CHAR_RAW); virtbase 155 drivers/auxdisplay/arm-charlcd.c data |= (readl(lcd->virtbase + CHAR_RD) >> 4) & 0x0f; virtbase 167 drivers/auxdisplay/arm-charlcd.c writel(CHAR_RAW_CLEAR, lcd->virtbase + CHAR_RAW); virtbase 169 drivers/auxdisplay/arm-charlcd.c writel(0x01, lcd->virtbase + CHAR_MASK); virtbase 171 drivers/auxdisplay/arm-charlcd.c readl(lcd->virtbase + CHAR_COM); virtbase 191 drivers/auxdisplay/arm-charlcd.c writel(cmdhi, lcd->virtbase + CHAR_COM); virtbase 193 drivers/auxdisplay/arm-charlcd.c writel(cmdlo, lcd->virtbase + CHAR_COM); virtbase 202 drivers/auxdisplay/arm-charlcd.c writel(chhi, lcd->virtbase + CHAR_DAT); virtbase 204 drivers/auxdisplay/arm-charlcd.c writel(chlo, lcd->virtbase + CHAR_DAT); virtbase 236 drivers/auxdisplay/arm-charlcd.c writel(HD_FUNCSET | HD_FUNCSET_8BIT, lcd->virtbase + CHAR_COM); virtbase 238 drivers/auxdisplay/arm-charlcd.c writel(HD_FUNCSET | HD_FUNCSET_8BIT, lcd->virtbase + CHAR_COM); virtbase 240 drivers/auxdisplay/arm-charlcd.c writel(HD_FUNCSET | HD_FUNCSET_8BIT, lcd->virtbase + CHAR_COM); virtbase 243 drivers/auxdisplay/arm-charlcd.c writel(HD_FUNCSET, lcd->virtbase + CHAR_COM); virtbase 293 drivers/auxdisplay/arm-charlcd.c lcd->virtbase = ioremap(lcd->phybase, lcd->physize); virtbase 294 drivers/auxdisplay/arm-charlcd.c if (!lcd->virtbase) { virtbase 324 drivers/auxdisplay/arm-charlcd.c iounmap(lcd->virtbase); virtbase 1282 drivers/dma/coh901318.c void __iomem *virtbase; virtbase 1446 drivers/dma/coh901318.c void __iomem *virtbase = cohc->base->virtbase; virtbase 1449 drivers/dma/coh901318.c virtbase + COH901318_CX_CTRL + virtbase 1457 drivers/dma/coh901318.c void __iomem *virtbase = cohc->base->virtbase; virtbase 1460 drivers/dma/coh901318.c virtbase + COH901318_CX_CFG + virtbase 1470 drivers/dma/coh901318.c void __iomem *virtbase = cohc->base->virtbase; virtbase 1474 drivers/dma/coh901318.c val = readl(virtbase + COH901318_CX_CFG + virtbase 1479 drivers/dma/coh901318.c writel(val, virtbase + COH901318_CX_CFG + virtbase 1489 drivers/dma/coh901318.c void __iomem *virtbase = cohc->base->virtbase; virtbase 1491 drivers/dma/coh901318.c BUG_ON(readl(virtbase + COH901318_CX_STAT + virtbase 1496 drivers/dma/coh901318.c virtbase + COH901318_CX_SRC_ADDR + virtbase 1499 drivers/dma/coh901318.c writel(lli->dst_addr, virtbase + virtbase 1503 drivers/dma/coh901318.c writel(lli->link_addr, virtbase + COH901318_CX_LNK_ADDR + virtbase 1506 drivers/dma/coh901318.c writel(lli->control, virtbase + COH901318_CX_CTRL + virtbase 1631 drivers/dma/coh901318.c left = readl(cohc->base->virtbase + virtbase 1637 drivers/dma/coh901318.c ladd = readl(cohc->base->virtbase + virtbase 1689 drivers/dma/coh901318.c void __iomem *virtbase = cohc->base->virtbase; virtbase 1694 drivers/dma/coh901318.c val = readl(virtbase + COH901318_CX_CFG + virtbase 1705 drivers/dma/coh901318.c writel(val, virtbase + COH901318_CX_CFG + virtbase 1707 drivers/dma/coh901318.c writel(val, virtbase + COH901318_CX_CFG + virtbase 1711 drivers/dma/coh901318.c while (readl(virtbase + COH901318_CX_STAT+COH901318_CX_STAT_SPACING * virtbase 1716 drivers/dma/coh901318.c if ((readl(virtbase + COH901318_CX_CTRL+COH901318_CX_CTRL_SPACING * virtbase 1742 drivers/dma/coh901318.c val = readl(cohc->base->virtbase + COH901318_CX_CFG + virtbase 1747 drivers/dma/coh901318.c writel(val, cohc->base->virtbase + COH901318_CX_CFG + virtbase 1805 drivers/dma/coh901318.c void __iomem *virtbase = cohc->base->virtbase; virtbase 1814 drivers/dma/coh901318.c writel(1 << channel, virtbase + COH901318_BE_INT_CLEAR1); virtbase 1815 drivers/dma/coh901318.c writel(1 << channel, virtbase + COH901318_TC_INT_CLEAR1); virtbase 1817 drivers/dma/coh901318.c writel(1 << (channel - 32), virtbase + virtbase 1819 drivers/dma/coh901318.c writel(1 << (channel - 32), virtbase + virtbase 1989 drivers/dma/coh901318.c void __iomem *virtbase = base->virtbase; virtbase 1991 drivers/dma/coh901318.c status1 = readl(virtbase + COH901318_INT_STATUS1); virtbase 1992 drivers/dma/coh901318.c status2 = readl(virtbase + COH901318_INT_STATUS2); virtbase 2014 drivers/dma/coh901318.c if (test_bit(i, virtbase + COH901318_BE_INT_STATUS1)) { virtbase 2019 drivers/dma/coh901318.c __set_bit(i, virtbase + COH901318_BE_INT_CLEAR1); virtbase 2022 drivers/dma/coh901318.c if (unlikely(!test_bit(i, virtbase + virtbase 2028 drivers/dma/coh901318.c __set_bit(i, virtbase + COH901318_TC_INT_CLEAR1); virtbase 2031 drivers/dma/coh901318.c if (!(readl(virtbase + COH901318_CX_STAT + virtbase 2041 drivers/dma/coh901318.c __set_bit(i, virtbase + COH901318_TC_INT_CLEAR1); virtbase 2060 drivers/dma/coh901318.c if (test_bit(i, virtbase + COH901318_BE_INT_STATUS2)) { virtbase 2065 drivers/dma/coh901318.c __set_bit(i, virtbase + COH901318_BE_INT_CLEAR2); virtbase 2068 drivers/dma/coh901318.c if (unlikely(!test_bit(i, virtbase + virtbase 2073 drivers/dma/coh901318.c __set_bit(i, virtbase + COH901318_TC_INT_CLEAR2); virtbase 2077 drivers/dma/coh901318.c if (!(readl(virtbase + COH901318_CX_STAT + virtbase 2086 drivers/dma/coh901318.c __set_bit(i, virtbase + COH901318_TC_INT_CLEAR2); virtbase 2102 drivers/dma/coh901318.c void __iomem *virtbase = cohc->base->virtbase; virtbase 2110 drivers/dma/coh901318.c writel(1 << cohc->id, virtbase + COH901318_BE_INT_CLEAR1); virtbase 2111 drivers/dma/coh901318.c writel(1 << cohc->id, virtbase + COH901318_TC_INT_CLEAR1); virtbase 2113 drivers/dma/coh901318.c writel(1 << (cohc->id - 32), virtbase + virtbase 2115 drivers/dma/coh901318.c writel(1 << (cohc->id - 32), virtbase + virtbase 2181 drivers/dma/coh901318.c writel(0x00000000U, cohc->base->virtbase + COH901318_CX_CFG + virtbase 2183 drivers/dma/coh901318.c writel(0x00000000U, cohc->base->virtbase + COH901318_CX_CTRL + virtbase 2655 drivers/dma/coh901318.c base->virtbase = devm_ioremap(&pdev->dev, io->start, resource_size(io)); virtbase 2656 drivers/dma/coh901318.c if (!base->virtbase) virtbase 2739 drivers/dma/coh901318.c base->virtbase); virtbase 569 drivers/dma/ste_dma40.c void __iomem *virtbase; virtbase 620 drivers/dma/ste_dma40.c return chan->base->virtbase + D40_DREG_PCBASE + virtbase 1057 drivers/dma/ste_dma40.c active_reg = d40c->base->virtbase + D40_DREG_ACTIVE; virtbase 1059 drivers/dma/ste_dma40.c active_reg = d40c->base->virtbase + D40_DREG_ACTIVO; virtbase 1274 drivers/dma/ste_dma40.c active_reg = d40c->base->virtbase + D40_DREG_ACTIVE; virtbase 1276 drivers/dma/ste_dma40.c active_reg = d40c->base->virtbase + D40_DREG_ACTIVO; virtbase 1358 drivers/dma/ste_dma40.c writel(var, d40c->base->virtbase + D40_DREG_PRMSE + addr_base); virtbase 1363 drivers/dma/ste_dma40.c writel(var, d40c->base->virtbase + D40_DREG_PRMOE + addr_base); virtbase 1656 drivers/dma/ste_dma40.c regs[i] = readl(base->virtbase + il[i].src); virtbase 1684 drivers/dma/ste_dma40.c writel(BIT(idx), base->virtbase + il[row].clr); virtbase 2062 drivers/dma/ste_dma40.c active_reg = d40c->base->virtbase + D40_DREG_ACTIVE; virtbase 2064 drivers/dma/ste_dma40.c active_reg = d40c->base->virtbase + D40_DREG_ACTIVO; virtbase 2322 drivers/dma/ste_dma40.c writel(bit, d40c->base->virtbase + prioreg + group * 4); virtbase 2323 drivers/dma/ste_dma40.c writel(bit, d40c->base->virtbase + rtreg + group * 4); virtbase 2964 drivers/dma/ste_dma40.c addr = base->virtbase + D40_DREG_PCBASE + i * D40_DREG_PCDELTA; virtbase 2974 drivers/dma/ste_dma40.c dma40_backup(base->virtbase, base->reg_val_backup, virtbase 2980 drivers/dma/ste_dma40.c dma40_backup(base->virtbase, base->reg_val_backup_v4, virtbase 2995 drivers/dma/ste_dma40.c base->virtbase + D40_DREG_GCC); virtbase 3007 drivers/dma/ste_dma40.c base->virtbase + D40_DREG_GCC); virtbase 3029 drivers/dma/ste_dma40.c val[0] = readl(base->virtbase + D40_DREG_PRSME); virtbase 3030 drivers/dma/ste_dma40.c val[1] = readl(base->virtbase + D40_DREG_PRSMO); virtbase 3080 drivers/dma/ste_dma40.c val[0] = readl(base->virtbase + D40_DREG_PRTYP); virtbase 3099 drivers/dma/ste_dma40.c writel(D40_DREG_GCC_ENABLE_ALL, base->virtbase + D40_DREG_GCC); virtbase 3109 drivers/dma/ste_dma40.c void __iomem *virtbase; virtbase 3142 drivers/dma/ste_dma40.c virtbase = ioremap(res->start, resource_size(res)); virtbase 3143 drivers/dma/ste_dma40.c if (!virtbase) virtbase 3148 drivers/dma/ste_dma40.c pid |= (readl(virtbase + resource_size(res) - 0x20 + 4 * i) virtbase 3151 drivers/dma/ste_dma40.c cid |= (readl(virtbase + resource_size(res) - 0x10 + 4 * i) virtbase 3183 drivers/dma/ste_dma40.c num_phy_chans = 4 * (readl(virtbase + D40_DREG_ICFG) & 0x7) + 4; virtbase 3211 drivers/dma/ste_dma40.c base->virtbase = virtbase; virtbase 3307 drivers/dma/ste_dma40.c iounmap(virtbase); virtbase 3332 drivers/dma/ste_dma40.c base->virtbase + dma_init_reg[i].reg); virtbase 3357 drivers/dma/ste_dma40.c writel(prmseo[1], base->virtbase + D40_DREG_PRMSE); virtbase 3358 drivers/dma/ste_dma40.c writel(prmseo[0], base->virtbase + D40_DREG_PRMSO); virtbase 3359 drivers/dma/ste_dma40.c writel(activeo[1], base->virtbase + D40_DREG_ACTIVE); virtbase 3360 drivers/dma/ste_dma40.c writel(activeo[0], base->virtbase + D40_DREG_ACTIVO); virtbase 3363 drivers/dma/ste_dma40.c writel(pcmis, base->virtbase + base->gen_dmac.interrupt_en); virtbase 3366 drivers/dma/ste_dma40.c writel(pcicr, base->virtbase + base->gen_dmac.interrupt_clear); virtbase 3449 drivers/dma/ste_dma40.c base->virtbase + D40_DREG_LCLA); virtbase 3558 drivers/dma/ste_dma40.c val = readl(base->virtbase + D40_DREG_LCPA); virtbase 3564 drivers/dma/ste_dma40.c writel(res->start, base->virtbase + D40_DREG_LCPA); virtbase 3589 drivers/dma/ste_dma40.c writel(res->start, base->virtbase + D40_DREG_LCLA); virtbase 3629 drivers/dma/ste_dma40.c writel_relaxed(D40_DREG_GCC_ENABLE_ALL, base->virtbase + D40_DREG_GCC); virtbase 3662 drivers/dma/ste_dma40.c if (base->virtbase) virtbase 3663 drivers/dma/ste_dma40.c iounmap(base->virtbase); virtbase 173 drivers/i2c/busses/i2c-nomadik.c void __iomem *virtbase; virtbase 227 drivers/i2c/busses/i2c-nomadik.c writel((I2C_CR_FTX | I2C_CR_FRX), dev->virtbase + I2C_CR); virtbase 233 drivers/i2c/busses/i2c-nomadik.c if ((readl(dev->virtbase + I2C_CR) & virtbase 253 drivers/i2c/busses/i2c-nomadik.c writel(mask, dev->virtbase + I2C_IMSCR); virtbase 264 drivers/i2c/busses/i2c-nomadik.c writel(mask, dev->virtbase + I2C_ICR); virtbase 280 drivers/i2c/busses/i2c-nomadik.c i2c_clr_bit(dev->virtbase + I2C_CR , I2C_CR_PE); virtbase 355 drivers/i2c/busses/i2c-nomadik.c writel(0x0, dev->virtbase + I2C_CR); virtbase 356 drivers/i2c/busses/i2c-nomadik.c writel(0x0, dev->virtbase + I2C_HSMCR); virtbase 357 drivers/i2c/busses/i2c-nomadik.c writel(0x0, dev->virtbase + I2C_TFTR); virtbase 358 drivers/i2c/busses/i2c-nomadik.c writel(0x0, dev->virtbase + I2C_RFTR); virtbase 359 drivers/i2c/busses/i2c-nomadik.c writel(0x0, dev->virtbase + I2C_DMAR); virtbase 392 drivers/i2c/busses/i2c-nomadik.c writel(slsu << 16, dev->virtbase + I2C_SCR); virtbase 412 drivers/i2c/busses/i2c-nomadik.c writel((brcr1 | brcr2), dev->virtbase + I2C_BRCR); virtbase 424 drivers/i2c/busses/i2c-nomadik.c writel((brcr1 | brcr2), dev->virtbase + I2C_BRCR); virtbase 426 drivers/i2c/busses/i2c-nomadik.c dev->virtbase + I2C_CR); virtbase 428 drivers/i2c/busses/i2c-nomadik.c writel(dev->sm << 4, dev->virtbase + I2C_CR); virtbase 431 drivers/i2c/busses/i2c-nomadik.c writel(dev->tft, dev->virtbase + I2C_TFTR); virtbase 432 drivers/i2c/busses/i2c-nomadik.c writel(dev->rft, dev->virtbase + I2C_RFTR); virtbase 451 drivers/i2c/busses/i2c-nomadik.c writel(mcr, dev->virtbase + I2C_MCR); virtbase 454 drivers/i2c/busses/i2c-nomadik.c writel(readl(dev->virtbase + I2C_CR) | DEFAULT_I2C_REG_CR, virtbase 455 drivers/i2c/busses/i2c-nomadik.c dev->virtbase + I2C_CR); virtbase 458 drivers/i2c/busses/i2c-nomadik.c i2c_set_bit(dev->virtbase + I2C_CR, I2C_CR_PE); virtbase 473 drivers/i2c/busses/i2c-nomadik.c writel(readl(dev->virtbase + I2C_IMSCR) | irq_mask, virtbase 474 drivers/i2c/busses/i2c-nomadik.c dev->virtbase + I2C_IMSCR); virtbase 498 drivers/i2c/busses/i2c-nomadik.c dev->virtbase + I2C_TFR); virtbase 521 drivers/i2c/busses/i2c-nomadik.c writel(mcr, dev->virtbase + I2C_MCR); virtbase 524 drivers/i2c/busses/i2c-nomadik.c writel(readl(dev->virtbase + I2C_CR) | DEFAULT_I2C_REG_CR, virtbase 525 drivers/i2c/busses/i2c-nomadik.c dev->virtbase + I2C_CR); virtbase 528 drivers/i2c/busses/i2c-nomadik.c i2c_set_bit(dev->virtbase + I2C_CR , I2C_CR_PE); virtbase 553 drivers/i2c/busses/i2c-nomadik.c writel(readl(dev->virtbase + I2C_IMSCR) | irq_mask, virtbase 554 drivers/i2c/busses/i2c-nomadik.c dev->virtbase + I2C_IMSCR); virtbase 592 drivers/i2c/busses/i2c-nomadik.c i2c_sr = readl(dev->virtbase + I2C_SR); virtbase 708 drivers/i2c/busses/i2c-nomadik.c writel(readl(dev->virtbase + I2C_IMSCR) & ~(I2C_CLEAR_ALL_INTS & irq), virtbase 709 drivers/i2c/busses/i2c-nomadik.c dev->virtbase + I2C_IMSCR); virtbase 732 drivers/i2c/busses/i2c-nomadik.c tft = readl(dev->virtbase + I2C_TFTR); virtbase 733 drivers/i2c/busses/i2c-nomadik.c rft = readl(dev->virtbase + I2C_RFTR); virtbase 736 drivers/i2c/busses/i2c-nomadik.c misr = readl(dev->virtbase + I2C_MISR); virtbase 771 drivers/i2c/busses/i2c-nomadik.c *dev->cli.buffer = readb(dev->virtbase + I2C_RFR); virtbase 781 drivers/i2c/busses/i2c-nomadik.c *dev->cli.buffer = readb(dev->virtbase + I2C_RFR); virtbase 792 drivers/i2c/busses/i2c-nomadik.c while (!(readl(dev->virtbase + I2C_RISR) virtbase 797 drivers/i2c/busses/i2c-nomadik.c readb(dev->virtbase + I2C_RFR); virtbase 823 drivers/i2c/busses/i2c-nomadik.c i2c_set_bit(dev->virtbase + I2C_ICR, I2C_IT_MAL); virtbase 836 drivers/i2c/busses/i2c-nomadik.c if (((readl(dev->virtbase + I2C_SR) >> 2) & 0x3) == I2C_ABORT) virtbase 839 drivers/i2c/busses/i2c-nomadik.c i2c_set_bit(dev->virtbase + I2C_ICR, I2C_IT_BERR); virtbase 997 drivers/i2c/busses/i2c-nomadik.c dev->virtbase = devm_ioremap(&adev->dev, adev->res.start, virtbase 999 drivers/i2c/busses/i2c-nomadik.c if (!dev->virtbase) { virtbase 1041 drivers/i2c/busses/i2c-nomadik.c adap->name, dev->virtbase); virtbase 1068 drivers/i2c/busses/i2c-nomadik.c i2c_clr_bit(dev->virtbase + I2C_CR, I2C_CR_PE); virtbase 156 drivers/i2c/busses/i2c-stu300.c void __iomem *virtbase; virtbase 193 drivers/i2c/busses/i2c-stu300.c val = stu300_r8(dev->virtbase + I2C_CR); virtbase 196 drivers/i2c/busses/i2c-stu300.c stu300_wr8(val, dev->virtbase + I2C_CR); virtbase 197 drivers/i2c/busses/i2c-stu300.c stu300_wr8(val, dev->virtbase + I2C_CR); virtbase 203 drivers/i2c/busses/i2c-stu300.c val = stu300_r8(dev->virtbase + I2C_CR); virtbase 206 drivers/i2c/busses/i2c-stu300.c stu300_wr8(val, dev->virtbase + I2C_CR); virtbase 207 drivers/i2c/busses/i2c-stu300.c stu300_wr8(val, dev->virtbase + I2C_CR); virtbase 229 drivers/i2c/busses/i2c-stu300.c status1 = stu300_r8(dev->virtbase + I2C_SR1); virtbase 235 drivers/i2c/busses/i2c-stu300.c status2 = stu300_r8(dev->virtbase + I2C_SR2); virtbase 340 drivers/i2c/busses/i2c-stu300.c stu300_wr8(cr_value, dev->virtbase + I2C_CR); virtbase 436 drivers/i2c/busses/i2c-stu300.c if ((stu300_r8(dev->virtbase + I2C_SR1) & virtbase 447 drivers/i2c/busses/i2c-stu300.c "0x%08x, reinit hardware\n", (u32) dev->virtbase); virtbase 495 drivers/i2c/busses/i2c-stu300.c dev->virtbase + I2C_OAR2); virtbase 498 drivers/i2c/busses/i2c-stu300.c "virtbase %p\n", clkrate, dev->speed, dev->virtbase); virtbase 524 drivers/i2c/busses/i2c-stu300.c dev->virtbase + I2C_CCR); virtbase 530 drivers/i2c/busses/i2c-stu300.c dev->virtbase + I2C_CCR); virtbase 537 drivers/i2c/busses/i2c-stu300.c dev->virtbase + I2C_ECCR); virtbase 550 drivers/i2c/busses/i2c-stu300.c stu300_wr8(0x00, dev->virtbase + I2C_CR); virtbase 555 drivers/i2c/busses/i2c-stu300.c stu300_wr8(0x00, dev->virtbase + I2C_OAR1); virtbase 573 drivers/i2c/busses/i2c-stu300.c dev->virtbase + I2C_CR); virtbase 575 drivers/i2c/busses/i2c-stu300.c dev->virtbase + I2C_CR); virtbase 577 drivers/i2c/busses/i2c-stu300.c dummy = stu300_r8(dev->virtbase + I2C_SR2); virtbase 578 drivers/i2c/busses/i2c-stu300.c dummy = stu300_r8(dev->virtbase + I2C_SR1); virtbase 610 drivers/i2c/busses/i2c-stu300.c stu300_wr8(val, dev->virtbase + I2C_DR); virtbase 621 drivers/i2c/busses/i2c-stu300.c stu300_wr8(val, dev->virtbase + I2C_DR); virtbase 637 drivers/i2c/busses/i2c-stu300.c val = stu300_r8(dev->virtbase + I2C_CR); virtbase 639 drivers/i2c/busses/i2c-stu300.c stu300_wr8(val, dev->virtbase + I2C_CR); virtbase 744 drivers/i2c/busses/i2c-stu300.c dev->virtbase + I2C_CR); virtbase 751 drivers/i2c/busses/i2c-stu300.c msg->buf[i] = (u8) stu300_r8(dev->virtbase + I2C_DR); virtbase 758 drivers/i2c/busses/i2c-stu300.c dev->virtbase + I2C_DR); virtbase 770 drivers/i2c/busses/i2c-stu300.c if (stu300_r8(dev->virtbase + I2C_SR2) & virtbase 782 drivers/i2c/busses/i2c-stu300.c stu300_wr8(val, dev->virtbase + I2C_CR); virtbase 795 drivers/i2c/busses/i2c-stu300.c val = stu300_r8(dev->virtbase + I2C_SR2); virtbase 796 drivers/i2c/busses/i2c-stu300.c val = stu300_r8(dev->virtbase + I2C_SR1); virtbase 801 drivers/i2c/busses/i2c-stu300.c stu300_wr8(0x00, dev->virtbase + I2C_CR); virtbase 880 drivers/i2c/busses/i2c-stu300.c dev->virtbase = devm_ioremap_resource(&pdev->dev, res); virtbase 882 drivers/i2c/busses/i2c-stu300.c "base %p\n", bus_nr, dev->virtbase); virtbase 883 drivers/i2c/busses/i2c-stu300.c if (IS_ERR(dev->virtbase)) virtbase 884 drivers/i2c/busses/i2c-stu300.c return PTR_ERR(dev->virtbase); virtbase 927 drivers/i2c/busses/i2c-stu300.c dev->virtbase, dev->irq); virtbase 938 drivers/i2c/busses/i2c-stu300.c stu300_wr8(0x00, dev->virtbase + I2C_CR); virtbase 968 drivers/i2c/busses/i2c-stu300.c stu300_wr8(0x00, dev->virtbase + I2C_CR); virtbase 668 drivers/pinctrl/pinctrl-u300.c void __iomem *virtbase; virtbase 951 drivers/pinctrl/pinctrl-u300.c regval = readw(upmx->virtbase + u300_pmx_registers[i]); virtbase 954 drivers/pinctrl/pinctrl-u300.c writew(regval, upmx->virtbase + u300_pmx_registers[i]); virtbase 1068 drivers/pinctrl/pinctrl-u300.c upmx->virtbase = devm_ioremap_resource(&pdev->dev, res); virtbase 1069 drivers/pinctrl/pinctrl-u300.c if (IS_ERR(upmx->virtbase)) virtbase 1070 drivers/pinctrl/pinctrl-u300.c return PTR_ERR(upmx->virtbase); virtbase 47 drivers/rtc/rtc-coh901331.c void __iomem *virtbase; virtbase 60 drivers/rtc/rtc-coh901331.c writel(1, rtap->virtbase + COH901331_IRQ_EVENT); virtbase 68 drivers/rtc/rtc-coh901331.c writel(0, rtap->virtbase + COH901331_IRQ_MASK); virtbase 83 drivers/rtc/rtc-coh901331.c if (!readl(rtap->virtbase + COH901331_VALID)) { virtbase 88 drivers/rtc/rtc-coh901331.c rtc_time64_to_tm(readl(rtap->virtbase + COH901331_CUR_TIME), tm); virtbase 98 drivers/rtc/rtc-coh901331.c writel(rtc_tm_to_time64(tm), rtap->virtbase + COH901331_SET_TIME); virtbase 109 drivers/rtc/rtc-coh901331.c rtc_time64_to_tm(readl(rtap->virtbase + COH901331_ALARM), &alarm->time); virtbase 110 drivers/rtc/rtc-coh901331.c alarm->pending = readl(rtap->virtbase + COH901331_IRQ_EVENT) & 1U; virtbase 111 drivers/rtc/rtc-coh901331.c alarm->enabled = readl(rtap->virtbase + COH901331_IRQ_MASK) & 1U; virtbase 123 drivers/rtc/rtc-coh901331.c writel(time, rtap->virtbase + COH901331_ALARM); virtbase 124 drivers/rtc/rtc-coh901331.c writel(alarm->enabled, rtap->virtbase + COH901331_IRQ_MASK); virtbase 136 drivers/rtc/rtc-coh901331.c writel(1, rtap->virtbase + COH901331_IRQ_MASK); virtbase 138 drivers/rtc/rtc-coh901331.c writel(0, rtap->virtbase + COH901331_IRQ_MASK); virtbase 175 drivers/rtc/rtc-coh901331.c rtap->virtbase = devm_ioremap_resource(&pdev->dev, res); virtbase 176 drivers/rtc/rtc-coh901331.c if (IS_ERR(rtap->virtbase)) virtbase 177 drivers/rtc/rtc-coh901331.c return PTR_ERR(rtap->virtbase); virtbase 233 drivers/rtc/rtc-coh901331.c rtap->irqmaskstore = readl(rtap->virtbase + COH901331_IRQ_MASK); virtbase 234 drivers/rtc/rtc-coh901331.c writel(0, rtap->virtbase + COH901331_IRQ_MASK); virtbase 254 drivers/rtc/rtc-coh901331.c writel(rtap->irqmaskstore, rtap->virtbase + COH901331_IRQ_MASK); virtbase 268 drivers/rtc/rtc-coh901331.c writel(0, rtap->virtbase + COH901331_IRQ_MASK); virtbase 368 drivers/spi/spi-pl022.c void __iomem *virtbase; virtbase 455 drivers/spi/spi-pl022.c tmp = readw(SSP_CSR(pl022->virtbase)); virtbase 460 drivers/spi/spi-pl022.c writew(tmp, SSP_CSR(pl022->virtbase)); virtbase 529 drivers/spi/spi-pl022.c writew((readw(SSP_CR1(pl022->virtbase)) & virtbase 530 drivers/spi/spi-pl022.c (~SSP_CR1_MASK_SSE)), SSP_CR1(pl022->virtbase)); virtbase 545 drivers/spi/spi-pl022.c while (readw(SSP_SR(pl022->virtbase)) & SSP_SR_MASK_RNE) virtbase 546 drivers/spi/spi-pl022.c readw(SSP_DR(pl022->virtbase)); virtbase 547 drivers/spi/spi-pl022.c } while ((readw(SSP_SR(pl022->virtbase)) & SSP_SR_MASK_BSY) && limit--); virtbase 563 drivers/spi/spi-pl022.c writel(chip->cr0, SSP_CR0(pl022->virtbase)); virtbase 565 drivers/spi/spi-pl022.c writew(chip->cr0, SSP_CR0(pl022->virtbase)); virtbase 566 drivers/spi/spi-pl022.c writew(chip->cr1, SSP_CR1(pl022->virtbase)); virtbase 567 drivers/spi/spi-pl022.c writew(chip->dmacr, SSP_DMACR(pl022->virtbase)); virtbase 568 drivers/spi/spi-pl022.c writew(chip->cpsr, SSP_CPSR(pl022->virtbase)); virtbase 569 drivers/spi/spi-pl022.c writew(DISABLE_ALL_INTERRUPTS, SSP_IMSC(pl022->virtbase)); virtbase 570 drivers/spi/spi-pl022.c writew(CLEAR_ALL_INTERRUPTS, SSP_ICR(pl022->virtbase)); virtbase 651 drivers/spi/spi-pl022.c writel(DEFAULT_SSP_REG_CR0_ST_PL023, SSP_CR0(pl022->virtbase)); virtbase 652 drivers/spi/spi-pl022.c writew(DEFAULT_SSP_REG_CR1_ST_PL023, SSP_CR1(pl022->virtbase)); virtbase 654 drivers/spi/spi-pl022.c writel(DEFAULT_SSP_REG_CR0_ST, SSP_CR0(pl022->virtbase)); virtbase 655 drivers/spi/spi-pl022.c writew(DEFAULT_SSP_REG_CR1_ST, SSP_CR1(pl022->virtbase)); virtbase 657 drivers/spi/spi-pl022.c writew(DEFAULT_SSP_REG_CR0, SSP_CR0(pl022->virtbase)); virtbase 658 drivers/spi/spi-pl022.c writew(DEFAULT_SSP_REG_CR1, SSP_CR1(pl022->virtbase)); virtbase 660 drivers/spi/spi-pl022.c writew(DEFAULT_SSP_REG_DMACR, SSP_DMACR(pl022->virtbase)); virtbase 661 drivers/spi/spi-pl022.c writew(DEFAULT_SSP_REG_CPSR, SSP_CPSR(pl022->virtbase)); virtbase 662 drivers/spi/spi-pl022.c writew(DISABLE_ALL_INTERRUPTS, SSP_IMSC(pl022->virtbase)); virtbase 663 drivers/spi/spi-pl022.c writew(CLEAR_ALL_INTERRUPTS, SSP_ICR(pl022->virtbase)); virtbase 688 drivers/spi/spi-pl022.c while ((readw(SSP_SR(pl022->virtbase)) & SSP_SR_MASK_RNE) virtbase 692 drivers/spi/spi-pl022.c readw(SSP_DR(pl022->virtbase)); virtbase 696 drivers/spi/spi-pl022.c readw(SSP_DR(pl022->virtbase)) & 0xFFU; virtbase 700 drivers/spi/spi-pl022.c (u16) readw(SSP_DR(pl022->virtbase)); virtbase 704 drivers/spi/spi-pl022.c readl(SSP_DR(pl022->virtbase)); virtbase 717 drivers/spi/spi-pl022.c writew(0x0, SSP_DR(pl022->virtbase)); virtbase 720 drivers/spi/spi-pl022.c writew(*(u8 *) (pl022->tx), SSP_DR(pl022->virtbase)); virtbase 723 drivers/spi/spi-pl022.c writew((*(u16 *) (pl022->tx)), SSP_DR(pl022->virtbase)); virtbase 726 drivers/spi/spi-pl022.c writel(*(u32 *) (pl022->tx), SSP_DR(pl022->virtbase)); virtbase 737 drivers/spi/spi-pl022.c while ((readw(SSP_SR(pl022->virtbase)) & SSP_SR_MASK_RNE) virtbase 741 drivers/spi/spi-pl022.c readw(SSP_DR(pl022->virtbase)); virtbase 745 drivers/spi/spi-pl022.c readw(SSP_DR(pl022->virtbase)) & 0xFFU; virtbase 749 drivers/spi/spi-pl022.c (u16) readw(SSP_DR(pl022->virtbase)); virtbase 753 drivers/spi/spi-pl022.c readl(SSP_DR(pl022->virtbase)); virtbase 1264 drivers/spi/spi-pl022.c irq_status = readw(SSP_MIS(pl022->virtbase)); virtbase 1280 drivers/spi/spi-pl022.c if (readw(SSP_SR(pl022->virtbase)) & SSP_SR_MASK_RFF) virtbase 1290 drivers/spi/spi-pl022.c SSP_IMSC(pl022->virtbase)); virtbase 1291 drivers/spi/spi-pl022.c writew(CLEAR_ALL_INTERRUPTS, SSP_ICR(pl022->virtbase)); virtbase 1292 drivers/spi/spi-pl022.c writew((readw(SSP_CR1(pl022->virtbase)) & virtbase 1293 drivers/spi/spi-pl022.c (~SSP_CR1_MASK_SSE)), SSP_CR1(pl022->virtbase)); virtbase 1305 drivers/spi/spi-pl022.c writew((readw(SSP_IMSC(pl022->virtbase)) & virtbase 1307 drivers/spi/spi-pl022.c SSP_IMSC(pl022->virtbase)); virtbase 1317 drivers/spi/spi-pl022.c SSP_IMSC(pl022->virtbase)); virtbase 1318 drivers/spi/spi-pl022.c writew(CLEAR_ALL_INTERRUPTS, SSP_ICR(pl022->virtbase)); virtbase 1439 drivers/spi/spi-pl022.c writew(ENABLE_ALL_INTERRUPTS & ~SSP_IMSC_MASK_RXIM, SSP_IMSC(pl022->virtbase)); virtbase 1474 drivers/spi/spi-pl022.c writew((readw(SSP_CR1(pl022->virtbase)) | SSP_CR1_MASK_SSE), virtbase 1475 drivers/spi/spi-pl022.c SSP_CR1(pl022->virtbase)); virtbase 1476 drivers/spi/spi-pl022.c writew(irqflags, SSP_IMSC(pl022->virtbase)); virtbase 1485 drivers/spi/spi-pl022.c read_cr0 = readl(SSP_CR0(pl022->virtbase)); virtbase 1487 drivers/spi/spi-pl022.c read_cr0 = readw(SSP_CR0(pl022->virtbase)); virtbase 1488 drivers/spi/spi-pl022.c read_cr1 = readw(SSP_CR1(pl022->virtbase)); virtbase 1489 drivers/spi/spi-pl022.c read_dmacr = readw(SSP_DMACR(pl022->virtbase)); virtbase 1490 drivers/spi/spi-pl022.c read_sr = readw(SSP_SR(pl022->virtbase)); virtbase 1542 drivers/spi/spi-pl022.c writew((readw(SSP_CR1(pl022->virtbase)) | SSP_CR1_MASK_SSE), virtbase 1543 drivers/spi/spi-pl022.c SSP_CR1(pl022->virtbase)); virtbase 1614 drivers/spi/spi-pl022.c writew((readw(SSP_CR1(pl022->virtbase)) & virtbase 1615 drivers/spi/spi-pl022.c (~SSP_CR1_MASK_SSE)), SSP_CR1(pl022->virtbase)); virtbase 2221 drivers/spi/spi-pl022.c pl022->virtbase = devm_ioremap(dev, adev->res.start, virtbase 2223 drivers/spi/spi-pl022.c if (pl022->virtbase == NULL) { virtbase 2228 drivers/spi/spi-pl022.c &adev->res.start, pl022->virtbase); virtbase 2248 drivers/spi/spi-pl022.c writew((readw(SSP_CR1(pl022->virtbase)) & (~SSP_CR1_MASK_SSE)), virtbase 2249 drivers/spi/spi-pl022.c SSP_CR1(pl022->virtbase)); virtbase 75 drivers/watchdog/coh901327_wdt.c static void __iomem *virtbase; virtbase 90 drivers/watchdog/coh901327_wdt.c val = readw(virtbase + U300_WDOG_D2R); virtbase 93 drivers/watchdog/coh901327_wdt.c virtbase + U300_WDOG_RR); virtbase 96 drivers/watchdog/coh901327_wdt.c virtbase + U300_WDOG_IER); virtbase 106 drivers/watchdog/coh901327_wdt.c writew(U300_WDOG_IMR_WILL_BARK_IRQ_ENABLE, virtbase + U300_WDOG_IMR); virtbase 108 drivers/watchdog/coh901327_wdt.c writew(timeout, virtbase + U300_WDOG_TR); virtbase 110 drivers/watchdog/coh901327_wdt.c writew(U300_WDOG_FR_FEED_RESTART_TIMER, virtbase + U300_WDOG_FR); virtbase 114 drivers/watchdog/coh901327_wdt.c (void) readw(virtbase + U300_WDOG_CR); virtbase 115 drivers/watchdog/coh901327_wdt.c val = readw(virtbase + U300_WDOG_D2R); virtbase 127 drivers/watchdog/coh901327_wdt.c writew(0x0000U, virtbase + U300_WDOG_IMR); virtbase 129 drivers/watchdog/coh901327_wdt.c val = readw(virtbase + U300_WDOG_D2R); virtbase 132 drivers/watchdog/coh901327_wdt.c virtbase + U300_WDOG_D1R); virtbase 134 drivers/watchdog/coh901327_wdt.c virtbase + U300_WDOG_D2R); virtbase 137 drivers/watchdog/coh901327_wdt.c virtbase + U300_WDOG_D2R); virtbase 139 drivers/watchdog/coh901327_wdt.c val = readw(virtbase + U300_WDOG_D2R); virtbase 162 drivers/watchdog/coh901327_wdt.c virtbase + U300_WDOG_FR); virtbase 171 drivers/watchdog/coh901327_wdt.c writew(time * 100, virtbase + U300_WDOG_TR); virtbase 174 drivers/watchdog/coh901327_wdt.c virtbase + U300_WDOG_FR); virtbase 183 drivers/watchdog/coh901327_wdt.c val = readw(virtbase + U300_WDOG_CR); virtbase 185 drivers/watchdog/coh901327_wdt.c val = readw(virtbase + U300_WDOG_CR); virtbase 210 drivers/watchdog/coh901327_wdt.c val = readw(virtbase + U300_WDOG_IER); virtbase 213 drivers/watchdog/coh901327_wdt.c virtbase + U300_WDOG_IER); virtbase 214 drivers/watchdog/coh901327_wdt.c writew(0x0000U, virtbase + U300_WDOG_IMR); virtbase 254 drivers/watchdog/coh901327_wdt.c virtbase = devm_platform_ioremap_resource(pdev, 0); virtbase 255 drivers/watchdog/coh901327_wdt.c if (IS_ERR(virtbase)) virtbase 256 drivers/watchdog/coh901327_wdt.c return PTR_ERR(virtbase); virtbase 270 drivers/watchdog/coh901327_wdt.c val = readw(virtbase + U300_WDOG_SR); virtbase 285 drivers/watchdog/coh901327_wdt.c val = readw(virtbase + U300_WDOG_D2R); virtbase 301 drivers/watchdog/coh901327_wdt.c writew(U300_WDOG_SR_RESET_STATUS_RESET, virtbase + U300_WDOG_SR); virtbase 337 drivers/watchdog/coh901327_wdt.c irqmaskstore = readw(virtbase + U300_WDOG_IMR) & 0x0001U; virtbase 338 drivers/watchdog/coh901327_wdt.c wdogenablestore = readw(virtbase + U300_WDOG_D2R); virtbase 348 drivers/watchdog/coh901327_wdt.c writew(irqmaskstore, virtbase + U300_WDOG_IMR); virtbase 352 drivers/watchdog/coh901327_wdt.c virtbase + U300_WDOG_RR); virtbase 354 drivers/watchdog/coh901327_wdt.c virtbase + U300_WDOG_FR); virtbase 371 drivers/watchdog/coh901327_wdt.c virtbase + U300_WDOG_JOR);