/drivers/ata/ |
D | pata_arasan_cf.c | 194 void __iomem *vbase; member 231 dev_dbg(dev, ": CFI_STS: %x", readl(acdev->vbase + CFI_STS)); in cf_dumpregs() 232 dev_dbg(dev, ": IRQ_STS: %x", readl(acdev->vbase + IRQ_STS)); in cf_dumpregs() 233 dev_dbg(dev, ": IRQ_EN: %x", readl(acdev->vbase + IRQ_EN)); in cf_dumpregs() 234 dev_dbg(dev, ": OP_MODE: %x", readl(acdev->vbase + OP_MODE)); in cf_dumpregs() 235 dev_dbg(dev, ": CLK_CFG: %x", readl(acdev->vbase + CLK_CFG)); in cf_dumpregs() 236 dev_dbg(dev, ": TM_CFG: %x", readl(acdev->vbase + TM_CFG)); in cf_dumpregs() 237 dev_dbg(dev, ": XFER_CTR: %x", readl(acdev->vbase + XFER_CTR)); in cf_dumpregs() 238 dev_dbg(dev, ": GIRQ_STS: %x", readl(acdev->vbase + GIRQ_STS)); in cf_dumpregs() 239 dev_dbg(dev, ": GIRQ_STS_EN: %x", readl(acdev->vbase + GIRQ_STS_EN)); in cf_dumpregs() [all …]
|
/drivers/edac/ |
D | cpc925_edac.c | 278 void __iomem *vbase; member 286 void __iomem *vbase; member 340 mbmr = __raw_readl(pdata->vbase + REG_MBMR_OFFSET + in cpc925_init_csrows() 342 mbbar = __raw_readl(pdata->vbase + REG_MBBAR_OFFSET + in cpc925_init_csrows() 400 apimask = __raw_readl(pdata->vbase + REG_APIMASK_OFFSET); in cpc925_mc_init() 403 __raw_writel(apimask, pdata->vbase + REG_APIMASK_OFFSET); in cpc925_mc_init() 407 mccr = __raw_readl(pdata->vbase + REG_MCCR_OFFSET); in cpc925_mc_init() 410 __raw_writel(mccr, pdata->vbase + REG_MCCR_OFFSET); in cpc925_mc_init() 542 apiexcp = __raw_readl(pdata->vbase + REG_APIEXCP_OFFSET); in cpc925_mc_check() 546 mesr = __raw_readl(pdata->vbase + REG_MESR_OFFSET); in cpc925_mc_check() [all …]
|
/drivers/net/ethernet/hisilicon/ |
D | hns_mdio.c | 40 void *vbase; /* mdio reg base address */ member 107 mdio_write_reg((a)->vbase, (reg), (value)) 134 mdio_set_reg_field((dev)->vbase, (reg), (mask), (shift), (val)) 145 mdio_get_reg_field((dev)->vbase, (reg), (mask), (shift)) 148 mdio_get_reg_field((dev)->vbase, (reg), 0x1ull, (bit)) 235 bus->id, mdio_dev->vbase); in hns_mdio_write() 296 bus->id, mdio_dev->vbase); in hns_mdio_read() 458 mdio_dev->vbase = devm_ioremap_resource(&pdev->dev, res); in hns_mdio_probe() 459 if (IS_ERR(mdio_dev->vbase)) { in hns_mdio_probe() 460 ret = PTR_ERR(mdio_dev->vbase); in hns_mdio_probe()
|
/drivers/video/fbdev/ |
D | sstfb.c | 181 static inline u32 __sst_read(u8 __iomem *vbase, u32 reg) in __sst_read() argument 183 u32 ret = readl(vbase + reg); in __sst_read() 188 static inline void __sst_write(u8 __iomem *vbase, u32 reg, u32 val) in __sst_write() argument 191 writel(val, vbase + reg); in __sst_write() 194 static inline void __sst_set_bits(u8 __iomem *vbase, u32 reg, u32 val) in __sst_set_bits() argument 197 __sst_write(vbase, reg, __sst_read(vbase, reg) | val); in __sst_set_bits() 200 static inline void __sst_unset_bits(u8 __iomem *vbase, u32 reg, u32 val) in __sst_unset_bits() argument 203 __sst_write(vbase, reg, __sst_read(vbase, reg) & ~val); in __sst_unset_bits() 215 static int __sst_wait_idle(u8 __iomem *vbase) in __sst_wait_idle() argument 222 if (__sst_read(vbase, STATUS) & STATUS_FBI_BUSY) { in __sst_wait_idle() [all …]
|
/drivers/video/fbdev/savage/ |
D | savagefb.h | 213 void __iomem *vbase; member 220 void __iomem *vbase; member 256 return readb(par->mmio.vbase + addr); in savage_in8() 261 return readw(par->mmio.vbase + addr); in savage_in16() 266 return readl(par->mmio.vbase + addr); in savage_in32() 271 writeb(val, par->mmio.vbase + addr); in savage_out8() 276 writew(val, par->mmio.vbase + addr); in savage_out16() 281 writel(val, par->mmio.vbase + addr); in savage_out32()
|
D | savagefb-i2c.c | 177 par->chan.ioaddr = par->mmio.vbase; in savagefb_create_i2c_busses() 187 par->chan.ioaddr = par->mmio.vbase; in savagefb_create_i2c_busses() 195 par->chan.ioaddr = par->mmio.vbase; in savagefb_create_i2c_busses()
|
D | savagefb_driver.c | 1614 par->vgastate.vgabase = par->mmio.vbase + 0x8000; in savagefb_open() 1728 par->mmio.vbase = ioremap(par->mmio.pbase, par->mmio.len); in savage_map_mmio() 1729 if (!par->mmio.vbase) { in savage_map_mmio() 1734 par->mmio.vbase); in savage_map_mmio() 1739 par->bci_base = (u32 __iomem *)(par->mmio.vbase + BCI_BUFFER_OFFSET); in savage_map_mmio() 1754 if (par->mmio.vbase) { in savage_unmap_mmio() 1755 iounmap(par->mmio.vbase); in savage_unmap_mmio() 1756 par->mmio.vbase = NULL; in savage_unmap_mmio() 1774 par->video.vbase = ioremap_wc(par->video.pbase, par->video.len); in savage_map_video() 1776 if (!par->video.vbase) { in savage_map_video() [all …]
|
/drivers/video/fbdev/matrox/ |
D | matroxfb_base.h | 393 vaddr_t vbase; /* CPU view */ member 401 vaddr_t vbase; /* CPU view */ member 666 #define mga_inb(addr) mga_readb(minfo->mmio.vbase, (addr)) 667 #define mga_inl(addr) mga_readl(minfo->mmio.vbase, (addr)) 668 #define mga_outb(addr,val) mga_writeb(minfo->mmio.vbase, (addr), (val)) 669 #define mga_outw(addr,val) mga_writew(minfo->mmio.vbase, (addr), (val)) 670 #define mga_outl(addr,val) mga_writel(minfo->mmio.vbase, (addr), (val))
|
D | matroxfb_crtc2.h | 16 vaddr_t vbase; /* virtual */ member 25 vaddr_t vbase; member
|
D | matroxfb_accel.c | 370 vaddr_t vbase = minfo->video.vbase; in matroxfb_cfb4_clear() local 376 mga_writeb(vbase, uaddr, (mga_readb(vbase, uaddr) & 0x0F) | bgx2); in matroxfb_cfb4_clear() 385 mga_writeb(vbase, uaddr, (mga_readb(vbase, uaddr) & 0xF0) | bgx2); in matroxfb_cfb4_clear() 443 mmio = minfo->mmio.vbase; in matroxfb_1bpp_imageblit()
|
D | matroxfb_crtc2.c | 336 m2info->fbcon.screen_base = vaddr_va(m2info->video.vbase); in matroxfb_dh_set_par() 627 m2info->video.vbase.vaddr = vaddr_va(minfo->video.vbase) + m2info->video.offbase; in matroxfb_dh_regit() 629 m2info->mmio.vbase = minfo->mmio.vbase; in matroxfb_dh_regit()
|
D | matroxfb_base.c | 374 iounmap(minfo->mmio.vbase.vaddr); in matroxfb_remove() 375 iounmap(minfo->video.vbase.vaddr); in matroxfb_remove() 764 minfo->fbcon.screen_base = vaddr_va(minfo->video.vbase) + ydstorg; in matroxfb_set_par() 1291 vm = minfo->video.vbase; in matroxfb_getmemory() 1712 minfo->mmio.vbase.vaddr = ioremap_nocache(ctrlptr_phys, 16384); in initMatrox2() 1713 if (!minfo->mmio.vbase.vaddr) { in initMatrox2() 1720 minfo->video.vbase.vaddr = ioremap_wc(video_base_phys, memsize); in initMatrox2() 1721 if (!minfo->video.vbase.vaddr) { in initMatrox2() 1902 minfo->fbcon.screen_base = vaddr_va(minfo->video.vbase); in initMatrox2() 1916 minfo->video.base, vaddr_va(minfo->video.vbase), minfo->video.len); in initMatrox2() [all …]
|
D | matroxfb_DAC1064.c | 926 mga_writeb(minfo->video.vbase, 0x0000, 0xAA); in MGAG100_preinit() 927 mga_writeb(minfo->video.vbase, 0x0800, 0x55); in MGAG100_preinit() 928 mga_writeb(minfo->video.vbase, 0x4000, 0x55); in MGAG100_preinit() 930 if (mga_readb(minfo->video.vbase, 0x0000) != 0xAA) { in MGAG100_preinit()
|
D | matroxfb_misc.c | 776 parse_bios(vaddr_va(minfo->video.vbase), &minfo->bios); in matroxfb_read_pins()
|
/drivers/pinctrl/spear/ |
D | pinctrl-spear.h | 181 void __iomem *vbase; member 187 return readl_relaxed(pmx->vbase + reg); in pmx_readl() 192 writel_relaxed(val, pmx->vbase + reg); in pmx_writel()
|
D | pinctrl-spear.c | 370 pmx->vbase = devm_ioremap_resource(&pdev->dev, res); in spear_pinctrl_probe() 371 if (IS_ERR(pmx->vbase)) in spear_pinctrl_probe() 372 return PTR_ERR(pmx->vbase); in spear_pinctrl_probe()
|
/drivers/mtd/nand/ |
D | fsl_elbc_nand.c | 57 u8 __iomem *vbase; /* Chip select base virtual address */ member 178 elbc_fcm_ctrl->addr = priv->vbase + buf_num * 1024; in set_addr() 188 buf_num, elbc_fcm_ctrl->addr, priv->vbase, in set_addr() 804 if (priv->vbase) in fsl_elbc_chip_remove() 805 iounmap(priv->vbase); in fsl_elbc_chip_remove() 883 priv->vbase = ioremap(res.start, resource_size(&res)); in fsl_elbc_nand_probe() 884 if (!priv->vbase) { in fsl_elbc_nand_probe()
|
D | fsl_ifc_nand.c | 50 u8 __iomem *vbase; /* Chip select base virtual address */ member 246 ifc_nand_ctrl->addr = priv->vbase + buf_num * (mtd->writesize * 2); in set_addr() 258 u8 __iomem *addr = priv->vbase + bufnum * (mtd->writesize * 2); in is_blank() 1004 if (priv->vbase) in fsl_ifc_chip_remove() 1005 iounmap(priv->vbase); in fsl_ifc_chip_remove() 1092 priv->vbase = ioremap(res.start, resource_size(&res)); in fsl_ifc_nand_probe() 1093 if (!priv->vbase) { in fsl_ifc_nand_probe()
|
/drivers/atm/ |
D | lanai.c | 231 bus_addr_t vbase; /* Base of VCC's registers */ member 654 APRINTK(lvcc->vbase != NULL, "cardvcc_read: unbound vcc!\n"); in cardvcc_read() 655 val= readl(lvcc->vbase + offset); in cardvcc_read() 664 APRINTK(lvcc->vbase != NULL, "cardvcc_write: unbound vcc!\n"); in cardvcc_write() 670 writel(val, lvcc->vbase + offset); in cardvcc_write() 743 if (lvcc->vbase == NULL) /* We were never bound to a VCI */ in lanai_shutdown_rx_vci() 774 if (lvcc->vbase == NULL) /* We were never bound to a VCI */ in lanai_shutdown_tx_vci() 1531 if (lvcc->vbase != NULL) in host_vcc_bind() 1542 lvcc->vbase = cardvcc_addr(lanai, vci); in host_vcc_bind() 1549 if (lvcc->vbase == NULL) in host_vcc_unbind() [all …]
|
/drivers/media/platform/vivid/ |
D | vivid-kthread-cap.c | 607 void *vbase = dev->fb_vbase_cap; in vivid_overlay() local 642 vbase += dev->overlay_cap_top * dev->fb_cap.fmt.bytesperline; in vivid_overlay() 651 memcpy(vbase + x * pixsize, in vivid_overlay() 653 vbase += dev->fb_cap.fmt.bytesperline; in vivid_overlay() 660 memcpy(vbase + (px + x) * pixsize, in vivid_overlay() 664 vbase += dev->fb_cap.fmt.bytesperline; in vivid_overlay()
|
/drivers/ntb/ |
D | ntb_transport.c | 187 void __iomem *vbase; member 964 qp->tx_mw = nt->mw_vec[mw_num].vbase + qp_offset; in ntb_transport_init_queue() 1054 mw->vbase = ioremap_wc(mw->phys_addr, mw->phys_size); in ntb_transport_probe() 1055 if (!mw->vbase) { in ntb_transport_probe() 1124 iounmap(mw->vbase); in ntb_transport_probe() 1160 iounmap(nt->mw_vec[i].vbase); in ntb_transport_free()
|