Lines Matching refs:liodn
57 static int update_liodn_stash(int liodn, struct fsl_dma_domain *dma_domain, in update_liodn_stash() argument
64 ret = pamu_update_paace_stash(liodn, val); in update_liodn_stash()
66 pr_debug("Failed to update SPAACE for liodn %d\n ", liodn); in update_liodn_stash()
78 int liodn) in pamu_set_liodn() argument
92 ret = pamu_disable_liodn(liodn); in pamu_set_liodn()
95 ret = pamu_config_ppaace(liodn, omi_index, dma_domain->stash_id, 0); in pamu_set_liodn()
98 ret = pamu_config_ppaace(liodn, ~(u32)0, dma_domain->stash_id, in pamu_set_liodn()
104 liodn); in pamu_set_liodn()
115 pamu_disable_liodn(info->liodn); in remove_device_ref()
137 static void attach_device(struct fsl_dma_domain *dma_domain, int liodn, struct device *dev) in attach_device() argument
157 info->liodn = liodn; in attach_device()
224 ret = update_liodn_stash(info->liodn, dma_domain, val); in update_domain_stash()
238 const u32 *liodn; in fsl_pamu_attach_device() local
257 liodn = of_get_property(dev->of_node, "fsl,liodn", &len); in fsl_pamu_attach_device()
258 if (!liodn) { in fsl_pamu_attach_device()
266 if (liodn[i] >= PAACE_NUMBER_ENTRIES) { in fsl_pamu_attach_device()
268 liodn[i], dev->of_node); in fsl_pamu_attach_device()
273 attach_device(dma_domain, liodn[i], dev); in fsl_pamu_attach_device()
274 ret = pamu_set_liodn(dma_domain, dev, liodn[i]); in fsl_pamu_attach_device()
277 ret = pamu_enable_liodn(liodn[i]); in fsl_pamu_attach_device()