host_tlb_params 38 arch/powerpc/kvm/e500_mmu_host.c #define to_htlb1_esel(esel) (host_tlb_params[1].entries - (esel) - 1) host_tlb_params 40 arch/powerpc/kvm/e500_mmu_host.c static struct kvmppc_e500_tlb_params host_tlb_params[E500_TLB_NUM]; host_tlb_params 45 arch/powerpc/kvm/e500_mmu_host.c return host_tlb_params[1].entries - tlbcam_index - 1; host_tlb_params 278 arch/powerpc/kvm/e500_mmu_host.c sizeof(unsigned int) * host_tlb_params[1].entries); host_tlb_params 768 arch/powerpc/kvm/e500_mmu_host.c host_tlb_params[0].entries = mfspr(SPRN_TLB0CFG) & TLBnCFG_N_ENTRY; host_tlb_params 769 arch/powerpc/kvm/e500_mmu_host.c host_tlb_params[1].entries = mfspr(SPRN_TLB1CFG) & TLBnCFG_N_ENTRY; host_tlb_params 776 arch/powerpc/kvm/e500_mmu_host.c if (host_tlb_params[0].entries == 0 || host_tlb_params 777 arch/powerpc/kvm/e500_mmu_host.c host_tlb_params[1].entries == 0) { host_tlb_params 782 arch/powerpc/kvm/e500_mmu_host.c host_tlb_params[0].ways = (mfspr(SPRN_TLB0CFG) & TLBnCFG_ASSOC) >> host_tlb_params 784 arch/powerpc/kvm/e500_mmu_host.c host_tlb_params[1].ways = host_tlb_params[1].entries; host_tlb_params 786 arch/powerpc/kvm/e500_mmu_host.c if (!is_power_of_2(host_tlb_params[0].entries) || host_tlb_params 787 arch/powerpc/kvm/e500_mmu_host.c !is_power_of_2(host_tlb_params[0].ways) || host_tlb_params 788 arch/powerpc/kvm/e500_mmu_host.c host_tlb_params[0].entries < host_tlb_params[0].ways || host_tlb_params 789 arch/powerpc/kvm/e500_mmu_host.c host_tlb_params[0].ways == 0) { host_tlb_params 791 arch/powerpc/kvm/e500_mmu_host.c __func__, host_tlb_params[0].entries, host_tlb_params 792 arch/powerpc/kvm/e500_mmu_host.c host_tlb_params[0].ways); host_tlb_params 796 arch/powerpc/kvm/e500_mmu_host.c host_tlb_params[0].sets = host_tlb_params 797 arch/powerpc/kvm/e500_mmu_host.c host_tlb_params[0].entries / host_tlb_params[0].ways; host_tlb_params 798 arch/powerpc/kvm/e500_mmu_host.c host_tlb_params[1].sets = 1; host_tlb_params 799 arch/powerpc/kvm/e500_mmu_host.c vcpu_e500->h2g_tlb1_rmap = kcalloc(host_tlb_params[1].entries,