| /linux/tools/build/ |
| H A D | Makefile.feature | 196 $(foreach feat,$(FEATURE_TESTS),$(call set_test_all_flags,$(feat))) 211 $(foreach feat,$(FEATURE_TESTS),$(call feature_set,$(feat))) 225 $(foreach feat,$(FEATURE_TESTS),$(call feature_check,$(feat))) 243 ifneq (,$(filter 1,$(foreach feat,$(call feature_group,$(feat)),$(feature-$(feat))))) 274 $(foreach 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, f argument 60 MSR_TEST_CANONICAL(msr,feat) global() argument 63 MSR_TEST_KVM(msr,val,rsvd,feat) global() argument [all...] |
| /linux/drivers/gpu/drm/omapdrm/dss/ |
| H A D | dss.c | 117 if (dss->feat->outputs[OMAP_DSS_CHANNEL_LCD] & OMAP_DSS_OUTPUT_SDI) { in dss_save_context() 136 if (dss->feat->outputs[OMAP_DSS_CHANNEL_LCD] & OMAP_DSS_OUTPUT_SDI) { in dss_restore_context() 370 if (dss->feat->outputs[OMAP_DSS_CHANNEL_LCD] & OMAP_DSS_OUTPUT_SDI) { in dss_dump_regs() 414 if (WARN_ON(dss->feat->has_lcd_clk_src && clk_src != DSS_CLK_SRC_FCK)) in dss_select_dispc_clk_source() 433 dss->feat->dispc_clk_switch.start, in dss_select_dispc_clk_source() 434 dss->feat->dispc_clk_switch.end); in dss_select_dispc_clk_source() 562 if (!dss->feat->has_lcd_clk_src) { in dss_select_lcd_clk_source() 568 r = dss->feat->ops->select_lcd_source(dss, channel, clk_src); in dss_select_lcd_clk_source() 589 if (dss->feat->has_lcd_clk_src) { in dss_get_lcd_clk_source() 609 fck_hw_max = dss->feat->fck_freq_max; in dss_div_calc() [all …]
|
| H A D | dispc.c | 184 const struct dispc_features *feat; member 384 return dispc->feat->num_ovls; in dispc_get_num_ovls() 389 return dispc->feat->num_mgrs; in dispc_get_num_mgrs() 396 BUG_ON(id >= dispc->feat->num_reg_fields); in dispc_get_reg_field() 398 *start = dispc->feat->reg_fields[id].start; in dispc_get_reg_field() 399 *end = dispc->feat->reg_fields[id].end; in dispc_get_reg_field() 407 for (i = 0; i < dispc->feat->num_features; i++) { in dispc_has_feature() 408 if (dispc->feat->features[i] == id) in dispc_has_feature() 682 if (channel == OMAP_DSS_CHANNEL_DIGIT && dispc->feat->no_framedone_tv) in dispc_mgr_get_framedone_irq() 1239 if (dispc->feat->has_writeback) in dispc_configure_burst_sizes() [all …]
|
| /linux/tools/lib/python/feat/ |
| H A D | parse_features.py | 235 def output_arch_table(self, arch, feat=None): 270 if feat and name != feat: 295 def output_feature(self, feat): 300 title = f"Feature {feat}" 307 if not feat in self.data: 310 if self.data[feat]["subsys"]: 311 self.emit(f":Subsystem: {self.data[feat]['subsys']}") 312 if self.data[feat]["kconfig"]: 313 self.emit(f":Kconfig: {self.data[feat]['kconfi 222 output_arch_table(self, arch, feat=None) global() argument 282 output_feature(self, feat) global() argument 466 list_arch_features(self, arch, feat) global() 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 | 152 int (*copy)(struct feat_copier *fc, int feat, struct feat_writer *fw); 163 void perf_header__set_feat(struct perf_header *header, int feat); 164 void perf_header__clear_feat(struct perf_header *header, int feat); 165 bool perf_header__has_feat(const struct perf_header *header, int feat); 173 int feat, int fd, void *data));
|
| H A D | header.c | 119 void perf_header__set_feat(struct perf_header *header, int feat) in __do_write_buf() 121 __set_bit(feat, header->adds_features); in __do_write_buf() 124 void perf_header__clear_feat(struct perf_header *header, int feat) in __do_write_buf() 126 __clear_bit(feat, header->adds_features); in __do_write_buf() 129 bool perf_header__has_feat(const struct perf_header *header, int feat) in __do_write_buf() 131 return test_bit(feat, header->adds_features); in __do_write_buf() 4285 int feat, int fd, void *data) in check_magic_endian() 4292 section->offset, header_feat__name(feat), feat); in check_magic_endian() 4295 if (feat > 88 perf_header__set_feat(struct perf_header * header,int feat) perf_header__set_feat() argument 93 perf_header__clear_feat(struct perf_header * header,int feat) perf_header__clear_feat() argument 98 perf_header__has_feat(const struct perf_header * header,int feat) perf_header__has_feat() argument 3775 perf_file_section__fprintf_info(struct perf_file_section * section,struct perf_header * ph,int feat,int fd,void * data) perf_file_section__fprintf_info() argument 3918 int feat; perf_header__adds_write() local 4143 perf_header__process_sections(struct perf_header * header,int fd,void * data,int (* process)(struct perf_file_section * section,struct perf_header * ph,int feat,int fd,void * data)) perf_header__process_sections() argument 4148 int feat; perf_header__process_sections() local 4387 perf_file_section__process(struct perf_file_section * section,struct perf_header * ph,int feat,int fd,void * data) perf_file_section__process() argument 4669 u64 feat = fe->feat_id; perf_event__process_feature() local [all...] |
| /linux/drivers/thermal/qcom/ |
| H A D | tsens.c | 395 if (priv->feat->adc) in tsens_hw_to_mC() 417 if (priv->feat->adc) in tsens_mC_to_hw() 426 return priv->feat->ver_major; in tsens_version() 528 if (priv->feat->crit_int) { in tsens_threshold_violated() 636 if (priv->feat->has_watchdog) { in tsens_critical_irq_thread() 770 cl_high = clamp_val(high, priv->feat->trip_min_temp, priv->feat->trip_max_temp); in tsens_set_trips() 771 cl_low = clamp_val(low, priv->feat->trip_min_temp, priv->feat->trip_max_temp); in tsens_set_trips() 862 priv->feat->max_sensors, priv->num_sensors); in dbg_sensors_show() 892 seq_printf(s, "0.%d.0\n", priv->feat->ver_major); in dbg_version_show() 1061 for (i = 0; i < priv->feat->max_sensors; i++) { in init_common() [all …]
|
| 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,
|
| /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/arch/arm64/include/asm/ |
| H A D | cpufeature.h | 975 u64 arm64_apply_feature_override(u64 val, int feat, int width, in arm64_apply_feature_override() argument 988 oval &= GENMASK_ULL(feat + width - 1, feat); in arm64_apply_feature_override() 1000 return cpuid_feature_extract_unsigned_field(val, feat); in arm64_apply_feature_override() 1003 static inline bool arm64_test_sw_feature_override(int feat) in arm64_test_sw_feature_override() argument 1009 return arm64_apply_feature_override(0, feat, 4, in arm64_test_sw_feature_override() 1068 int feat; in cpu_has_lpa2() local 1073 feat = cpuid_feature_extract_signed_field(mmfr0, in cpu_has_lpa2() 1076 return feat >= ID_AA64MMFR0_EL1_TGRAN_LPA2; in cpu_has_lpa2()
|
| /linux/drivers/edac/ |
| H A D | edac_device.c | 618 int feat; in edac_dev_register() local 624 for (feat = 0; feat < num_features; feat++) { in edac_dev_register() 625 switch (ras_features[feat].ft_type) { in edac_dev_register() 631 attr_gcnt += ras_features[feat].ecs_info.num_media_frus; in edac_dev_register() 665 for (feat = 0; feat < num_features; feat++, ras_features++) { in edac_dev_register()
|
| /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()
|
| /linux/drivers/cxl/core/ |
| H A D | features.c | 374 struct cxl_feat_entry *feat; in cxl_feature_info() local 380 feat = &cxlfs->entries->ent[i]; in cxl_feature_info() 381 if (uuid_equal(uuid, &feat->uuid)) in cxl_feature_info() 382 return feat; in cxl_feature_info() 555 struct cxl_feat_entry *feat; in cxlctl_validate_set_features() local 561 feat = cxl_feature_info(cxlfs, &rpc_in->set_feat_in.uuid); in cxlctl_validate_set_features() 562 if (IS_ERR(feat)) in cxlctl_validate_set_features() 566 flags = le32_to_cpu(feat->flags); in cxlctl_validate_set_features() 570 effects = le16_to_cpu(feat->effects); in cxlctl_validate_set_features()
|
| /linux/drivers/net/ovpn/ |
| H A D | main.c | 160 netdev_features_t feat = NETIF_F_SG | NETIF_F_GSO | in ovpn_setup() local 188 dev->features |= feat; in ovpn_setup() 189 dev->hw_features |= feat; in ovpn_setup() 190 dev->hw_enc_features |= feat; in ovpn_setup()
|
| /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/arch/arm/mach-omap2/ |
| 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/Documentation/admin-guide/ |
| H A D | features.rst | 3 .. kernel-feat:: features
|