Home
last modified time | relevance | path

Searched refs:sram_pool (Results 1 – 4 of 4) sorted by relevance

/drivers/uio/
Duio_pruss.c73 struct gen_pool *sram_pool; member
110 gen_pool_free(gdev->sram_pool, in pruss_cleanup()
165 if (pdata->sram_pool) { in pruss_probe()
166 gdev->sram_pool = pdata->sram_pool; in pruss_probe()
168 (unsigned long)gen_pool_dma_alloc(gdev->sram_pool, in pruss_probe()
237 if (pdata->sram_pool) in pruss_probe()
238 gen_pool_free(gdev->sram_pool, gdev->sram_vaddr, sram_pool_sz); in pruss_probe()
/drivers/soc/ti/
Dpm33xx.c51 static struct gen_pool *sram_pool, *sram_pool_data; variable
100 am33xx_do_wfi_sram_phys = gen_pool_virt_to_phys(sram_pool, in am33xx_push_sram_idle()
103 am33xx_do_wfi_sram = sram_exec_copy(sram_pool, (void *)ocmcram_location, in am33xx_push_sram_idle()
115 ret = ti_emif_copy_pm_function_table(sram_pool, (void *)table_addr); in am33xx_push_sram_idle()
124 copy_addr = sram_exec_copy(sram_pool, (void *)ro_data_addr, in am33xx_push_sram_idle()
378 gen_pool_free(sram_pool, ocmcram_location, *pm_sram->do_wfi_sz); in am33xx_pm_free_sram()
401 sram_pool = of_gen_pool_get(np, "pm-sram", 0); in am33xx_pm_alloc_sram()
402 if (!sram_pool) { in am33xx_pm_alloc_sram()
417 ocmcram_location = gen_pool_alloc(sram_pool, *pm_sram->do_wfi_sz); in am33xx_pm_alloc_sram()
429 gen_pool_free(sram_pool, ocmcram_location, *pm_sram->do_wfi_sz); in am33xx_pm_alloc_sram()
/drivers/memory/
Dti-emif-pm.c201 int ti_emif_copy_pm_function_table(struct gen_pool *sram_pool, void *dst) in ti_emif_copy_pm_function_table() argument
208 copy_addr = sram_exec_copy(sram_pool, dst, in ti_emif_copy_pm_function_table()
/drivers/fsi/
Dfsi-master-ast-cf.c110 struct gen_pool *sram_pool; member
1202 gen_pool_free(master->sram_pool, (unsigned long)master->sram, SRAM_SIZE); in fsi_master_acf_release()
1341 master->sram_pool = of_gen_pool_get(dev_of_node(&pdev->dev), "aspeed,sram", 0); in fsi_master_acf_probe()
1342 if (!master->sram_pool) { in fsi_master_acf_probe()
1350 master->sram = (void __iomem *)gen_pool_alloc_algo(master->sram_pool, SRAM_SIZE, in fsi_master_acf_probe()
1358 (unsigned long)gen_pool_virt_to_phys(master->sram_pool, in fsi_master_acf_probe()
1406 gen_pool_free(master->sram_pool, (unsigned long)master->sram, SRAM_SIZE); in fsi_master_acf_probe()