Searched refs:npg (Results 1 – 1 of 1) sorted by relevance
/drivers/irqchip/ |
D | irq-gic-v3-its.c | 2754 unsigned int psz, esz, idx, npg, gpsz; in allocate_vpe_l2_table() local 2770 npg = FIELD_GET(GICR_VPROPBASER_4_1_SIZE, val) + 1; in allocate_vpe_l2_table() 2789 return (id < (npg * psz / (esz * SZ_8))); in allocate_vpe_l2_table() 2793 if (idx >= (npg * psz / GITS_LVL1_ENTRY_SIZE)) in allocate_vpe_l2_table() 2824 u64 val, gpsz, npg, pa; in allocate_vpe_l1_table() local 2907 npg = DIV_ROUND_UP(nl2 * SZ_8, psz); in allocate_vpe_l1_table() 2909 npg = 1; in allocate_vpe_l1_table() 2912 val |= FIELD_PREP(GICR_VPROPBASER_4_1_SIZE, npg - 1); in allocate_vpe_l1_table() 2915 np = DIV_ROUND_UP(npg * psz, PAGE_SIZE); in allocate_vpe_l1_table() 2918 np, npg, psz, epp, esz); in allocate_vpe_l1_table()
|