| /linux/tools/build/ |
| H A D | Makefile.feature | 185 $(foreach feat,$(FEATURE_TESTS),$(call set_test_all_flags,$(feat))) 200 $(foreach feat,$(FEATURE_TESTS),$(call feature_set,$(feat))) 210 $(foreach feat,$(FEATURE_TESTS),$(call feature_check,$(feat))) 228 ifneq (,$(filter 1,$(foreach feat,$(call feature_group,$(feat)),$(feature-$(feat))))) 259 $(foreach feat,$(FEATURE_DISPLAY),$(call feature_dump_check,$(call feature_assign,$(feat)),feature_… 264 $(foreach feat,$(FEATURE_TESTS),$(call feature_dump_check,$(call feature_assign,$(feat)),feature_du… 275 …$(foreach feat,$(FEATURE_TESTS),$(shell echo "$(call feature_assign,$(feat))" >> $(FEATURE_DUMP_FI… 285 $(foreach feat,$(FEATURE_DISPLAY),$(call feature_display_check,$(feat))) 297 FEATURE_OMIT := $(foreach feat,$(FEATURE_DISPLAY),$(FEATURE_GROUP_MEMBERS-$(feat))) 305 …$(foreach feat,$(filter-out $(FEATURE_OMIT),$(FEATURE_DISPLAY)),$(call feature_print_status,$(feat… [all …]
|
| /linux/net/dccp/ |
| H A D | feat.c | |
| H A D | feat.h | |
| /linux/tools/docs/ |
| H A D | get_feat.py | 23 from feat.parse_features import ParseFeature # pylint: disable=C0413 50 feat = ParseFeature(args.directory, args.debug, args.enable_fname) 51 data = feat.parse() 56 return feat 70 feat = self.run_parser(args) 73 rst = feat.output_arch_table(args.arch, args.feat) 74 elif args.feat: 75 rst = feat.output_feature(args.feat) 77 rst = feat.output_matrix() 100 feat = self.run_parser(args) [all …]
|
| /linux/drivers/platform/x86/ |
| H A D | dasharo-acpi.c | 73 static int dasharo_get_feature_cap_count(struct dasharo_data *data, enum dasharo_feature feat, int … in dasharo_get_feature_cap_count() argument 82 obj[0].integer.value = feat; in dasharo_get_feature_cap_count() 96 static int dasharo_read_channel(struct dasharo_data *data, char *method, enum dasharo_feature feat,… in dasharo_read_channel() argument 104 if (feat >= ARRAY_SIZE(data->capabilities)) in dasharo_read_channel() 107 if (channel >= data->caps_found[feat]) in dasharo_read_channel() 111 obj[0].integer.value = data->capabilities[feat][channel].group; in dasharo_read_channel() 113 obj[1].integer.value = data->capabilities[feat][channel].index; in dasharo_read_channel() 298 static void dasharo_fill_feature_caps(struct dasharo_data *data, enum dasharo_feature feat) in dasharo_fill_feature_caps() argument 305 count = dasharo_get_feature_cap_count(data, feat, group); in dasharo_fill_feature_caps() 310 if (cap_count >= ARRAY_SIZE(data->capabilities[feat])) in dasharo_fill_feature_caps() [all …]
|
| /linux/tools/testing/selftests/kvm/x86/ |
| H A D | msrs_test.c | 23 #define ____MSR_TEST(msr, str, val, rsvd, reset, feat, f2, is_kvm) \ argument 30 .feature = X86_FEATURE_ ##feat, \ 35 #define __MSR_TEST(msr, str, val, rsvd, reset, feat) \ argument 36 ____MSR_TEST(msr, str, val, rsvd, reset, feat, feat, false) 38 #define MSR_TEST_NON_ZERO(msr, val, rsvd, reset, feat) \ argument 39 __MSR_TEST(msr, #msr, val, rsvd, reset, feat) 41 #define MSR_TEST(msr, val, rsvd, feat) \ argument 42 __MSR_TEST(msr, #msr, val, rsvd, 0, feat) 44 #define MSR_TEST2(msr, val, rsvd, feat, f2) \ argument 45 ____MSR_TEST(msr, #msr, val, rsvd, 0, feat, f2, false) [all …]
|
| /linux/tools/lib/python/feat/ |
| H A D | parse_features.py | 222 def output_arch_table(self, arch, feat=None): argument 257 if feat and name != feat: 282 def output_feature(self, feat): argument 294 if not feat in self.data: 297 if self.data[feat]["subsys"]: 299 if self.data[feat]["kconfig"]: 302 desc = self.data[feat]["description"] 307 com = self.data[feat]["comments"].strip() 322 arch_table = self.data[feat]["table"] 466 def list_arch_features(self, arch, feat): argument [all …]
|
| /linux/Documentation/sphinx/ |
| H A D | kernel_feat.py | 47 from feat.parse_features import ParseFeature # pylint: disable=C0413 93 feat = ParseFeature(feature_dir, False, True) 94 feat.parse() 98 lines = feat.output_arch_table(arch) 100 lines = feat.output_matrix()
|
| /linux/drivers/video/fbdev/omap2/omapfb/dss/ |
| H A D | dss.c | 92 const struct dss_features *feat; member 535 fckd_hw_max = dss.feat->fck_div_max; in dss_div_calc() 537 m = dss.feat->dss_fck_multiplier; in dss_div_calc() 593 fck_div = DIV_ROUND_UP(prate * dss.feat->dss_fck_multiplier, in dss_setup_default_clock() 595 fck = DIV_ROUND_UP(prate, fck_div) * dss.feat->dss_fck_multiplier; in dss_setup_default_clock() 729 return dss.feat->dpi_select_source(port, channel); in dss_dpi_select_source() 744 if (dss.feat->parent_clk_name) { in dss_get_clocks() 745 clk = clk_get(NULL, dss.feat->parent_clk_name); in dss_get_clocks() 747 DSSERR("Failed to get %s\n", dss.feat->parent_clk_name); in dss_get_clocks() 927 if (dss.feat->num_ports == 0) in dss_init_ports() [all …]
|
| /linux/tools/perf/util/ |
| H A D | header.h | 146 int (*copy)(struct feat_copier *fc, int feat, struct feat_writer *fw); 157 void perf_header__set_feat(struct perf_header *header, int feat); 158 void perf_header__clear_feat(struct perf_header *header, int feat); 159 bool perf_header__has_feat(const struct perf_header *header, int feat); 167 int feat, int fd, void *data));
|
| H A D | header.c | 87 void perf_header__set_feat(struct perf_header *header, int feat) in perf_header__set_feat() argument 89 __set_bit(feat, header->adds_features); in perf_header__set_feat() 92 void perf_header__clear_feat(struct perf_header *header, int feat) in perf_header__clear_feat() argument 94 __clear_bit(feat, header->adds_features); in perf_header__clear_feat() 97 bool perf_header__has_feat(const struct perf_header *header, int feat) in perf_header__has_feat() argument 99 return test_bit(feat, header->adds_features); in perf_header__has_feat() 3465 int feat, int fd, void *data) in perf_file_section__fprintf_info() argument 3472 "%d, continuing...\n", section->offset, feat); in perf_file_section__fprintf_info() 3475 if (feat >= HEADER_LAST_FEATURE) { in perf_file_section__fprintf_info() 3476 pr_warning("unknown feature %d\n", feat); in perf_file_section__fprintf_info() [all …]
|
| /linux/arch/arm/mm/ |
| H A D | cache-tauros2.c | 213 u32 feat; in tauros2_internal_init() local 219 feat = read_extra_features(); in tauros2_internal_init() 220 if (!(feat & 0x00400000)) { in tauros2_internal_init() 222 write_extra_features(feat | 0x00400000); in tauros2_internal_init()
|
| /linux/drivers/thermal/qcom/ |
| H A D | tsens-v1.c | 209 .feat = &tsens_v1_feat, 222 .feat = &tsens_v1_feat, 235 .feat = &tsens_v1_feat, 242 .feat = &tsens_v1_feat, 256 .feat = &tsens_v1_no_rpm_feat,
|
| H A D | tsens-v0_1.c | 337 .feat = &tsens_v0_1_feat, 350 .feat = &tsens_v0_1_feat, 365 .feat = &tsens_v0_1_feat, 380 .feat = &tsens_v0_1_feat, 393 .feat = &tsens_v0_1_feat, 406 .feat = &tsens_v0_1_feat,
|
| H A D | tsens.c | 344 if (priv->feat->adc) in tsens_hw_to_mC() 366 if (priv->feat->adc) in tsens_mC_to_hw() 375 return priv->feat->ver_major; in tsens_version() 477 if (priv->feat->crit_int) { in tsens_threshold_violated() 575 if (priv->feat->has_watchdog) { in tsens_critical_irq_thread() 709 cl_high = clamp_val(high, priv->feat->trip_min_temp, priv->feat->trip_max_temp); in tsens_set_trips() 710 cl_low = clamp_val(low, priv->feat->trip_min_temp, priv->feat->trip_max_temp); in tsens_set_trips() 819 priv->feat->max_sensors, priv->num_sensors); in dbg_sensors_show() 849 seq_printf(s, "0.%d.0\n", priv->feat->ver_major); in dbg_version_show() 1018 for (i = 0; i < priv->feat->max_sensors; i++) { in init_common() [all …]
|
| /linux/arch/arm/mach-omap2/ |
| H A D | id.c | 203 #define OMAP3_SHOW_FEATURE(feat) \ argument 204 if (omap3_has_ ##feat()) \ 205 n += scnprintf(buf + n, sizeof(buf) - n, #feat " "); 270 #define OMAP3_CHECK_FEATURE(status,feat) \ argument 271 if (((status & OMAP3_ ##feat## _MASK) \ 272 >> OMAP3_ ##feat## _SHIFT) != FEAT_ ##feat## _NONE) { \ 273 omap_features |= OMAP3_HAS_ ##feat; \
|
| H A D | soc.h | 437 #define OMAP3_HAS_FEATURE(feat,flag) \ argument 438 static inline unsigned int omap3_has_ ##feat(void) \ 456 #define OMAP4_HAS_FEATURE(feat, flag) \ argument 457 static inline unsigned int omap4_has_ ##feat(void) \
|
| /linux/drivers/pci/ |
| H A D | doe.c | 86 struct pci_doe_feature feat; member 337 val = FIELD_PREP(PCI_DOE_DATA_OBJECT_HEADER_1_VID, task->feat.vid) | in pci_doe_send_req() 338 FIELD_PREP(PCI_DOE_DATA_OBJECT_HEADER_1_TYPE, task->feat.type); in pci_doe_send_req() 385 if ((FIELD_GET(PCI_DOE_DATA_OBJECT_HEADER_1_VID, val) != task->feat.vid) || in pci_doe_recv_resp() 386 (FIELD_GET(PCI_DOE_DATA_OBJECT_HEADER_1_TYPE, val) != task->feat.type)) { in pci_doe_recv_resp() 388 doe_mb->cap_offset, task->feat.vid, task->feat.type, in pci_doe_recv_resp() 757 if (!pci_doe_supports_feat(doe_mb, task->feat.vid, task->feat.type)) in pci_doe_submit_task() 803 .feat.vid = vendor, in pci_doe() 804 .feat.type = type, in pci_doe()
|
| /linux/arch/powerpc/platforms/pseries/ |
| H A D | firmware.c | 134 unsigned int index, feat; in fw_vec5_feature_init() local 141 feat = OV5_FEAT(vec5_fw_features_table[i].feature); in fw_vec5_feature_init() 143 if (index < len && (vec5[index] & feat)) in fw_vec5_feature_init()
|
| H A D | vas.c | 589 static int __init get_vas_capabilities(u8 feat, enum vas_cop_feat_type type, in get_vas_capabilities() argument 600 vcaps->feat = feat; in get_vas_capabilities() 603 rc = h_query_vas_capabilities(H_QUERY_VAS_CAPABILITIES, feat, in get_vas_capabilities() 624 if (feat == VAS_GZIP_DEF_FEAT) { in get_vas_capabilities() 914 vascaps[VAS_GZIP_DEF_FEAT_TYPE].feat, in pseries_vas_dlpar_cpu() 1000 vcaps->feat, in vas_migration_handler()
|
| /linux/drivers/cxl/core/ |
| H A D | features.c | 372 struct cxl_feat_entry *feat; in cxl_feature_info() local 378 feat = &cxlfs->entries->ent[i]; in cxl_feature_info() 379 if (uuid_equal(uuid, &feat->uuid)) in cxl_feature_info() 380 return feat; in cxl_feature_info() 546 struct cxl_feat_entry *feat; in cxlctl_validate_set_features() local 552 feat = cxl_feature_info(cxlfs, &rpc_in->set_feat_in.uuid); in cxlctl_validate_set_features() 553 if (IS_ERR(feat)) in cxlctl_validate_set_features() 557 flags = le32_to_cpu(feat->flags); in cxlctl_validate_set_features() 561 effects = le16_to_cpu(feat->effects); in cxlctl_validate_set_features()
|
| /linux/drivers/iommu/arm/arm-smmu-v3/ |
| H A D | arm-smmu-v3-test.c | 173 enum arm_smmu_test_master_feat feat) in arm_smmu_test_make_cdtable_ste() argument 175 bool ats_enabled = feat & ARM_SMMU_MASTER_TEST_ATS; in arm_smmu_test_make_cdtable_ste() 176 bool stall_enabled = feat & ARM_SMMU_MASTER_TEST_STALL; in arm_smmu_test_make_cdtable_ste() 296 enum arm_smmu_test_master_feat feat) in arm_smmu_test_make_s2_ste() argument 298 bool ats_enabled = feat & ARM_SMMU_MASTER_TEST_ATS; in arm_smmu_test_make_s2_ste() 299 bool stall_enabled = feat & ARM_SMMU_MASTER_TEST_STALL; in arm_smmu_test_make_s2_ste()
|
| /linux/arch/loongarch/include/asm/ |
| H A D | cpu-features.h | 16 #define cpu_has(feat) (cpu_data[0].options & BIT_ULL(feat)) argument
|
| /linux/drivers/crypto/ccp/ |
| H A D | sp-dev.h | 34 #define PSP_FEATURE(psp, feat) (psp->vdata && psp->vdata->platform_features & PLATFORM_FEATURE_##fe… argument
|
| /linux/tools/testing/cxl/test/ |
| H A D | mem.c | 1397 static void fill_feature_vendor_test(struct cxl_feat_entry *feat) in fill_feature_vendor_test() argument 1399 feat->uuid = CXL_VENDOR_FEATURE_TEST; in fill_feature_vendor_test() 1400 feat->id = 0; in fill_feature_vendor_test() 1401 feat->get_feat_size = cpu_to_le16(0x4); in fill_feature_vendor_test() 1402 feat->set_feat_size = cpu_to_le16(0x4); in fill_feature_vendor_test() 1403 feat->flags = cpu_to_le32(CXL_FEATURE_F_CHANGEABLE | in fill_feature_vendor_test() 1406 feat->get_feat_ver = 1; in fill_feature_vendor_test() 1407 feat->set_feat_ver = 1; in fill_feature_vendor_test() 1408 feat->effects = cpu_to_le16(CXL_CMD_CONFIG_CHANGE_COLD_RESET | in fill_feature_vendor_test() 1501 struct cxl_feat_entry *feat; in mock_get_supported_features() local [all …]
|