Lines Matching defs:psz

80 	u32		psz;
2315 u32 alloc_pages, psz;
2319 psz = baser->psz;
2320 alloc_pages = (PAGE_ORDER_TO_SIZE(order) / psz);
2326 order = get_order(GITS_BASER_PAGES_MAX * psz);
2340 if (psz != SZ_64K) {
2341 pr_err("ITS: no 52bit PA support when psz=%d\n", psz);
2361 switch (psz) {
2402 baser->psz = psz;
2405 pr_info("ITS@%pa: allocated %d %s @%lx (%s, esz %d, psz %dK, shr %d)\n",
2410 psz / SZ_1K, (int)shr >> GITS_BASER_SHAREABILITY_SHIFT);
2424 u32 psz = baser->psz;
2427 /* No need to enable Indirection if memory requirement < (psz*2)bytes */
2428 if ((esz << ids) > (psz * 2)) {
2439 * which is 'psz'. For computing lvl1 table size,
2444 ids -= ilog2(psz / (int)esz);
2544 u64 psz = SZ_64K;
2546 while (psz) {
2552 switch (psz) {
2573 switch (psz) {
2575 psz = SZ_16K;
2578 psz = SZ_4K;
2586 baser->psz = psz;
2615 order = get_order(baser->psz);
2749 unsigned int psz, esz, idx, npg, gpsz;
2772 psz = SZ_4K;
2775 psz = SZ_16K;
2778 psz = SZ_64K;
2784 return (id < (npg * psz / (esz * SZ_8)));
2787 idx = id >> ilog2(psz / (esz * SZ_8));
2788 if (idx >= (npg * psz / GITS_LVL1_ENTRY_SIZE))
2795 page = alloc_pages(GFP_KERNEL | __GFP_ZERO, get_order(psz));
2801 gic_flush_dcache_to_poc(page_address(page), psz);
2820 unsigned int psz = SZ_64K;
2867 psz = SZ_4K;
2870 psz = SZ_16K;
2873 psz = SZ_64K;
2887 epp = psz / (esz * SZ_8);
2902 npg = DIV_ROUND_UP(nl2 * SZ_8, psz);
2910 np = DIV_ROUND_UP(npg * psz, PAGE_SIZE);
2912 pr_debug("np = %d, npg = %lld, psz = %d, epp = %d, esz = %d\n",
2913 np, npg, psz, epp, esz);
2920 WARN_ON(!IS_ALIGNED(pa, psz));
3283 idx = id >> ilog2(baser->psz / esz);
3292 get_order(baser->psz));
3298 gic_flush_dcache_to_poc(page_address(page), baser->psz);