/linux-4.1.27/arch/powerpc/kernel/ |
D | setup_32.c | 131 if (cpu_has_feature(CPU_FTR_CAN_DOZE) || in machine_init() 132 cpu_has_feature(CPU_FTR_CAN_NAP)) in machine_init() 137 if (cpu_has_feature(CPU_FTR_CAN_DOZE) || in machine_init() 138 cpu_has_feature(CPU_FTR_CAN_NAP)) in machine_init() 148 if (cpu_has_feature(CPU_FTR_L2CR)) { in ppc_setup_l2cr() 161 if (cpu_has_feature(CPU_FTR_L3CR)) { in ppc_setup_l3cr() 293 if (cpu_has_feature(CPU_FTR_UNIFIED_ID_CACHE)) in setup_arch()
|
D | sysfs.c | 74 if (!cpu_has_feature(CPU_FTR_SMT)) in setup_smt_snooze_delay() 552 if (cpu_has_feature(CPU_FTR_DSCR)) in sysfs_create_dscr_default() 676 if (cpu_has_feature(CPU_FTR_SMT)) in register_cpu_online() 718 if (cpu_has_feature(CPU_FTR_MMCRA)) in register_cpu_online() 721 if (cpu_has_feature(CPU_FTR_PURR)) { in register_cpu_online() 727 if (cpu_has_feature(CPU_FTR_SPURR)) in register_cpu_online() 730 if (cpu_has_feature(CPU_FTR_DSCR)) in register_cpu_online() 733 if (cpu_has_feature(CPU_FTR_PPCAS_ARCH_V2)) in register_cpu_online() 760 if (cpu_has_feature(CPU_FTR_SMT)) in unregister_cpu_online() 802 if (cpu_has_feature(CPU_FTR_MMCRA)) in unregister_cpu_online() [all …]
|
D | process.c | 445 if (cpu_has_feature(CPU_FTR_DABRX)) in __set_dabr() 501 if (cpu_has_feature(CPU_FTR_DAWR)) in __set_breakpoint() 666 if (!cpu_has_feature(CPU_FTR_TM)) in tm_recheckpoint_new_task() 716 if (cpu_has_feature(CPU_FTR_TM)) { in __switch_to_tm() 1025 if ((regs->trap != 0xc00) && cpu_has_feature(CPU_FTR_CFAR)) in show_regs() 1214 if (cpu_has_feature(CPU_FTR_DSCR)) { in copy_thread() 1218 if (cpu_has_feature(CPU_FTR_HAS_PPR)) in copy_thread() 1329 if (cpu_has_feature(CPU_FTR_TM)) in start_thread() 1351 if (cpu_has_feature(CPU_FTR_SPE)) { in set_fpexc_mode() 1396 if (cpu_has_feature(CPU_FTR_SPE)) { in get_fpexc_mode() [all …]
|
D | irq.c | 185 if (cpu_has_feature(CPU_FTR_HVMODE)) in __check_irq_replay() 384 if (cpu_has_feature(CPU_FTR_HVMODE)) { in arch_show_interrupts() 393 if (cpu_has_feature(CPU_FTR_DBELL)) { in arch_show_interrupts()
|
D | setup_64.c | 210 if (cpu_has_feature(CPU_FTR_HVMODE) && in cpu_ready_for_interrupts() 211 cpu_has_feature(CPU_FTR_ARCH_207S)) { in cpu_ready_for_interrupts() 620 if (cpu_has_feature(CPU_FTR_DEBUG_LVL_EXC)) in exc_lvl_early_init()
|
D | setup-common.c | 245 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in show_cpuinfo() 493 if (!cpu_has_feature(CPU_FTR_SMT)) { in smp_setup_cpu_maps() 519 if (cpu_has_feature(CPU_FTR_SMT)) in smp_setup_cpu_maps()
|
D | signal_64.c | 115 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in setup_sigcontext() 233 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in setup_tm_sigcontexts() 374 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in restore_sigcontext() 508 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in restore_tm_sigcontexts()
|
D | align.c | 779 if (cpu_has_feature(CPU_FTR_NODSISRALIGN)) { in fix_alignment() 782 if (cpu_has_feature(CPU_FTR_PPC_LE) && (regs->msr & MSR_LE)) in fix_alignment() 787 if (cpu_has_feature(CPU_FTR_REAL_LE) && (regs->msr & MSR_LE)) in fix_alignment() 836 if (cpu_has_feature(CPU_FTR_PPC_LE)) in fix_alignment()
|
D | tau_6xx.c | 224 if (!cpu_has_feature(CPU_FTR_TAU)) { in TAU_init()
|
D | paca.c | 196 if (cpu_has_feature(CPU_FTR_HVMODE)) in setup_paca()
|
D | signal_32.c | 440 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in save_user_regs() 575 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in save_tm_user_regs() 717 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in restore_user_regs() 833 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in restore_tm_user_regs() 1535 if (!cpu_has_feature(CPU_FTR_TM)) in sys_sigreturn()
|
D | time.c | 189 if (cpu_has_feature(CPU_FTR_SPURR)) in read_spurr() 191 if (cpu_has_feature(CPU_FTR_PURR)) in read_spurr() 650 cpu_has_feature(CPU_FTR_ARCH_207S)) in running_clock()
|
D | smp.c | 97 if (system_state == SYSTEM_BOOTING && cpu_has_feature(CPU_FTR_SMT)) { in smp_generic_cpu_bootable() 746 if (cpu_has_feature(CPU_FTR_ASYM_SMT)) { in powerpc_smt_flags()
|
D | hw_breakpoint.c | 174 if (cpu_has_feature(CPU_FTR_DAWR)) { in arch_validate_hwbkpt_settings()
|
D | traps.c | 1075 cpu_has_feature(CPU_FTR_DSCR)) { in emulate_instruction() 1086 cpu_has_feature(CPU_FTR_DSCR)) { in emulate_instruction()
|
D | ptrace.c | 1629 if (cpu_has_feature(CPU_FTR_DAWR)) in arch_ptrace()
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | dcr-native.h | 69 else if (likely(cpu_has_feature(CPU_FTR_INDEXED_DCR))) \ 80 else if (likely(cpu_has_feature(CPU_FTR_INDEXED_DCR))) \ 95 if (cpu_has_feature(CPU_FTR_INDEXED_DCR)) { in __mfdcri() 112 if (cpu_has_feature(CPU_FTR_INDEXED_DCR)) { in __mtdcri() 129 if (cpu_has_feature(CPU_FTR_INDEXED_DCR)) { in __dcri_clrset()
|
D | runlatch.h | 19 if (cpu_has_feature(CPU_FTR_CTRL) && \ 31 if (cpu_has_feature(CPU_FTR_CTRL) && \
|
D | switch_to.h | 21 if (cpu_has_feature(CPU_FTR_ARCH_207S)) in save_early_sprs() 23 if (cpu_has_feature(CPU_FTR_DSCR)) in save_early_sprs()
|
D | time.h | 51 #define __USE_RTC() (!cpu_has_feature(CPU_FTR_USE_TB)) 108 if (cpu_has_feature(CPU_FTR_ARCH_207S)) in get_vtb()
|
D | mman.h | 37 if ((prot & PROT_SAO) && !cpu_has_feature(CPU_FTR_SAO)) in arch_validate_prot()
|
D | xor.h | 48 if (cpu_has_feature(CPU_FTR_ALTIVEC)) \
|
D | dbell.h | 42 if (cpu_has_feature(CPU_FTR_HVMODE)) in _ppc_msgsnd()
|
D | mmu_context.h | 71 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in switch_mm()
|
D | ptrace.h | 150 #define arch_has_block_step() (!cpu_has_feature(CPU_FTR_601))
|
D | cputime.h | 60 if (cpu_has_feature(CPU_FTR_SPURR) && in cputime_to_scaled()
|
D | kvm_book3s_64.h | 287 cpu_has_feature(CPU_FTR_ARCH_206)) in hpte_cache_flags_ok()
|
D | cputable.h | 557 static inline int cpu_has_feature(unsigned long feature) in cpu_has_feature() function
|
D | reg.h | 1215 if (cpu_has_feature(CPU_FTR_ARCH_207S)) in mfvtb()
|
/linux-4.1.27/arch/powerpc/mm/ |
D | icswx.c | 89 if (!cpu_has_feature(CPU_FTR_ICSWX)) in use_cop() 133 if (!cpu_has_feature(CPU_FTR_ICSWX)) in drop_cop() 203 if (!cpu_has_feature(CPU_FTR_ICSWX)) { in acop_handle_fault()
|
D | pgtable.c | 75 if (pte_looks_normal(pte) && !(cpu_has_feature(CPU_FTR_COHERENT_ICACHE) || in set_pte_filter() 76 cpu_has_feature(CPU_FTR_NOEXECUTE))) { in set_pte_filter()
|
D | hugetlbpage-hash64.c | 67 if (!cpu_has_feature(CPU_FTR_COHERENT_ICACHE)) in __hash_page_huge()
|
D | hugepage-hash64.c | 71 if (!cpu_has_feature(CPU_FTR_COHERENT_ICACHE)) { in __hash_page_thp()
|
D | ppc_mmu_32.c | 124 (cpu_has_feature(CPU_FTR_NEED_COHERENT) == 0)) in setbat()
|
D | fault.c | 403 (cpu_has_feature(CPU_FTR_NOEXECUTE) || in do_page_fault()
|
D | hash_utils_64.c | 464 return !cpu_has_feature(CPU_FTR_ARCH_207S); in might_have_hea() 1319 if (local && cpu_has_feature(CPU_FTR_TM) && in flush_hash_page() 1390 if (local && cpu_has_feature(CPU_FTR_TM) && in flush_hash_hugepage()
|
D | mem.c | 401 if (cpu_has_feature(CPU_FTR_COHERENT_ICACHE)) in flush_dcache_page()
|
/linux-4.1.27/arch/powerpc/xmon/ |
D | ppc-dis.c | 41 if (cpu_has_feature(CPU_FTRS_POWER5)) in print_insn_powerpc() 44 if (cpu_has_feature(CPU_FTRS_CELL)) in print_insn_powerpc() 47 if (cpu_has_feature(CPU_FTRS_POWER6)) in print_insn_powerpc()
|
D | xmon.c | 282 if (!cpu_has_feature(CPU_FTR_ARCH_207S)) in write_ciabr() 285 if (cpu_has_feature(CPU_FTR_HVMODE)) { in write_ciabr() 303 if (cpu_has_feature(CPU_FTR_HVMODE)) in set_ciabr() 1207 if (!cpu_has_feature(CPU_FTR_ARCH_207S)) { in bpt_cmds() 1558 if (TRAP(fp) != 0xc00 && cpu_has_feature(CPU_FTR_CFAR)) { in prregs()
|
/linux-4.1.27/arch/powerpc/platforms/powernv/ |
D | smp.c | 53 if (cpu_has_feature(CPU_FTR_DBELL)) in pnv_smp_setup_cpu() 166 if (cpu_has_feature(CPU_FTR_ARCH_207S)) in pnv_smp_cpu_kill_self() 229 if (cpu_has_feature(CPU_FTR_ARCH_207S)) in pnv_cpu_bootable()
|
D | subcore.c | 410 if (!cpu_has_feature(CPU_FTR_ARCH_207S)) in subcore_init()
|
/linux-4.1.27/arch/powerpc/platforms/pseries/ |
D | smp.c | 147 if (cpu_has_feature(CPU_FTR_DBELL)) in smp_xics_setup_cpu() 204 if (cpu_has_feature(CPU_FTR_DBELL)) { in pSeries_smp_probe() 242 if (cpu_has_feature(CPU_FTR_SMT)) { in smp_init_pseries()
|
D | hvCall_inst.c | 62 if (cpu_has_feature(CPU_FTR_PURR)) in hc_show()
|
D | lpar.c | 78 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in vpa_init() 81 if (cpu_has_feature(CPU_FTR_ARCH_207S)) in vpa_init()
|
/linux-4.1.27/arch/powerpc/kvm/ |
D | book3s_hv_builtin.c | 83 if (!cpu_has_feature(CPU_FTR_HVMODE)) in kvm_cma_reserve() 208 if (cpu_has_feature(CPU_FTR_ARCH_207S) && in kvmhv_rm_send_ipi()
|
D | book3s_pr.c | 105 if (cpu_has_feature(CPU_FTR_HVMODE) && in kvmppc_core_vcpu_load_pr() 106 cpu_has_feature(CPU_FTR_ARCH_207S)) in kvmppc_core_vcpu_load_pr() 137 if (cpu_has_feature(CPU_FTR_HVMODE) && in kvmppc_core_vcpu_put_pr() 138 cpu_has_feature(CPU_FTR_ARCH_207S)) in kvmppc_core_vcpu_put_pr() 176 if (cpu_has_feature(CPU_FTR_ARCH_207S)) in kvmppc_copy_to_svcpu() 230 if (cpu_has_feature(CPU_FTR_ARCH_207S)) in kvmppc_copy_from_svcpu() 727 if (!cpu_has_feature(CPU_FTR_VSX)) in kvmppc_handle_ext() 831 BUG_ON(!cpu_has_feature(CPU_FTR_ARCH_207S)); in kvmppc_handle_fac()
|
D | powerpc.c | 258 if (!cpu_has_feature(CPU_FTR_EMB_HV)) in kvmppc_sanity_check() 914 if (!cpu_has_feature(CPU_FTR_ALTIVEC)) { in kvm_vcpu_ioctl_get_one_reg() 921 if (!cpu_has_feature(CPU_FTR_ALTIVEC)) { in kvm_vcpu_ioctl_get_one_reg() 965 if (!cpu_has_feature(CPU_FTR_ALTIVEC)) { in kvm_vcpu_ioctl_set_one_reg() 972 if (!cpu_has_feature(CPU_FTR_ALTIVEC)) { in kvm_vcpu_ioctl_set_one_reg() 979 if (!cpu_has_feature(CPU_FTR_ALTIVEC)) { in kvm_vcpu_ioctl_set_one_reg()
|
D | book3s_hv.c | 91 if (cpu_has_feature(CPU_FTR_ARCH_207S)) { in kvmppc_ipi_thread() 252 if (!cpu_has_feature(CPU_FTR_ARCH_207S)) { in kvmppc_set_arch_compat() 599 cpu_has_feature(CPU_FTR_ARCH_207S)) in kvmppc_power8_compatible() 1013 if (cpu_has_feature(CPU_FTR_ARCH_207S)) in kvmppc_set_lpcr() 1164 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in kvmppc_get_one_reg_hv() 1193 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in kvmppc_get_one_reg_hv() 1372 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in kvmppc_set_one_reg_hv() 1400 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in kvmppc_set_one_reg_hv() 1443 if (cpu_has_feature(CPU_FTR_ARCH_207S)) in kvmppc_vcore_create() 2550 if (cpu_has_feature(CPU_FTR_ARCH_207S)) in kvmppc_core_init_vm_hv() [all …]
|
D | booke.c | 180 if (cpu_has_feature(CPU_FTR_ALTIVEC)) { in kvmppc_load_guest_altivec() 198 if (cpu_has_feature(CPU_FTR_ALTIVEC)) { in kvmppc_save_guest_altivec() 363 if (cpu_has_feature(CPU_FTR_DEBUG_LVL_EXC)) { in set_guest_dsrr() 465 if (cpu_has_feature(CPU_FTR_DEBUG_LVL_EXC)) in kvmppc_booke_irqprio_deliver() 753 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in kvmppc_vcpu_run()
|
D | book3s.c | 556 if (cpu_has_feature(CPU_FTR_VSX)) { in kvmppc_get_one_reg() 632 if (cpu_has_feature(CPU_FTR_VSX)) { in kvmppc_set_one_reg()
|
D | book3s_xics.c | 1342 if (cpu_has_feature(CPU_FTR_ARCH_206)) { in kvmppc_xics_create()
|
D | book3s_64_mmu_hv.c | 229 if (!cpu_has_feature(CPU_FTR_HVMODE)) in kvmppc_mmu_hv_init()
|
/linux-4.1.27/arch/powerpc/platforms/85xx/ |
D | smp.c | 210 if (WARN_ON_ONCE(!cpu_has_feature(CPU_FTR_SMT))) in smp_85xx_kick_cpu() 439 if (cpu_has_feature(CPU_FTR_DBELL)) in smp_85xx_basic_setup() 472 if (cpu_has_feature(CPU_FTR_DBELL)) { in mpc85xx_smp_init()
|
/linux-4.1.27/drivers/cpufreq/ |
D | pmac32-cpufreq.c | 267 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in pmu_set_cpu_speed() 340 cpu_has_feature(CPU_FTR_L3CR)) { in do_set_cpu_speed() 349 cpu_has_feature(CPU_FTR_L3CR)) { in do_set_cpu_speed()
|
/linux-4.1.27/arch/powerpc/platforms/cell/ |
D | pervasive.c | 118 if (!cpu_has_feature(CPU_FTR_PAUSE_ZERO)) in cbe_pervasive_init()
|
D | smp.c | 151 if (cpu_has_feature(CPU_FTR_SMT)) { in smp_init_cell()
|
/linux-4.1.27/include/linux/raid/ |
D | pq.h | 60 #define cpu_has_feature(x) 1 macro
|
/linux-4.1.27/drivers/misc/cxl/ |
D | main.c | 194 if (!cpu_has_feature(CPU_FTR_HVMODE)) in init_cxl()
|
D | cxl.h | 528 WARN_ON(!cpu_has_feature(CPU_FTR_HVMODE)); in _cxl_p1_addr() 539 WARN_ON(!cpu_has_feature(CPU_FTR_HVMODE)); in _cxl_p1n_addr()
|
/linux-4.1.27/arch/powerpc/sysdev/xics/ |
D | icp-native.c | 150 if (cpu_has_feature(CPU_FTR_DBELL) && in icp_native_cause_ipi()
|
/linux-4.1.27/arch/powerpc/platforms/powermac/ |
D | smp.c | 673 if (!cpu_has_feature(CPU_FTR_L2CR)) in core99_init_caches() 686 if (!cpu_has_feature(CPU_FTR_L3CR)) in core99_init_caches()
|
D | setup.c | 251 if (cpu_has_feature(CPU_FTR_L2CR)) { in l2cr_init()
|
/linux-4.1.27/arch/powerpc/perf/ |
D | power8-pmu.c | 489 if (cpu_has_feature(CPU_FTR_HVMODE)) in power8_compute_mmcr() 839 if (cpu_has_feature(CPU_FTR_PMAO_BUG)) in init_power8_pmu()
|
D | core-book3s.c | 609 if (!cpu_has_feature(CPU_FTR_PMAO_BUG)) in pmao_restore_workaround()
|
/linux-4.1.27/lib/raid6/ |
D | altivec.uc | 113 return cpu_has_feature(CPU_FTR_ALTIVEC);
|
/linux-4.1.27/arch/powerpc/lib/ |
D | sstep.c | 1987 cpu_has_feature(CPU_FTR_REAL_LE)) { in emulate_step()
|
/linux-4.1.27/drivers/macintosh/ |
D | via-pmu.c | 2219 if (cpu_has_feature(CPU_FTR_ALTIVEC)) in powerbook_sleep()
|