/Linux-v6.1/drivers/soc/qcom/ |
D | smem.c | 206 void __iomem *virt_base; member 259 void __iomem *virt_base; member 372 phdr = (struct smem_partition_header __force *)part->virt_base; in qcom_smem_alloc_private() 430 header = smem->regions[0].virt_base; in qcom_smem_alloc_global() 489 if (host < SMEM_HOST_COUNT && __smem->partitions[host].virt_base) { in qcom_smem_alloc() 492 } else if (__smem->global_partition.virt_base) { in qcom_smem_alloc() 517 header = smem->regions[0].virt_base; in qcom_smem_get_global() 537 return region->virt_base + entry_offset; in qcom_smem_get_global() 555 phdr = (struct smem_partition_header __force *)part->virt_base; in qcom_smem_get_private() 662 if (host < SMEM_HOST_COUNT && __smem->partitions[host].virt_base) { in qcom_smem_get() [all …]
|
/Linux-v6.1/kernel/dma/ |
D | coherent.c | 14 void *virt_base; member 59 dma_mem->virt_base = mem_base; in dma_init_coherent_memory() 82 memunmap(mem->virt_base); in _dma_release_coherent_memory() 162 ret = mem->virt_base + ((dma_addr_t)pageno << PAGE_SHIFT); in __dma_alloc_from_coherent() 200 if (mem && vaddr >= mem->virt_base && vaddr < in __dma_release_from_coherent() 201 (mem->virt_base + ((dma_addr_t)mem->size << PAGE_SHIFT))) { in __dma_release_from_coherent() 202 int page = (vaddr - mem->virt_base) >> PAGE_SHIFT; in __dma_release_from_coherent() 235 if (mem && vaddr >= mem->virt_base && vaddr + size <= in __dma_mmap_from_coherent() 236 (mem->virt_base + ((dma_addr_t)mem->size << PAGE_SHIFT))) { in __dma_mmap_from_coherent() 238 int start = (vaddr - mem->virt_base) >> PAGE_SHIFT; in __dma_mmap_from_coherent()
|
/Linux-v6.1/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() 398 sram->virt_base = devm_ioremap_resource(&pdev->dev, res); in sram_probe() 400 sram->virt_base = devm_ioremap_resource_wc(&pdev->dev, res); in sram_probe() [all …]
|
D | sram.h | 26 void __iomem *virt_base; member
|
/Linux-v6.1/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 | 1065 void __iomem *virt_base[SAMSUNG_PINCTRL_NUM_RESOURCES]; in samsung_pinctrl_get_soc_data() local 1089 virt_base[i] = devm_ioremap(&pdev->dev, res->start, in samsung_pinctrl_get_soc_data() 1091 if (!virt_base[i]) { in samsung_pinctrl_get_soc_data() 1114 bank->eint_base = virt_base[0]; in samsung_pinctrl_get_soc_data() 1115 bank->pctl_base = virt_base[bdata->pctl_res_idx]; in samsung_pinctrl_get_soc_data() 1122 d->virt_base = virt_base[0]; in samsung_pinctrl_get_soc_data()
|
D | pinctrl-samsung.h | 280 void __iomem *virt_base; member
|
/Linux-v6.1/arch/sh/kernel/ |
D | io_trapped.c | 73 tiop->virt_base = vmap(pages, n, VM_MAP, PAGE_NONE); in register_trapped_io() 74 if (!tiop->virt_base) in register_trapped_io() 81 (unsigned long)(tiop->virt_base + len), in register_trapped_io() 123 return tiop->virt_base + voffs; in match_trapped_io_handler() 169 unsigned long vaddr = (unsigned long)tiop->virt_base; in lookup_address()
|
/Linux-v6.1/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
|
/Linux-v6.1/arch/sh/include/asm/ |
D | io_trapped.h | 17 void __iomem *virt_base; member
|
/Linux-v6.1/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()
|
/Linux-v6.1/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()
|
/Linux-v6.1/drivers/crypto/qat/qat_common/ |
D | qat_uclo.c | 1419 u64 virt_addr, bus_addr, virt_base; in qat_uclo_map_auth_fw() local 1439 virt_base = (uintptr_t)img_desc.dram_base_addr_v + simg_offset; in qat_uclo_map_auth_fw() 1444 virt_addr = virt_base; in qat_uclo_map_auth_fw() 1494 virt_addr = virt_base; in qat_uclo_map_auth_fw()
|
/Linux-v6.1/arch/powerpc/kernel/ |
D | prom_init.c | 897 __be32 virt_base; member 1053 .virt_base = cpu_to_be32(0xffffffff), 1142 u32 virt_base; member 1194 .virt_base = ~0U,
|