Searched refs:sps (Results 1 – 8 of 8) sorted by relevance
25 PPCHash64SegmentPageSizes *sps = &cpu->hash64_opts->sps[i]; in ppc_create_page_sizes_prop() local27 if (!sps->page_shift) { in ppc_create_page_sizes_prop()31 if (sps->enc[count].page_shift == 0) { in ppc_create_page_sizes_prop()38 *(p++) = cpu_to_be32(sps->page_shift); in ppc_create_page_sizes_prop()39 *(p++) = cpu_to_be32(sps->slb_enc); in ppc_create_page_sizes_prop()42 *(p++) = cpu_to_be32(sps->enc[j].page_shift); in ppc_create_page_sizes_prop()43 *(p++) = cpu_to_be32(sps->enc[j].pte_enc); in ppc_create_page_sizes_prop()
380 for (i = 0; i < ARRAY_SIZE(opts->sps); i++) { in ppc_hash64_filter_pagesizes()381 PPCHash64SegmentPageSizes *sps = &opts->sps[i]; in ppc_hash64_filter_pagesizes() local387 if (!sps->page_shift) { in ppc_hash64_filter_pagesizes()391 for (j = 0; j < ARRAY_SIZE(sps->enc); j++) { in ppc_hash64_filter_pagesizes()392 PPCHash64PageSize *ps = &sps->enc[j]; in ppc_hash64_filter_pagesizes()399 if (cb(opaque, sps->page_shift, ps->page_shift)) { in ppc_hash64_filter_pagesizes()403 sps->enc[m++] = *ps; in ppc_hash64_filter_pagesizes()408 for (j = m; j < ARRAY_SIZE(sps->enc); j++) { in ppc_hash64_filter_pagesizes()409 memset(&sps->enc[j], 0, sizeof(sps->enc[j])); in ppc_hash64_filter_pagesizes()418 for (i = n; i < ARRAY_SIZE(opts->sps); i++) { in ppc_hash64_filter_pagesizes()[all …]
268 sps = sps1; in ppc_store_slb()273 if (!sps) { in ppc_store_slb()282 slb->sps = sps; in ppc_store_slb()668 const PPCHash64SegmentPageSizes *sps = slb->sps; in ppc_hash64_htab_lookup() local674 assert(sps); in ppc_hash64_htab_lookup()679 sps = &cpu->hash64_opts->sps[0]; in ppc_hash64_htab_lookup()743 const PPCHash64SegmentPageSizes *sps = &cpu->hash64_opts->sps[i]; in ppc_hash64_hpte_page_shift_noslb() local921 const PPCHash64SegmentPageSizes *sps = &cpu->hash64_opts->sps[i]; in build_vrma_slbe() local930 slb->sps = sps; in build_vrma_slbe()1202 .sps = {[all …]
379 for (iq = 0; iq < ARRAY_SIZE(cpu->hash64_opts->sps); iq++) { in kvm_check_mmu()380 PPCHash64SegmentPageSizes *qsps = &cpu->hash64_opts->sps[iq]; in kvm_check_mmu()383 for (ik = 0; ik < ARRAY_SIZE(smmu_info.sps); ik++) { in kvm_check_mmu()384 if (qsps->page_shift == smmu_info.sps[ik].page_shift) { in kvm_check_mmu()388 if (ik >= ARRAY_SIZE(smmu_info.sps)) { in kvm_check_mmu()394 ksps = &smmu_info.sps[ik]; in kvm_check_mmu()2173 struct kvm_ppc_one_seg_page_size *sps = &info.sps[i]; in kvmppc_vrma_limit() local2175 if (!sps->page_shift) { in kvmppc_vrma_limit()2179 if ((sps->page_shift > best_page_shift) in kvmppc_vrma_limit()2180 && ((1UL << sps->page_shift) <= rampagesize)) { in kvmppc_vrma_limit()[all …]
158 PPCHash64SegmentPageSizes sps[PPC_PAGE_SIZES_MAX_SZ]; member
395 const PPCHash64SegmentPageSizes *sps; member
218 bool sps = !!(s->regs[R_SPI_CONTROL] & C_SPS); in spi_flush_txfifo() local253 if (!sps) { in spi_flush_txfifo()
769 struct kvm_ppc_one_seg_page_size sps[KVM_PPC_PAGE_SIZES_MAX_SZ]; member