/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/arch/arm/plat-omap/ |
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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/arch/arm/mach-imx/ |
D | pm-imx6.c | 82 void __iomem *vbase; member 373 suspend_ocram_base)->l2_base.vbase) in imx6q_suspend_finish() 453 base->vbase = ioremap(res.start, resource_size(&res)); in imx6_pm_get_base() 454 if (!base->vbase) in imx6_pm_get_base() 522 pm_info->ccm_base.vbase = ccm_base; in imx6q_suspend_init() 565 readl_relaxed(pm_info->iomuxc_base.vbase + in imx6q_suspend_init() 577 iounmap(pm_info->gpc_base.vbase); in imx6q_suspend_init() 579 iounmap(pm_info->iomuxc_base.vbase); in imx6q_suspend_init() 581 iounmap(pm_info->src_base.vbase); in imx6q_suspend_init() 583 iounmap(pm_info->mmdc_base.vbase); in imx6q_suspend_init()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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 | 1613 par->vgastate.vgabase = par->mmio.vbase + 0x8000; in savagefb_open() 1727 par->mmio.vbase = ioremap(par->mmio.pbase, par->mmio.len); in savage_map_mmio() 1728 if (!par->mmio.vbase) { in savage_map_mmio() 1733 par->mmio.vbase); in savage_map_mmio() 1738 par->bci_base = (u32 __iomem *)(par->mmio.vbase + BCI_BUFFER_OFFSET); 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() 1773 par->video.vbase = ioremap_wc(par->video.pbase, par->video.len); in savage_map_video() 1775 if (!par->video.vbase) { in savage_map_video() [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/drivers/video/fbdev/matrox/ |
D | matroxfb_crtc2.h | 17 vaddr_t vbase; /* virtual */ member 26 vaddr_t vbase; member
|
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_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()
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/ |
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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/arch/powerpc/perf/ |
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() 1562 if (ptr[i].vbase) in cleanup_all_core_imc_memory() [all …]
|
/kernel/linux/linux-5.10/drivers/net/can/peak_canfd/ |
D | peak_pciefd_main.c | 160 void *vbase; /* page virtual address */ member 365 priv->tx_pages[0].vbase = priv->tx_dma_vaddr; in pciefd_enable_tx_path() 373 priv->tx_pages[i].vbase = in pciefd_enable_tx_path() 374 priv->tx_pages[i - 1].vbase + in pciefd_enable_tx_path() 525 lk = page->vbase + page->offset; in pciefd_alloc_tx_msg() 550 msg = page->vbase + page->offset; in pciefd_alloc_tx_msg()
|
/kernel/linux/linux-5.10/arch/arm/plat-omap/include/plat/ |
D | counter-32k.h | 1 int omap_init_clocksource_32k(void __iomem *vbase);
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
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()
|
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
D | fsl_elbc_nand.c | 43 u8 __iomem *vbase; /* Chip select base virtual address */ member 185 elbc_fcm_ctrl->addr = priv->vbase + buf_num * 1024; in set_addr() 195 buf_num, elbc_fcm_ctrl->addr, priv->vbase, in set_addr() 836 if (priv->vbase) in fsl_elbc_chip_remove() 837 iounmap(priv->vbase); in fsl_elbc_chip_remove() 913 priv->vbase = ioremap(res.start, resource_size(&res)); in fsl_elbc_nand_probe() 914 if (!priv->vbase) { in fsl_elbc_nand_probe()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | imc-pmu.h | 45 u64 *vbase; member
|
/kernel/linux/linux-5.10/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() 770 if (lvcc->vbase == NULL) /* We were never bound to a VCI */ in lanai_shutdown_tx_vci() 1527 if (lvcc->vbase != NULL) in host_vcc_bind() 1538 lvcc->vbase = cardvcc_addr(lanai, vci); in host_vcc_bind() 1545 if (lvcc->vbase == NULL) in host_vcc_unbind() [all …]
|