Home
last modified time | relevance | path

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

12345678910>>...31

/Linux-v4.19/arch/x86/kernel/cpu/
Dcpuid-deps.c8 unsigned int feature; member
65 static inline void clear_feature(struct cpuinfo_x86 *c, unsigned int feature) in clear_feature() argument
73 clear_cpu_cap(&boot_cpu_data, feature); in clear_feature()
74 set_bit(feature, (unsigned long *)cpu_caps_cleared); in clear_feature()
76 clear_bit(feature, (unsigned long *)c->x86_capability); in clear_feature()
83 static void do_clear_cpu_cap(struct cpuinfo_x86 *c, unsigned int feature) in do_clear_cpu_cap() argument
89 if (WARN_ON(feature >= MAX_FEATURE_BITS)) in do_clear_cpu_cap()
92 clear_feature(c, feature); in do_clear_cpu_cap()
96 __set_bit(feature, disable); in do_clear_cpu_cap()
101 for (d = cpuid_deps; d->feature; d++) { in do_clear_cpu_cap()
[all …]
Dscattered.c13 u16 feature; member
43 for (cb = cpuid_bits; cb->feature; cb++) { in init_scattered_cpuid_features()
56 set_cpu_cap(c, cb->feature); in init_scattered_cpuid_features()
66 for (cb = cpuid_bits; cb->feature; cb++) { in get_scattered_cpuid_leaf()
75 if (cpu_has(&boot_cpu_data, cb->feature)) in get_scattered_cpuid_leaf()
/Linux-v4.19/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.h150 static inline bool early_mmu_has_feature(unsigned long feature) in early_mmu_has_feature() argument
152 return !!(MMU_FTRS_POSSIBLE & cur_cpu_spec->mmu_features & feature); in early_mmu_has_feature()
164 static __always_inline bool mmu_has_feature(unsigned long feature) in mmu_has_feature() argument
169 BUILD_BUG_ON(!__builtin_constant_p(feature)); in mmu_has_feature()
176 return early_mmu_has_feature(feature); in mmu_has_feature()
180 if (!(MMU_FTRS_POSSIBLE & feature)) in mmu_has_feature()
183 i = __builtin_ctzl(feature); in mmu_has_feature()
187 static inline void mmu_clear_feature(unsigned long feature) in mmu_clear_feature() argument
191 i = __builtin_ctzl(feature); in mmu_clear_feature()
192 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-v4.19/arch/x86/include/asm/
Dalternative.h124 #define ALTINSTR_ENTRY(feature, num) \ argument
127 " .word " __stringify(feature) "\n" /* feature bit */ \
132 #define ALTINSTR_REPLACEMENT(newinstr, feature, num) /* replacement */ \ argument
136 #define ALTERNATIVE(oldinstr, newinstr, feature) \ argument
139 ALTINSTR_ENTRY(feature, 1) \
142 ALTINSTR_REPLACEMENT(newinstr, feature, 1) \
168 #define alternative(oldinstr, newinstr, feature) \ argument
169 asm volatile (ALTERNATIVE(oldinstr, newinstr, feature) : : : "memory")
185 #define alternative_input(oldinstr, newinstr, feature, input...) \ argument
186 asm volatile (ALTERNATIVE(oldinstr, newinstr, feature) \
[all …]
Dalternative-asm.h28 .macro altinstruction_entry orig alt feature orig_len alt_len pad_len
31 .word \feature
43 .macro ALTERNATIVE oldinstr, newinstr, feature
51 altinstruction_entry 140b,143f,\feature,142b-140b,144f-143f,142b-141b
/Linux-v4.19/drivers/fpga/
Ddfl.h243 int (*init)(struct platform_device *pdev, struct dfl_feature *feature);
245 struct dfl_feature *feature);
246 long (*ioctl)(struct platform_device *pdev, struct dfl_feature *feature,
278 #define dfl_fpga_dev_for_each_feature(pdata, feature) \ argument
279 for ((feature) = (pdata)->features; \
280 (feature) < (pdata)->features + (pdata)->num; (feature)++)
286 struct dfl_feature *feature; in dfl_get_feature_by_id() local
288 dfl_fpga_dev_for_each_feature(pdata, feature) in dfl_get_feature_by_id()
289 if (feature->id == id) in dfl_get_feature_by_id()
290 return feature; in dfl_get_feature_by_id()
[all …]
/Linux-v4.19/tools/perf/
DMakefile.config242 include $(srctree)/tools/build/Makefile.feature
247 ifeq ($(feature-stackprotector-all), 1)
252 ifeq ($(feature-fortify-source), 1)
281 ifeq ($(feature-sync-compare-and-swap), 1)
285 ifeq ($(feature-pthread-attr-setaffinity-np), 1)
289 ifeq ($(feature-pthread-barrier), 1)
295 ifeq ($(feature-bionic), 1)
310 ifeq ($(feature-libelf), 0)
311 ifeq ($(feature-glibc), 1)
336 ifneq ($(feature-libdw-dwarf-unwind),1)
[all …]
/Linux-v4.19/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-v4.19/Documentation/hid/
Dhid-sensor.txt66 functions, which get and set each input/feature/output report.
117 This interface is used to set a value for a field in feature report. For example
165 ????????? feature-0-200316
166 ??????? ????????? feature-0-200316-maximum
167 ??????? ????????? feature-0-200316-minimum
168 ??????? ????????? feature-0-200316-name
169 ??????? ????????? feature-0-200316-size
170 ??????? ????????? feature-0-200316-unit-expo
171 ??????? ????????? feature-0-200316-units
172 ??????? ????????? feature-0-200316-value
[all …]
/Linux-v4.19/arch/mips/pmcs-msp71xx/
Dmsp_prom.c171 char *feature = prom_getenv(FEATURES); in get_features() local
173 if (feature == NULL) { in get_features()
175 feature = msp_default_features; in get_features()
178 return feature; in get_features()
183 char *feature = get_features(); in test_feature() local
185 while (*feature) { in test_feature()
186 if (*feature++ == c) in test_feature()
187 return *feature; in test_feature()
188 feature++; in test_feature()
241 char *feature = get_features(); in identify_enetfeature() local
[all …]
/Linux-v4.19/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-v4.19/tools/build/
DMakefile.feature1 feature_dir := $(srctree)/tools/build/feature
4 OUTPUT_FEATURES = $(OUTPUT)feature/
10feature-$(1) := $(shell $(MAKE) OUTPUT=$(OUTPUT_FEATURES) CFLAGS="$(EXTRA_CFLAGS) $(FEATURE_CHECK_…
15 feature-$(1) := 1
139 ifeq ($(feature-all), 1)
162 ifeq ($(feature-$(1)), 1)
178 feature_assign = feature-$(1)=$(feature-$(1))
214 ifneq ($(feature-$(1)), 1)
/Linux-v4.19/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-v4.19/fs/overlayfs/
DKconfig14 bool "Overlayfs: turn on redirect directory feature by default"
25 feature will have unexpected results.
45 bool "Overlayfs: turn on inodes index feature by default"
54 The inodes index feature prevents breaking of lower hardlinks on copy
57 Note, that the inodes index feature is not backward compatible.
59 that doesn't support this feature will have unexpected results.
64 bool "Overlayfs: turn on NFS export feature by default"
75 The NFS export feature creates an index on copy up of every file and
82 Note, that the NFS export feature is not backward compatible.
84 that doesn't support this feature will have unexpected results.
[all …]
/Linux-v4.19/fs/btrfs/
Dsysfs.h54 #define BTRFS_FEAT_ATTR_COMPAT(name, feature) \ argument
55 BTRFS_FEAT_ATTR(name, FEAT_COMPAT, BTRFS_FEATURE_COMPAT, feature)
56 #define BTRFS_FEAT_ATTR_COMPAT_RO(name, feature) \ argument
57 BTRFS_FEAT_ATTR(name, FEAT_COMPAT_RO, BTRFS_FEATURE_COMPAT_RO, feature)
58 #define BTRFS_FEAT_ATTR_INCOMPAT(name, feature) \ argument
59 BTRFS_FEAT_ATTR(name, FEAT_INCOMPAT, BTRFS_FEATURE_INCOMPAT, feature)
/Linux-v4.19/tools/objtool/
Dspecial.c51 unsigned char feature; /* ALTERNATIVE macro CPU feature */ member
63 .feature = ALT_FEATURE_OFFSET,
100 if (entry->feature) { in get_alt_entry()
101 unsigned short feature; in get_alt_entry() local
103 feature = *(unsigned short *)(sec->data->d_buf + offset + in get_alt_entry()
104 entry->feature); in get_alt_entry()
111 if (feature == X86_FEATURE_POPCNT) in get_alt_entry()
/Linux-v4.19/drivers/usb/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-v4.19/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-v4.19/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-v4.19/drivers/gpu/drm/amd/amdgpu/
Damdgpu_kms.c188 fw_info->feature = adev->vce.fb_version; in amdgpu_firmware_info()
192 fw_info->feature = 0; in amdgpu_firmware_info()
196 fw_info->feature = 0; in amdgpu_firmware_info()
200 fw_info->feature = 0; in amdgpu_firmware_info()
204 fw_info->feature = adev->gfx.me_feature_version; in amdgpu_firmware_info()
208 fw_info->feature = adev->gfx.pfp_feature_version; in amdgpu_firmware_info()
212 fw_info->feature = adev->gfx.ce_feature_version; in amdgpu_firmware_info()
216 fw_info->feature = adev->gfx.rlc_feature_version; in amdgpu_firmware_info()
220 fw_info->feature = adev->gfx.rlc_srlc_feature_version; in amdgpu_firmware_info()
224 fw_info->feature = adev->gfx.rlc_srlg_feature_version; in amdgpu_firmware_info()
[all …]
/Linux-v4.19/Documentation/mmc/
Dmmc-tools.txt22 - Enable the eMMC BKOPS feature.
23 - Permanently enable the eMMC H/W Reset feature.
24 - Permanently disable the eMMC H/W Reset feature.
30 - Enable the eMMC cache feature.
31 - Disable the eMMC cache feature.
/Linux-v4.19/drivers/dma/
Dfsldma.c109 snoop_bits = ((chan->feature & FSL_DMA_IP_MASK) == FSL_DMA_IP_85XX) in set_desc_src()
119 snoop_bits = ((chan->feature & FSL_DMA_IP_MASK) == FSL_DMA_IP_85XX) in set_desc_dst()
129 snoop_bits = ((chan->feature & FSL_DMA_IP_MASK) == FSL_DMA_IP_83XX) in set_desc_next()
138 snoop_bits = ((chan->feature & FSL_DMA_IP_MASK) == FSL_DMA_IP_83XX) in set_ld_eol()
155 switch (chan->feature & FSL_DMA_IP_MASK) { in dma_init()
194 if (chan->feature & FSL_DMA_CHAN_PAUSE_EXT) { in dma_start()
201 if (chan->feature & FSL_DMA_CHAN_START_EXT) { in dma_start()
224 if ((chan->feature & FSL_DMA_IP_MASK) == FSL_DMA_IP_85XX) { in dma_halt()
350 chan->feature |= FSL_DMA_CHAN_PAUSE_EXT; in fsl_chan_toggle_ext_pause()
352 chan->feature &= ~FSL_DMA_CHAN_PAUSE_EXT; in fsl_chan_toggle_ext_pause()
[all …]
/Linux-v4.19/arch/s390/include/asm/
Dalternative-asm.h26 .macro alt_entry orig_start, orig_end, alt_start, alt_end, feature
29 .word \feature
67 .macro ALTERNATIVE oldinstr, newinstr, feature
76 alt_entry 772b, 774b, 770b, 771b, \feature

12345678910>>...31