Lines Matching refs:liodn
58 static int update_liodn_stash(int liodn, struct fsl_dma_domain *dma_domain, in update_liodn_stash() argument
65 ret = pamu_update_paace_stash(liodn, val); in update_liodn_stash()
67 pr_debug("Failed to update SPAACE for liodn %d\n ", liodn); in update_liodn_stash()
79 int liodn) in pamu_set_liodn() argument
93 ret = pamu_disable_liodn(liodn); in pamu_set_liodn()
96 ret = pamu_config_ppaace(liodn, omi_index, dma_domain->stash_id, 0); in pamu_set_liodn()
99 ret = pamu_config_ppaace(liodn, ~(u32)0, dma_domain->stash_id, in pamu_set_liodn()
105 liodn); in pamu_set_liodn()
116 pamu_disable_liodn(info->liodn); in remove_device_ref()
138 static void attach_device(struct fsl_dma_domain *dma_domain, int liodn, struct device *dev) in attach_device() argument
158 info->liodn = liodn; in attach_device()
225 ret = update_liodn_stash(info->liodn, dma_domain, val); in update_domain_stash()
239 const u32 *liodn; in fsl_pamu_attach_device() local
258 liodn = of_get_property(dev->of_node, "fsl,liodn", &len); in fsl_pamu_attach_device()
259 if (!liodn) { in fsl_pamu_attach_device()
267 if (liodn[i] >= PAACE_NUMBER_ENTRIES) { in fsl_pamu_attach_device()
269 liodn[i], dev->of_node); in fsl_pamu_attach_device()
274 attach_device(dma_domain, liodn[i], dev); in fsl_pamu_attach_device()
275 ret = pamu_set_liodn(dma_domain, dev, liodn[i]); in fsl_pamu_attach_device()
278 ret = pamu_enable_liodn(liodn[i]); in fsl_pamu_attach_device()