| /arch/powerpc/perf/ |
| A D | hv-common.c | 8 unsigned long hv_perf_caps_get(struct hv_perf_caps *caps) in hv_perf_caps_get() argument 13 struct hv_gpci_system_performance_capabilities caps; in hv_perf_caps_get() member 31 pr_devel("capability_mask: 0x%x\n", arg.caps.capability_mask); in hv_perf_caps_get() 33 caps->version = arg.params.counter_info_version_out; in hv_perf_caps_get() 34 caps->collect_privileged = !!arg.caps.perf_collect_privileged; in hv_perf_caps_get() 35 caps->ga = !!(arg.caps.capability_mask & HV_GPCI_CM_GA); in hv_perf_caps_get() 36 caps->expanded = !!(arg.caps.capability_mask & HV_GPCI_CM_EXPANDED); in hv_perf_caps_get() 37 caps->lab = !!(arg.caps.capability_mask & HV_GPCI_CM_LAB); in hv_perf_caps_get()
|
| A D | hv-common.h | 17 unsigned long hv_perf_caps_get(struct hv_perf_caps *caps);
|
| A D | hv-gpci.c | 83 struct hv_perf_caps caps; \ 84 unsigned long hret = hv_perf_caps_get(&caps); \ 88 return sprintf(page, _format, caps._name); \ 989 struct hv_perf_caps caps; in hv_gpci_init() local 999 hret = hv_perf_caps_get(&caps); in hv_gpci_init()
|
| A D | hv-24x7.c | 1377 struct hv_perf_caps caps; in h_24x7_event_init() local 1416 hret = hv_perf_caps_get(&caps); in h_24x7_event_init() 1423 if (!caps.collect_privileged && (is_physical_domain(domain) || in h_24x7_event_init() 1699 struct hv_perf_caps caps; in hv_24x7_init() local 1718 hret = hv_perf_caps_get(&caps); in hv_24x7_init()
|
| /arch/powerpc/platforms/pseries/ |
| A D | vas-sysfs.c | 23 struct vas_cop_feat_caps *caps; member 48 err = vas_reconfig_capabilties(caps->win_type, creds); in update_total_credits_store() 125 struct vas_cop_feat_caps *caps; in vas_type_show() local 129 caps = centry->caps; in vas_type_show() 135 return entry->show(caps, buf); in vas_type_show() 142 struct vas_cop_feat_caps *caps; in vas_type_store() local 146 caps = centry->caps; in vas_type_store() 151 return entry->store(caps, buf, count); in vas_type_store() 180 struct vas_cop_feat_caps *caps = centry->caps; in vas_caps_kobj_name() local 182 if (caps->descriptor == VAS_GZIP_QOS_CAPABILITIES) { in vas_caps_kobj_name() [all …]
|
| A D | vas.c | 323 struct vas_caps *caps; in vas_allocate_window() local 360 cop_feat_caps = &caps->caps; in vas_allocate_window() 452 caps->nr_open_windows++; in vas_allocate_window() 475 caps->nr_open_wins_progress--; in vas_allocate_window() 529 caps = &vascaps[win->win_type].caps; in vas_deallocate_window() 601 caps = &vcaps->caps; in get_vas_capabilities() 634 rc = sysfs_add_vas_caps(caps); in get_vas_capabilities() 655 struct vas_cop_feat_caps *caps = &vcaps->caps; in reconfig_open_windows() local 722 caps->win_type); in reconfig_open_windows() 864 caps = &vcaps->caps; in vas_reconfig_capabilties() [all …]
|
| A D | vas.h | 92 struct vas_cop_feat_caps caps; member 140 int sysfs_add_vas_caps(struct vas_cop_feat_caps *caps);
|
| /arch/sparc/include/asm/ |
| A D | adi_64.h | 22 struct adi_caps caps; member 36 return adi_state.caps.blksz; in adi_blksize() 41 return adi_state.caps.nbits; in adi_nbits()
|
| A D | elf_64.h | 222 NEW_AUX_ENT(AT_ADI_BLKSZ, adi_state.caps.blksz); \ 223 NEW_AUX_ENT(AT_ADI_NBITS, adi_state.caps.nbits); \ 224 NEW_AUX_ENT(AT_ADI_UEONADI, adi_state.caps.ue_on_adi); \
|
| /arch/sparc/kernel/ |
| A D | setup_64.c | 400 unsigned long caps = sparc64_elf_hwcap; in cpucap_info() local 406 if (hwcaps[i] && (caps & bit)) { in cpucap_info() 412 if (caps & HWCAP_SPARC_CRYPTO) { in cpucap_info() 454 static void __init report_hwcaps(unsigned long caps) in report_hwcaps() argument 460 if (hwcaps[i] && (caps & bit)) in report_hwcaps() 463 if (caps & HWCAP_SPARC_CRYPTO) in report_hwcaps() 472 unsigned long caps = 0; in mdesc_cpu_hwcap_list() local 496 caps |= bit; in mdesc_cpu_hwcap_list() 502 caps |= HWCAP_SPARC_CRYPTO; in mdesc_cpu_hwcap_list() 512 return caps; in mdesc_cpu_hwcap_list()
|
| A D | adi_64.c | 88 adi_state.caps.blksz = *val; in mdesc_adi_init() 93 adi_state.caps.nbits = *val; in mdesc_adi_init() 98 adi_state.caps.ue_on_adi = *val; in mdesc_adi_init() 108 if (adi_state.caps.nbits > 4) { in mdesc_adi_init() 118 adi_state.caps.blksz = 0; in mdesc_adi_init() 119 adi_state.caps.nbits = 0; in mdesc_adi_init()
|
| /arch/arm64/kernel/ |
| A D | cpufeature.c | 1083 for (; caps->matches; caps++) { in init_cpucap_indirect_list_from_array() 1091 cpucap_ptrs[caps->capability] = caps; in init_cpucap_indirect_list_from_array() 3457 if (!caps || !(caps->type & scope_mask)) in update_cpu_capabilities() 3479 if (!caps->matches(caps, cpucap_default_scope(caps))) { in update_cpu_capabilities() 3538 if (!caps || !(caps->type & scope_mask) || in enable_cpu_capabilities() 3552 caps->cpu_enable(caps); in enable_cpu_capabilities() 3581 if (!caps || !(caps->type & scope_mask)) in verify_local_cpu_caps() 3601 caps->cpu_enable(caps); in verify_local_cpu_caps() 3639 for (; caps->matches; caps++) in __verify_local_elf_hwcaps() 3640 if (cpus_have_elf_hwcap(caps) && !caps->matches(caps, SCOPE_LOCAL_CPU)) { in __verify_local_elf_hwcaps() [all …]
|
| /arch/x86/include/asm/ |
| A D | intel_pt.h | 32 extern u32 intel_pt_validate_cap(u32 *caps, enum pt_capabilities cap); 37 static inline u32 intel_pt_validate_cap(u32 *caps, enum pt_capabilities capability) { return 0; } in intel_pt_validate_cap() argument
|
| /arch/arm64/include/asm/ |
| A D | cpufeature.h | 356 bool (*matches)(const struct arm64_cpu_capabilities *caps, int scope); 426 const struct arm64_cpu_capabilities *caps; in cpucap_multi_entry_cap_matches() local 428 for (caps = entry->match_list; caps->matches; caps++) in cpucap_multi_entry_cap_matches() 429 if (caps->matches(caps, scope)) in cpucap_multi_entry_cap_matches()
|
| /arch/x86/events/intel/ |
| A D | pt.h | 42 u32 caps[PT_CPUID_REGS_NUM * PT_CPUID_LEAVES]; member
|
| A D | pt.c | 77 u32 intel_pt_validate_cap(u32 *caps, enum pt_capabilities capability) in intel_pt_validate_cap() argument 80 u32 c = caps[cd->leaf * PT_CPUID_REGS_NUM + cd->reg]; in intel_pt_validate_cap() 89 return intel_pt_validate_cap(pt_pmu.caps, cap); in intel_pt_validate_hw_cap() 241 &pt_pmu.caps[CPUID_EAX + i*PT_CPUID_REGS_NUM], in pt_pmu_hw_init() 242 &pt_pmu.caps[CPUID_EBX + i*PT_CPUID_REGS_NUM], in pt_pmu_hw_init() 243 &pt_pmu.caps[CPUID_ECX + i*PT_CPUID_REGS_NUM], in pt_pmu_hw_init() 244 &pt_pmu.caps[CPUID_EDX + i*PT_CPUID_REGS_NUM]); in pt_pmu_hw_init()
|
| /arch/x86/include/asm/amd/ |
| A D | ibs.h | 153 u32 caps; member
|
| /arch/x86/events/amd/ |
| A D | ibs.c | 1270 ibs_data.caps = ibs_caps; in perf_ibs_handle_irq() 1520 u32 caps; in __get_ibs_caps() local 1531 caps = cpuid_eax(IBS_CPUID_FEATURES); in __get_ibs_caps() 1532 if (!(caps & IBS_CAPS_AVAIL)) in __get_ibs_caps() 1536 return caps; in __get_ibs_caps() 1757 u32 caps; in amd_ibs_init() local 1759 caps = __get_ibs_caps(); in amd_ibs_init() 1760 if (!caps) in amd_ibs_init() 1770 ibs_caps = caps; in amd_ibs_init()
|
| /arch/x86/kvm/vmx/ |
| A D | tdx.c | 179 struct kvm_tdx_capabilities *caps) in init_kvm_tdx_caps() argument 184 if (!caps->supported_attrs) in init_kvm_tdx_caps() 188 if (!caps->supported_xfam) in init_kvm_tdx_caps() 193 caps->user_tdvmcallinfo_1_r11 = in init_kvm_tdx_caps() 2277 caps = kzalloc(sizeof(*caps) + in tdx_get_capabilities() 2280 if (!caps) in tdx_get_capabilities() 2294 ret = init_kvm_tdx_caps(td_conf, caps); in tdx_get_capabilities() 2298 if (copy_to_user(user_caps, caps, sizeof(*caps))) { in tdx_get_capabilities() 2304 caps->cpuid.nent * in tdx_get_capabilities() 2305 sizeof(caps->cpuid.entries[0]))) in tdx_get_capabilities() [all …]
|
| A D | vmx.c | 1589 !intel_pt_validate_cap(vmx->pt_desc.caps, in vmx_rtit_ctl_check() 2063 !intel_pt_validate_cap(vmx->pt_desc.caps, in vmx_get_msr() 2070 (!intel_pt_validate_cap(vmx->pt_desc.caps, in vmx_get_msr() 2072 !intel_pt_validate_cap(vmx->pt_desc.caps, in vmx_get_msr() 2079 (!intel_pt_validate_cap(vmx->pt_desc.caps, in vmx_get_msr() 2081 !intel_pt_validate_cap(vmx->pt_desc.caps, in vmx_get_msr() 2374 if (!intel_pt_validate_cap(vmx->pt_desc.caps, in vmx_set_msr() 2382 if (!intel_pt_validate_cap(vmx->pt_desc.caps, in vmx_set_msr() 2384 !intel_pt_validate_cap(vmx->pt_desc.caps, in vmx_set_msr() 2394 if (!intel_pt_validate_cap(vmx->pt_desc.caps, in vmx_set_msr() [all …]
|
| /arch/sh/include/asm/ |
| A D | dma.h | 73 const char **caps; member
|
| /arch/arm/boot/dts/ti/omap/ |
| A D | omap5.dtsi | 314 hw-caps-read-idle-ctrl; 315 hw-caps-ll-interface; 316 hw-caps-temp-alert; 336 hw-caps-read-idle-ctrl; 337 hw-caps-ll-interface; 338 hw-caps-temp-alert;
|
| A D | omap4.dtsi | 321 hw-caps-read-idle-ctrl; 322 hw-caps-ll-interface; 323 hw-caps-temp-alert; 343 hw-caps-read-idle-ctrl; 344 hw-caps-ll-interface; 345 hw-caps-temp-alert;
|
| /arch/arm/boot/dts/aspeed/ |
| A D | aspeed-ast2600-evb.dts | 318 sdhci-caps-mask = <0x7 0x0>; 330 sdhci-caps-mask = <0x7 0x0>;
|
| /arch/arm/boot/dts/microchip/ |
| A D | at91-sama7g5ek.dts | 846 sdhci-caps-mask = <0x0 0x00200000>; 857 sdhci-caps-mask = <0x0 0x00200000>; 868 sdhci-caps-mask = <0x0 0x00200000>;
|