Lines Matching full:liodn
66 /* maximum subwindows permitted per liodn */
71 * @liodn: liodn PAACT index for desired PAACE
76 static struct paace *pamu_get_ppaace(int liodn) in pamu_get_ppaace() argument
78 if (!ppaact || liodn >= PAACE_NUMBER_ENTRIES) { in pamu_get_ppaace()
83 return &ppaact[liodn]; in pamu_get_ppaace()
88 * @liodn: liodn PAACT index for desired PAACE
92 int pamu_enable_liodn(int liodn) in pamu_enable_liodn() argument
96 ppaace = pamu_get_ppaace(liodn); in pamu_enable_liodn()
103 pr_debug("liodn %d not configured\n", liodn); in pamu_enable_liodn()
118 * @liodn: liodn PAACT index for desired PAACE
122 int pamu_disable_liodn(int liodn) in pamu_disable_liodn() argument
126 ppaace = pamu_get_ppaace(liodn); in pamu_disable_liodn()
162 * LIODN.
164 int pamu_update_paace_stash(int liodn, u32 value) in pamu_update_paace_stash() argument
168 paace = pamu_get_ppaace(liodn); in pamu_update_paace_stash()
170 pr_debug("Invalid liodn entry\n"); in pamu_update_paace_stash()
181 * pamu_config_ppaace() - Sets up PPAACE entry for specified liodn
183 * @liodn: Logical IO device number
191 int pamu_config_ppaace(int liodn, u32 omi, u32 stashid, int prot) in pamu_config_ppaace() argument
195 ppaace = pamu_get_ppaace(liodn); in pamu_config_ppaace()
409 /* Maximum number of subwindows per liodn */ in get_pamu_cap_values()
465 for_each_node_with_property(node, "fsl,liodn") { in setup_liodns()
466 prop = of_get_property(node, "fsl,liodn", &len); in setup_liodns()
468 int liodn; in setup_liodns() local
470 liodn = be32_to_cpup(&prop[i]); in setup_liodns()
471 if (liodn >= PAACE_NUMBER_ENTRIES) { in setup_liodns()
472 pr_debug("Invalid LIODN value %d\n", liodn); in setup_liodns()
475 ppaace = pamu_get_ppaace(liodn); in setup_liodns()
492 pamu_enable_liodn(liodn); in setup_liodns()
542 /* check if we got a violation for a disabled LIODN */ in pamu_av_isr()
547 * LIODN. If we hit that condition, disable in pamu_av_isr()
552 /* Disable the LIODN */ in pamu_av_isr()
555 pr_emerg("Disabling liodn %x\n", in pamu_av_isr()
769 * NOTE : All PAMUs share the same LIODN tables. in fsl_pamu_probe()