paace              30 drivers/iommu/fsl_pamu.c static struct paace *ppaact;
paace              31 drivers/iommu/fsl_pamu.c static struct paace *spaact;
paace              86 drivers/iommu/fsl_pamu.c static struct paace *pamu_get_ppaace(int liodn)
paace             104 drivers/iommu/fsl_pamu.c 	struct paace *ppaace;
paace             134 drivers/iommu/fsl_pamu.c 	struct paace *ppaace;
paace             169 drivers/iommu/fsl_pamu.c static void pamu_init_ppaace(struct paace *ppaace)
paace             181 drivers/iommu/fsl_pamu.c static void pamu_init_spaace(struct paace *spaace)
paace             192 drivers/iommu/fsl_pamu.c static struct paace *pamu_get_spaace(struct paace *paace, u32 wnum)
paace             195 drivers/iommu/fsl_pamu.c 	struct paace *spaace = NULL;
paace             197 drivers/iommu/fsl_pamu.c 	subwin_cnt = 1UL << (get_bf(paace->impl_attr, PAACE_IA_WCE) + 1);
paace             200 drivers/iommu/fsl_pamu.c 		spaace = &spaact[paace->fspi + wnum];
paace             228 drivers/iommu/fsl_pamu.c 	spaace_addr = gen_pool_alloc(spaace_pool, subwin_cnt * sizeof(struct paace));
paace             232 drivers/iommu/fsl_pamu.c 	return (spaace_addr - (unsigned long)spaact) / (sizeof(struct paace));
paace             238 drivers/iommu/fsl_pamu.c 	struct paace *ppaace;
paace             249 drivers/iommu/fsl_pamu.c 		size = (subwin_cnt - 1) * sizeof(struct paace);
paace             261 drivers/iommu/fsl_pamu.c 	struct paace *paace;
paace             263 drivers/iommu/fsl_pamu.c 	paace = pamu_get_ppaace(liodn);
paace             264 drivers/iommu/fsl_pamu.c 	if (!paace) {
paace             269 drivers/iommu/fsl_pamu.c 		paace = pamu_get_spaace(paace, subwin - 1);
paace             270 drivers/iommu/fsl_pamu.c 		if (!paace)
paace             273 drivers/iommu/fsl_pamu.c 	set_bf(paace->impl_attr, PAACE_IA_CID, value);
paace             283 drivers/iommu/fsl_pamu.c 	struct paace *paace;
paace             285 drivers/iommu/fsl_pamu.c 	paace = pamu_get_ppaace(liodn);
paace             286 drivers/iommu/fsl_pamu.c 	if (!paace) {
paace             291 drivers/iommu/fsl_pamu.c 		paace = pamu_get_spaace(paace, subwin - 1);
paace             292 drivers/iommu/fsl_pamu.c 		if (!paace)
paace             294 drivers/iommu/fsl_pamu.c 		set_bf(paace->addr_bitfields, PAACE_AF_V, PAACE_V_INVALID);
paace             296 drivers/iommu/fsl_pamu.c 		set_bf(paace->addr_bitfields, PAACE_AF_AP,
paace             326 drivers/iommu/fsl_pamu.c 	struct paace *ppaace;
paace             418 drivers/iommu/fsl_pamu.c 	struct paace *paace;
paace             426 drivers/iommu/fsl_pamu.c 	paace = pamu_get_ppaace(liodn);
paace             427 drivers/iommu/fsl_pamu.c 	if (subwin > 0 && subwin < subwin_cnt && paace) {
paace             428 drivers/iommu/fsl_pamu.c 		paace = pamu_get_spaace(paace, subwin - 1);
paace             430 drivers/iommu/fsl_pamu.c 		if (paace && !(paace->addr_bitfields & PAACE_V_VALID)) {
paace             431 drivers/iommu/fsl_pamu.c 			pamu_init_spaace(paace);
paace             432 drivers/iommu/fsl_pamu.c 			set_bf(paace->addr_bitfields, SPAACE_AF_LIODN, liodn);
paace             436 drivers/iommu/fsl_pamu.c 	if (!paace) {
paace             452 drivers/iommu/fsl_pamu.c 	set_bf(paace->win_bitfields, PAACE_WIN_SWSE,
paace             455 drivers/iommu/fsl_pamu.c 	set_bf(paace->impl_attr, PAACE_IA_ATM, PAACE_ATM_WINDOW_XLATE);
paace             456 drivers/iommu/fsl_pamu.c 	paace->twbah = rpn >> 20;
paace             457 drivers/iommu/fsl_pamu.c 	set_bf(paace->win_bitfields, PAACE_WIN_TWBAL, rpn);
paace             458 drivers/iommu/fsl_pamu.c 	set_bf(paace->addr_bitfields, PAACE_AF_AP, prot);
paace             462 drivers/iommu/fsl_pamu.c 		paace->domain_attr.to_host.snpid = snoopid;
paace             466 drivers/iommu/fsl_pamu.c 		set_bf(paace->impl_attr, PAACE_IA_OTM, PAACE_OTM_INDEXED);
paace             467 drivers/iommu/fsl_pamu.c 		paace->op_encode.index_ot.omi = omi;
paace             474 drivers/iommu/fsl_pamu.c 		set_bf(paace->impl_attr, PAACE_IA_CID, stashid);
paace             479 drivers/iommu/fsl_pamu.c 		set_bf(paace->addr_bitfields, PAACE_AF_V, PAACE_V_VALID);
paace             590 drivers/iommu/fsl_pamu.c static void setup_qbman_paace(struct paace *ppaace, int  paace_type)
paace             714 drivers/iommu/fsl_pamu.c 	struct paace *ppaace;
paace             764 drivers/iommu/fsl_pamu.c 			struct paace *paace;
paace             783 drivers/iommu/fsl_pamu.c 				u32 *paace = phys_to_virt(phys);
paace             788 drivers/iommu/fsl_pamu.c 						 j, in_be32(paace + j));
paace             793 drivers/iommu/fsl_pamu.c 			paace = pamu_get_ppaace(avs1 >> PAMU_AVS1_LIODN_SHIFT);
paace             794 drivers/iommu/fsl_pamu.c 			BUG_ON(!paace);
paace             796 drivers/iommu/fsl_pamu.c 			if (!get_bf(paace->addr_bitfields, PAACE_AF_V)) {
paace            1132 drivers/iommu/fsl_pamu.c 	spaace_pool = gen_pool_create(ilog2(sizeof(struct paace)), -1);
paace             327 drivers/iommu/fsl_pamu.h #define PAACT_SIZE              (sizeof(struct paace) * PAACE_NUMBER_ENTRIES)
paace             328 drivers/iommu/fsl_pamu.h #define SPAACT_SIZE              (sizeof(struct paace) * SPAACE_NUMBER_ENTRIES)