/arch/arm64/geniezone/ |
D | vm.c | 127 int gzvm_arch_check_extension(struct gzvm *gzvm, __u64 cap, void __user *argp) in gzvm_arch_check_extension() argument 131 switch (cap) { in gzvm_arch_check_extension() 197 struct gzvm_enable_cap *cap, in gzvm_vm_arch_enable_cap() argument 201 cap->cap, cap->args[0], cap->args[1], in gzvm_vm_arch_enable_cap() 202 cap->args[2], cap->args[3], cap->args[4], in gzvm_vm_arch_enable_cap() 219 struct gzvm_enable_cap *cap, in gzvm_vm_ioctl_get_pvmfw_size() argument 224 if (gzvm_vm_arch_enable_cap(gzvm, cap, &res) != 0) in gzvm_vm_ioctl_get_pvmfw_size() 227 cap->args[1] = res.a1; in gzvm_vm_ioctl_get_pvmfw_size() 228 if (copy_to_user(argp, cap, sizeof(*cap))) in gzvm_vm_ioctl_get_pvmfw_size() 369 struct gzvm_enable_cap *cap, in gzvm_vm_ioctl_cap_pvm() argument [all …]
|
/arch/x86/include/asm/ |
D | acpi.h | 108 static inline void arch_acpi_set_proc_cap_bits(u32 *cap) in arch_acpi_set_proc_cap_bits() argument 112 *cap |= ACPI_PROC_CAP_C_CAPABILITY_SMP; in arch_acpi_set_proc_cap_bits() 115 *cap |= ACPI_PROC_CAP_SMP_T_SWCOORD; in arch_acpi_set_proc_cap_bits() 118 *cap |= ACPI_PROC_CAP_EST_CAPABILITY_SWSMP; in arch_acpi_set_proc_cap_bits() 121 *cap |= ACPI_PROC_CAP_T_FFH; in arch_acpi_set_proc_cap_bits() 124 *cap |= ACPI_PROC_CAP_COLLAB_PROC_PERF; in arch_acpi_set_proc_cap_bits() 132 *cap &= ~(ACPI_PROC_CAP_C_C1_FFH | ACPI_PROC_CAP_C_C2C3_FFH); in arch_acpi_set_proc_cap_bits() 142 xen_sanitize_proc_cap_bits(cap); in arch_acpi_set_proc_cap_bits()
|
D | intel_pt.h | 31 extern u32 intel_pt_validate_hw_cap(enum pt_capabilities cap); 32 extern u32 intel_pt_validate_cap(u32 *caps, enum pt_capabilities cap); 36 static inline u32 intel_pt_validate_hw_cap(enum pt_capabilities cap) { return 0; } in intel_pt_validate_hw_cap() argument
|
D | irq_remapping.h | 38 extern bool irq_remapping_cap(enum irq_remap_cap cap); 55 static inline bool irq_remapping_cap(enum irq_remap_cap cap) { return 0; } in irq_remapping_cap() argument
|
/arch/arm64/include/asm/ |
D | alternative-macros.h | 103 .macro alternative_insn insn1, insn2, cap, enable = 1 107 altinstruction_entry 661b, 663f, \cap, 662b-661b, 664f-663f 139 .macro alternative_if_not cap 142 altinstruction_entry 661f, 663f, \cap, 662f-661f, 664f-663f 147 .macro alternative_if cap 150 altinstruction_entry 663f, 661f, \cap, 664f-663f, 662f-661f 157 .macro alternative_cb cap, cb 160 altinstruction_entry 661f, \cb, (1 << ARM64_CB_SHIFT) | \cap, 662f-661f, 0 208 #define _ALTERNATIVE_CFG(insn1, insn2, cap, cfg, ...) \ argument 209 alternative_insn insn1, insn2, cap, IS_ENABLED(cfg)
|
D | spectre.h | 85 bool has_spectre_v2(const struct arm64_cpu_capabilities *cap, int scope); 88 bool has_spectre_v3a(const struct arm64_cpu_capabilities *cap, int scope); 92 bool has_spectre_v4(const struct arm64_cpu_capabilities *cap, int scope);
|
D | cpufeature.h | 349 void (*cpu_enable)(const struct arm64_cpu_capabilities *cap); 385 static inline int cpucap_default_scope(const struct arm64_cpu_capabilities *cap) in cpucap_default_scope() argument 387 return cap->type & ARM64_CPUCAP_SCOPE_MASK; in cpucap_default_scope() 429 #define for_each_available_cap(cap) \ argument 430 for_each_set_bit(cap, system_cpucaps, ARM64_NCAPS) 432 bool this_cpu_has_cap(unsigned int cap); 540 cpuid_feature_cap_perfmon_field(u64 features, int field, u64 cap) in cpuid_feature_cap_perfmon_field() argument 549 if (val > cap) { in cpuid_feature_cap_perfmon_field() 551 features |= (cap << field) & mask; in cpuid_feature_cap_perfmon_field()
|
/arch/powerpc/include/asm/ |
D | async_tx.h | 12 ppc440spe_async_tx_find_best_channel(enum dma_transaction_type cap, 16 #define async_tx_find_channel(dep, cap, dst_lst, dst_cnt, src_lst, \ argument 18 ppc440spe_async_tx_find_best_channel(cap, dst_lst, dst_cnt, src_lst, \
|
/arch/x86/kernel/ |
D | vsmp_64.c | 30 unsigned int cap, ctl, cfg; in set_vsmp_ctl() local 35 cap = readl(address); in set_vsmp_ctl() 38 cap, ctl); in set_vsmp_ctl() 42 if (cap & ctl & BIT(8)) { in set_vsmp_ctl()
|
D | aperture_64.c | 140 static u32 __init find_cap(int bus, int slot, int func, int cap) in find_cap() argument 157 if (id == cap) in find_cap() 166 static u32 __init read_agp(int bus, int slot, int func, int cap, u32 *order) in read_agp() argument 176 apsizereg = read_pci_config_16(bus, slot, func, cap + 0x14); in read_agp() 242 u32 class, cap; in search_agp_bridge() local 253 cap = find_cap(bus, slot, func, in search_agp_bridge() 255 if (!cap) in search_agp_bridge() 258 return read_agp(bus, slot, func, cap, in search_agp_bridge()
|
/arch/sparc/kernel/ |
D | setup_64.c | 533 unsigned long cap = sparc64_elf_hwcap; in init_sparc64_elf_hwcap() local 537 cap |= HWCAP_SPARC_ULTRA3; in init_sparc64_elf_hwcap() 549 cap |= HWCAP_SPARC_BLKINIT; in init_sparc64_elf_hwcap() 559 cap |= HWCAP_SPARC_N2; in init_sparc64_elf_hwcap() 562 cap |= (AV_SPARC_MUL32 | AV_SPARC_DIV32 | AV_SPARC_V8PLUS); in init_sparc64_elf_hwcap() 567 cap |= AV_SPARC_VIS; in init_sparc64_elf_hwcap() 569 cap |= AV_SPARC_VIS | AV_SPARC_VIS2; in init_sparc64_elf_hwcap() 576 cap |= AV_SPARC_POPC; in init_sparc64_elf_hwcap() 580 cap |= AV_SPARC_ASI_BLK_INIT; in init_sparc64_elf_hwcap() 590 cap |= (AV_SPARC_VIS | AV_SPARC_VIS2 | in init_sparc64_elf_hwcap() [all …]
|
/arch/arm64/kernel/ |
D | cpufeature.c | 174 static void cpu_enable_cnp(struct arm64_cpu_capabilities const *cap); 1879 static bool cpu_can_use_dbm(const struct arm64_cpu_capabilities *cap) in cpu_can_use_dbm() argument 1881 return has_cpuid_feature(cap, SCOPE_LOCAL_CPU) && in cpu_can_use_dbm() 1885 static void cpu_enable_hw_dbm(struct arm64_cpu_capabilities const *cap) in cpu_enable_hw_dbm() argument 1887 if (cpu_can_use_dbm(cap)) in cpu_enable_hw_dbm() 1891 static bool has_hw_dbm(const struct arm64_cpu_capabilities *cap, in has_hw_dbm() argument 1912 if (!detected && cpu_can_use_dbm(cap)) { in has_hw_dbm() 1945 static void cpu_amu_enable(struct arm64_cpu_capabilities const *cap) in cpu_amu_enable() argument 1947 if (has_cpuid_feature(cap, SCOPE_LOCAL_CPU)) { in cpu_amu_enable() 1958 static bool has_amu(const struct arm64_cpu_capabilities *cap, in has_amu() argument [all …]
|
/arch/arm/boot/dts/intel/socfpga/ |
D | socfpga_arria10_socdk_sdmmc.dts | 11 cap-sd-highspeed; 12 cap-mmc-highspeed;
|
D | socfpga_arria5.dtsi | 24 cap-mmc-highspeed; 25 cap-sd-highspeed;
|
D | socfpga_cyclone5.dtsi | 24 cap-mmc-highspeed; 25 cap-sd-highspeed;
|
D | socfpga_vt.dts | 35 cap-mmc-highspeed; 36 cap-sd-highspeed;
|
/arch/arm64/boot/dts/rockchip/ |
D | rk3568-fastrhino-r66s.dts | 20 cap-mmc-highspeed; 21 cap-sd-highspeed;
|
D | rk3308-rock-pi-s.dts | 136 cap-mmc-highspeed; 137 cap-sd-highspeed; 237 cap-sd-highspeed; 238 cap-sdio-irq; 261 cap-mmc-highspeed; 262 cap-sd-highspeed;
|
D | px30-engicam-common.dtsi | 67 cap-sdio-irq; 68 cap-sd-highspeed; 95 cap-sd-highspeed;
|
/arch/arm/boot/dts/rockchip/ |
D | rockchip-radxa-dalang-carrier.dtsi | 91 cap-sd-highspeed; 92 cap-sdio-irq; 104 cap-mmc-highspeed; 105 cap-sd-highspeed;
|
/arch/mips/boot/dts/ingenic/ |
D | jz4770.dtsi | 274 cap-sd-highspeed; 275 cap-mmc-highspeed; 276 cap-sdio-irq; 294 cap-sd-highspeed; 295 cap-mmc-highspeed; 296 cap-sdio-irq; 314 cap-sd-highspeed; 315 cap-mmc-highspeed; 316 cap-sdio-irq;
|
/arch/powerpc/kernel/ |
D | eeh_pe.c | 634 int cap; in eeh_bridge_check_link() local 648 cap = edev->pcie_cap; in eeh_bridge_check_link() 649 eeh_ops->read_config(edev, cap + PCI_EXP_SLTSTA, 2, &val); in eeh_bridge_check_link() 656 eeh_ops->read_config(edev, cap + PCI_EXP_SLTCAP, 2, &val); in eeh_bridge_check_link() 658 eeh_ops->read_config(edev, cap + PCI_EXP_SLTCTL, 2, &val); in eeh_bridge_check_link() 663 eeh_ops->write_config(edev, cap + PCI_EXP_SLTCTL, 2, val); in eeh_bridge_check_link() 669 eeh_ops->read_config(edev, cap + PCI_EXP_LNKCTL, 2, &val); in eeh_bridge_check_link() 671 eeh_ops->write_config(edev, cap + PCI_EXP_LNKCTL, 2, val); in eeh_bridge_check_link() 686 eeh_ops->read_config(edev, cap + PCI_EXP_LNKSTA, 2, &val); in eeh_bridge_check_link()
|
/arch/arm/boot/dts/marvell/ |
D | kirkwood-6192.dtsi | 92 cap-sdio-irq; 93 cap-sd-highspeed; 94 cap-mmc-highspeed;
|
D | kirkwood-6281.dtsi | 94 cap-sdio-irq; 95 cap-sd-highspeed; 96 cap-mmc-highspeed;
|
/arch/ia64/include/asm/ |
D | acpi.h | 72 static inline void arch_acpi_set_proc_cap_bits(u32 *cap) in arch_acpi_set_proc_cap_bits() argument 74 *cap |= ACPI_PROC_CAP_EST_CAPABILITY_SMP; in arch_acpi_set_proc_cap_bits()
|