Home
last modified time | relevance | path

Searched refs:virt_base (Results 1 – 16 of 16) sorted by relevance

/drivers/pinctrl/samsung/
Dpinctrl-s3c24xx.c149 reg = d->virt_base + bank->pctl_offset; in s3c24xx_eint_set_function()
182 reg = d->virt_base + EINT_REG(index); in s3c24xx_eint_type()
260 writel(bitval, d->virt_base + EINTPEND_REG); in s3c2412_eint0_3_ack()
269 mask = readl(d->virt_base + EINTMASK_REG); in s3c2412_eint0_3_mask()
271 writel(mask, d->virt_base + EINTMASK_REG); in s3c2412_eint0_3_mask()
280 mask = readl(d->virt_base + EINTMASK_REG); in s3c2412_eint0_3_unmask()
282 writel(mask, d->virt_base + EINTMASK_REG); in s3c2412_eint0_3_unmask()
320 writel(1UL << index, d->virt_base + EINTPEND_REG); in s3c24xx_eint_ack()
330 mask = readl(d->virt_base + EINTMASK_REG); in s3c24xx_eint_mask()
332 writel(mask, d->virt_base + EINTMASK_REG); in s3c24xx_eint_mask()
[all …]
Dpinctrl-s3c64xx.c278 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()
517 val = readl(d->virt_base + EINT0MASK_REG); in s3c64xx_eint0_irq_set_mask()
522 writel(val, d->virt_base + EINT0MASK_REG); in s3c64xx_eint0_irq_set_mask()
542 d->virt_base + EINT0PEND_REG); in s3c64xx_eint0_irq_ack()
565 reg = d->virt_base + EINT0CON0_REG; in s3c64xx_eint0_irq_set_type()
603 pend = readl(drvdata->virt_base + EINT0PEND_REG); in s3c64xx_irq_demux_eint()
[all …]
Dpinctrl-samsung.c1016 void __iomem *virt_base[SAMSUNG_PINCTRL_NUM_RESOURCES]; in samsung_pinctrl_get_soc_data() local
1040 virt_base[i] = devm_ioremap(&pdev->dev, res->start, in samsung_pinctrl_get_soc_data()
1042 if (!virt_base[i]) { in samsung_pinctrl_get_soc_data()
1065 bank->eint_base = virt_base[0]; in samsung_pinctrl_get_soc_data()
1066 bank->pctl_base = virt_base[bdata->pctl_res_idx]; in samsung_pinctrl_get_soc_data()
1073 d->virt_base = virt_base[0]; in samsung_pinctrl_get_soc_data()
Dpinctrl-samsung.h272 void __iomem *virt_base; member
/drivers/staging/gasket/
Dgasket_core.h88 u8 __iomem *virt_base; member
226 u8 *virt_base; member
582 return readq_relaxed(&gasket_dev->bar_data[bar].virt_base[location]); in gasket_dev_read_64()
588 writeq_relaxed(value, &dev->bar_data[bar].virt_base[location]); in gasket_dev_write_64()
594 writel_relaxed(value, &dev->bar_data[bar].virt_base[location]); in gasket_dev_write_32()
600 return readl_relaxed(&dev->bar_data[bar].virt_base[location]); in gasket_dev_read_32()
Dgasket_page_table.c287 (u64 __iomem *)&bar_data->virt_base[page_table_config->base_reg]; in gasket_page_table_init()
289 (u64 __iomem *)&bar_data->virt_base[page_table_config->extended_reg]; in gasket_page_table_init()
1286 gasket_dev->coherent_buffer.virt_base = mem; in gasket_alloc_coherent_memory()
1303 gasket_dev->coherent_buffer.virt_base = NULL; in gasket_alloc_coherent_memory()
1330 gasket_dev->coherent_buffer.virt_base, in gasket_free_coherent_memory()
1333 gasket_dev->coherent_buffer.virt_base = NULL; in gasket_free_coherent_memory()
1353 gasket_dev->coherent_buffer.virt_base, in gasket_free_coherent_memory_all()
1356 gasket_dev->coherent_buffer.virt_base = NULL; in gasket_free_coherent_memory_all()
Dgasket_core.c305 gasket_dev->bar_data[bar_num].virt_base = in gasket_map_pci_bar()
308 if (!gasket_dev->bar_data[bar_num].virt_base) { in gasket_map_pci_bar()
322 iounmap(gasket_dev->bar_data[bar_num].virt_base); in gasket_map_pci_bar()
341 !dev->bar_data[bar_num].virt_base) in gasket_unmap_pci_bar()
347 iounmap(dev->bar_data[bar_num].virt_base); in gasket_unmap_pci_bar()
348 dev->bar_data[bar_num].virt_base = NULL; in gasket_unmap_pci_bar()
910 ulong virt_base, phys_base; in do_map_region() local
924 virt_base = vma->vm_start + virt_offset; in do_map_region()
938 ret = io_remap_pfn_range(vma, virt_base + mapped_bytes, in do_map_region()
/drivers/soc/qcom/
Dsmem.c244 void __iomem *virt_base; member
406 header = smem->regions[0].virt_base; in qcom_smem_alloc_global()
491 header = smem->regions[0].virt_base; in qcom_smem_get_global()
504 return region->virt_base + le32_to_cpu(entry->offset); in qcom_smem_get_global()
639 header = __smem->regions[0].virt_base; in qcom_smem_get_free_space()
661 if (p < region->virt_base) in qcom_smem_virt_to_phys()
663 if (p < region->virt_base + region->size) { in qcom_smem_virt_to_phys()
664 u64 offset = p - region->virt_base; in qcom_smem_virt_to_phys()
679 header = smem->regions[0].virt_base; in qcom_smem_get_sbl_version()
690 ptable = smem->regions[0].virt_base + smem->regions[0].size - SZ_4K; in qcom_smem_get_ptable()
[all …]
/drivers/mmc/host/
Dandroid-goldfish.c115 void *virt_base; member
216 sg_copy_from_buffer(data->sg, 1, host->virt_base, in goldfish_mmc_xfer_done()
393 sg_copy_to_buffer(data->sg, 1, host->virt_base, in goldfish_mmc_prepare_data()
468 host->virt_base = dma_alloc_coherent(&pdev->dev, BUFFER_SIZE, in goldfish_mmc_probe()
471 if (host->virt_base == 0) { in goldfish_mmc_probe()
518 dma_free_coherent(&pdev->dev, BUFFER_SIZE, host->virt_base, in goldfish_mmc_probe()
537 dma_free_coherent(&pdev->dev, BUFFER_SIZE, host->virt_base, host->phys_base); in goldfish_mmc_remove()
Domap.c80 #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()
1350 host->virt_base = devm_ioremap_resource(&pdev->dev, res); in mmc_omap_probe()
1351 if (IS_ERR(host->virt_base)) in mmc_omap_probe()
1352 return PTR_ERR(host->virt_base); in mmc_omap_probe()
/drivers/misc/
Dsram.c100 part->base = sram->virt_base + block->start; in sram_add_partition()
302 (unsigned long)sram->virt_base + cur_start, in sram_reserve_regions()
368 sram->virt_base = devm_ioremap(sram->dev, res->start, size); in sram_probe()
370 sram->virt_base = devm_ioremap_wc(sram->dev, res->start, size); in sram_probe()
371 if (!sram->virt_base) in sram_probe()
399 gen_pool_size(sram->pool) / 1024, sram->virt_base); in sram_probe()
Dsram.h19 void __iomem *virt_base; member
/drivers/atm/
Dfore200e.c338 fore200e->cp_monitor = fore200e->virt_base + FORE200E_CP_MONITOR_OFFSET; in fore200e_reset()
486 fore200e->virt_base = ioremap(fore200e->phys_base, PCA200E_IOSPACE_LENGTH); in fore200e_pca_map()
488 if (fore200e->virt_base == NULL) { in fore200e_pca_map()
493 DPRINTK(1, "device %s mapped to 0x%p\n", fore200e->name, fore200e->virt_base); in fore200e_pca_map()
496 fore200e->regs.pca.hcr = fore200e->virt_base + PCA200E_HCR_OFFSET; in fore200e_pca_map()
497 fore200e->regs.pca.imr = fore200e->virt_base + PCA200E_IMR_OFFSET; in fore200e_pca_map()
498 fore200e->regs.pca.psr = fore200e->virt_base + PCA200E_PSR_OFFSET; in fore200e_pca_map()
510 if (fore200e->virt_base != NULL) in fore200e_pca_unmap()
511 iounmap(fore200e->virt_base); in fore200e_pca_unmap()
677 fore200e->virt_base = of_ioremap(&op->resource[3], 0, SBA200E_RAM_LENGTH, "SBA RAM"); in fore200e_sba_map()
[all …]
Dfore200e.h844 void __iomem * virt_base; /* virtual base address */ member
/drivers/video/fbdev/
Dhpfb.c210 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/
Dqat_uclo.c1265 u64 virt_addr, bus_addr, virt_base; in qat_uclo_map_auth_fw() local
1284 virt_base = (uintptr_t)img_desc.dram_base_addr_v + simg_offset; in qat_uclo_map_auth_fw()
1289 virt_addr = virt_base; in qat_uclo_map_auth_fw()
1339 virt_addr = virt_base; in qat_uclo_map_auth_fw()