mbase 149 arch/microblaze/pci/indirect_pci.c void __iomem *mbase; mbase 151 arch/microblaze/pci/indirect_pci.c mbase = ioremap(base, PAGE_SIZE); mbase 152 arch/microblaze/pci/indirect_pci.c hose->cfg_addr = mbase + (cfg_addr & ~PAGE_MASK); mbase 154 arch/microblaze/pci/indirect_pci.c mbase = ioremap(cfg_data & PAGE_MASK, PAGE_SIZE); mbase 155 arch/microblaze/pci/indirect_pci.c hose->cfg_data = mbase + (cfg_data & ~PAGE_MASK); mbase 1004 arch/powerpc/kernel/fadump.c u64 mbase, msize; mbase 1006 arch/powerpc/kernel/fadump.c mbase = crash_mrange_info.mem_ranges[i].base; mbase 1015 arch/powerpc/kernel/fadump.c phdr->p_offset = mbase; mbase 1017 arch/powerpc/kernel/fadump.c if (mbase == raddr) { mbase 1030 arch/powerpc/kernel/fadump.c phdr->p_paddr = mbase; mbase 1031 arch/powerpc/kernel/fadump.c phdr->p_vaddr = (unsigned long)__va(mbase); mbase 1236 arch/powerpc/platforms/4xx/pci.c void __iomem *mbase; mbase 1241 arch/powerpc/platforms/4xx/pci.c mbase = ioremap(port->cfg_space.start + 0x10000000, 0x1000); mbase 1242 arch/powerpc/platforms/4xx/pci.c if (mbase == NULL) { mbase 1248 arch/powerpc/platforms/4xx/pci.c while (attempt && (0 == (in_le32(mbase + PECFG_460SX_DLLSTA) mbase 1256 arch/powerpc/platforms/4xx/pci.c iounmap(mbase); mbase 1376 arch/powerpc/platforms/4xx/pci.c void __iomem *mbase = ioremap(port->cfg_space.start + 0x10000000, mbase 1381 arch/powerpc/platforms/4xx/pci.c if (mbase == NULL) { mbase 1388 arch/powerpc/platforms/4xx/pci.c val = in_le32(mbase + PECFG_TLDLP); mbase 1401 arch/powerpc/platforms/4xx/pci.c iounmap(mbase); mbase 1712 arch/powerpc/platforms/4xx/pci.c void __iomem *mbase, mbase 1739 arch/powerpc/platforms/4xx/pci.c out_le32(mbase + PECFG_POM0LAH, pciah); mbase 1740 arch/powerpc/platforms/4xx/pci.c out_le32(mbase + PECFG_POM0LAL, pcial); mbase 1762 arch/powerpc/platforms/4xx/pci.c out_le32(mbase + PECFG_POM1LAH, pciah); mbase 1763 arch/powerpc/platforms/4xx/pci.c out_le32(mbase + PECFG_POM1LAL, pcial); mbase 1771 arch/powerpc/platforms/4xx/pci.c out_le32(mbase + PECFG_POM2LAH, pciah); mbase 1772 arch/powerpc/platforms/4xx/pci.c out_le32(mbase + PECFG_POM2LAL, pcial); mbase 1788 arch/powerpc/platforms/4xx/pci.c void __iomem *mbase) mbase 1807 arch/powerpc/platforms/4xx/pci.c if (ppc4xx_setup_one_pciex_POM(port, hose, mbase, mbase 1825 arch/powerpc/platforms/4xx/pci.c if (ppc4xx_setup_one_pciex_POM(port, hose, mbase, mbase 1835 arch/powerpc/platforms/4xx/pci.c ppc4xx_setup_one_pciex_POM(port, hose, mbase, mbase 1842 arch/powerpc/platforms/4xx/pci.c void __iomem *mbase, mbase 1861 arch/powerpc/platforms/4xx/pci.c out_le32(mbase + PECFG_BAR0HMPA, RES_TO_U32_HIGH(sa)); mbase 1862 arch/powerpc/platforms/4xx/pci.c out_le32(mbase + PECFG_BAR0LMPA, RES_TO_U32_LOW(sa) | mbase 1866 arch/powerpc/platforms/4xx/pci.c out_le32(mbase + PECFG_BAR1MPA, 0); mbase 1867 arch/powerpc/platforms/4xx/pci.c out_le32(mbase + PECFG_BAR2HMPA, 0); mbase 1868 arch/powerpc/platforms/4xx/pci.c out_le32(mbase + PECFG_BAR2LMPA, 0); mbase 1870 arch/powerpc/platforms/4xx/pci.c out_le32(mbase + PECFG_PIM01SAH, RES_TO_U32_HIGH(sa)); mbase 1871 arch/powerpc/platforms/4xx/pci.c out_le32(mbase + PECFG_PIM01SAL, RES_TO_U32_LOW(sa)); mbase 1873 arch/powerpc/platforms/4xx/pci.c out_le32(mbase + PCI_BASE_ADDRESS_0, RES_TO_U32_LOW(ep_addr)); mbase 1874 arch/powerpc/platforms/4xx/pci.c out_le32(mbase + PCI_BASE_ADDRESS_1, RES_TO_U32_HIGH(ep_addr)); mbase 1888 arch/powerpc/platforms/4xx/pci.c out_le32(mbase + PECFG_BAR0HMPA, RES_TO_U32_HIGH(sa)); mbase 1889 arch/powerpc/platforms/4xx/pci.c out_le32(mbase + PECFG_BAR0LMPA, RES_TO_U32_LOW(sa)); mbase 1894 arch/powerpc/platforms/4xx/pci.c out_le32(mbase + PECFG_PIM0LAL, 0x00000000); mbase 1895 arch/powerpc/platforms/4xx/pci.c out_le32(mbase + PECFG_PIM0LAH, 0x00000000); mbase 1896 arch/powerpc/platforms/4xx/pci.c out_le32(mbase + PECFG_PIM1LAL, 0x00000000); mbase 1897 arch/powerpc/platforms/4xx/pci.c out_le32(mbase + PECFG_PIM1LAH, 0x00000000); mbase 1898 arch/powerpc/platforms/4xx/pci.c out_le32(mbase + PECFG_PIM01SAH, 0xffff0000); mbase 1899 arch/powerpc/platforms/4xx/pci.c out_le32(mbase + PECFG_PIM01SAL, 0x00000000); mbase 1901 arch/powerpc/platforms/4xx/pci.c out_le32(mbase + PCI_BASE_ADDRESS_0, RES_TO_U32_LOW(res->start)); mbase 1902 arch/powerpc/platforms/4xx/pci.c out_le32(mbase + PCI_BASE_ADDRESS_1, RES_TO_U32_HIGH(res->start)); mbase 1906 arch/powerpc/platforms/4xx/pci.c out_le32(mbase + PECFG_PIMEN, 0x1); mbase 1909 arch/powerpc/platforms/4xx/pci.c out_le16(mbase + PCI_COMMAND, mbase 1910 arch/powerpc/platforms/4xx/pci.c in_le16(mbase + PCI_COMMAND) | mbase 1920 arch/powerpc/platforms/4xx/pci.c void __iomem *mbase = NULL, *cfg_data = NULL; mbase 1974 arch/powerpc/platforms/4xx/pci.c mbase = ioremap(port->cfg_space.start + 0x10000000, 0x1000); mbase 1975 arch/powerpc/platforms/4xx/pci.c if (mbase == NULL) { mbase 1980 arch/powerpc/platforms/4xx/pci.c hose->cfg_addr = mbase; mbase 1990 arch/powerpc/platforms/4xx/pci.c mbase = (void __iomem *)hose->cfg_addr; mbase 1996 arch/powerpc/platforms/4xx/pci.c out_8(mbase + PCI_PRIMARY_BUS, hose->first_busno); mbase 1997 arch/powerpc/platforms/4xx/pci.c out_8(mbase + PCI_SECONDARY_BUS, hose->first_busno + 1); mbase 1998 arch/powerpc/platforms/4xx/pci.c out_8(mbase + PCI_SUBORDINATE_BUS, hose->last_busno); mbase 2004 arch/powerpc/platforms/4xx/pci.c out_le32(mbase + PECFG_PIMEN, 0); mbase 2010 arch/powerpc/platforms/4xx/pci.c if (ppc4xx_parse_dma_ranges(hose, mbase, &dma_window) != 0) mbase 2014 arch/powerpc/platforms/4xx/pci.c ppc4xx_configure_pciex_POMs(port, hose, mbase); mbase 2017 arch/powerpc/platforms/4xx/pci.c ppc4xx_configure_pciex_PIMs(port, hose, mbase, &dma_window); mbase 2036 arch/powerpc/platforms/4xx/pci.c out_le16(mbase + 0x200, val); mbase 2047 arch/powerpc/platforms/4xx/pci.c out_le16(mbase + 0x202, val); mbase 2051 arch/powerpc/platforms/4xx/pci.c out_le16(mbase + 0x204, 0x7); mbase 2055 arch/powerpc/platforms/4xx/pci.c out_le32(mbase + 0x208, 0x06040001); mbase 2061 arch/powerpc/platforms/4xx/pci.c out_le32(mbase + 0x208, 0x0b200001); mbase 2073 arch/powerpc/platforms/4xx/pci.c if (mbase) mbase 2074 arch/powerpc/platforms/4xx/pci.c iounmap(mbase); mbase 164 arch/powerpc/sysdev/indirect_pci.c void __iomem *mbase; mbase 166 arch/powerpc/sysdev/indirect_pci.c mbase = ioremap(base, PAGE_SIZE); mbase 167 arch/powerpc/sysdev/indirect_pci.c hose->cfg_addr = mbase + (cfg_addr & ~PAGE_MASK); mbase 169 arch/powerpc/sysdev/indirect_pci.c mbase = ioremap(cfg_data & PAGE_MASK, PAGE_SIZE); mbase 170 arch/powerpc/sysdev/indirect_pci.c hose->cfg_data = mbase + (cfg_data & ~PAGE_MASK); mbase 77 drivers/bus/hisi_lpc.c static int wait_lpc_idle(unsigned char *mbase, unsigned int waitcnt) mbase 82 drivers/bus/hisi_lpc.c status = readl(mbase + LPC_REG_OP_STATUS); mbase 27 drivers/edac/i10nm_base.c (*(u32 *)((m)->mbase + 0x2080c + (i) * 0x4000 + (j) * 4)) mbase 29 drivers/edac/i10nm_base.c (*(u32 *)((m)->mbase + 0x20970 + (i) * 0x4000 + (j) * 4)) mbase 64 drivers/edac/i10nm_base.c void __iomem *mbase; mbase 111 drivers/edac/i10nm_base.c mbase = ioremap(base + off, size); mbase 112 drivers/edac/i10nm_base.c if (!mbase) { mbase 118 drivers/edac/i10nm_base.c d->imc[i].mbase = mbase; mbase 137 drivers/edac/i10nm_base.c mcmtr = *(u32 *)(imc->mbase + 0x20ef8 + chan * 0x4000); mbase 152 drivers/edac/i10nm_base.c if (!imc->mbase) mbase 637 drivers/edac/skx_common.c if (d->imc[i].mbase) mbase 638 drivers/edac/skx_common.c iounmap(d->imc[i].mbase); mbase 61 drivers/edac/skx_common.h void __iomem *mbase; /* for i10nm CPU */ mbase 25 drivers/net/ethernet/marvell/octeontx2/af/mbox.c tx_hdr = mdev->mbase + mbox->tx_start; mbase 26 drivers/net/ethernet/marvell/octeontx2/af/mbox.c rx_hdr = mdev->mbase + mbox->rx_start; mbase 124 drivers/net/ethernet/marvell/octeontx2/af/mbox.c mdev->mbase = mbox->hwbase + (devid * MBOX_SIZE); mbase 168 drivers/net/ethernet/marvell/octeontx2/af/mbox.c tx_hdr = mdev->mbase + mbox->tx_start; mbase 169 drivers/net/ethernet/marvell/octeontx2/af/mbox.c rx_hdr = mdev->mbase + mbox->rx_start; mbase 215 drivers/net/ethernet/marvell/octeontx2/af/mbox.c msghdr = mdev->mbase + mbox->tx_start + msgs_offset + mdev->msg_size; mbase 243 drivers/net/ethernet/marvell/octeontx2/af/mbox.c struct mbox_msghdr *pmsg = mdev->mbase + imsg; mbase 244 drivers/net/ethernet/marvell/octeontx2/af/mbox.c struct mbox_msghdr *prsp = mdev->mbase + irsp; mbase 54 drivers/net/ethernet/marvell/octeontx2/af/mbox.h void *mbase; /* This dev's mbox region */ mbase 1442 drivers/net/ethernet/marvell/octeontx2/af/rvu.c req_hdr = mdev->mbase + mbox->rx_start; mbase 1449 drivers/net/ethernet/marvell/octeontx2/af/rvu.c msg = mdev->mbase + offset; mbase 1525 drivers/net/ethernet/marvell/octeontx2/af/rvu.c rsp_hdr = mdev->mbase + mbox->rx_start; mbase 1534 drivers/net/ethernet/marvell/octeontx2/af/rvu.c msg = mdev->mbase + offset; mbase 1699 drivers/net/ethernet/marvell/octeontx2/af/rvu.c hdr = mdev->mbase + mbox->rx_start; mbase 1705 drivers/net/ethernet/marvell/octeontx2/af/rvu.c hdr = mdev->mbase + mbox->rx_start; mbase 92 drivers/staging/isdn/avm/avmcard.h void __iomem *mbase; mbase 88 drivers/staging/isdn/avm/b1dma.c writel(value, card->mbase + off); mbase 93 drivers/staging/isdn/avm/b1dma.c return readl(card->mbase + off); mbase 217 drivers/staging/isdn/avm/b1pci.c card->mbase = ioremap(card->membase, 64); mbase 218 drivers/staging/isdn/avm/b1pci.c if (!card->mbase) { mbase 273 drivers/staging/isdn/avm/b1pci.c iounmap(card->mbase); mbase 294 drivers/staging/isdn/avm/b1pci.c iounmap(card->mbase); mbase 151 drivers/staging/isdn/avm/c4.c while (c4inmeml(card->mbase + DOORBELL) != 0xffffffff) { mbase 165 drivers/staging/isdn/avm/c4.c c4outmeml(card->mbase + MBOX_PEEK_POKE, off); mbase 166 drivers/staging/isdn/avm/c4.c c4outmeml(card->mbase + DOORBELL, DBELL_ADDR); mbase 171 drivers/staging/isdn/avm/c4.c c4outmeml(card->mbase + MBOX_PEEK_POKE, value); mbase 172 drivers/staging/isdn/avm/c4.c c4outmeml(card->mbase + DOORBELL, DBELL_DATA | DBELL_ADDR); mbase 182 drivers/staging/isdn/avm/c4.c c4outmeml(card->mbase + MBOX_PEEK_POKE, off); mbase 183 drivers/staging/isdn/avm/c4.c c4outmeml(card->mbase + DOORBELL, DBELL_RNWR | DBELL_ADDR); mbase 188 drivers/staging/isdn/avm/c4.c *valuep = c4inmeml(card->mbase + MBOX_PEEK_POKE); mbase 300 drivers/staging/isdn/avm/c4.c c4outmeml(card->mbase + DOORBELL, DBELL_RESET_ARM); mbase 303 drivers/staging/isdn/avm/c4.c while (c4inmeml(card->mbase + DOORBELL) != 0xffffffff) { mbase 306 drivers/staging/isdn/avm/c4.c c4outmeml(card->mbase + DOORBELL, DBELL_ADDR); mbase 320 drivers/staging/isdn/avm/c4.c c4outmeml(card->mbase + PCI_OUT_INT_MASK, 0x0c); mbase 321 drivers/staging/isdn/avm/c4.c if (c4inmeml(card->mbase + PCI_OUT_INT_MASK) != 0x0c) mbase 324 drivers/staging/isdn/avm/c4.c c4outmeml(card->mbase + DOORBELL, DBELL_RESET_ARM); mbase 327 drivers/staging/isdn/avm/c4.c while (c4inmeml(card->mbase + DOORBELL) != 0xffffffff) { mbase 330 drivers/staging/isdn/avm/c4.c c4outmeml(card->mbase + DOORBELL, DBELL_ADDR); mbase 337 drivers/staging/isdn/avm/c4.c c4outmeml(card->mbase + MAILBOX_0, 0x55aa55aa); mbase 338 drivers/staging/isdn/avm/c4.c if (c4inmeml(card->mbase + MAILBOX_0) != 0x55aa55aa) return 3; mbase 340 drivers/staging/isdn/avm/c4.c c4outmeml(card->mbase + MAILBOX_0, 0xaa55aa55); mbase 341 drivers/staging/isdn/avm/c4.c if (c4inmeml(card->mbase + MAILBOX_0) != 0xaa55aa55) return 4; mbase 468 drivers/staging/isdn/avm/c4.c c4outmeml(card->mbase + MBOX_DOWN_ADDR, dma->sendbuf.dmaaddr); mbase 469 drivers/staging/isdn/avm/c4.c c4outmeml(card->mbase + MBOX_DOWN_LEN, txlen); mbase 473 drivers/staging/isdn/avm/c4.c c4outmeml(card->mbase + DOORBELL, DBELL_DOWN_ARM); mbase 672 drivers/staging/isdn/avm/c4.c status = c4inmeml(card->mbase + DOORBELL); mbase 676 drivers/staging/isdn/avm/c4.c c4outmeml(card->mbase + PCI_OUT_INT_MASK, 0x0c); mbase 698 drivers/staging/isdn/avm/c4.c c4outmeml(card->mbase + DOORBELL, status); mbase 701 drivers/staging/isdn/avm/c4.c card->dma->recvlen = c4inmeml(card->mbase + MBOX_UP_LEN); mbase 702 drivers/staging/isdn/avm/c4.c c4outmeml(card->mbase + MBOX_UP_LEN, 0); mbase 705 drivers/staging/isdn/avm/c4.c c4outmeml(card->mbase + MBOX_UP_LEN, card->dma->recvbuf.size); mbase 706 drivers/staging/isdn/avm/c4.c c4outmeml(card->mbase + DOORBELL, DBELL_UP_ARM); mbase 713 drivers/staging/isdn/avm/c4.c if (c4inmeml(card->mbase + MBOX_DOWN_LEN) == 0) { mbase 869 drivers/staging/isdn/avm/c4.c c4outmeml(card->mbase + MBOX_UP_LEN, 0); mbase 870 drivers/staging/isdn/avm/c4.c c4outmeml(card->mbase + MBOX_DOWN_LEN, 0); mbase 871 drivers/staging/isdn/avm/c4.c c4outmeml(card->mbase + DOORBELL, DBELL_INIT); mbase 873 drivers/staging/isdn/avm/c4.c c4outmeml(card->mbase + DOORBELL, mbase 876 drivers/staging/isdn/avm/c4.c c4outmeml(card->mbase + PCI_OUT_INT_MASK, 0x08); mbase 879 drivers/staging/isdn/avm/c4.c c4outmeml(card->mbase + MBOX_UP_ADDR, card->dma->recvbuf.dmaaddr); mbase 880 drivers/staging/isdn/avm/c4.c c4outmeml(card->mbase + MBOX_UP_LEN, card->dma->recvbuf.size); mbase 881 drivers/staging/isdn/avm/c4.c c4outmeml(card->mbase + DOORBELL, DBELL_UP_ARM); mbase 937 drivers/staging/isdn/avm/c4.c iounmap(card->mbase); mbase 1166 drivers/staging/isdn/avm/c4.c card->mbase = ioremap(card->membase, 128); mbase 1167 drivers/staging/isdn/avm/c4.c if (card->mbase == NULL) { mbase 1226 drivers/staging/isdn/avm/c4.c iounmap(card->mbase); mbase 83 drivers/staging/isdn/avm/t1pci.c card->mbase = ioremap(card->membase, 64); mbase 84 drivers/staging/isdn/avm/t1pci.c if (!card->mbase) { mbase 142 drivers/staging/isdn/avm/t1pci.c iounmap(card->mbase); mbase 164 drivers/staging/isdn/avm/t1pci.c iounmap(card->mbase); mbase 153 drivers/usb/mtu3/mtu3_core.c void __iomem *mbase = mtu->mac_base; mbase 156 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, U3D_LV1IECR, ~0x0); mbase 158 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, U3D_EPIECR, ~0x0); mbase 163 drivers/usb/mtu3/mtu3_core.c void __iomem *mbase = mtu->mac_base; mbase 166 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, U3D_EPISR, ~0x0); mbase 168 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, U3D_COMMON_USB_INTR, ~0x0); mbase 170 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, U3D_LTSSM_INTR, ~0x0); mbase 172 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, U3D_DEV_LINK_INTR, ~0x0); mbase 178 drivers/usb/mtu3/mtu3_core.c void __iomem *mbase = mtu->mac_base; mbase 183 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, U3D_LV1IESR, value); mbase 187 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, U3D_COMMON_USB_INTR_ENABLE, value); mbase 193 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, U3D_LTSSM_INTR_ENABLE, value); mbase 199 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, U3D_QIESR1, value); mbase 202 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, U3D_DEV_LINK_INTR_ENABLE, SSUSB_DEV_SPEED_CHG_INTR); mbase 219 drivers/usb/mtu3/mtu3_core.c void __iomem *mbase = mtu->mac_base; mbase 224 drivers/usb/mtu3/mtu3_core.c csr = mtu3_readl(mbase, MU3D_EP_TXCR0(epnum)) & TX_W1C_BITS; mbase 229 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, MU3D_EP_TXCR0(epnum), csr); mbase 231 drivers/usb/mtu3/mtu3_core.c csr = mtu3_readl(mbase, MU3D_EP_RXCR0(epnum)) & RX_W1C_BITS; mbase 236 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, MU3D_EP_RXCR0(epnum), csr); mbase 263 drivers/usb/mtu3/mtu3_core.c void __iomem *mbase = mtu->mac_base; mbase 266 drivers/usb/mtu3/mtu3_core.c mtu3_readl(mbase, U3D_DEVICE_CONTROL)); mbase 276 drivers/usb/mtu3/mtu3_core.c mtu3_clrbits(mbase, U3D_POWER_MANAGEMENT, HS_ENABLE); mbase 304 drivers/usb/mtu3/mtu3_core.c void __iomem *mbase = mtu->mac_base; mbase 346 drivers/usb/mtu3/mtu3_core.c mtu3_setbits(mbase, U3D_QIESR0, QMU_TX_DONE_INT(epnum)); mbase 348 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, MU3D_EP_TXCR0(epnum), csr0); mbase 349 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, MU3D_EP_TXCR1(epnum), csr1); mbase 350 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, MU3D_EP_TXCR2(epnum), csr2); mbase 353 drivers/usb/mtu3/mtu3_core.c epnum, mtu3_readl(mbase, MU3D_EP_TXCR0(epnum)), mbase 354 drivers/usb/mtu3/mtu3_core.c mtu3_readl(mbase, MU3D_EP_TXCR1(epnum)), mbase 355 drivers/usb/mtu3/mtu3_core.c mtu3_readl(mbase, MU3D_EP_TXCR2(epnum))); mbase 382 drivers/usb/mtu3/mtu3_core.c mtu3_setbits(mbase, U3D_QIESR0, QMU_RX_DONE_INT(epnum)); mbase 384 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, MU3D_EP_RXCR0(epnum), csr0); mbase 385 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, MU3D_EP_RXCR1(epnum), csr1); mbase 386 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, MU3D_EP_RXCR2(epnum), csr2); mbase 389 drivers/usb/mtu3/mtu3_core.c epnum, mtu3_readl(mbase, MU3D_EP_RXCR0(epnum)), mbase 390 drivers/usb/mtu3/mtu3_core.c mtu3_readl(mbase, MU3D_EP_RXCR1(epnum)), mbase 391 drivers/usb/mtu3/mtu3_core.c mtu3_readl(mbase, MU3D_EP_RXCR2(epnum))); mbase 405 drivers/usb/mtu3/mtu3_core.c void __iomem *mbase = mtu->mac_base; mbase 409 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, MU3D_EP_TXCR0(epnum), 0); mbase 410 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, MU3D_EP_TXCR1(epnum), 0); mbase 411 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, MU3D_EP_TXCR2(epnum), 0); mbase 412 drivers/usb/mtu3/mtu3_core.c mtu3_setbits(mbase, U3D_QIECR0, QMU_TX_DONE_INT(epnum)); mbase 414 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, MU3D_EP_RXCR0(epnum), 0); mbase 415 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, MU3D_EP_RXCR1(epnum), 0); mbase 416 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, MU3D_EP_RXCR2(epnum), 0); mbase 417 drivers/usb/mtu3/mtu3_core.c mtu3_setbits(mbase, U3D_QIECR0, QMU_RX_DONE_INT(epnum)); mbase 496 drivers/usb/mtu3/mtu3_core.c void __iomem *mbase = mtu->mac_base; mbase 503 drivers/usb/mtu3/mtu3_core.c cap_epinfo = mtu3_readl(mbase, U3D_CAP_EPINFO); mbase 508 drivers/usb/mtu3/mtu3_core.c mtu3_readl(mbase, U3D_CAP_EPNTXFFSZ), in_ep_num, mbase 509 drivers/usb/mtu3/mtu3_core.c mtu3_readl(mbase, U3D_CAP_EPNRXFFSZ), out_ep_num); mbase 550 drivers/usb/mtu3/mtu3_core.c void __iomem *mbase = mtu->mac_base; mbase 557 drivers/usb/mtu3/mtu3_core.c mtu3_clrbits(mbase, U3D_USB3_CONFIG, USB3_EN); mbase 559 drivers/usb/mtu3/mtu3_core.c mtu3_clrbits(mbase, U3D_POWER_MANAGEMENT, HS_ENABLE); mbase 561 drivers/usb/mtu3/mtu3_core.c mtu3_clrbits(mbase, U3D_USB3_CONFIG, USB3_EN); mbase 563 drivers/usb/mtu3/mtu3_core.c mtu3_setbits(mbase, U3D_POWER_MANAGEMENT, HS_ENABLE); mbase 576 drivers/usb/mtu3/mtu3_core.c void __iomem *mbase = mtu->mac_base; mbase 584 drivers/usb/mtu3/mtu3_core.c mtu3_clrbits(mbase, U3D_LINK_POWER_CONTROL, mbase 587 drivers/usb/mtu3/mtu3_core.c mtu3_setbits(mbase, U3D_LINK_POWER_CONTROL, mbase 590 drivers/usb/mtu3/mtu3_core.c mtu3_clrbits(mbase, U3D_LTSSM_CTRL, SOFT_U3_EXIT_EN); mbase 592 drivers/usb/mtu3/mtu3_core.c mtu3_setbits(mbase, U3D_USB2_TEST_MODE, U2U3_AUTO_SWITCH); mbase 594 drivers/usb/mtu3/mtu3_core.c mtu3_setbits(mbase, U3D_U3U2_SWITCH_CTRL, SOFTCON_CLR_AUTO_EN); mbase 600 drivers/usb/mtu3/mtu3_core.c mtu3_clrbits(mbase, U3D_LINK_RESET_INFO, WTCHRP_MSK); mbase 602 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, U3D_DEVICE_CONF, 0); mbase 604 drivers/usb/mtu3/mtu3_core.c mtu3_clrbits(mbase, U3D_MISC_CTRL, VBUS_FRC_EN | VBUS_ON); mbase 606 drivers/usb/mtu3/mtu3_core.c mtu3_setbits(mbase, U3D_POWER_MANAGEMENT, LPM_HRWE); mbase 610 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, U3D_QFCR, ~0x0); mbase 615 drivers/usb/mtu3/mtu3_core.c void __iomem *mbase = mtu->mac_base; mbase 621 drivers/usb/mtu3/mtu3_core.c link = mtu3_readl(mbase, U3D_DEV_LINK_INTR); mbase 622 drivers/usb/mtu3/mtu3_core.c link &= mtu3_readl(mbase, U3D_DEV_LINK_INTR_ENABLE); mbase 623 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, U3D_DEV_LINK_INTR, link); /* W1C */ mbase 629 drivers/usb/mtu3/mtu3_core.c speed = SSUSB_DEV_SPEED(mtu3_readl(mbase, U3D_DEVICE_CONF)); mbase 635 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, U3D_USB20_LPM_PARAMETER, LPM_BESLDCK(0xf) mbase 637 drivers/usb/mtu3/mtu3_core.c mtu3_setbits(mbase, U3D_POWER_MANAGEMENT, mbase 643 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, U3D_USB20_LPM_PARAMETER, LPM_BESLDCK(0xf) mbase 645 drivers/usb/mtu3/mtu3_core.c mtu3_setbits(mbase, U3D_POWER_MANAGEMENT, mbase 678 drivers/usb/mtu3/mtu3_core.c void __iomem *mbase = mtu->mac_base; mbase 681 drivers/usb/mtu3/mtu3_core.c ltssm = mtu3_readl(mbase, U3D_LTSSM_INTR); mbase 682 drivers/usb/mtu3/mtu3_core.c ltssm &= mtu3_readl(mbase, U3D_LTSSM_INTR_ENABLE); mbase 683 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, U3D_LTSSM_INTR, ltssm); /* W1C */ mbase 709 drivers/usb/mtu3/mtu3_core.c void __iomem *mbase = mtu->mac_base; mbase 712 drivers/usb/mtu3/mtu3_core.c u2comm = mtu3_readl(mbase, U3D_COMMON_USB_INTR); mbase 713 drivers/usb/mtu3/mtu3_core.c u2comm &= mtu3_readl(mbase, U3D_COMMON_USB_INTR_ENABLE); mbase 714 drivers/usb/mtu3/mtu3_core.c mtu3_writel(mbase, U3D_COMMON_USB_INTR, u2comm); /* W1C */ mbase 81 drivers/usb/mtu3/mtu3_debugfs.c void __iomem *mbase = mtu->mac_base; mbase 84 drivers/usb/mtu3/mtu3_debugfs.c mtu3_readl(mbase, U3D_USB20_OPSTATE), mbase 85 drivers/usb/mtu3/mtu3_debugfs.c LTSSM_STATE(mtu3_readl(mbase, U3D_LINK_STATE_MACHINE))); mbase 138 drivers/usb/mtu3/mtu3_gadget_ep0.c void __iomem *mbase = mtu->mac_base; mbase 142 drivers/usb/mtu3/mtu3_gadget_ep0.c csr = mtu3_readl(mbase, U3D_EP0CSR) & EP0_W1C_BITS; mbase 267 drivers/usb/mtu3/mtu3_gadget_ep0.c void __iomem *mbase = mtu->mac_base; mbase 300 drivers/usb/mtu3/mtu3_gadget_ep0.c value = mtu3_readl(mbase, U3D_EP0CSR) & EP0_W1C_BITS; mbase 301 drivers/usb/mtu3/mtu3_gadget_ep0.c mtu3_writel(mbase, U3D_EP0CSR, value | EP0_SETUPPKTRDY | EP0_DATAEND); mbase 304 drivers/usb/mtu3/mtu3_gadget_ep0.c readl_poll_timeout_atomic(mbase + U3D_EP0CSR, value, mbase 307 drivers/usb/mtu3/mtu3_gadget_ep0.c mtu3_writel(mbase, U3D_USB2_TEST_MODE, mtu->test_mode_nr); mbase 318 drivers/usb/mtu3/mtu3_gadget_ep0.c void __iomem *mbase = mtu->mac_base; mbase 339 drivers/usb/mtu3/mtu3_gadget_ep0.c lpc = mtu3_readl(mbase, U3D_LINK_POWER_CONTROL); mbase 344 drivers/usb/mtu3/mtu3_gadget_ep0.c mtu3_writel(mbase, U3D_LINK_POWER_CONTROL, lpc); mbase 354 drivers/usb/mtu3/mtu3_gadget_ep0.c lpc = mtu3_readl(mbase, U3D_LINK_POWER_CONTROL); mbase 359 drivers/usb/mtu3/mtu3_gadget_ep0.c mtu3_writel(mbase, U3D_LINK_POWER_CONTROL, lpc); mbase 435 drivers/usb/mtu3/mtu3_gadget_ep0.c void __iomem *mbase = mtu->mac_base; mbase 450 drivers/usb/mtu3/mtu3_gadget_ep0.c dev_conf = mtu3_readl(mbase, U3D_DEVICE_CONF); mbase 453 drivers/usb/mtu3/mtu3_gadget_ep0.c mtu3_writel(mbase, U3D_DEVICE_CONF, dev_conf); mbase 505 drivers/usb/mtu3/mtu3_gadget_ep0.c void __iomem *mbase = mtu->mac_base; mbase 512 drivers/usb/mtu3/mtu3_gadget_ep0.c csr = mtu3_readl(mbase, U3D_EP0CSR) & EP0_W1C_BITS; mbase 522 drivers/usb/mtu3/mtu3_gadget_ep0.c count = mtu3_readl(mbase, U3D_RXCOUNT0); mbase 546 drivers/usb/mtu3/mtu3_gadget_ep0.c mtu3_writel(mbase, U3D_EP0CSR, csr); mbase 635 drivers/usb/mtu3/mtu3_gadget_ep0.c void __iomem *mbase = mtu->mac_base; mbase 671 drivers/usb/mtu3/mtu3_gadget_ep0.c mtu3_writel(mbase, U3D_EP0CSR, mbase 672 drivers/usb/mtu3/mtu3_gadget_ep0.c (mtu3_readl(mbase, U3D_EP0CSR) & EP0_W1C_BITS) mbase 686 drivers/usb/mtu3/mtu3_gadget_ep0.c void __iomem *mbase = mtu->mac_base; mbase 693 drivers/usb/mtu3/mtu3_gadget_ep0.c int_status = mtu3_readl(mbase, U3D_EPISR); mbase 694 drivers/usb/mtu3/mtu3_gadget_ep0.c int_status &= mtu3_readl(mbase, U3D_EPIER); mbase 695 drivers/usb/mtu3/mtu3_gadget_ep0.c mtu3_writel(mbase, U3D_EPISR, int_status); /* W1C */ mbase 705 drivers/usb/mtu3/mtu3_gadget_ep0.c csr = mtu3_readl(mbase, U3D_EP0CSR); mbase 712 drivers/usb/mtu3/mtu3_gadget_ep0.c csr = mtu3_readl(mbase, U3D_EP0CSR); mbase 734 drivers/usb/mtu3/mtu3_gadget_ep0.c mtu3_writel(mbase, U3D_EP0CSR, mbase 749 drivers/usb/mtu3/mtu3_gadget_ep0.c len = mtu3_readl(mbase, U3D_RXCOUNT0); mbase 73 drivers/usb/mtu3/mtu3_qmu.c static dma_addr_t read_txq_cur_addr(void __iomem *mbase, u8 epnum) mbase 78 drivers/usb/mtu3/mtu3_qmu.c txcpr = mtu3_readl(mbase, USB_QMU_TQCPR(epnum)); mbase 79 drivers/usb/mtu3/mtu3_qmu.c txhiar = mtu3_readl(mbase, USB_QMU_TQHIAR(epnum)); mbase 84 drivers/usb/mtu3/mtu3_qmu.c static dma_addr_t read_rxq_cur_addr(void __iomem *mbase, u8 epnum) mbase 89 drivers/usb/mtu3/mtu3_qmu.c rxcpr = mtu3_readl(mbase, USB_QMU_RQCPR(epnum)); mbase 90 drivers/usb/mtu3/mtu3_qmu.c rxhiar = mtu3_readl(mbase, USB_QMU_RQHIAR(epnum)); mbase 95 drivers/usb/mtu3/mtu3_qmu.c static void write_txq_start_addr(void __iomem *mbase, u8 epnum, dma_addr_t dma) mbase 99 drivers/usb/mtu3/mtu3_qmu.c mtu3_writel(mbase, USB_QMU_TQSAR(epnum), mbase 101 drivers/usb/mtu3/mtu3_qmu.c tqhiar = mtu3_readl(mbase, USB_QMU_TQHIAR(epnum)); mbase 104 drivers/usb/mtu3/mtu3_qmu.c mtu3_writel(mbase, USB_QMU_TQHIAR(epnum), tqhiar); mbase 107 drivers/usb/mtu3/mtu3_qmu.c static void write_rxq_start_addr(void __iomem *mbase, u8 epnum, dma_addr_t dma) mbase 111 drivers/usb/mtu3/mtu3_qmu.c mtu3_writel(mbase, USB_QMU_RQSAR(epnum), mbase 113 drivers/usb/mtu3/mtu3_qmu.c rqhiar = mtu3_readl(mbase, USB_QMU_RQHIAR(epnum)); mbase 116 drivers/usb/mtu3/mtu3_qmu.c mtu3_writel(mbase, USB_QMU_RQHIAR(epnum), rqhiar); mbase 192 drivers/usb/mtu3/mtu3_qmu.c void __iomem *mbase = mtu->mac_base; mbase 198 drivers/usb/mtu3/mtu3_qmu.c mtu3_writel(mbase, offset, QMU_Q_RESUME); mbase 199 drivers/usb/mtu3/mtu3_qmu.c if (!(mtu3_readl(mbase, offset) & QMU_Q_ACTIVE)) mbase 200 drivers/usb/mtu3/mtu3_qmu.c mtu3_writel(mbase, offset, QMU_Q_RESUME); mbase 329 drivers/usb/mtu3/mtu3_qmu.c void __iomem *mbase = mtu->mac_base; mbase 335 drivers/usb/mtu3/mtu3_qmu.c write_txq_start_addr(mbase, epnum, ring->dma); mbase 336 drivers/usb/mtu3/mtu3_qmu.c mtu3_setbits(mbase, MU3D_EP_TXCR0(epnum), TX_DMAREQEN); mbase 338 drivers/usb/mtu3/mtu3_qmu.c mtu3_setbits(mbase, U3D_QCR1, QMU_TX_ZLP(epnum)); mbase 339 drivers/usb/mtu3/mtu3_qmu.c mtu3_writel(mbase, U3D_TQERRIESR0, mbase 342 drivers/usb/mtu3/mtu3_qmu.c if (mtu3_readl(mbase, USB_QMU_TQCSR(epnum)) & QMU_Q_ACTIVE) { mbase 346 drivers/usb/mtu3/mtu3_qmu.c mtu3_writel(mbase, USB_QMU_TQCSR(epnum), QMU_Q_START); mbase 349 drivers/usb/mtu3/mtu3_qmu.c write_rxq_start_addr(mbase, epnum, ring->dma); mbase 350 drivers/usb/mtu3/mtu3_qmu.c mtu3_setbits(mbase, MU3D_EP_RXCR0(epnum), RX_DMAREQEN); mbase 352 drivers/usb/mtu3/mtu3_qmu.c mtu3_clrbits(mbase, U3D_QCR3, QMU_RX_ZLP(epnum)); mbase 354 drivers/usb/mtu3/mtu3_qmu.c mtu3_setbits(mbase, U3D_QCR3, QMU_RX_COZ(epnum)); mbase 355 drivers/usb/mtu3/mtu3_qmu.c mtu3_writel(mbase, U3D_RQERRIESR0, mbase 357 drivers/usb/mtu3/mtu3_qmu.c mtu3_writel(mbase, U3D_RQERRIESR1, QMU_RX_ZLP_ERR(epnum)); mbase 359 drivers/usb/mtu3/mtu3_qmu.c if (mtu3_readl(mbase, USB_QMU_RQCSR(epnum)) & QMU_Q_ACTIVE) { mbase 363 drivers/usb/mtu3/mtu3_qmu.c mtu3_writel(mbase, USB_QMU_RQCSR(epnum), QMU_Q_START); mbase 373 drivers/usb/mtu3/mtu3_qmu.c void __iomem *mbase = mtu->mac_base; mbase 381 drivers/usb/mtu3/mtu3_qmu.c if (!(mtu3_readl(mbase, qcsr) & QMU_Q_ACTIVE)) { mbase 385 drivers/usb/mtu3/mtu3_qmu.c mtu3_writel(mbase, qcsr, QMU_Q_STOP); mbase 387 drivers/usb/mtu3/mtu3_qmu.c ret = readl_poll_timeout_atomic(mbase + qcsr, value, mbase 417 drivers/usb/mtu3/mtu3_qmu.c void __iomem *mbase = mtu->mac_base; mbase 428 drivers/usb/mtu3/mtu3_qmu.c cur_gpd_dma = read_txq_cur_addr(mbase, epnum); mbase 439 drivers/usb/mtu3/mtu3_qmu.c mtu3_clrbits(mbase, MU3D_EP_TXCR0(mep->epnum), TX_DMAREQEN); mbase 441 drivers/usb/mtu3/mtu3_qmu.c ret = readl_poll_timeout_atomic(mbase + MU3D_EP_TXCR0(mep->epnum), mbase 447 drivers/usb/mtu3/mtu3_qmu.c mtu3_setbits(mbase, MU3D_EP_TXCR0(mep->epnum), TX_TXPKTRDY); mbase 453 drivers/usb/mtu3/mtu3_qmu.c mtu3_setbits(mbase, MU3D_EP_TXCR0(mep->epnum), TX_DMAREQEN); mbase 468 drivers/usb/mtu3/mtu3_qmu.c void __iomem *mbase = mtu->mac_base; mbase 476 drivers/usb/mtu3/mtu3_qmu.c cur_gpd_dma = read_txq_cur_addr(mbase, epnum); mbase 508 drivers/usb/mtu3/mtu3_qmu.c void __iomem *mbase = mtu->mac_base; mbase 515 drivers/usb/mtu3/mtu3_qmu.c cur_gpd_dma = read_rxq_cur_addr(mbase, epnum); mbase 556 drivers/usb/mtu3/mtu3_qmu.c void __iomem *mbase = mtu->mac_base; mbase 561 drivers/usb/mtu3/mtu3_qmu.c errval = mtu3_readl(mbase, U3D_RQERRIR0); mbase 569 drivers/usb/mtu3/mtu3_qmu.c mtu3_writel(mbase, U3D_RQERRIR0, errval); mbase 573 drivers/usb/mtu3/mtu3_qmu.c errval = mtu3_readl(mbase, U3D_RQERRIR1); mbase 578 drivers/usb/mtu3/mtu3_qmu.c mtu3_writel(mbase, U3D_RQERRIR1, errval); mbase 582 drivers/usb/mtu3/mtu3_qmu.c errval = mtu3_readl(mbase, U3D_TQERRIR0); mbase 590 drivers/usb/mtu3/mtu3_qmu.c mtu3_writel(mbase, U3D_TQERRIR0, errval); mbase 596 drivers/usb/mtu3/mtu3_qmu.c void __iomem *mbase = mtu->mac_base; mbase 601 drivers/usb/mtu3/mtu3_qmu.c qmu_status = mtu3_readl(mbase, U3D_QISAR1); mbase 602 drivers/usb/mtu3/mtu3_qmu.c qmu_status &= mtu3_readl(mbase, U3D_QIER1); mbase 604 drivers/usb/mtu3/mtu3_qmu.c qmu_done_status = mtu3_readl(mbase, U3D_QISAR0); mbase 605 drivers/usb/mtu3/mtu3_qmu.c qmu_done_status &= mtu3_readl(mbase, U3D_QIER0); mbase 606 drivers/usb/mtu3/mtu3_qmu.c mtu3_writel(mbase, U3D_QISAR0, qmu_done_status); /* W1C */ mbase 1376 drivers/usb/musb/cppi_dma.c void __iomem *mbase; mbase 1404 drivers/usb/musb/cppi_dma.c mbase = controller->mregs; mbase 1415 drivers/usb/musb/cppi_dma.c musb_ep_select(mbase, cppi_ch->index + 1); mbase 224 drivers/usb/musb/musb_core.c static void musb_flat_ep_select(void __iomem *mbase, u8 epnum) mbase 234 drivers/usb/musb/musb_core.c static void musb_indexed_ep_select(void __iomem *mbase, u8 epnum) mbase 236 drivers/usb/musb/musb_core.c musb_writeb(mbase, MUSB_INDEX, epnum); mbase 488 drivers/usb/musb/musb_core.c void __iomem *mbase = musb->mregs; mbase 506 drivers/usb/musb/musb_core.c reg = musb_readb(mbase, MUSB_POWER); mbase 508 drivers/usb/musb/musb_core.c musb_writeb(mbase, MUSB_POWER, reg); mbase 591 drivers/usb/musb/musb_core.c void __iomem *mbase = musb->mregs; mbase 609 drivers/usb/musb/musb_core.c musb_writeb(mbase, MUSB_DEVCTL, MUSB_DEVCTL_SESSION); mbase 649 drivers/usb/musb/musb_core.c void __iomem *mbase = musb->mregs; mbase 654 drivers/usb/musb/musb_core.c musb_writeb(mbase, MUSB_DEVCTL, devctl); mbase 976 drivers/usb/musb/musb_core.c void __iomem *mbase = musb->mregs; mbase 985 drivers/usb/musb/musb_core.c frame = musb_readw(mbase, MUSB_FRAME); mbase 1017 drivers/usb/musb/musb_core.c void __iomem *mbase = musb->mregs; mbase 1021 drivers/usb/musb/musb_core.c musb_writeb(mbase, MUSB_INTRUSBE, 0); mbase 1023 drivers/usb/musb/musb_core.c musb_writew(mbase, MUSB_INTRTXE, 0); mbase 1025 drivers/usb/musb/musb_core.c musb_writew(mbase, MUSB_INTRRXE, 0); mbase 1028 drivers/usb/musb/musb_core.c temp = musb_readb(mbase, MUSB_INTRUSB); mbase 1029 drivers/usb/musb/musb_core.c temp = musb_readw(mbase, MUSB_INTRTX); mbase 1030 drivers/usb/musb/musb_core.c temp = musb_readw(mbase, MUSB_INTRRX); mbase 1248 drivers/usb/musb/musb_core.c void __iomem *mbase = musb->mregs; mbase 1271 drivers/usb/musb/musb_core.c musb_writeb(mbase, MUSB_INDEX, hw_ep->epnum); mbase 1281 drivers/usb/musb/musb_core.c musb_writeb(mbase, MUSB_TXFIFOSZ, c_size); mbase 1282 drivers/usb/musb/musb_core.c musb_writew(mbase, MUSB_TXFIFOADD, c_off); mbase 1287 drivers/usb/musb/musb_core.c musb_writeb(mbase, MUSB_RXFIFOSZ, c_size); mbase 1288 drivers/usb/musb/musb_core.c musb_writew(mbase, MUSB_RXFIFOADD, c_off); mbase 1293 drivers/usb/musb/musb_core.c musb_writeb(mbase, MUSB_TXFIFOSZ, c_size); mbase 1294 drivers/usb/musb/musb_core.c musb_writew(mbase, MUSB_TXFIFOADD, c_off); mbase 1298 drivers/usb/musb/musb_core.c musb_writeb(mbase, MUSB_RXFIFOSZ, c_size); mbase 1299 drivers/usb/musb/musb_core.c musb_writew(mbase, MUSB_RXFIFOADD, c_off); mbase 1413 drivers/usb/musb/musb_core.c void __iomem *mbase = musb->mregs; mbase 1421 drivers/usb/musb/musb_core.c musb_ep_select(mbase, epnum); mbase 1461 drivers/usb/musb/musb_core.c void __iomem *mbase = musb->mregs; mbase 1466 drivers/usb/musb/musb_core.c reg = musb_read_configdata(mbase); mbase 1508 drivers/usb/musb/musb_core.c musb->hwvers = musb_readw(mbase, MUSB_HWVERS); mbase 1533 drivers/usb/musb/musb_core.c hw_ep->fifo = musb->io.fifo_offset(i) + mbase; mbase 1544 drivers/usb/musb/musb_core.c hw_ep->conf = mbase - 0x400 + TUSB_EP0_CONF; mbase 1546 drivers/usb/musb/musb_core.c hw_ep->conf = mbase + 0x400 + mbase 1551 drivers/usb/musb/musb_core.c hw_ep->regs = musb->io.ep_offset(i, 0) + mbase; mbase 1995 drivers/usb/musb/musb_core.c const struct musb_hdrc_config *config, void __iomem *mbase) mbase 2013 drivers/usb/musb/musb_core.c musb->mregs = mbase; mbase 2014 drivers/usb/musb/musb_core.c musb->ctrl_base = mbase; mbase 160 drivers/usb/musb/musb_core.h void (*ep_select)(void __iomem *mbase, u8 epnum); mbase 446 drivers/usb/musb/musb_core.h void __iomem *mbase = musb->mregs; mbase 450 drivers/usb/musb/musb_core.h reg = musb_readb(mbase, musb->io.ep_offset(epnum, MUSB_FIFOSIZE)); mbase 972 drivers/usb/musb/musb_dsps.c void __iomem *mbase; mbase 987 drivers/usb/musb/musb_dsps.c mbase = musb->ctrl_base; mbase 988 drivers/usb/musb/musb_dsps.c glue->context.control = musb_readl(mbase, wrp->control); mbase 989 drivers/usb/musb/musb_dsps.c glue->context.epintr = musb_readl(mbase, wrp->epintr_set); mbase 990 drivers/usb/musb/musb_dsps.c glue->context.coreintr = musb_readl(mbase, wrp->coreintr_set); mbase 991 drivers/usb/musb/musb_dsps.c glue->context.phy_utmi = musb_readl(mbase, wrp->phy_utmi); mbase 992 drivers/usb/musb/musb_dsps.c glue->context.mode = musb_readl(mbase, wrp->mode); mbase 993 drivers/usb/musb/musb_dsps.c glue->context.tx_mode = musb_readl(mbase, wrp->tx_mode); mbase 994 drivers/usb/musb/musb_dsps.c glue->context.rx_mode = musb_readl(mbase, wrp->rx_mode); mbase 1006 drivers/usb/musb/musb_dsps.c void __iomem *mbase; mbase 1013 drivers/usb/musb/musb_dsps.c mbase = musb->ctrl_base; mbase 1014 drivers/usb/musb/musb_dsps.c musb_writel(mbase, wrp->control, glue->context.control); mbase 1015 drivers/usb/musb/musb_dsps.c musb_writel(mbase, wrp->epintr_set, glue->context.epintr); mbase 1016 drivers/usb/musb/musb_dsps.c musb_writel(mbase, wrp->coreintr_set, glue->context.coreintr); mbase 1017 drivers/usb/musb/musb_dsps.c musb_writel(mbase, wrp->phy_utmi, glue->context.phy_utmi); mbase 1018 drivers/usb/musb/musb_dsps.c musb_writel(mbase, wrp->mode, glue->context.mode); mbase 1019 drivers/usb/musb/musb_dsps.c musb_writel(mbase, wrp->tx_mode, glue->context.tx_mode); mbase 1020 drivers/usb/musb/musb_dsps.c musb_writel(mbase, wrp->rx_mode, glue->context.rx_mode); mbase 411 drivers/usb/musb/musb_gadget.c u8 __iomem *mbase = musb->mregs; mbase 416 drivers/usb/musb/musb_gadget.c musb_ep_select(mbase, epnum); mbase 500 drivers/usb/musb/musb_gadget.c musb_ep_select(mbase, epnum); mbase 792 drivers/usb/musb/musb_gadget.c void __iomem *mbase = musb->mregs; mbase 803 drivers/usb/musb/musb_gadget.c musb_ep_select(mbase, epnum); mbase 889 drivers/usb/musb/musb_gadget.c musb_ep_select(mbase, epnum); mbase 913 drivers/usb/musb/musb_gadget.c void __iomem *mbase; mbase 926 drivers/usb/musb/musb_gadget.c mbase = musb->mregs; mbase 966 drivers/usb/musb/musb_gadget.c musb_ep_select(mbase, epnum); mbase 980 drivers/usb/musb/musb_gadget.c musb_writew(mbase, MUSB_INTRTXE, musb->intrtxe); mbase 1019 drivers/usb/musb/musb_gadget.c musb_writew(mbase, MUSB_INTRRXE, musb->intrrxe); mbase 1330 drivers/usb/musb/musb_gadget.c void __iomem *mbase; mbase 1338 drivers/usb/musb/musb_gadget.c mbase = musb->mregs; mbase 1347 drivers/usb/musb/musb_gadget.c musb_ep_select(mbase, epnum); mbase 1431 drivers/usb/musb/musb_gadget.c void __iomem *mbase = musb->mregs; mbase 1436 drivers/usb/musb/musb_gadget.c musb_ep_select(mbase, epnum); mbase 1451 drivers/usb/musb/musb_gadget.c void __iomem *mbase; mbase 1455 drivers/usb/musb/musb_gadget.c mbase = musb->mregs; mbase 1458 drivers/usb/musb/musb_gadget.c musb_ep_select(mbase, (u8) epnum); mbase 1461 drivers/usb/musb/musb_gadget.c musb_writew(mbase, MUSB_INTRTXE, musb->intrtxe & ~(1 << epnum)); mbase 1485 drivers/usb/musb/musb_gadget.c musb_writew(mbase, MUSB_INTRTXE, musb->intrtxe); mbase 2030 drivers/usb/musb/musb_gadget.c void __iomem *mbase = musb->mregs; mbase 2031 drivers/usb/musb/musb_gadget.c u8 devctl = musb_readb(mbase, MUSB_DEVCTL); mbase 2051 drivers/usb/musb/musb_gadget.c musb_writeb(mbase, MUSB_DEVCTL, MUSB_DEVCTL_SESSION); mbase 2055 drivers/usb/musb/musb_gadget.c power = musb_readb(mbase, MUSB_POWER); mbase 54 drivers/usb/musb/musb_gadget_ep0.c void __iomem *mbase = musb->mregs; mbase 109 drivers/usb/musb/musb_gadget_ep0.c musb_ep_select(mbase, epnum); mbase 116 drivers/usb/musb/musb_gadget_ep0.c musb_ep_select(mbase, 0); mbase 185 drivers/usb/musb/musb_gadget_ep0.c void __iomem *mbase = musb->mregs; mbase 189 drivers/usb/musb/musb_gadget_ep0.c devctl = musb_readb(mbase, MUSB_DEVCTL); mbase 190 drivers/usb/musb/musb_gadget_ep0.c musb_writeb(mbase, MUSB_DEVCTL, devctl | MUSB_DEVCTL_HR); mbase 210 drivers/usb/musb/musb_gadget_ep0.c void __iomem *mbase = musb->mregs; mbase 264 drivers/usb/musb/musb_gadget_ep0.c musb_ep_select(mbase, epnum); mbase 290 drivers/usb/musb/musb_gadget_ep0.c musb_ep_select(mbase, 0); mbase 423 drivers/usb/musb/musb_gadget_ep0.c musb_ep_select(mbase, epnum); mbase 442 drivers/usb/musb/musb_gadget_ep0.c musb_ep_select(mbase, 0); mbase 649 drivers/usb/musb/musb_gadget_ep0.c void __iomem *mbase = musb->mregs; mbase 653 drivers/usb/musb/musb_gadget_ep0.c musb_ep_select(mbase, 0); /* select ep0 */ mbase 729 drivers/usb/musb/musb_gadget_ep0.c musb_writeb(mbase, MUSB_FADDR, musb->address); mbase 739 drivers/usb/musb/musb_gadget_ep0.c musb_writeb(mbase, MUSB_TESTMODE, mbase 796 drivers/usb/musb/musb_gadget_ep0.c power = musb_readb(mbase, MUSB_POWER); mbase 861 drivers/usb/musb/musb_gadget_ep0.c musb_ep_select(mbase, 0); mbase 199 drivers/usb/musb/musb_host.c void __iomem *mbase = musb->mregs; mbase 260 drivers/usb/musb/musb_host.c musb_writeb(mbase, MUSB_INTRUSBE, 0xff); mbase 694 drivers/usb/musb/musb_host.c void __iomem *mbase = musb->mregs; mbase 710 drivers/usb/musb/musb_host.c musb_ep_select(mbase, epnum); mbase 747 drivers/usb/musb/musb_host.c musb_writew(mbase, MUSB_INTRTXE, int_txe & ~(1 << epnum)); mbase 800 drivers/usb/musb/musb_host.c musb_writeb(mbase, MUSB_FADDR, qh->addr_reg); mbase 859 drivers/usb/musb/musb_host.c musb_writew(mbase, MUSB_INTRTXE, int_txe); mbase 932 drivers/usb/musb/musb_host.c void __iomem *mbase = musb->mregs; mbase 937 drivers/usb/musb/musb_host.c musb_ep_select(mbase, ep->epnum); mbase 1085 drivers/usb/musb/musb_host.c void __iomem *mbase = musb->mregs; mbase 1095 drivers/usb/musb/musb_host.c musb_ep_select(mbase, 0); mbase 1233 drivers/usb/musb/musb_host.c void __iomem *mbase = musb->mregs; mbase 1237 drivers/usb/musb/musb_host.c musb_ep_select(mbase, epnum); mbase 1281 drivers/usb/musb/musb_host.c musb_ep_select(mbase, epnum); mbase 1307 drivers/usb/musb/musb_host.c musb_ep_select(mbase, epnum); mbase 1483 drivers/usb/musb/musb_host.c musb_ep_select(mbase, epnum); mbase 1763 drivers/usb/musb/musb_host.c void __iomem *mbase = musb->mregs; mbase 1771 drivers/usb/musb/musb_host.c musb_ep_select(mbase, epnum); mbase 1830 drivers/usb/musb/musb_host.c musb_ep_select(mbase, epnum); mbase 1891 drivers/usb/musb/musb_host.c musb_ep_select(mbase, epnum); mbase 1927 drivers/usb/musb/musb_host.c musb_ep_select(mbase, epnum); mbase 28 drivers/usb/musb/musb_io.h void (*ep_select)(void __iomem *mbase, u8 epnum); mbase 276 drivers/usb/musb/musb_regs.h static inline u8 musb_read_configdata(void __iomem *mbase) mbase 278 drivers/usb/musb/musb_regs.h musb_writeb(mbase, MUSB_INDEX, 0); mbase 279 drivers/usb/musb/musb_regs.h return musb_readb(mbase, 0x10 + MUSB_CONFIGDATA); mbase 55 drivers/usb/musb/musb_virthub.c void __iomem *mbase = musb->mregs; mbase 65 drivers/usb/musb/musb_virthub.c power = musb_readb(mbase, MUSB_POWER); mbase 74 drivers/usb/musb/musb_virthub.c musb_writeb(mbase, MUSB_POWER, power); mbase 77 drivers/usb/musb/musb_virthub.c power = musb_readb(mbase, MUSB_POWER); mbase 79 drivers/usb/musb/musb_virthub.c power = musb_readb(mbase, MUSB_POWER); mbase 110 drivers/usb/musb/musb_virthub.c musb_writeb(mbase, MUSB_POWER, power); mbase 124 drivers/usb/musb/musb_virthub.c void __iomem *mbase = musb->mregs; mbase 138 drivers/usb/musb/musb_virthub.c power = musb_readb(mbase, MUSB_POWER); mbase 157 drivers/usb/musb/musb_virthub.c musb_writeb(mbase, MUSB_POWER, mbase 167 drivers/usb/musb/musb_virthub.c musb_writeb(mbase, MUSB_POWER, mbase 177 drivers/usb/musb/musb_virthub.c musb_writeb(mbase, MUSB_POWER, mbase 181 drivers/usb/musb/musb_virthub.c power = musb_readb(mbase, MUSB_POWER); mbase 23 drivers/usb/musb/musbhsdma.c #define musb_read_hsdma_addr(mbase, bchannel) \ mbase 24 drivers/usb/musb/musbhsdma.c musb_readl(mbase, \ mbase 27 drivers/usb/musb/musbhsdma.c #define musb_write_hsdma_addr(mbase, bchannel, addr) \ mbase 28 drivers/usb/musb/musbhsdma.c musb_writel(mbase, \ mbase 32 drivers/usb/musb/musbhsdma.c #define musb_read_hsdma_count(mbase, bchannel) \ mbase 33 drivers/usb/musb/musbhsdma.c musb_readl(mbase, \ mbase 36 drivers/usb/musb/musbhsdma.c #define musb_write_hsdma_count(mbase, bchannel, len) \ mbase 37 drivers/usb/musb/musbhsdma.c musb_writel(mbase, \ mbase 155 drivers/usb/musb/musbhsdma.c void __iomem *mbase = controller->base; mbase 177 drivers/usb/musb/musbhsdma.c musb_write_hsdma_addr(mbase, bchannel, dma_addr); mbase 178 drivers/usb/musb/musbhsdma.c musb_write_hsdma_count(mbase, bchannel, len); mbase 181 drivers/usb/musb/musbhsdma.c musb_writew(mbase, mbase 228 drivers/usb/musb/musbhsdma.c void __iomem *mbase = musb_channel->controller->base; mbase 244 drivers/usb/musb/musbhsdma.c csr = musb_readw(mbase, offset); mbase 246 drivers/usb/musb/musbhsdma.c musb_writew(mbase, offset, csr); mbase 248 drivers/usb/musb/musbhsdma.c musb_writew(mbase, offset, csr); mbase 253 drivers/usb/musb/musbhsdma.c csr = musb_readw(mbase, offset); mbase 257 drivers/usb/musb/musbhsdma.c musb_writew(mbase, offset, csr); mbase 260 drivers/usb/musb/musbhsdma.c musb_writew(mbase, mbase 263 drivers/usb/musb/musbhsdma.c musb_write_hsdma_addr(mbase, bchannel, 0); mbase 264 drivers/usb/musb/musbhsdma.c musb_write_hsdma_count(mbase, bchannel, 0); mbase 278 drivers/usb/musb/musbhsdma.c void __iomem *mbase = controller->base; mbase 292 drivers/usb/musb/musbhsdma.c int_hsdma = musb_readb(mbase, MUSB_HSDMA_INTR); mbase 302 drivers/usb/musb/musbhsdma.c count = musb_read_hsdma_count(mbase, bchannel); mbase 321 drivers/usb/musb/musbhsdma.c csr = musb_readw(mbase, mbase 331 drivers/usb/musb/musbhsdma.c addr = musb_read_hsdma_addr(mbase, mbase 344 drivers/usb/musb/musbhsdma.c devctl = musb_readb(mbase, MUSB_DEVCTL); mbase 362 drivers/usb/musb/musbhsdma.c musb_ep_select(mbase, epnum); mbase 363 drivers/usb/musb/musbhsdma.c txcsr = musb_readw(mbase, offset); mbase 367 drivers/usb/musb/musbhsdma.c musb_writew(mbase, offset, txcsr); mbase 373 drivers/usb/musb/musbhsdma.c musb_writew(mbase, offset, txcsr); mbase 137 drivers/usb/musb/tusb6010.c static void tusb_ep_select(void __iomem *mbase, u8 epnum) mbase 139 drivers/usb/musb/tusb6010.c musb_writeb(mbase, MUSB_INDEX, epnum); mbase 106 drivers/usb/musb/tusb6010_omap.c void __iomem *mbase = musb->mregs; mbase 170 drivers/usb/musb/tusb6010_omap.c musb_ep_select(mbase, chdat->epnum); mbase 189 drivers/usb/musb/tusb6010_omap.c void __iomem *mbase = musb->mregs; mbase 326 drivers/usb/musb/tusb6010_omap.c musb_ep_select(mbase, chdat->epnum);