| /drivers/ata/ |
| A D | pata_arasan_cf.c | 195 void __iomem *vbase; member 277 acdev->vbase + OP_MODE); in cf_ctrl_reset() 279 acdev->vbase + OP_MODE); in cf_ctrl_reset() 352 acdev->vbase + OP_MODE); in cf_exit() 461 acdev->vbase + XFER_CTR); in sg_xfer() 501 acdev->vbase + XFER_CTR); in sg_xfer() 621 acdev->vbase + XFER_CTR); in arasan_cf_interrupt() 652 acdev->vbase + XFER_CTR); in arasan_cf_freeze() 741 writel(val, acdev->vbase + OP_MODE); in arasan_cf_set_piomode() 744 writel(val, acdev->vbase + TM_CFG); in arasan_cf_set_piomode() [all …]
|
| /drivers/edac/ |
| A D | cpc925_edac.c | 265 void __iomem *vbase; member 273 void __iomem *vbase; member 728 dev_info->vbase + REG_BRGCTRL_OFFSET); in cpc925_htlink_check() 737 dev_info->vbase + REG_BRGCTRL_OFFSET); in cpc925_htlink_check() 741 dev_info->vbase + REG_ERRCTRL_OFFSET); in cpc925_htlink_check() 777 if (!vbase) { in cpc925_add_edac_devices() 783 dev_info->vbase = vbase; in cpc925_add_edac_devices() 911 void __iomem *vbase; in cpc925_probe() local 940 if (!vbase) { in cpc925_probe() 963 pdata->vbase = vbase; in cpc925_probe() [all …]
|
| A D | loongson_edac.c | 75 static void pvt_init(struct mem_ctl_info *mci, void __iomem *vbase) in pvt_init() argument 79 pvt->ecc_base = vbase; in pvt_init() 87 void __iomem *vbase; in edac_probe() local 90 vbase = devm_platform_ioremap_resource(pdev, 0); in edac_probe() 91 if (IS_ERR(vbase)) in edac_probe() 92 return PTR_ERR(vbase); in edac_probe() 117 pvt_init(mci, vbase); in edac_probe()
|
| /drivers/net/ethernet/hisilicon/ |
| A D | hns_mdio.c | 38 u8 __iomem *vbase; /* mdio reg base address */ member 101 mdio_write_reg((a)->vbase, (reg), (value)) 137 mdio_get_reg_field((dev)->vbase, (reg), (mask), (shift)) 140 mdio_get_reg_field((dev)->vbase, (reg), 0x1ull, (bit)) 227 bus->id, mdio_dev->vbase); in hns_mdio_write_c22() 269 bus->id, mdio_dev->vbase); in hns_mdio_write_c45() 321 bus->id, mdio_dev->vbase); in hns_mdio_read_c22() 372 bus->id, mdio_dev->vbase); in hns_mdio_read_c45() 525 mdio_dev->vbase = devm_platform_ioremap_resource(pdev, 0); in hns_mdio_probe() 526 if (IS_ERR(mdio_dev->vbase)) { in hns_mdio_probe() [all …]
|
| /drivers/video/fbdev/ |
| A D | sstfb.c | 185 u32 ret = readl(vbase + reg); in __sst_read() 193 writel(val, vbase + reg); in __sst_write() 199 __sst_write(vbase, reg, __sst_read(vbase, reg) | val); in __sst_set_bits() 205 __sst_write(vbase, reg, __sst_read(vbase, reg) & ~val); in __sst_unset_bits() 248 __sst_wait_idle(vbase); in __sst_dac_read() 250 ret = __sst_read(vbase, DAC_READ) & 0xff; in __sst_dac_read() 261 __sst_wait_idle(vbase); in __sst_dac_write() 269 __sst_dac_write(vbase, DACREG_ADDR_I, reg); in __dac_i_read() 270 ret = __sst_dac_read(vbase, DACREG_DATA_I); in __dac_i_read() 277 __sst_dac_write(vbase, DACREG_ADDR_I, reg); in __dac_i_write() [all …]
|
| /drivers/net/ethernet/freescale/fman/ |
| A D | fman_muram.c | 14 void __iomem *vbase; member 21 return vaddr - (unsigned long)muram->vbase; in fman_muram_vbase_to_offset() 69 muram->vbase = vaddr; in fman_muram_init() 92 return offset + (unsigned long)muram->vbase; in fman_muram_offset_to_vbase()
|
| /drivers/video/fbdev/savage/ |
| A D | savagefb.h | 212 void __iomem *vbase; member 219 void __iomem *vbase; member 255 return readb(par->mmio.vbase + addr); in savage_in8() 260 return readw(par->mmio.vbase + addr); in savage_in16() 265 return readl(par->mmio.vbase + addr); in savage_in32() 270 writeb(val, par->mmio.vbase + addr); in savage_out8() 275 writew(val, par->mmio.vbase + addr); in savage_out16() 280 writel(val, par->mmio.vbase + addr); in savage_out32()
|
| A 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()
|
| A D | savagefb_driver.c | 1732 if (!par->mmio.vbase) { in savage_map_mmio() 1737 par->mmio.vbase); in savage_map_mmio() 1757 if (par->mmio.vbase) { in savage_unmap_mmio() 1758 iounmap(par->mmio.vbase); in savage_unmap_mmio() 1759 par->mmio.vbase = NULL; in savage_unmap_mmio() 1779 if (!par->video.vbase) { in savage_map_video() 1788 info->screen_base = par->video.vbase; in savage_map_video() 1792 memset_io(par->video.vbase, 0, par->video.len); in savage_map_video() 1803 if (par->video.vbase) { in savage_unmap_video() 1805 iounmap(par->video.vbase); in savage_unmap_video() [all …]
|
| /drivers/mailbox/ |
| A D | bcm-pdc-mailbox.c | 251 void *vbase; /* base kernel virtual address of ring */ member 991 if (unlikely(!tx.vbase)) { in pdc_ring_init() 998 if (unlikely(!rx.vbase)) { in pdc_ring_init() 1020 pdcs->txd_64 = (struct dma64dd *)pdcs->tx_ring_alloc.vbase; in pdc_ring_init() 1074 dma_pool_free(pdcs->ring_pool, tx.vbase, tx.dmabase); in pdc_ring_init() 1081 if (pdcs->tx_ring_alloc.vbase) { in pdc_ring_free() 1082 dma_pool_free(pdcs->ring_pool, pdcs->tx_ring_alloc.vbase, in pdc_ring_free() 1084 pdcs->tx_ring_alloc.vbase = NULL; in pdc_ring_free() 1087 if (pdcs->rx_ring_alloc.vbase) { in pdc_ring_free() 1088 dma_pool_free(pdcs->ring_pool, pdcs->rx_ring_alloc.vbase, in pdc_ring_free() [all …]
|
| /drivers/video/fbdev/matrox/ |
| A D | matroxfb_base.h | 392 vaddr_t vbase; /* CPU view */ member 400 vaddr_t vbase; /* CPU view */ member 665 #define mga_inb(addr) mga_readb(minfo->mmio.vbase, (addr)) 666 #define mga_inl(addr) mga_readl(minfo->mmio.vbase, (addr)) 667 #define mga_outb(addr,val) mga_writeb(minfo->mmio.vbase, (addr), (val)) 668 #define mga_outw(addr,val) mga_writew(minfo->mmio.vbase, (addr), (val)) 669 #define mga_outl(addr,val) mga_writel(minfo->mmio.vbase, (addr), (val))
|
| A D | matroxfb_crtc2.h | 17 vaddr_t vbase; /* virtual */ member 26 vaddr_t vbase; member
|
| A D | matroxfb_accel.c | 373 vaddr_t vbase = minfo->video.vbase; in matroxfb_cfb4_clear() local 379 mga_writeb(vbase, uaddr, (mga_readb(vbase, uaddr) & 0x0F) | bgx2); in matroxfb_cfb4_clear() 388 mga_writeb(vbase, uaddr, (mga_readb(vbase, uaddr) & 0xF0) | bgx2); in matroxfb_cfb4_clear() 446 mmio = minfo->mmio.vbase; in matroxfb_1bpp_imageblit()
|
| A D | matroxfb_crtc2.c | 337 m2info->fbcon.screen_base = vaddr_va(m2info->video.vbase); in matroxfb_dh_set_par() 625 m2info->video.vbase.vaddr = vaddr_va(minfo->video.vbase) + m2info->video.offbase; in matroxfb_dh_regit() 627 m2info->mmio.vbase = minfo->mmio.vbase; in matroxfb_dh_regit()
|
| A D | matroxfb_base.c | 377 iounmap(minfo->mmio.vbase.vaddr); in matroxfb_remove() 378 iounmap(minfo->video.vbase.vaddr); in matroxfb_remove() 767 minfo->fbcon.screen_base = vaddr_va(minfo->video.vbase) + ydstorg; in matroxfb_set_par() 1296 vm = minfo->video.vbase; in matroxfb_getmemory() 1730 minfo->mmio.vbase.vaddr = ioremap(ctrlptr_phys, 16384); in initMatrox2() 1731 if (!minfo->mmio.vbase.vaddr) { in initMatrox2() 1738 minfo->video.vbase.vaddr = ioremap_wc(video_base_phys, memsize); in initMatrox2() 1739 if (!minfo->video.vbase.vaddr) { in initMatrox2() 1919 minfo->fbcon.screen_base = vaddr_va(minfo->video.vbase); in initMatrox2() 1957 iounmap(minfo->video.vbase.vaddr); in initMatrox2() [all …]
|
| A D | matroxfb_DAC1064.c | 928 mga_writeb(minfo->video.vbase, 0x0000, 0xAA); in MGAG100_preinit() 929 mga_writeb(minfo->video.vbase, 0x0800, 0x55); in MGAG100_preinit() 930 mga_writeb(minfo->video.vbase, 0x4000, 0x55); in MGAG100_preinit() 932 if (mga_readb(minfo->video.vbase, 0x0000) != 0xAA) { in MGAG100_preinit()
|
| A D | matroxfb_misc.c | 781 parse_bios(vaddr_va(minfo->video.vbase), &minfo->bios); in matroxfb_read_pins()
|
| /drivers/net/can/peak_canfd/ |
| A 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/mtd/nand/raw/ |
| A 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() 847 if (priv->vbase) in fsl_elbc_chip_remove() 848 iounmap(priv->vbase); in fsl_elbc_chip_remove() 925 priv->vbase = ioremap(res.start, resource_size(&res)); in fsl_elbc_nand_probe() 926 if (!priv->vbase) { in fsl_elbc_nand_probe()
|
| A D | fsl_ifc_nand.c | 37 u8 __iomem *vbase; /* Chip select base virtual address */ member 154 ifc_nand_ctrl->addr = priv->vbase + buf_num * (mtd->writesize * 2); in set_addr() 957 if (priv->vbase) in fsl_ifc_chip_remove() 958 iounmap(priv->vbase); in fsl_ifc_chip_remove() 1043 priv->vbase = ioremap(res.start, resource_size(&res)); in fsl_ifc_nand_probe() 1044 if (!priv->vbase) { in fsl_ifc_nand_probe()
|
| /drivers/atm/ |
| A D | lanai.c | 227 bus_addr_t vbase; /* Base of VCC's registers */ member 651 val= readl(lvcc->vbase + offset); in cardvcc_read() 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() 1547 lvcc->vbase = NULL; in host_vcc_unbind() 2292 if (lvcc->vbase != NULL) in lanai_close() [all …]
|
| /drivers/ntb/ |
| A D | ntb_transport.c | 207 void __iomem *vbase; member 1216 qp->tx_mw = nt->mw_vec[mw_num].vbase + qp_offset; in ntb_transport_init_queue() 1339 mw->vbase = ioremap_wc(mw->phys_addr, mw->phys_size); in ntb_transport_probe() 1340 if (!mw->vbase) { in ntb_transport_probe() 1415 iounmap(mw->vbase); in ntb_transport_probe() 1451 iounmap(nt->mw_vec[i].vbase); in ntb_transport_free()
|
| /drivers/ntb/test/ |
| A 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()
|