Lines Matching refs:ppaace
94 struct paace *ppaace; in pamu_enable_liodn() local
96 ppaace = pamu_get_ppaace(liodn); in pamu_enable_liodn()
97 if (!ppaace) { in pamu_enable_liodn()
102 if (!get_bf(ppaace->addr_bitfields, PPAACE_AF_WSE)) { in pamu_enable_liodn()
110 set_bf(ppaace->addr_bitfields, PAACE_AF_V, PAACE_V_VALID); in pamu_enable_liodn()
124 struct paace *ppaace; in pamu_disable_liodn() local
126 ppaace = pamu_get_ppaace(liodn); in pamu_disable_liodn()
127 if (!ppaace) { in pamu_disable_liodn()
132 set_bf(ppaace->addr_bitfields, PAACE_AF_V, PAACE_V_INVALID); in pamu_disable_liodn()
152 static void pamu_init_ppaace(struct paace *ppaace) in pamu_init_ppaace() argument
154 set_bf(ppaace->addr_bitfields, PAACE_AF_PT, PAACE_PT_PRIMARY); in pamu_init_ppaace()
156 set_bf(ppaace->domain_attr.to_host.coherency_required, PAACE_DA_HOST_CR, in pamu_init_ppaace()
193 struct paace *ppaace; in pamu_config_ppaace() local
195 ppaace = pamu_get_ppaace(liodn); in pamu_config_ppaace()
196 if (!ppaace) in pamu_config_ppaace()
200 set_bf(ppaace->addr_bitfields, PPAACE_AF_WSE, in pamu_config_ppaace()
203 pamu_init_ppaace(ppaace); in pamu_config_ppaace()
205 ppaace->wbah = 0; in pamu_config_ppaace()
206 set_bf(ppaace->addr_bitfields, PPAACE_AF_WBAL, 0); in pamu_config_ppaace()
210 set_bf(ppaace->impl_attr, PAACE_IA_OTM, PAACE_OTM_INDEXED); in pamu_config_ppaace()
211 ppaace->op_encode.index_ot.omi = omi; in pamu_config_ppaace()
219 set_bf(ppaace->impl_attr, PAACE_IA_CID, stashid); in pamu_config_ppaace()
221 set_bf(ppaace->impl_attr, PAACE_IA_ATM, PAACE_ATM_WINDOW_XLATE); in pamu_config_ppaace()
222 ppaace->twbah = 0; in pamu_config_ppaace()
223 set_bf(ppaace->win_bitfields, PAACE_WIN_TWBAL, 0); in pamu_config_ppaace()
224 set_bf(ppaace->addr_bitfields, PAACE_AF_AP, prot); in pamu_config_ppaace()
225 set_bf(ppaace->impl_attr, PAACE_IA_WCE, 0); in pamu_config_ppaace()
226 set_bf(ppaace->addr_bitfields, PPAACE_AF_MW, 0); in pamu_config_ppaace()
337 static void setup_qbman_paace(struct paace *ppaace, int paace_type) in setup_qbman_paace() argument
341 set_bf(ppaace->impl_attr, PAACE_IA_OTM, PAACE_OTM_INDEXED); in setup_qbman_paace()
342 ppaace->op_encode.index_ot.omi = OMI_QMAN_PRIV; in setup_qbman_paace()
344 set_bf(ppaace->impl_attr, PAACE_IA_CID, get_stash_id(PAMU_ATTR_CACHE_L3, 0)); in setup_qbman_paace()
345 set_bf(ppaace->domain_attr.to_host.coherency_required, PAACE_DA_HOST_CR, in setup_qbman_paace()
349 set_bf(ppaace->impl_attr, PAACE_IA_OTM, PAACE_OTM_INDEXED); in setup_qbman_paace()
350 ppaace->op_encode.index_ot.omi = OMI_QMAN; in setup_qbman_paace()
352 set_bf(ppaace->impl_attr, PAACE_IA_CID, get_stash_id(PAMU_ATTR_CACHE_L3, 0)); in setup_qbman_paace()
355 set_bf(ppaace->domain_attr.to_host.coherency_required, PAACE_DA_HOST_CR, in setup_qbman_paace()
461 struct paace *ppaace; in setup_liodns() local
475 ppaace = pamu_get_ppaace(liodn); in setup_liodns()
476 pamu_init_ppaace(ppaace); in setup_liodns()
478 set_bf(ppaace->addr_bitfields, PPAACE_AF_WSE, 35); in setup_liodns()
479 ppaace->wbah = 0; in setup_liodns()
480 set_bf(ppaace->addr_bitfields, PPAACE_AF_WBAL, 0); in setup_liodns()
481 set_bf(ppaace->impl_attr, PAACE_IA_ATM, in setup_liodns()
483 set_bf(ppaace->addr_bitfields, PAACE_AF_AP, in setup_liodns()
486 setup_qbman_paace(ppaace, QMAN_PORTAL_PAACE); in setup_liodns()
488 setup_qbman_paace(ppaace, QMAN_PAACE); in setup_liodns()
490 setup_qbman_paace(ppaace, BMAN_PAACE); in setup_liodns()