Home
last modified time | relevance | path

Searched refs:feature (Results 1 – 25 of 829) sorted by relevance

12345678910>>...34

/Linux-v5.4/arch/powerpc/include/asm/
Dcpu_has_feature.h10 static 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
28 BUILD_BUG_ON(!__builtin_constant_p(feature)); in cpu_has_feature()
35 return early_cpu_has_feature(feature); in cpu_has_feature()
39 if (CPU_FTRS_ALWAYS & feature) in cpu_has_feature()
42 if (!(CPU_FTRS_POSSIBLE & feature)) in cpu_has_feature()
45 i = __builtin_ctzl(feature); in cpu_has_feature()
49 static inline bool cpu_has_feature(unsigned long feature) in cpu_has_feature() argument
[all …]
Dmmu.h182 static inline bool early_mmu_has_feature(unsigned long feature) in early_mmu_has_feature() argument
184 return !!(MMU_FTRS_POSSIBLE & cur_cpu_spec->mmu_features & feature); in early_mmu_has_feature()
196 static __always_inline bool mmu_has_feature(unsigned long feature) in mmu_has_feature() argument
201 BUILD_BUG_ON(!__builtin_constant_p(feature)); in mmu_has_feature()
208 return early_mmu_has_feature(feature); in mmu_has_feature()
212 if (!(MMU_FTRS_POSSIBLE & feature)) in mmu_has_feature()
215 i = __builtin_ctzl(feature); in mmu_has_feature()
219 static inline void mmu_clear_feature(unsigned long feature) in mmu_clear_feature() argument
223 i = __builtin_ctzl(feature); in mmu_clear_feature()
224 cur_cpu_spec->mmu_features &= ~feature; in mmu_clear_feature()
[all …]
Dsecurity_features.h27 static inline void security_ftr_set(unsigned long feature) in security_ftr_set() argument
29 powerpc_security_features |= feature; in security_ftr_set()
32 static inline void security_ftr_clear(unsigned long feature) in security_ftr_clear() argument
34 powerpc_security_features &= ~feature; in security_ftr_clear()
37 static inline bool security_ftr_enabled(unsigned long feature) in security_ftr_enabled() argument
39 return !!(powerpc_security_features & feature); in security_ftr_enabled()
/Linux-v5.4/arch/x86/kernel/cpu/
Dcpuid-deps.c8 unsigned int feature; member
75 static inline void clear_feature(struct cpuinfo_x86 *c, unsigned int feature) in clear_feature() argument
83 clear_cpu_cap(&boot_cpu_data, feature); in clear_feature()
84 set_bit(feature, (unsigned long *)cpu_caps_cleared); in clear_feature()
86 clear_bit(feature, (unsigned long *)c->x86_capability); in clear_feature()
93 static void do_clear_cpu_cap(struct cpuinfo_x86 *c, unsigned int feature) in do_clear_cpu_cap() argument
99 if (WARN_ON(feature >= MAX_FEATURE_BITS)) in do_clear_cpu_cap()
102 clear_feature(c, feature); in do_clear_cpu_cap()
106 __set_bit(feature, disable); in do_clear_cpu_cap()
111 for (d = cpuid_deps; d->feature; d++) { in do_clear_cpu_cap()
[all …]
/Linux-v5.4/arch/x86/include/asm/
Dalternative.h145 #define ALTINSTR_ENTRY(feature, num) \ argument
148 " .word " __stringify(feature) "\n" /* feature bit */ \
153 #define ALTINSTR_REPLACEMENT(newinstr, feature, num) /* replacement */ \ argument
158 #define ALTERNATIVE(oldinstr, newinstr, feature) \ argument
161 ALTINSTR_ENTRY(feature, 1) \
164 ALTINSTR_REPLACEMENT(newinstr, feature, 1) \
203 #define alternative(oldinstr, newinstr, feature) \ argument
204 asm_inline volatile (ALTERNATIVE(oldinstr, newinstr, feature) : : : "memory")
220 #define alternative_input(oldinstr, newinstr, feature, input...) \ argument
221 asm_inline volatile (ALTERNATIVE(oldinstr, newinstr, feature) \
[all …]
Dalternative-asm.h39 .macro altinstruction_entry orig alt feature orig_len alt_len pad_len
42 .word \feature
54 .macro ALTERNATIVE oldinstr, newinstr, feature
62 altinstruction_entry 140b,143f,\feature,142b-140b,144f-143f,142b-141b
/Linux-v5.4/tools/perf/
DMakefile.config269 include $(srctree)/tools/build/Makefile.feature
274 ifeq ($(feature-stackprotector-all), 1)
279 ifeq ($(feature-fortify-source), 1)
309 ifeq ($(feature-sync-compare-and-swap), 1)
313 ifeq ($(feature-pthread-attr-setaffinity-np), 1)
317 ifeq ($(feature-pthread-barrier), 1)
323 ifeq ($(feature-bionic), 1)
332 ifeq ($(feature-eventfd), 1)
336 ifeq ($(feature-get_current_dir_name), 1)
340 ifeq ($(feature-gettid), 1)
[all …]
/Linux-v5.4/drivers/fpga/
Ddfl.h271 int (*init)(struct platform_device *pdev, struct dfl_feature *feature);
273 struct dfl_feature *feature);
274 long (*ioctl)(struct platform_device *pdev, struct dfl_feature *feature,
306 #define dfl_fpga_dev_for_each_feature(pdata, feature) \ argument
307 for ((feature) = (pdata)->features; \
308 (feature) < (pdata)->features + (pdata)->num; (feature)++)
314 struct dfl_feature *feature; in dfl_get_feature_by_id() local
316 dfl_fpga_dev_for_each_feature(pdata, feature) in dfl_get_feature_by_id()
317 if (feature->id == id) in dfl_get_feature_by_id()
318 return feature; in dfl_get_feature_by_id()
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/powerpc/
Dibm,powerpc-cpu-features.txt24 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-v5.4/Documentation/hid/
Dhid-sensor.rst70 functions, which get and set each input/feature/output 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
184 │   │   │   ├── feature-0-200316-value
[all …]
/Linux-v5.4/arch/mips/pmcs-msp71xx/
Dmsp_prom.c176 char *feature = prom_getenv(FEATURES); in get_features() local
178 if (feature == NULL) { in get_features()
180 feature = msp_default_features; in get_features()
183 return feature; in get_features()
188 char *feature = get_features(); in test_feature() local
190 while (*feature) { in test_feature()
191 if (*feature++ == c) in test_feature()
192 return *feature; in test_feature()
193 feature++; in test_feature()
246 char *feature = get_features(); in identify_enetfeature() local
[all …]
/Linux-v5.4/include/linux/
Dkvm_para.h8 static inline bool kvm_para_has_feature(unsigned int feature) in kvm_para_has_feature() argument
10 return !!(kvm_arch_para_features() & (1UL << feature)); in kvm_para_has_feature()
13 static inline bool kvm_para_has_hint(unsigned int feature) in kvm_para_has_hint() argument
15 return !!(kvm_arch_para_hints() & (1UL << feature)); in kvm_para_has_hint()
/Linux-v5.4/tools/objtool/
Dspecial.c41 unsigned char feature; /* ALTERNATIVE macro CPU feature */ member
53 .feature = ALT_FEATURE_OFFSET,
90 if (entry->feature) { in get_alt_entry()
91 unsigned short feature; in get_alt_entry() local
93 feature = *(unsigned short *)(sec->data->d_buf + offset + in get_alt_entry()
94 entry->feature); in get_alt_entry()
101 if (feature == X86_FEATURE_POPCNT) in get_alt_entry()
113 if (feature == X86_FEATURE_SMAP) { in get_alt_entry()
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-devices-mmc5 Enhanced area is a new feature defined in eMMC4.4 standard.
6 eMMC4.4 or later card can support such feature. This kind of
7 area can help to improve the card performance. If the feature
16 Enhanced area is a new feature defined in eMMC4.4 standard.
17 eMMC4.4 or later card can support such feature. This kind of
18 area can help to improve the card performance. If the feature
/Linux-v5.4/tools/build/
DMakefile.feature2 feature_dir := $(srctree)/tools/build/feature
5 OUTPUT_FEATURES = $(OUTPUT)feature/
11feature-$(1) := $(shell $(MAKE) OUTPUT=$(OUTPUT_FEATURES) CFLAGS="$(EXTRA_CFLAGS) $(FEATURE_CHECK_…
16 feature-$(1) := 1
151 ifeq ($(feature-all), 1)
174 ifeq ($(feature-$(1)), 1)
190 feature_assign = feature-$(1)=$(feature-$(1))
226 ifneq ($(feature-$(1)), 1)
/Linux-v5.4/fs/overlayfs/
DKconfig15 bool "Overlayfs: turn on redirect directory feature by default"
26 feature will have unexpected results.
46 bool "Overlayfs: turn on inodes index feature by default"
55 The inodes index feature prevents breaking of lower hardlinks on copy
58 Note, that the inodes index feature is not backward compatible.
60 that doesn't support this feature will have unexpected results.
65 bool "Overlayfs: turn on NFS export feature by default"
76 The NFS export feature creates an index on copy up of every file and
83 Note, that the NFS export feature is not backward compatible.
85 that doesn't support this feature will have unexpected results.
[all …]
/Linux-v5.4/drivers/staging/wusbcore/
Drh.c194 static int wusbhc_rh_clear_hub_feat(struct wusbhc *wusbhc, u16 feature) in wusbhc_rh_clear_hub_feat() argument
198 switch (feature) { in wusbhc_rh_clear_hub_feat()
232 static int wusbhc_rh_set_port_feat(struct wusbhc *wusbhc, u16 feature, in wusbhc_rh_set_port_feat() argument
240 switch (feature) { in wusbhc_rh_set_port_feat()
260 port_idx, feature, selector); in wusbhc_rh_set_port_feat()
264 port_idx, feature, selector); in wusbhc_rh_set_port_feat()
276 static int wusbhc_rh_clear_port_feat(struct wusbhc *wusbhc, u16 feature, in wusbhc_rh_clear_port_feat() argument
286 switch (feature) { in wusbhc_rh_clear_port_feat()
306 port_idx, feature, selector); in wusbhc_rh_clear_port_feat()
311 port_idx, feature, selector); in wusbhc_rh_clear_port_feat()
/Linux-v5.4/Documentation/features/
Darch-support.txt3 arch-support.txt file in each feature directory shows the arch
8 | ok | # feature supported by the architecture
9 |TODO| # feature not yet supported by the architecture
10 | .. | # feature cannot be supported by the hardware
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_kms.c211 fw_info->feature = adev->vce.fb_version; in amdgpu_firmware_info()
215 fw_info->feature = 0; in amdgpu_firmware_info()
219 fw_info->feature = 0; in amdgpu_firmware_info()
223 fw_info->feature = 0; in amdgpu_firmware_info()
227 fw_info->feature = adev->gfx.me_feature_version; in amdgpu_firmware_info()
231 fw_info->feature = adev->gfx.pfp_feature_version; in amdgpu_firmware_info()
235 fw_info->feature = adev->gfx.ce_feature_version; in amdgpu_firmware_info()
239 fw_info->feature = adev->gfx.rlc_feature_version; in amdgpu_firmware_info()
243 fw_info->feature = adev->gfx.rlc_srlc_feature_version; in amdgpu_firmware_info()
247 fw_info->feature = adev->gfx.rlc_srlg_feature_version; in amdgpu_firmware_info()
[all …]
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/
Damdgpu_smu.c53 const char *smu_get_feature_name(struct smu_context *smu, enum smu_feature_mask feature) in smu_get_feature_name() argument
55 if (feature < 0 || feature >= SMU_FEATURE_COUNT) in smu_get_feature_name()
57 return __smu_feature_names[feature]; in smu_get_feature_name()
549 struct smu_feature *feature = &smu->smu_feature; in smu_feature_init_dpm() local
555 mutex_lock(&feature->mutex); in smu_feature_init_dpm()
556 bitmap_zero(feature->allowed, SMU_FEATURE_MAX); in smu_feature_init_dpm()
557 mutex_unlock(&feature->mutex); in smu_feature_init_dpm()
564 mutex_lock(&feature->mutex); in smu_feature_init_dpm()
565 bitmap_or(feature->allowed, feature->allowed, in smu_feature_init_dpm()
567 feature->feature_num); in smu_feature_init_dpm()
[all …]
/Linux-v5.4/arch/arm64/include/asm/
Dalternative.h38 #define ALTINSTR_ENTRY(feature,cb) \ argument
45 " .hword " __stringify(feature) "\n" /* feature bit */ \
65 #define __ALTERNATIVE_CFG(oldinstr, newinstr, feature, cfg_enabled, cb) \ argument
71 ALTINSTR_ENTRY(feature,cb) \
87 #define _ALTERNATIVE_CFG(oldinstr, newinstr, feature, cfg, ...) \ argument
88 __ALTERNATIVE_CFG(oldinstr, newinstr, feature, IS_ENABLED(cfg), 0)
96 .macro altinstruction_entry orig_offset alt_offset feature orig_len alt_len
99 .hword \feature
/Linux-v5.4/tools/bpf/bpftool/Documentation/
Dbpftool-feature.rst2 bpftool-feature
13 **bpftool** [*OPTIONS*] **feature** *COMMAND*
22 | **bpftool** **feature probe** [*COMPONENT*] [**macros** [**prefix** *PREFIX*]]
23 | **bpftool** **feature help**
29 **bpftool feature probe** [**kernel**] [**macros** [**prefix** *PREFIX*]]
51 **bpftool feature probe dev** *NAME* [**macros** [**prefix** *PREFIX*]]
58 **bpftool feature help**
/Linux-v5.4/Documentation/driver-api/mmc/
Dmmc-tools.rst25 - Enable the eMMC BKOPS feature.
26 - Permanently enable the eMMC H/W Reset feature.
27 - Permanently disable the eMMC H/W Reset feature.
33 - Enable the eMMC cache feature.
34 - Disable the eMMC cache feature.
/Linux-v5.4/tools/bpf/bpftool/
DMakefile77 include $(srctree)/tools/build/Makefile.feature
83 ifeq ($(feature-disassembler-four-args), 1)
87 ifeq ($(feature-reallocarray), 0)
99 ifeq ($(feature-libbfd),1)
101 else ifeq ($(feature-libbfd-liberty),1)
103 else ifeq ($(feature-libbfd-liberty-z),1)
117 $(OUTPUT)feature.o: | zdep
131 $(Q)$(RM) -r -- $(OUTPUT)feature/
/Linux-v5.4/drivers/dma/
Dfsldma.c104 snoop_bits = ((chan->feature & FSL_DMA_IP_MASK) == FSL_DMA_IP_85XX) in set_desc_src()
114 snoop_bits = ((chan->feature & FSL_DMA_IP_MASK) == FSL_DMA_IP_85XX) in set_desc_dst()
124 snoop_bits = ((chan->feature & FSL_DMA_IP_MASK) == FSL_DMA_IP_83XX) in set_desc_next()
133 snoop_bits = ((chan->feature & FSL_DMA_IP_MASK) == FSL_DMA_IP_83XX) in set_ld_eol()
150 switch (chan->feature & FSL_DMA_IP_MASK) { in dma_init()
189 if (chan->feature & FSL_DMA_CHAN_PAUSE_EXT) { in dma_start()
196 if (chan->feature & FSL_DMA_CHAN_START_EXT) { in dma_start()
219 if ((chan->feature & FSL_DMA_IP_MASK) == FSL_DMA_IP_85XX) { in dma_halt()
345 chan->feature |= FSL_DMA_CHAN_PAUSE_EXT; in fsl_chan_toggle_ext_pause()
347 chan->feature &= ~FSL_DMA_CHAN_PAUSE_EXT; in fsl_chan_toggle_ext_pause()
[all …]

12345678910>>...34