Lines Matching defs:psz

82 	u32		psz;
2329 u32 alloc_pages, psz;
2333 psz = baser->psz;
2334 alloc_pages = (PAGE_ORDER_TO_SIZE(order) / psz);
2340 order = get_order(GITS_BASER_PAGES_MAX * psz);
2354 if (psz != SZ_64K) {
2355 pr_err("ITS: no 52bit PA support when psz=%d\n", psz);
2375 switch (psz) {
2418 baser->psz = psz;
2421 pr_info("ITS@%pa: allocated %d %s @%lx (%s, esz %d, psz %dK, shr %d)\n",
2426 psz / SZ_1K, (int)shr >> GITS_BASER_SHAREABILITY_SHIFT);
2440 u32 psz = baser->psz;
2443 /* No need to enable Indirection if memory requirement < (psz*2)bytes */
2444 if ((esz << ids) > (psz * 2)) {
2455 * which is 'psz'. For computing lvl1 table size,
2460 ids -= ilog2(psz / (int)esz);
2560 u64 psz = SZ_64K;
2562 while (psz) {
2568 switch (psz) {
2589 switch (psz) {
2591 psz = SZ_16K;
2594 psz = SZ_4K;
2602 baser->psz = psz;
2636 order = get_order(baser->psz);
2772 unsigned int psz, esz, idx, npg, gpsz;
2795 psz = SZ_4K;
2798 psz = SZ_16K;
2801 psz = SZ_64K;
2807 return (id < (npg * psz / (esz * SZ_8)));
2810 idx = id >> ilog2(psz / (esz * SZ_8));
2811 if (idx >= (npg * psz / GITS_LVL1_ENTRY_SIZE))
2818 page = alloc_pages(GFP_KERNEL | __GFP_ZERO, get_order(psz));
2824 gic_flush_dcache_to_poc(page_address(page), psz);
2843 unsigned int psz = SZ_64K;
2890 psz = SZ_4K;
2893 psz = SZ_16K;
2896 psz = SZ_64K;
2910 epp = psz / (esz * SZ_8);
2925 npg = DIV_ROUND_UP(nl2 * SZ_8, psz);
2933 np = DIV_ROUND_UP(npg * psz, PAGE_SIZE);
2935 pr_debug("np = %d, npg = %lld, psz = %d, epp = %d, esz = %d\n",
2936 np, npg, psz, epp, esz);
2943 WARN_ON(!IS_ALIGNED(pa, psz));
3323 idx = id >> ilog2(baser->psz / esz);
3332 get_order(baser->psz));
3338 gic_flush_dcache_to_poc(page_address(page), baser->psz);