Searched refs:virt_base (Results 1 – 12 of 12) sorted by relevance
/drivers/misc/ |
D | sram.c | 102 void __iomem *virt_base; in sram_add_partition() local 105 virt_base = devm_ioremap_resource(sram->dev, &block->res); in sram_add_partition() 107 virt_base = devm_ioremap_resource_wc(sram->dev, &block->res); in sram_add_partition() 109 if (IS_ERR(virt_base)) { in sram_add_partition() 111 return PTR_ERR(virt_base); in sram_add_partition() 114 part->base = virt_base; in sram_add_partition() 116 part->base = sram->virt_base + block->start; in sram_add_partition() 321 (unsigned long)sram->virt_base + cur_start, in sram_reserve_regions() 397 sram->virt_base = devm_ioremap_resource(&pdev->dev, res); in sram_probe() 399 sram->virt_base = devm_ioremap_resource_wc(&pdev->dev, res); in sram_probe() [all …]
|
D | sram.h | 26 void __iomem *virt_base; member
|
/drivers/pinctrl/samsung/ |
D | pinctrl-s3c24xx.c | 144 reg = d->virt_base + bank->pctl_offset; in s3c24xx_eint_set_function() 177 reg = d->virt_base + EINT_REG(index); in s3c24xx_eint_type() 253 writel(bitval, d->virt_base + EINTPEND_REG); in s3c2412_eint0_3_ack() 262 mask = readl(d->virt_base + EINTMASK_REG); in s3c2412_eint0_3_mask() 264 writel(mask, d->virt_base + EINTMASK_REG); in s3c2412_eint0_3_mask() 273 mask = readl(d->virt_base + EINTMASK_REG); in s3c2412_eint0_3_unmask() 275 writel(mask, d->virt_base + EINTMASK_REG); in s3c2412_eint0_3_unmask() 311 writel(1UL << index, d->virt_base + EINTPEND_REG); in s3c24xx_eint_ack() 321 mask = readl(d->virt_base + EINTMASK_REG); in s3c24xx_eint_mask() 323 writel(mask, d->virt_base + EINTMASK_REG); in s3c24xx_eint_mask() [all …]
|
D | pinctrl-s3c64xx.c | 278 reg = d->virt_base + bank->pctl_offset; in s3c64xx_irq_set_function() 308 void __iomem *reg = d->virt_base + EINTMASK_REG(bank->eint_offset); in s3c64xx_gpio_irq_set_mask() 334 void __iomem *reg = d->virt_base + EINTPEND_REG(bank->eint_offset); in s3c64xx_gpio_irq_ack() 357 reg = d->virt_base + EINTCON_REG(bank->eint_offset); in s3c64xx_gpio_irq_set_type() 419 svc = readl(drvdata->virt_base + SERVICE_REG); in s3c64xx_eint_gpio_irq() 515 val = readl(d->virt_base + EINT0MASK_REG); in s3c64xx_eint0_irq_set_mask() 520 writel(val, d->virt_base + EINT0MASK_REG); in s3c64xx_eint0_irq_set_mask() 540 d->virt_base + EINT0PEND_REG); in s3c64xx_eint0_irq_ack() 563 reg = d->virt_base + EINT0CON0_REG; in s3c64xx_eint0_irq_set_type() 601 pend = readl(drvdata->virt_base + EINT0PEND_REG); in s3c64xx_irq_demux_eint() [all …]
|
D | pinctrl-samsung.c | 1026 void __iomem *virt_base[SAMSUNG_PINCTRL_NUM_RESOURCES]; in samsung_pinctrl_get_soc_data() local 1050 virt_base[i] = devm_ioremap(&pdev->dev, res->start, in samsung_pinctrl_get_soc_data() 1052 if (!virt_base[i]) { in samsung_pinctrl_get_soc_data() 1075 bank->eint_base = virt_base[0]; in samsung_pinctrl_get_soc_data() 1076 bank->pctl_base = virt_base[bdata->pctl_res_idx]; in samsung_pinctrl_get_soc_data() 1083 d->virt_base = virt_base[0]; in samsung_pinctrl_get_soc_data()
|
D | pinctrl-samsung.h | 272 void __iomem *virt_base; member
|
/drivers/soc/qcom/ |
D | smem.c | 244 void __iomem *virt_base; member 407 header = smem->regions[0].virt_base; in qcom_smem_alloc_global() 492 header = smem->regions[0].virt_base; in qcom_smem_get_global() 505 return region->virt_base + le32_to_cpu(entry->offset); in qcom_smem_get_global() 640 header = __smem->regions[0].virt_base; in qcom_smem_get_free_space() 662 if (p < region->virt_base) in qcom_smem_virt_to_phys() 664 if (p < region->virt_base + region->size) { in qcom_smem_virt_to_phys() 665 u64 offset = p - region->virt_base; in qcom_smem_virt_to_phys() 680 header = smem->regions[0].virt_base; in qcom_smem_get_sbl_version() 691 ptable = smem->regions[0].virt_base + smem->regions[0].size - SZ_4K; in qcom_smem_get_ptable() [all …]
|
/drivers/atm/ |
D | fore200e.c | 335 fore200e->cp_monitor = fore200e->virt_base + FORE200E_CP_MONITOR_OFFSET; in fore200e_reset() 484 fore200e->virt_base = ioremap(fore200e->phys_base, PCA200E_IOSPACE_LENGTH); in fore200e_pca_map() 486 if (fore200e->virt_base == NULL) { in fore200e_pca_map() 491 DPRINTK(1, "device %s mapped to 0x%p\n", fore200e->name, fore200e->virt_base); in fore200e_pca_map() 494 fore200e->regs.pca.hcr = fore200e->virt_base + PCA200E_HCR_OFFSET; in fore200e_pca_map() 495 fore200e->regs.pca.imr = fore200e->virt_base + PCA200E_IMR_OFFSET; in fore200e_pca_map() 496 fore200e->regs.pca.psr = fore200e->virt_base + PCA200E_PSR_OFFSET; in fore200e_pca_map() 508 if (fore200e->virt_base != NULL) in fore200e_pca_unmap() 509 iounmap(fore200e->virt_base); in fore200e_pca_unmap() 675 fore200e->virt_base = of_ioremap(&op->resource[3], 0, SBA200E_RAM_LENGTH, "SBA RAM"); in fore200e_sba_map() [all …]
|
D | fore200e.h | 844 void __iomem * virt_base; /* virtual base address */ member
|
/drivers/mmc/host/ |
D | omap.c | 80 #define OMAP_MMC_READ(host, reg) __raw_readw((host)->virt_base + OMAP_MMC_REG(host, reg)) 81 #define OMAP_MMC_WRITE(host, reg, val) __raw_writew((val), (host)->virt_base + OMAP_MMC_REG(host, r… 131 void __iomem *virt_base; member 685 __raw_writesw(host->virt_base + OMAP_MMC_REG(host, DATA), in mmc_omap_xfer_data() 688 __raw_readsw(host->virt_base + OMAP_MMC_REG(host, DATA), in mmc_omap_xfer_data() 1349 host->virt_base = devm_ioremap_resource(&pdev->dev, res); in mmc_omap_probe() 1350 if (IS_ERR(host->virt_base)) in mmc_omap_probe() 1351 return PTR_ERR(host->virt_base); in mmc_omap_probe()
|
/drivers/video/fbdev/ |
D | hpfb.c | 210 static int hpfb_init_one(unsigned long phys_base, unsigned long virt_base) in hpfb_init_one() argument 215 fb_regs = virt_base; in hpfb_init_one()
|
/drivers/crypto/qat/qat_common/ |
D | qat_uclo.c | 1373 u64 virt_addr, bus_addr, virt_base; in qat_uclo_map_auth_fw() local 1393 virt_base = (uintptr_t)img_desc.dram_base_addr_v + simg_offset; in qat_uclo_map_auth_fw() 1398 virt_addr = virt_base; in qat_uclo_map_auth_fw() 1448 virt_addr = virt_base; in qat_uclo_map_auth_fw()
|