/drivers/ata/ |
D | pata_arasan_cf.c | 194 void __iomem *vbase; member 230 dev_dbg(dev, ": CFI_STS: %x", readl(acdev->vbase + CFI_STS)); in cf_dumpregs() 231 dev_dbg(dev, ": IRQ_STS: %x", readl(acdev->vbase + IRQ_STS)); in cf_dumpregs() 232 dev_dbg(dev, ": IRQ_EN: %x", readl(acdev->vbase + IRQ_EN)); in cf_dumpregs() 233 dev_dbg(dev, ": OP_MODE: %x", readl(acdev->vbase + OP_MODE)); in cf_dumpregs() 234 dev_dbg(dev, ": CLK_CFG: %x", readl(acdev->vbase + CLK_CFG)); in cf_dumpregs() 235 dev_dbg(dev, ": TM_CFG: %x", readl(acdev->vbase + TM_CFG)); in cf_dumpregs() 236 dev_dbg(dev, ": XFER_CTR: %x", readl(acdev->vbase + XFER_CTR)); in cf_dumpregs() 237 dev_dbg(dev, ": GIRQ_STS: %x", readl(acdev->vbase + GIRQ_STS)); in cf_dumpregs() 238 dev_dbg(dev, ": GIRQ_STS_EN: %x", readl(acdev->vbase + GIRQ_STS_EN)); in cf_dumpregs() [all …]
|
/drivers/edac/ |
D | cpc925_edac.c | 265 void __iomem *vbase; member 273 void __iomem *vbase; member 327 mbmr = __raw_readl(pdata->vbase + REG_MBMR_OFFSET + in cpc925_init_csrows() 329 mbbar = __raw_readl(pdata->vbase + REG_MBBAR_OFFSET + in cpc925_init_csrows() 387 apimask = __raw_readl(pdata->vbase + REG_APIMASK_OFFSET); in cpc925_mc_init() 390 __raw_writel(apimask, pdata->vbase + REG_APIMASK_OFFSET); in cpc925_mc_init() 394 mccr = __raw_readl(pdata->vbase + REG_MCCR_OFFSET); in cpc925_mc_init() 397 __raw_writel(mccr, pdata->vbase + REG_MCCR_OFFSET); in cpc925_mc_init() 529 apiexcp = __raw_readl(pdata->vbase + REG_APIEXCP_OFFSET); in cpc925_mc_check() 533 mesr = __raw_readl(pdata->vbase + REG_MESR_OFFSET); in cpc925_mc_check() [all …]
|
/drivers/net/ethernet/freescale/fman/ |
D | fman_muram.c | 41 void __iomem *vbase; member 49 return vaddr - (unsigned long)muram->vbase; in fman_muram_vbase_to_offset() 97 muram->vbase = vaddr; in fman_muram_init() 120 return offset + (unsigned long)muram->vbase; in fman_muram_offset_to_vbase()
|
/drivers/video/fbdev/ |
D | sstfb.c | 182 static inline u32 __sst_read(u8 __iomem *vbase, u32 reg) in __sst_read() argument 184 u32 ret = readl(vbase + reg); in __sst_read() 189 static inline void __sst_write(u8 __iomem *vbase, u32 reg, u32 val) in __sst_write() argument 192 writel(val, vbase + reg); in __sst_write() 195 static inline void __sst_set_bits(u8 __iomem *vbase, u32 reg, u32 val) in __sst_set_bits() argument 198 __sst_write(vbase, reg, __sst_read(vbase, reg) | val); in __sst_set_bits() 201 static inline void __sst_unset_bits(u8 __iomem *vbase, u32 reg, u32 val) in __sst_unset_bits() argument 204 __sst_write(vbase, reg, __sst_read(vbase, reg) & ~val); in __sst_unset_bits() 216 static int __sst_wait_idle(u8 __iomem *vbase) in __sst_wait_idle() argument 223 if (__sst_read(vbase, STATUS) & STATUS_FBI_BUSY) { in __sst_wait_idle() [all …]
|
/drivers/net/ethernet/hisilicon/ |
D | hns_mdio.c | 38 u8 __iomem *vbase; /* mdio reg base address */ member 101 mdio_write_reg((a)->vbase, (reg), (value)) 126 mdio_set_reg_field((dev)->vbase, (reg), (mask), (shift), (val)) 137 mdio_get_reg_field((dev)->vbase, (reg), (mask), (shift)) 140 mdio_get_reg_field((dev)->vbase, (reg), 0x1ull, (bit)) 229 bus->id, mdio_dev->vbase); in hns_mdio_write() 289 bus->id, mdio_dev->vbase); in hns_mdio_read() 447 mdio_dev->vbase = devm_platform_ioremap_resource(pdev, 0); in hns_mdio_probe() 448 if (IS_ERR(mdio_dev->vbase)) { in hns_mdio_probe() 449 ret = PTR_ERR(mdio_dev->vbase); in hns_mdio_probe()
|
/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 | 1616 par->vgastate.vgabase = par->mmio.vbase + 0x8000; in savagefb_open() 1730 par->mmio.vbase = ioremap(par->mmio.pbase, par->mmio.len); in savage_map_mmio() 1731 if (!par->mmio.vbase) { in savage_map_mmio() 1736 par->mmio.vbase); in savage_map_mmio() 1741 par->bci_base = (u32 __iomem *)(par->mmio.vbase + BCI_BUFFER_OFFSET); in savage_map_mmio() 1756 if (par->mmio.vbase) { in savage_unmap_mmio() 1757 iounmap(par->mmio.vbase); in savage_unmap_mmio() 1758 par->mmio.vbase = NULL; in savage_unmap_mmio() 1776 par->video.vbase = ioremap_wc(par->video.pbase, par->video.len); in savage_map_video() 1778 if (!par->video.vbase) { in savage_map_video() [all …]
|
/drivers/mailbox/ |
D | bcm-pdc-mailbox.c | 255 void *vbase; /* base kernel virtual address of ring */ member 994 tx.vbase = dma_pool_zalloc(pdcs->ring_pool, GFP_KERNEL, &tx.dmabase); in pdc_ring_init() 995 if (unlikely(!tx.vbase)) { in pdc_ring_init() 1001 rx.vbase = dma_pool_zalloc(pdcs->ring_pool, GFP_KERNEL, &rx.dmabase); in pdc_ring_init() 1002 if (unlikely(!rx.vbase)) { in pdc_ring_init() 1008 dev_dbg(dev, " - base virtual addr of tx ring %p", tx.vbase); in pdc_ring_init() 1010 dev_dbg(dev, " - base virtual addr of rx ring %p", rx.vbase); in pdc_ring_init() 1024 pdcs->txd_64 = (struct dma64dd *)pdcs->tx_ring_alloc.vbase; in pdc_ring_init() 1025 pdcs->rxd_64 = (struct dma64dd *)pdcs->rx_ring_alloc.vbase; in pdc_ring_init() 1078 dma_pool_free(pdcs->ring_pool, tx.vbase, tx.dmabase); in pdc_ring_init() [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 | 17 vaddr_t vbase; /* virtual */ member 26 vaddr_t vbase; member
|
D | matroxfb_accel.c | 371 vaddr_t vbase = minfo->video.vbase; in matroxfb_cfb4_clear() local 377 mga_writeb(vbase, uaddr, (mga_readb(vbase, uaddr) & 0x0F) | bgx2); in matroxfb_cfb4_clear() 386 mga_writeb(vbase, uaddr, (mga_readb(vbase, uaddr) & 0xF0) | bgx2); in matroxfb_cfb4_clear() 444 mmio = minfo->mmio.vbase; in matroxfb_1bpp_imageblit()
|
D | matroxfb_crtc2.c | 337 m2info->fbcon.screen_base = vaddr_va(m2info->video.vbase); in matroxfb_dh_set_par() 628 m2info->video.vbase.vaddr = vaddr_va(minfo->video.vbase) + m2info->video.offbase; in matroxfb_dh_regit() 630 m2info->mmio.vbase = minfo->mmio.vbase; in matroxfb_dh_regit()
|
D | matroxfb_base.c | 375 iounmap(minfo->mmio.vbase.vaddr); in matroxfb_remove() 376 iounmap(minfo->video.vbase.vaddr); in matroxfb_remove() 765 minfo->fbcon.screen_base = vaddr_va(minfo->video.vbase) + ydstorg; in matroxfb_set_par() 1292 vm = minfo->video.vbase; in matroxfb_getmemory() 1726 minfo->mmio.vbase.vaddr = ioremap(ctrlptr_phys, 16384); in initMatrox2() 1727 if (!minfo->mmio.vbase.vaddr) { in initMatrox2() 1734 minfo->video.vbase.vaddr = ioremap_wc(video_base_phys, memsize); in initMatrox2() 1735 if (!minfo->video.vbase.vaddr) { in initMatrox2() 1915 minfo->fbcon.screen_base = vaddr_va(minfo->video.vbase); in initMatrox2() 1929 minfo->video.base, vaddr_va(minfo->video.vbase), minfo->video.len); in initMatrox2() [all …]
|
D | matroxfb_DAC1064.c | 927 mga_writeb(minfo->video.vbase, 0x0000, 0xAA); in MGAG100_preinit() 928 mga_writeb(minfo->video.vbase, 0x0800, 0x55); in MGAG100_preinit() 929 mga_writeb(minfo->video.vbase, 0x4000, 0x55); in MGAG100_preinit() 931 if (mga_readb(minfo->video.vbase, 0x0000) != 0xAA) { in MGAG100_preinit()
|
D | matroxfb_misc.c | 780 parse_bios(vaddr_va(minfo->video.vbase), &minfo->bios); in matroxfb_read_pins()
|
/drivers/net/can/peak_canfd/ |
D | peak_pciefd_main.c | 159 void *vbase; /* page virtual address */ member 364 priv->tx_pages[0].vbase = priv->tx_dma_vaddr; in pciefd_enable_tx_path() 372 priv->tx_pages[i].vbase = in pciefd_enable_tx_path() 373 priv->tx_pages[i - 1].vbase + in pciefd_enable_tx_path() 524 lk = page->vbase + page->offset; in pciefd_alloc_tx_msg() 549 msg = page->vbase + page->offset; in pciefd_alloc_tx_msg()
|
/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_platform_ioremap_resource(pdev, 0); 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/raw/ |
D | fsl_elbc_nand.c | 42 u8 __iomem *vbase; /* Chip select base virtual address */ member 184 elbc_fcm_ctrl->addr = priv->vbase + buf_num * 1024; in set_addr() 194 buf_num, elbc_fcm_ctrl->addr, priv->vbase, in set_addr() 839 if (priv->vbase) in fsl_elbc_chip_remove() 840 iounmap(priv->vbase); in fsl_elbc_chip_remove() 916 priv->vbase = ioremap(res.start, resource_size(&res)); in fsl_elbc_nand_probe() 917 if (!priv->vbase) { in fsl_elbc_nand_probe()
|
D | fsl_ifc_nand.c | 36 u8 __iomem *vbase; /* Chip select base virtual address */ member 153 ifc_nand_ctrl->addr = priv->vbase + buf_num * (mtd->writesize * 2); in set_addr() 956 if (priv->vbase) in fsl_ifc_chip_remove() 957 iounmap(priv->vbase); in fsl_ifc_chip_remove() 1042 priv->vbase = ioremap(res.start, resource_size(&res)); in fsl_ifc_nand_probe() 1043 if (!priv->vbase) { in fsl_ifc_nand_probe()
|
/drivers/atm/ |
D | lanai.c | 227 bus_addr_t vbase; /* Base of VCC's registers */ member 650 APRINTK(lvcc->vbase != NULL, "cardvcc_read: unbound vcc!\n"); in cardvcc_read() 651 val= readl(lvcc->vbase + offset); in cardvcc_read() 660 APRINTK(lvcc->vbase != NULL, "cardvcc_write: unbound vcc!\n"); in cardvcc_write() 666 writel(val, lvcc->vbase + offset); in cardvcc_write() 739 if (lvcc->vbase == NULL) /* We were never bound to a VCI */ in lanai_shutdown_rx_vci() 769 if (lvcc->vbase == NULL) /* We were never bound to a VCI */ in lanai_shutdown_tx_vci() 1526 if (lvcc->vbase != NULL) in host_vcc_bind() 1537 lvcc->vbase = cardvcc_addr(lanai, vci); in host_vcc_bind() 1544 if (lvcc->vbase == NULL) in host_vcc_unbind() [all …]
|
/drivers/media/test-drivers/vivid/ |
D | vivid-kthread-cap.c | 598 void *vbase = dev->fb_vbase_cap; in vivid_overlay() local 633 vbase += dev->overlay_cap_top * dev->fb_cap.fmt.bytesperline; in vivid_overlay() 642 memcpy(vbase + x * pixsize, in vivid_overlay() 644 vbase += dev->fb_cap.fmt.bytesperline; in vivid_overlay() 651 memcpy(vbase + (px + x) * pixsize, in vivid_overlay() 655 vbase += dev->fb_cap.fmt.bytesperline; in vivid_overlay()
|
/drivers/ntb/ |
D | ntb_transport.c | 207 void __iomem *vbase; member 1201 qp->tx_mw = nt->mw_vec[mw_num].vbase + qp_offset; in ntb_transport_init_queue() 1324 mw->vbase = ioremap_wc(mw->phys_addr, mw->phys_size); in ntb_transport_probe() 1325 if (!mw->vbase) { in ntb_transport_probe() 1400 iounmap(mw->vbase); in ntb_transport_probe() 1436 iounmap(nt->mw_vec[i].vbase); in ntb_transport_free()
|
/drivers/ntb/test/ |
D | ntb_perf.c | 793 void __iomem *vbase; in perf_copy_chunk() local 808 vbase = peer->outbuf; in perf_copy_chunk() 810 dst_dma_addr = peer->dma_dst_addr + (dst_vaddr - vbase); in perf_copy_chunk()
|