/linux/drivers/ata/ |
A D | pata_arasan_cf.c | 194 void __iomem *vbase; member 276 acdev->vbase + OP_MODE); in cf_ctrl_reset() 278 acdev->vbase + OP_MODE); in cf_ctrl_reset() 351 acdev->vbase + OP_MODE); in cf_exit() 460 acdev->vbase + XFER_CTR); in sg_xfer() 500 acdev->vbase + XFER_CTR); in sg_xfer() 619 acdev->vbase + XFER_CTR); in arasan_cf_interrupt() 650 acdev->vbase + XFER_CTR); in arasan_cf_freeze() 737 writel(val, acdev->vbase + OP_MODE); in arasan_cf_set_piomode() 740 writel(val, acdev->vbase + TM_CFG); in arasan_cf_set_piomode() [all …]
|
/linux/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 …]
|
/linux/arch/arm/plat-omap/ |
A D | counter_32k.c | 79 int __init omap_init_clocksource_32k(void __iomem *vbase) in omap_init_clocksource_32k() argument 89 if (readl_relaxed(vbase + OMAP2_32KSYNCNT_REV_OFF) & in omap_init_clocksource_32k() 91 sync32k_cnt_reg = vbase + OMAP2_32KSYNCNT_CR_OFF_HIGH; in omap_init_clocksource_32k() 93 sync32k_cnt_reg = vbase + OMAP2_32KSYNCNT_CR_OFF_LOW; in omap_init_clocksource_32k()
|
/linux/arch/arm/mach-imx/ |
A D | pm-imx6.c | 83 void __iomem *vbase; member 374 suspend_ocram_base)->l2_base.vbase) in imx6q_suspend_finish() 454 base->vbase = ioremap(res.start, resource_size(&res)); in imx6_pm_get_base() 455 if (!base->vbase) in imx6_pm_get_base() 523 pm_info->ccm_base.vbase = ccm_base; in imx6q_suspend_init() 566 readl_relaxed(pm_info->iomuxc_base.vbase + in imx6q_suspend_init() 580 iounmap(pm_info->gpc_base.vbase); in imx6q_suspend_init() 582 iounmap(pm_info->iomuxc_base.vbase); in imx6q_suspend_init() 584 iounmap(pm_info->src_base.vbase); in imx6q_suspend_init() 586 iounmap(pm_info->mmdc_base.vbase); in imx6q_suspend_init()
|
/linux/drivers/net/ethernet/freescale/fman/ |
A 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()
|
/linux/drivers/video/fbdev/ |
A D | sstfb.c | 184 u32 ret = readl(vbase + reg); in __sst_read() 192 writel(val, vbase + reg); in __sst_write() 198 __sst_write(vbase, reg, __sst_read(vbase, reg) | val); in __sst_set_bits() 204 __sst_write(vbase, reg, __sst_read(vbase, reg) & ~val); in __sst_unset_bits() 247 __sst_wait_idle(vbase); in __sst_dac_read() 249 ret = __sst_read(vbase, DAC_READ) & 0xff; in __sst_dac_read() 260 __sst_wait_idle(vbase); in __sst_dac_write() 268 __sst_dac_write(vbase, DACREG_ADDR_I, reg); in __dac_i_read() 269 ret = __sst_dac_read(vbase, DACREG_DATA_I); in __dac_i_read() 276 __sst_dac_write(vbase, DACREG_ADDR_I, reg); in __dac_i_write() [all …]
|
/linux/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)) 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()
|
/linux/drivers/video/fbdev/savage/ |
A 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()
|
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 | 1728 if (!par->mmio.vbase) { in savage_map_mmio() 1733 par->mmio.vbase); in savage_map_mmio() 1753 if (par->mmio.vbase) { in savage_unmap_mmio() 1754 iounmap(par->mmio.vbase); in savage_unmap_mmio() 1755 par->mmio.vbase = NULL; in savage_unmap_mmio() 1775 if (!par->video.vbase) { in savage_map_video() 1784 info->screen_base = par->video.vbase; in savage_map_video() 1788 memset_io(par->video.vbase, 0, par->video.len); in savage_map_video() 1799 if (par->video.vbase) { in savage_unmap_video() 1801 iounmap(par->video.vbase); in savage_unmap_video() [all …]
|
/linux/drivers/mailbox/ |
A D | bcm-pdc-mailbox.c | 255 void *vbase; /* base kernel virtual address of ring */ member 995 if (unlikely(!tx.vbase)) { in pdc_ring_init() 1002 if (unlikely(!rx.vbase)) { in pdc_ring_init() 1024 pdcs->txd_64 = (struct dma64dd *)pdcs->tx_ring_alloc.vbase; in pdc_ring_init() 1078 dma_pool_free(pdcs->ring_pool, tx.vbase, tx.dmabase); in pdc_ring_init() 1085 if (pdcs->tx_ring_alloc.vbase) { in pdc_ring_free() 1086 dma_pool_free(pdcs->ring_pool, pdcs->tx_ring_alloc.vbase, in pdc_ring_free() 1088 pdcs->tx_ring_alloc.vbase = NULL; in pdc_ring_free() 1091 if (pdcs->rx_ring_alloc.vbase) { in pdc_ring_free() 1092 dma_pool_free(pdcs->ring_pool, pdcs->rx_ring_alloc.vbase, in pdc_ring_free() [all …]
|
/linux/drivers/video/fbdev/matrox/ |
A 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))
|
A D | matroxfb_crtc2.h | 17 vaddr_t vbase; /* virtual */ member 26 vaddr_t vbase; member
|
A 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()
|
A 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()
|
/linux/arch/powerpc/perf/ |
A D | imc-pmu.c | 539 } while (pcni->vbase != 0); in nest_imc_event_init() 548 event->hw.event_base = (u64)pcni->vbase + l_config; in nest_imc_event_init() 606 mem_info->vbase = page_address(page); in core_imc_mem_init() 613 __pa((void *)mem_info->vbase), in core_imc_mem_init() 616 free_pages((u64)mem_info->vbase, get_order(size)); in core_imc_mem_init() 617 mem_info->vbase = NULL; in core_imc_mem_init() 629 if (!mem_info->vbase) in is_core_imc_mem_inited() 833 if ((!pcmi->vbase)) in core_imc_event_init() 884 event->hw.event_base = (u64)pcmi->vbase + (config & IMC_EVENT_OFFSET_MASK); in core_imc_event_init() 1563 if (ptr[i].vbase) in cleanup_all_core_imc_memory() [all …]
|
/linux/arch/powerpc/platforms/powernv/ |
A D | opal-imc.c | 64 while (ptr->vbase != NULL) { in export_imc_mode_and_cmd() 65 loc = (u64)(ptr->vbase) + cb_offset; in export_imc_mode_and_cmd() 120 pmu_ptr->mem_info[i].vbase = phys_to_virt(baddr); in imc_get_mem_addr_nest()
|
/linux/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()
|
/linux/drivers/pinctrl/spear/ |
A 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()
|
A 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()
|
/linux/arch/powerpc/kernel/ |
A D | btext.c | 147 unsigned char *vbase; in btext_map() local 157 vbase = ioremap_wc(base, size); in btext_map() 158 if (!vbase) in btext_map() 160 logicalDisplayBase = vbase + offset; in btext_map()
|
/linux/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() 835 if (priv->vbase) in fsl_elbc_chip_remove() 836 iounmap(priv->vbase); in fsl_elbc_chip_remove() 912 priv->vbase = ioremap(res.start, resource_size(&res)); in fsl_elbc_nand_probe() 913 if (!priv->vbase) { in fsl_elbc_nand_probe()
|
A 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()
|
/linux/arch/arm/plat-omap/include/plat/ |
A D | counter-32k.h | 1 int omap_init_clocksource_32k(void __iomem *vbase);
|
/linux/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 …]
|