| /linux/rust/syn/gen/ |
| H A D | eq.rs | 6 #[cfg(any(feature = "derive", feature = "full"))] 8 #[cfg(any(feature = "derive", feature = "full"))] 9 #[cfg_attr(docsrs, doc(cfg(feature = "extra-traits")))] 11 #[cfg(any(feature = "derive", feature = "full"))] 12 #[cfg_attr(docsrs, doc(cfg(feature = "extra-traits")))] 18 #[cfg(any(feature = "derive", feature = "full"))] 19 #[cfg_attr(docsrs, doc(cfg(feature = "extra-traits")))] 21 #[cfg(any(feature = "derive", feature = "full"))] 22 #[cfg_attr(docsrs, doc(cfg(feature = "extra-traits")))] 28 #[cfg(feature = "full")] [all …]
|
| H A D | visit_mut.rs | 8 #[cfg(any(feature = "full", feature = "derive"))] 10 #[cfg(feature = "full")] 16 #[cfg(all(feature = "derive", not(feature = "full")))] 32 #[cfg(any(feature = "derive", feature = "full"))] 33 #[cfg_attr(docsrs, doc(cfg(any(feature = "derive", feature = "full"))))] 37 #[cfg(any(feature = "derive", feature = "full"))] 38 #[cfg_attr(docsrs, doc(cfg(any(feature = "derive", feature = "full"))))] 45 #[cfg(feature = "full")] 46 #[cfg_attr(docsrs, doc(cfg(feature = "full")))] 50 #[cfg(any(feature = "derive", feature = "full"))] [all …]
|
| H A D | visit.rs | 8 #[cfg(any(feature = "full", feature = "derive"))] 10 #[cfg(feature = "full")] 16 #[cfg(all(feature = "derive", not(feature = "full")))] 31 #[cfg(any(feature = "derive", feature = "full"))] 32 #[cfg_attr(docsrs, doc(cfg(any(feature = "derive", feature = "full"))))] 36 #[cfg(any(feature = "derive", feature = "full"))] 37 #[cfg_attr(docsrs, doc(cfg(any(feature = "derive", feature = "full"))))] 44 #[cfg(feature = "full")] 45 #[cfg_attr(docsrs, doc(cfg(feature = "full")))] 49 #[cfg(any(feature = "derive", feature = "full"))] [all …]
|
| H A D | fold.rs | 12 #[cfg(feature = "full")] 18 #[cfg(all(feature = "derive", not(feature = "full")))] 30 #[cfg(any(feature = "derive", feature = "full"))] 31 #[cfg_attr(docsrs, doc(cfg(any(feature = "derive", feature = "full"))))] 35 #[cfg(any(feature = "derive", feature = "full"))] 36 #[cfg_attr(docsrs, doc(cfg(any(feature = "derive", feature = "full"))))] 43 #[cfg(feature = "full")] 44 #[cfg_attr(docsrs, doc(cfg(feature = "full")))] 48 #[cfg(any(feature = "derive", feature = "full"))] 49 #[cfg_attr(docsrs, doc(cfg(any(feature = "derive", feature = "full"))))] [all …]
|
| H A D | clone.rs | 7 #[cfg(any(feature = "derive", feature = "full"))] 8 #[cfg_attr(docsrs, doc(cfg(feature = "clone-impls")))] 17 #[cfg(any(feature = "derive", feature = "full"))] 18 #[cfg_attr(docsrs, doc(cfg(feature = "clone-impls")))] 29 #[cfg(feature = "full")] 30 #[cfg_attr(docsrs, doc(cfg(feature = "clone-impls")))] 43 #[cfg(any(feature = "derive", feature = "full"))] 44 #[cfg_attr(docsrs, doc(cfg(feature = "clone-impls")))] 55 #[cfg(any(feature = "derive", feature = "full"))] 56 #[cfg_attr(docsrs, doc(cfg(feature = "clone-impls")))] [all …]
|
| H A D | hash.rs | 6 #[cfg(any(feature = "derive", feature = "full"))] 9 #[cfg(any(feature = "derive", feature = "full"))] 10 #[cfg_attr(docsrs, doc(cfg(feature = "extra-traits")))] 19 #[cfg(any(feature = "derive", feature = "full"))] 20 #[cfg_attr(docsrs, doc(cfg(feature = "extra-traits")))] 30 #[cfg(feature = "full")] 31 #[cfg_attr(docsrs, doc(cfg(feature = "extra-traits")))] 44 #[cfg(any(feature = "derive", feature = "full"))] 45 #[cfg_attr(docsrs, doc(cfg(feature = "extra-traits")))] 56 #[cfg(any(feature = "derive", feature = "full"))] [all …]
|
| H A D | debug.rs | 8 #[cfg(any(feature = "derive", feature = "full"))] 9 #[cfg_attr(docsrs, doc(cfg(feature = "extra-traits")))] 18 #[cfg(any(feature = "derive", feature = "full"))] 19 #[cfg_attr(docsrs, doc(cfg(feature = "extra-traits")))] 25 #[cfg(any(feature = "derive", feature = "full"))] 36 #[cfg(feature = "full")] 37 #[cfg_attr(docsrs, doc(cfg(feature = "extra-traits")))] 50 #[cfg(any(feature = "derive", feature = "full"))] 51 #[cfg_attr(docsrs, doc(cfg(feature = "extra-traits")))] 62 #[cfg(any(feature = "derive", feature = "full"))] [all …]
|
| /linux/rust/syn/ |
| H A D | lib.rs | 40 //! - **Feature flags** — Functionality is aggressively feature gated so your 255 #![cfg_attr(docsrs, feature(doc_cfg))] 317 #[cfg(feature = "proc-macro")] 323 #[cfg(feature = "parsing")] 330 #[cfg(any(feature = "full", feature = "derive"))] 332 #[cfg(any(feature = "full", feature = "derive"))] 333 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 338 #[cfg(feature = "parsing")] 339 #[cfg_attr(docsrs, doc(cfg(feature = "parsing")))] 343 all(feature = "parsing", feature = "full"), [all …]
|
| H A D | fixup.rs | 5 #[cfg(feature = "full")] 10 #[cfg(feature = "full")] 14 #[cfg(feature = "full")] 16 #[cfg(feature = "full")] 29 #[cfg(feature = "full")] 61 #[cfg(feature = "full")] 77 #[cfg(feature = "full")] 93 #[cfg(feature = "full")] 104 #[cfg(feature = "full")] 113 #[cfg(feature = "full")] [all …]
|
| H A D | expr.rs | 4 #[cfg(all(feature = "parsing", feature = "full"))] 6 #[cfg(feature = "parsing")] 8 #[cfg(feature = "full")] 11 #[cfg(any(feature = "parsing", feature = "full"))] 16 #[cfg(feature = "parsing")] 18 #[cfg(feature = "full")] 22 #[cfg(feature = "full")] 25 #[cfg(feature = "full")] 29 #[cfg(feature = "printing")] 31 #[cfg(feature = "printing")] [all …]
|
| H A D | token.rs | 93 #[cfg(feature = "parsing")] 96 #[cfg(feature = "parsing")] 98 #[cfg(feature = "parsing")] 100 #[cfg(feature = "parsing")] 102 #[cfg(feature = "parsing")] 107 #[cfg(feature = "printing")] 109 #[cfg(any(feature = "parsing", feature = "printing"))] 111 #[cfg(feature = "parsing")] 113 #[cfg(feature = "printing")] 115 #[cfg(feature = "extra-traits")] [all …]
|
| H A D | generics.rs | 12 #[cfg(all(feature = "printing", feature = "extra-traits"))] 14 #[cfg(all(feature = "printing", feature = "extra-traits"))] 27 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 45 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 60 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 71 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 84 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 176 #[cfg(feature = "printing")] 177 #[cfg_attr(docsrs, doc(cfg(feature = "printing")))] 272 #[cfg(feature = "printing")] [all …]
|
| H A D | ty.rs | 23 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 96 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 107 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 122 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 132 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 141 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 149 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 157 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 165 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] 175 #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))] [all …]
|
| /linux/arch/riscv/kvm/ |
| H A D | vcpu_sbi_fwft.c | 21 * @id: Feature ID 31 * @supported: Check if the feature is supported on the vcpu 33 * This callback is optional, if not provided the feature is assumed to 39 * @reset: Reset the feature value irrespective whether feature is supported or not 46 * @set: Set the feature value 56 * @get: Get the feature current value 75 static bool kvm_fwft_is_defined_feature(enum sbi_fwft_feature_t feature) in kvm_fwft_is_defined_feature() argument 80 if (kvm_fwft_defined_features[i] == feature) in kvm_fwft_is_defined_feature() 243 const struct kvm_sbi_fwft_feature *feature; in kvm_sbi_fwft_regnum_to_feature() local 247 feature = &features[i]; in kvm_sbi_fwft_regnum_to_feature() [all …]
|
| /linux/drivers/fpga/ |
| H A D | dfl.c | 3 * Driver for FPGA Device Feature List (DFL) Support 24 * when adding a new feature dev support in DFL framework, it's required to 30 * if the new feature dev needs chardev support, then it's required to add 49 * struct dfl_dev_info - dfl feature device information. 50 * @name: name string of the feature platform device. 51 * @dfh_id: id value in Device Feature Header (DFH) register by DFL spec. 52 * @id: idr id of the feature dev. 71 * struct dfl_chardev_info - chardev information of dfl feature device 135 * in such list, then other feature devices (e.g. FME), could use the port 148 * @fdata: feature dev data to match with associated port ops. [all …]
|
| /linux/include/uapi/cxl/ |
| H A D | features.h | 29 * @count: bytes of Feature data to return in output 30 * @start_idx: index of first requested Supported Feature Entry, 0 based. 34 * Input block for Get support Feature 57 * struct cxl_feat_entry - Supported Feature Entry 58 * @uuid: UUID of the Feature 59 * @id: id to identify the feature. 0 based 60 * @get_feat_size: max bytes required for Get Feature command for this Feature 61 * @set_feat_size: max bytes required for Set Feature command for this Feature 63 * @get_feat_ver: Get Feature version 64 * @set_feat_ver: Set Feature version [all …]
|
| /linux/arch/x86/kernel/cpu/ |
| H A D | cpuid-deps.c | 8 unsigned int feature; member 99 static inline void clear_feature(struct cpuinfo_x86 *c, unsigned int feature) in clear_feature() argument 107 clear_cpu_cap(&boot_cpu_data, feature); in clear_feature() 108 set_bit(feature, (unsigned long *)cpu_caps_cleared); in clear_feature() 110 clear_bit(feature, (unsigned long *)c->x86_capability); in clear_feature() 117 static void do_clear_cpu_cap(struct cpuinfo_x86 *c, unsigned int feature) in do_clear_cpu_cap() argument 123 if (WARN_ON(feature >= MAX_FEATURE_BITS)) in do_clear_cpu_cap() 126 if (boot_cpu_has(feature)) in do_clear_cpu_cap() 129 clear_feature(c, feature); in do_clear_cpu_cap() 133 __set_bit(feature, disable); in do_clear_cpu_cap() [all …]
|
| /linux/Documentation/arch/x86/ |
| H A D | cpuinfo.rst | 4 x86 Feature Flags 10 The list of feature flags in /proc/cpuinfo is not complete and 11 represents an ill-fated attempt from long time ago to put feature flags 14 However, the number of feature flags is growing with each CPU generation, 17 What is more, those feature flags do not even need to be in that file 21 And even if it doesn't show a particular feature flag - although the CPU 24 feature and figure out if it is supported or not, regardless of whether 32 kernel has *enabled* and *supports*. As in: the CPUID feature flag is 38 So, if users want to know if a feature is available on a given system, 42 * the kernel knows about the feature enough to have an X86_FEATURE bit [all …]
|
| /linux/tools/perf/Documentation/ |
| H A D | perf-check.txt | 12 'perf check' {feature <feature_list>} [<options>] 19 If the subcommand 'feature' is used, then status of feature is printed 22 Also, 'perf check feature' returns with exit status 0 if the feature 28 feature:: 30 Print whether feature(s) is compiled-in or not, and also returns with an 31 exit status of 0, if passed feature(s) are compiled-in, else 1. 33 It expects a feature list as an argument. There can be a single feature 38 The feature names/macros are case-insensitive. 41 perf check feature libtraceevent 42 perf check feature HAVE_LIBTRACEEVENT [all …]
|
| /linux/tools/build/ |
| H A D | Makefile.feature | 2 feature_dir := $(srctree)/tools/build/feature 5 OUTPUT_FEATURES = $(OUTPUT)feature/ 11 feature-$(1) := $(shell $(MAKE) OUTPUT=$(OUTPUT_FEATURES) CC="$(CC)" CXX="$(CXX)" CFLAGS="$(EXTRA_CFLAGS) $(FEATURE_CHECK_CFLAGS-$(1))" CXXFLAGS="$(EXTRA_CXXFLAGS) $(FEATURE_CHECK_CXXFLAGS-$(1))" LDFLAGS="$(LDFLAGS) $(FEATURE_CHECK_LDFLAGS-$(1))" -C $(feature_dir) $(OUTPUT_FEATURES)test-$1.bin >/dev/null 2>/dev/null && echo 1 || echo 0) 16 feature-$(1) := 1 20 # Build the feature check binaries in parallel, ignore errors, ignore return value and suppress output: 24 # Note that this is not a complete list of all feature tests, just 27 # [ Feature tests not mentioned here have to be built explicitly in 29 # feature check. ] 32 # tools/build/feature/test-all.c and we try to build it all together 38 # $ rm -rf /tmp/b ; mkdir /tmp/b ; make -C tools/perf O=/tmp/b feature [all...] |
| /linux/tools/perf/ |
| H A D | builtin-check.c | 13 static const char * const check_subcommands[] = { "feature", NULL }; 22 "perf check feature <feature_list>", 82 /* Helper function to print status of a feature along with name/macro */ 83 void feature_status__printf(const struct feature_status *feature) in feature_status__printf() argument 85 const char *name = feature->name, *macro = feature->macro, in feature_status__printf() 86 *status = feature->is_builtin ? "on" : "OFF"; in feature_status__printf() 92 if (!feature->is_builtin && feature->tip) in feature_status__printf() 93 printf(" ( tip: %s )", feature->tip); in feature_status__printf() 99 * check whether "feature" is built-in with perf 102 * 0: NOT built-in or Feature not known [all …]
|
| /linux/Documentation/devicetree/bindings/powerpc/ |
| H A D | ibm,powerpc-cpu-features.txt | 24 Description: Container of CPU feature nodes. 51 compatibility, less the individual feature nodes. For example, an ISA v3.0 66 /cpus/ibm,powerpc-cpu-features/example-feature node bindings 69 Each child node of cpu-features represents a CPU feature / capability. 71 Node: A string describing an architected CPU feature, e.g., "floating-point". 73 Description: A feature or capability supported by the CPUs. 79 Presence of the node indicates the feature is available. 88 First level of the Power ISA that the feature appears in. 105 that can use the feature. 119 feature to lesser privilege levels. If the property does not exist then no [all …]
|
| /linux/Documentation/hid/ |
| H A D | hid-sensor.rst | 70 functions, which get and set each input/feature/output report. 121 Set Feature report:: 126 This interface is used to set a value for a field in feature report. For example 177 │ │ ├── feature-0-200316 178 │ │ │ ├── feature-0-200316-maximum 179 │ │ │ ├── feature-0-200316-minimum 180 │ │ │ ├── feature-0-200316-name 181 │ │ │ ├── feature-0-200316-size 182 │ │ │ ├── feature-0-200316-unit-expo 183 │ │ │ ├── feature-0-200316-units [all …]
|
| /linux/arch/powerpc/include/asm/ |
| H A D | cpu_has_feature.h | 10 static __always_inline bool early_cpu_has_feature(unsigned long feature) in early_cpu_has_feature() argument 12 return !!((CPU_FTRS_ALWAYS & feature) || in early_cpu_has_feature() 13 (CPU_FTRS_POSSIBLE & cur_cpu_spec->cpu_features & feature)); in early_cpu_has_feature() 23 static __always_inline bool cpu_has_feature(unsigned long feature) in cpu_has_feature() argument 27 BUILD_BUG_ON(!__builtin_constant_p(feature)); in cpu_has_feature() 28 BUILD_BUG_ON(__builtin_popcountl(feature) > 1); in cpu_has_feature() 34 return early_cpu_has_feature(feature); in cpu_has_feature() 38 if (CPU_FTRS_ALWAYS & feature) in cpu_has_feature() 41 if (!(CPU_FTRS_POSSIBLE & feature)) in cpu_has_feature() 44 i = __builtin_ctzl(feature); in cpu_has_feature() [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-block-device | 34 - If the device does not support the unload heads feature, 41 ATA standard, but support the unload feature nonetheless. 44 does support the unload feature, then you can tell the kernel 59 command queueing) priority support. By default this feature is 61 priority feature, writing "1" to this file results in an error 72 (HBA) implementing support for the SATA NCQ priority feature. 74 support for the SATA NCQ priority feature, regardless of the 75 device support for this feature (see sas_ncq_prio_supported). 84 command queueing) priority feature. 94 (HBA) implementing support for the SATA NCQ priority feature. [all …]
|