Lines Matching refs:entries
38 #define to_htlb1_esel(esel) (host_tlb_params[1].entries - (esel) - 1)
45 return host_tlb_params[1].entries - tlbcam_index - 1;
191 /* Don't bother with unmapped entries */
275 sizeof(u64) * vcpu_e500->gtlb_params[1].entries);
278 sizeof(unsigned int) * host_tlb_params[1].entries);
287 for (i = 0; i < vcpu_e500->gtlb_params[tlbsel].entries; i++) {
729 * Flush all shadow tlb entries everywhere. This is slow, but
769 host_tlb_params[0].entries = mfspr(SPRN_TLB0CFG) & TLBnCFG_N_ENTRY;
770 host_tlb_params[1].entries = mfspr(SPRN_TLB1CFG) & TLBnCFG_N_ENTRY;
777 if (host_tlb_params[0].entries == 0 ||
778 host_tlb_params[1].entries == 0) {
785 host_tlb_params[1].ways = host_tlb_params[1].entries;
787 if (!is_power_of_2(host_tlb_params[0].entries) ||
789 host_tlb_params[0].entries < host_tlb_params[0].ways ||
791 pr_err("%s: bad tlb0 host config: %u entries %u ways\n",
792 __func__, host_tlb_params[0].entries,
798 host_tlb_params[0].entries / host_tlb_params[0].ways;
800 vcpu_e500->h2g_tlb1_rmap = kcalloc(host_tlb_params[1].entries,