Searched refs:iram (Results 1 – 10 of 10) sorted by relevance
/drivers/gpu/ipu-v3/ |
D | ipu-pre.c | 95 struct gen_pool *iram; member 290 pre->iram = of_gen_pool_get(dev->of_node, "fsl,iram", 0); in ipu_pre_probe() 291 if (!pre->iram) in ipu_pre_probe() 299 pre->buffer_virt = gen_pool_dma_alloc(pre->iram, IPU_PRE_MAX_WIDTH * in ipu_pre_probe() 329 gen_pool_free(pre->iram, (unsigned long)pre->buffer_virt, in ipu_pre_remove()
|
/drivers/soc/fsl/qe/ |
D | qe.c | 420 &qe_immr->iram.iadd); in qe_upload_microcode() 423 qe_iowrite32be(be32_to_cpu(code[i]), &qe_immr->iram.idata); in qe_upload_microcode() 426 qe_iowrite32be(QE_IRAM_READY, &qe_immr->iram.iready); in qe_upload_microcode()
|
/drivers/media/platform/coda/ |
D | coda-common.c | 3243 dev->iram.size = dev->devtype->iram_size; in coda_probe() 3244 dev->iram.vaddr = gen_pool_dma_alloc(dev->iram_pool, dev->iram.size, in coda_probe() 3245 &dev->iram.paddr); in coda_probe() 3246 if (!dev->iram.vaddr) { in coda_probe() 3249 memset(dev->iram.vaddr, 0, dev->iram.size); in coda_probe() 3250 dev->iram.blob.data = dev->iram.vaddr; in coda_probe() 3251 dev->iram.blob.size = dev->iram.size; in coda_probe() 3252 dev->iram.dentry = debugfs_create_blob("iram", 0644, in coda_probe() 3254 &dev->iram.blob); in coda_probe() 3303 if (dev->iram.vaddr) in coda_remove() [all …]
|
D | coda-bit.c | 774 static phys_addr_t coda_iram_alloc(struct coda_iram_info *iram, size_t size) in coda_iram_alloc() argument 779 if (size > iram->remaining) in coda_iram_alloc() 781 iram->remaining -= size; in coda_iram_alloc() 783 ret = iram->next_paddr; in coda_iram_alloc() 784 iram->next_paddr += size; in coda_iram_alloc() 801 iram_info->next_paddr = dev->iram.paddr; in coda_setup_iram() 802 iram_info->remaining = dev->iram.size; in coda_setup_iram() 804 if (!dev->iram.vaddr) in coda_setup_iram() 1128 coda_write(dev, dev->iram.paddr, in coda_start_encoding()
|
D | coda.h | 87 struct coda_aux_buf iram; member
|
/drivers/staging/media/tegra-vde/ |
D | vde.c | 220 u32 *iram_tables = vde->iram; in tegra_vde_setup_iram_entry() 336 memset(vde->iram + 128, 0, macroblocks_nb / 2); in tegra_vde_setup_hw_context() 1033 vde->iram = gen_pool_dma_alloc(vde->iram_pool, in tegra_vde_probe() 1036 if (!vde->iram) { in tegra_vde_probe() 1081 gen_pool_free(vde->iram_pool, (unsigned long)vde->iram, in tegra_vde_probe() 1108 gen_pool_free(vde->iram_pool, (unsigned long)vde->iram, in tegra_vde_remove()
|
D | vde.h | 52 u32 *iram; member
|
/drivers/soc/ti/ |
D | knav_qmss_queue.c | 1505 pdsp->iram = in knav_queue_init_pdsps() 1518 if (IS_ERR(pdsp->command) || IS_ERR(pdsp->iram) || in knav_queue_init_pdsps() 1524 if (!IS_ERR(pdsp->iram)) in knav_queue_init_pdsps() 1525 devm_iounmap(dev, pdsp->iram); in knav_queue_init_pdsps() 1536 pdsp->name, pdsp->command, pdsp->iram, pdsp->regs, in knav_queue_init_pdsps() 1594 writel_relaxed(be32_to_cpu(fwdata[i]), pdsp->iram + i); in knav_queue_load_pdsp()
|
D | knav_qmss.h | 131 u32 __iomem *iram; member
|
/drivers/net/ethernet/freescale/fman/ |
D | fman.c | 1433 struct fman_iram_regs __iomem *iram; in clear_iram() local 1436 iram = fman->base_addr + IMEM_OFFSET; in clear_iram() 1439 iowrite32be(IRAM_IADD_AIE, &iram->iadd); in clear_iram() 1443 } while ((ioread32be(&iram->iadd) != IRAM_IADD_AIE) && --count); in clear_iram() 1448 iowrite32be(0xffffffff, &iram->idata); in clear_iram() 1450 iowrite32be(fman->state->fm_iram_size - 4, &iram->iadd); in clear_iram() 1454 } while ((ioread32be(&iram->idata) != 0xffffffff) && --count); in clear_iram()
|