/linux-6.6.21/drivers/ata/ |
D | pata_arasan_cf.c | 195 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 …]
|
/linux-6.6.21/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 …]
|
/linux-6.6.21/drivers/net/ethernet/freescale/fman/ |
D | fman_muram.c | 14 void __iomem *vbase; member 22 return vaddr - (unsigned long)muram->vbase; in fman_muram_vbase_to_offset() 70 muram->vbase = vaddr; in fman_muram_init() 93 return offset + (unsigned long)muram->vbase; in fman_muram_offset_to_vbase()
|
/linux-6.6.21/arch/arm/mach-imx/ |
D | pm-imx6.c | 84 void __iomem *vbase; member 375 suspend_ocram_base)->l2_base.vbase) in imx6q_suspend_finish() 455 base->vbase = ioremap(res.start, resource_size(&res)); in imx6_pm_get_base() 456 if (!base->vbase) in imx6_pm_get_base() 524 pm_info->ccm_base.vbase = ccm_base; in imx6q_suspend_init() 567 readl_relaxed(pm_info->iomuxc_base.vbase + in imx6q_suspend_init() 581 iounmap(pm_info->gpc_base.vbase); in imx6q_suspend_init() 583 iounmap(pm_info->iomuxc_base.vbase); in imx6q_suspend_init() 585 iounmap(pm_info->src_base.vbase); in imx6q_suspend_init() 587 iounmap(pm_info->mmdc_base.vbase); in imx6q_suspend_init()
|
/linux-6.6.21/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)) 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() [all …]
|
/linux-6.6.21/drivers/video/fbdev/ |
D | sstfb.c | 183 static inline u32 __sst_read(u8 __iomem *vbase, u32 reg) in __sst_read() argument 185 u32 ret = readl(vbase + reg); in __sst_read() 190 static inline void __sst_write(u8 __iomem *vbase, u32 reg, u32 val) in __sst_write() argument 193 writel(val, vbase + reg); in __sst_write() 196 static inline void __sst_set_bits(u8 __iomem *vbase, u32 reg, u32 val) in __sst_set_bits() argument 199 __sst_write(vbase, reg, __sst_read(vbase, reg) | val); in __sst_set_bits() 202 static inline void __sst_unset_bits(u8 __iomem *vbase, u32 reg, u32 val) in __sst_unset_bits() argument 205 __sst_write(vbase, reg, __sst_read(vbase, reg) & ~val); in __sst_unset_bits() 217 static int __sst_wait_idle(u8 __iomem *vbase) in __sst_wait_idle() argument 224 if (__sst_read(vbase, STATUS) & STATUS_FBI_BUSY) { in __sst_wait_idle() [all …]
|
/linux-6.6.21/arch/arm/mach-omap1/ |
D | timer32k.c | 215 static int __init omap_init_clocksource_32k(void __iomem *vbase) in omap_init_clocksource_32k() argument 225 if (readl_relaxed(vbase + OMAP2_32KSYNCNT_REV_OFF) & in omap_init_clocksource_32k() 227 sync32k_cnt_reg = vbase + OMAP2_32KSYNCNT_CR_OFF_HIGH; in omap_init_clocksource_32k() 229 sync32k_cnt_reg = vbase + OMAP2_32KSYNCNT_CR_OFF_LOW; in omap_init_clocksource_32k()
|
/linux-6.6.21/drivers/video/fbdev/savage/ |
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()
|
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 | 1617 par->vgastate.vgabase = par->mmio.vbase + 0x8000; in savagefb_open() 1731 par->mmio.vbase = ioremap(par->mmio.pbase, par->mmio.len); in savage_map_mmio() 1732 if (!par->mmio.vbase) { in savage_map_mmio() 1737 par->mmio.vbase); in savage_map_mmio() 1742 par->bci_base = (u32 __iomem *)(par->mmio.vbase + BCI_BUFFER_OFFSET); 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() 1777 par->video.vbase = ioremap_wc(par->video.pbase, par->video.len); in savage_map_video() 1779 if (!par->video.vbase) { in savage_map_video() [all …]
|
/linux-6.6.21/drivers/video/fbdev/matrox/ |
D | matroxfb_crtc2.h | 17 vaddr_t vbase; /* virtual */ member 26 vaddr_t vbase; member
|
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))
|
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() 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 | 376 iounmap(minfo->mmio.vbase.vaddr); in matroxfb_remove() 377 iounmap(minfo->video.vbase.vaddr); in matroxfb_remove() 766 minfo->fbcon.screen_base = vaddr_va(minfo->video.vbase) + ydstorg; in matroxfb_set_par() 1293 vm = minfo->video.vbase; in matroxfb_getmemory() 1727 minfo->mmio.vbase.vaddr = ioremap(ctrlptr_phys, 16384); in initMatrox2() 1728 if (!minfo->mmio.vbase.vaddr) { in initMatrox2() 1735 minfo->video.vbase.vaddr = ioremap_wc(video_base_phys, memsize); in initMatrox2() 1736 if (!minfo->video.vbase.vaddr) { in initMatrox2() 1916 minfo->fbcon.screen_base = vaddr_va(minfo->video.vbase); in initMatrox2() 1930 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()
|
/linux-6.6.21/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 …]
|
/linux-6.6.21/arch/powerpc/platforms/powernv/ |
D | opal-imc.c | 63 while (ptr->vbase != NULL) { in export_imc_mode_and_cmd() 64 loc = (u64)(ptr->vbase) + cb_offset; in export_imc_mode_and_cmd() 119 pmu_ptr->mem_info[i].vbase = phys_to_virt(baddr); in imc_get_mem_addr_nest()
|
/linux-6.6.21/arch/powerpc/perf/ |
D | imc-pmu.c | 553 } while (pcni->vbase != 0); in nest_imc_event_init() 562 event->hw.event_base = (u64)pcni->vbase + l_config; in nest_imc_event_init() 619 mem_info->vbase = page_address(page); in core_imc_mem_init() 625 __pa((void *)mem_info->vbase), in core_imc_mem_init() 628 free_pages((u64)mem_info->vbase, get_order(size)); in core_imc_mem_init() 629 mem_info->vbase = NULL; in core_imc_mem_init() 641 if (!mem_info->vbase) in is_core_imc_mem_inited() 844 if ((!pcmi->vbase)) in core_imc_event_init() 894 event->hw.event_base = (u64)pcmi->vbase + (config & IMC_EVENT_OFFSET_MASK); in core_imc_event_init() 1576 if (ptr[i].vbase) in cleanup_all_core_imc_memory() [all …]
|
/linux-6.6.21/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()
|
/linux-6.6.21/arch/powerpc/kernel/ |
D | btext.c | 146 unsigned char *vbase; in btext_map() local 156 vbase = ioremap_wc(base, size); in btext_map() 157 if (!vbase) in btext_map() 159 logicalDisplayBase = vbase + offset; in btext_map()
|
/linux-6.6.21/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() 847 if (priv->vbase) in fsl_elbc_chip_remove() 848 iounmap(priv->vbase); in fsl_elbc_chip_remove() 924 priv->vbase = ioremap(res.start, resource_size(&res)); in fsl_elbc_nand_probe() 925 if (!priv->vbase) { in fsl_elbc_nand_probe()
|
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()
|
/linux-6.6.21/arch/powerpc/include/asm/ |
D | imc-pmu.h | 45 u64 *vbase; member
|
/linux-6.6.21/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 …]
|