/openbmc/qemu/target/s390x/ |
H A D | cpu_features.c | 33 const S390FeatDef *s390_feat_def(S390Feat feat) in s390_feat_def() argument 35 return &s390_features[feat]; in s390_feat_def() 40 S390Feat feat; in s390_feat_by_type_and_bit() local 42 for (feat = 0; feat < ARRAY_SIZE(s390_features); feat++) { in s390_feat_by_type_and_bit() 43 if (s390_features[feat].type == type && in s390_feat_by_type_and_bit() 44 s390_features[feat].bit == bit) { in s390_feat_by_type_and_bit() 45 return feat; in s390_feat_by_type_and_bit() 69 S390Feat feat; in s390_fill_feat_block() local 102 feat = find_first_bit(features, S390_FEAT_MAX); in s390_fill_feat_block() 103 while (feat < S390_FEAT_MAX) { in s390_fill_feat_block() [all …]
|
H A D | cpu_models.c | 107 void s390_cpudef_featoff(uint8_t gen, uint8_t ec_ga, S390Feat feat) in s390_cpudef_featoff() argument 112 clear_bit(feat, (unsigned long *)&def->default_feat); in s390_cpudef_featoff() 115 void s390_cpudef_featoff_greater(uint8_t gen, uint8_t ec_ga, S390Feat feat) in s390_cpudef_featoff_greater() argument 129 clear_bit(feat, (unsigned long *)&def->default_feat); in s390_cpudef_featoff_greater() 140 bitmap_complement(group_def_off, group_def->feat, S390_FEAT_MAX); in s390_cpudef_group_featoff_greater() 216 bool s390_has_feat(S390Feat feat) in s390_has_feat() argument 227 if (feat == S390_FEAT_VECTOR) { in s390_has_feat() 231 if (feat == S390_FEAT_RUNTIME_INSTRUMENTATION) { in s390_has_feat() 234 if (feat == S390_FEAT_MSA_EXT_3) { in s390_has_feat() 239 if (feat == S390_FEAT_ZPCI) { in s390_has_feat() [all …]
|
/openbmc/linux/tools/build/ |
H A D | Makefile.feature | 158 $(foreach feat,$(FEATURE_TESTS),$(call set_test_all_flags,$(feat))) 173 $(foreach feat,$(FEATURE_TESTS),$(call feature_set,$(feat))) 183 $(foreach feat,$(FEATURE_TESTS),$(call feature_check,$(feat))) 201 ifneq (,$(filter 1,$(foreach feat,$(call feature_group,$(feat)),$(feature-$(feat))))) 232 $(foreach feat,$(FEATURE_DISPLAY),$(call feature_dump_check,$(call feature_assign,$(feat)),feature_… 237 $(foreach feat,$(FEATURE_TESTS),$(call feature_dump_check,$(call feature_assign,$(feat)),feature_du… 248 …$(foreach feat,$(FEATURE_TESTS),$(shell echo "$(call feature_assign,$(feat))" >> $(FEATURE_DUMP_FI… 258 $(foreach feat,$(FEATURE_DISPLAY),$(call feature_display_check,$(feat))) 270 FEATURE_OMIT := $(foreach feat,$(FEATURE_DISPLAY),$(FEATURE_GROUP_MEMBERS-$(feat))) 278 …$(foreach feat,$(filter-out $(FEATURE_OMIT),$(FEATURE_DISPLAY)),$(call feature_print_status,$(feat… [all …]
|
/openbmc/linux/net/dccp/ |
H A D | feat.c | 213 static const char *dccp_feat_fname(const u8 feat) in dccp_feat_fname() argument 227 if (feat > DCCPF_DATA_CHECKSUM && feat < DCCPF_MIN_CCID_SPECIFIC) in dccp_feat_fname() 230 if (feat == DCCPF_SEND_LEV_RATE) in dccp_feat_fname() 232 if (feat >= DCCPF_MIN_CCID_SPECIFIC) in dccp_feat_fname() 235 return feature_names[feat]; in dccp_feat_fname() 288 #define dccp_feat_print_opt(opt, feat, val, len, mandatory) do { \ argument 289 dccp_pr_debug("%s(%s, ", dccp_feat_oname(opt), dccp_feat_fname(feat));\ 290 dccp_feat_printvals(feat, val, len); \ 301 #define dccp_feat_print_opt(opt, feat, val, len, mandatory) argument 451 dccp_feat_entry_new(struct list_head *head, u8 feat, bool local) in dccp_feat_entry_new() argument [all …]
|
H A D | feat.h | 108 int dccp_feat_register_sp(struct sock *sk, u8 feat, u8 is_local, 111 u8 mand, u8 opt, u8 feat, u8 *val, u8 len); 128 u64 dccp_feat_nn_get(struct sock *sk, u8 feat); 131 int dccp_insert_fn_opt(struct sk_buff *skb, u8 type, u8 feat, u8 *val, u8 len,
|
/openbmc/qemu/hw/timer/ |
H A D | sh_timer.c | 45 int feat; member 75 if (s->feat & TIMER_FEAT_CAPT) { in sh_timer_read() 131 if (s->feat & TIMER_FEAT_EXTCLK) { in sh_timer_write() 145 if (s->feat & TIMER_FEAT_EXTCLK) { in sh_timer_write() 158 if (s->feat & TIMER_FEAT_CAPT) { in sh_timer_write() 172 if ((value & TIMER_TCR_ICPF) && (!(s->feat & TIMER_FEAT_CAPT))) { in sh_timer_write() 193 if (s->feat & TIMER_FEAT_CAPT) { in sh_timer_write() 228 static void *sh_timer_init(uint32_t freq, int feat, qemu_irq irq) in sh_timer_init() argument 234 s->feat = feat; in sh_timer_init() 260 int feat; member [all …]
|
/openbmc/openbmc/poky/meta/classes-recipe/ |
H A D | rust-target-config.bbclass | 14 feat = d.getVar('TUNE_FEATURES') 15 if not feat: 17 feat = frozenset(feat.split()) 22 if 'vfpv4' in feat: 24 elif 'vfpv4d16' in feat: 27 elif 'vfpv3' in feat: 29 elif 'vfpv3d16' in feat: 32 elif 'vfpv2' in feat or 'vfp' in feat: 35 if 'neon' in feat: 40 if 'mips32' in feat: [all …]
|
/openbmc/linux/scripts/ |
H A D | get_feat.pl | 15 my $feat; 33 'feat=s' => \$feat, 34 'feature=s' => \$feat, 248 next if ($feat && $name ne $feat); 280 next if ($feat && $name ne $feat); 299 my $title = "Feature $feat"; 305 print ":Subsystem: $data{$feat}->{subsys} \n" if ($data{$feat}->{subsys}); 306 print ":Kconfig: $data{$feat}->{kconfig} \n" if ($data{$feat}->{kconfig}); 308 my $desc = $data{$feat}->{description}; 313 my $com = $data{$feat}->{comments}; [all …]
|
/openbmc/qemu/tests/qapi-schema/ |
H A D | doc-good.json | 66 # @enum-feat: Also _one_ {and only} 67 # @enum-member-feat: a member feature 73 'features': [ 'enum-member-feat' ] }, 75 'features': [ 'enum-feat' ], 98 # @variant1-feat: a feature 99 # @member-feat: a member feature 102 'features': [ 'variant1-feat' ], 104 'features': [ 'member-feat' ], 135 # @alt-feat: a feature 138 'features': [ 'alt-feat' ],
|
H A D | doc-good.out | 15 feature enum-member-feat 18 feature enum-feat 25 feature member-feat 26 feature variant1-feat 40 feature alt-feat 109 feature=enum-feat 111 feature=enum-member-feat 130 feature=variant1-feat 132 feature=member-feat 151 feature=alt-feat
|
H A D | doc-good.txt | 56 "enum-feat" 59 "enum-member-feat" 108 "variant1-feat" 111 "member-feat" 156 "alt-feat"
|
/openbmc/qemu/hw/char/ |
H A D | sh_serial.c | 66 uint8_t feat; member 103 s->smr = val & ((s->feat & SH_SERIAL_FEAT_SCIF) ? 0x7b : 0xff); in sh_serial_write() 110 s->scr = val & ((s->feat & SH_SERIAL_FEAT_SCIF) ? 0xfa : 0xff); in sh_serial_write() 114 if ((s->feat & SH_SERIAL_FEAT_SCIF) && s->txi) { in sh_serial_write() 139 if (s->feat & SH_SERIAL_FEAT_SCIF) { in sh_serial_write() 235 if (s->feat & SH_SERIAL_FEAT_SCIF) { in sh_serial_read() 328 if (s->feat & SH_SERIAL_FEAT_SCIF) { in sh_serial_receive_break() 353 if (s->feat & SH_SERIAL_FEAT_SCIF) { in sh_serial_receive1() 405 if (s->feat & SH_SERIAL_FEAT_SCIF) { in sh_serial_reset() 452 DEFINE_PROP_UINT8("features", SHSerialState, feat, 0),
|
/openbmc/linux/drivers/gpu/drm/tidss/ |
H A D | tidss_dispc.c | 344 const struct dispc_features *feat; member 731 for (i = 0; i < dispc->feat->num_vps; ++i) { in dispc_k3_clear_irqstatus() 737 for (i = 0; i < dispc->feat->num_planes; ++i) { in dispc_k3_clear_irqstatus() 743 if (dispc->feat->subrev == DISPC_K2G) in dispc_k3_clear_irqstatus() 758 for (i = 0; i < dispc->feat->num_vps; ++i) in dispc_k3_read_and_clear_irqstatus() 761 for (i = 0; i < dispc->feat->num_planes; ++i) in dispc_k3_read_and_clear_irqstatus() 774 for (i = 0; i < dispc->feat->num_vps; ++i) in dispc_k3_read_irqenable() 777 for (i = 0; i < dispc->feat->num_planes; ++i) in dispc_k3_read_irqenable() 795 for (i = 0; i < dispc->feat->num_vps; ++i) { in dispc_k3_set_irqenable() 803 for (i = 0; i < dispc->feat->num_planes; ++i) { in dispc_k3_set_irqenable() [all …]
|
H A D | tidss_kms.c | 116 const struct dispc_features *feat = tidss->feat; in tidss_dispc_modeset_init() local 117 u32 max_vps = feat->num_vps; in tidss_dispc_modeset_init() 118 u32 max_planes = feat->num_planes; in tidss_dispc_modeset_init() 147 switch (feat->vp_bus_type[i]) { in tidss_dispc_modeset_init() 192 u32 hw_plane_id = feat->vid_order[tidss->num_planes]; in tidss_dispc_modeset_init() 227 u32 hw_plane_id = feat->vid_order[tidss->num_planes]; in tidss_dispc_modeset_init()
|
/openbmc/linux/drivers/misc/ |
H A D | ad525x_dpot.c | 90 unsigned int feat; member 133 if (dpot->feat & F_RDACS_WONLY) in dpot_read_spi() 169 if (dpot->feat & F_SPI_16BIT) in dpot_read_spi() 171 else if (dpot->feat & F_SPI_24BIT) in dpot_read_spi() 233 if (dpot->feat & F_SPI) in dpot_read() 244 if (dpot->feat & F_RDACS_WONLY) in dpot_write_spi() 247 if (dpot->feat & F_AD_APPDATA) { in dpot_write_spi() 248 if (dpot->feat & F_SPI_8BIT) { in dpot_write_spi() 253 } else if (dpot->feat & F_SPI_16BIT) { in dpot_write_spi() 320 if (dpot->feat & F_SPI_16BIT) in dpot_write_spi() [all …]
|
/openbmc/qemu/scripts/ |
H A D | cpu-x86-uarch-abi.py | 156 for feat in models[name]["features"]: 157 allfeatures[feat] = True 161 for feat in allfeatures: 166 if feat not in models[name]["features"]: 169 commonfeatures.append(feat)
|
/openbmc/linux/drivers/gpu/drm/omapdrm/dss/ |
H A D | dss.c | 116 if (dss->feat->outputs[OMAP_DSS_CHANNEL_LCD] & OMAP_DSS_OUTPUT_SDI) { in dss_save_context() 135 if (dss->feat->outputs[OMAP_DSS_CHANNEL_LCD] & OMAP_DSS_OUTPUT_SDI) { in dss_restore_context() 369 if (dss->feat->outputs[OMAP_DSS_CHANNEL_LCD] & OMAP_DSS_OUTPUT_SDI) { in dss_dump_regs() 413 if (WARN_ON(dss->feat->has_lcd_clk_src && clk_src != DSS_CLK_SRC_FCK)) in dss_select_dispc_clk_source() 432 dss->feat->dispc_clk_switch.start, in dss_select_dispc_clk_source() 433 dss->feat->dispc_clk_switch.end); in dss_select_dispc_clk_source() 561 if (!dss->feat->has_lcd_clk_src) { in dss_select_lcd_clk_source() 567 r = dss->feat->ops->select_lcd_source(dss, channel, clk_src); in dss_select_lcd_clk_source() 588 if (dss->feat->has_lcd_clk_src) { in dss_get_lcd_clk_source() 608 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() 1268 if (dispc->feat->has_writeback) in dispc_configure_burst_sizes() [all …]
|
/openbmc/qemu/bsd-user/arm/ |
H A D | target_arch_elf.h | 37 #define GET_FEATURE(feat, hwcap) \ argument 38 do { if (arm_feature(&cpu->env, feat)) { hwcaps |= hwcap; } } while (0) 40 #define GET_FEATURE_ID(feat, hwcap) \ argument 41 do { if (cpu_isar_feature(feat, cpu)) { hwcaps |= hwcap; } } while (0)
|
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | dss.c | 91 const struct dss_features *feat; member 534 fckd_hw_max = dss.feat->fck_div_max; in dss_div_calc() 536 m = dss.feat->dss_fck_multiplier; in dss_div_calc() 592 fck_div = DIV_ROUND_UP(prate * dss.feat->dss_fck_multiplier, in dss_setup_default_clock() 594 fck = DIV_ROUND_UP(prate, fck_div) * dss.feat->dss_fck_multiplier; in dss_setup_default_clock() 728 return dss.feat->dpi_select_source(port, channel); in dss_dpi_select_source() 743 if (dss.feat->parent_clk_name) { in dss_get_clocks() 744 clk = clk_get(NULL, dss.feat->parent_clk_name); in dss_get_clocks() 746 DSSERR("Failed to get %s\n", dss.feat->parent_clk_name); in dss_get_clocks() 929 if (dss.feat->num_ports == 0) in dss_init_ports() [all …]
|
/openbmc/linux/tools/perf/util/ |
H A D | header.h | 133 int (*copy)(struct feat_copier *fc, int feat, struct feat_writer *fw); 143 void perf_header__set_feat(struct perf_header *header, int feat); 144 void perf_header__clear_feat(struct perf_header *header, int feat); 145 bool perf_header__has_feat(const struct perf_header *header, int feat); 153 int feat, int fd, void *data));
|
/openbmc/qemu/tests/qtest/fuzz/ |
H A D | virtio_scsi_fuzz.c | 40 uint64_t feat; in qvirtio_scsi_init() local 45 feat = qvirtio_get_features(dev); in qvirtio_scsi_init() 47 feat &= ~QVIRTIO_F_BAD_FEATURE | mask; in qvirtio_scsi_init() 49 feat &= ~(QVIRTIO_F_BAD_FEATURE | (1ull << VIRTIO_RING_F_EVENT_IDX)); in qvirtio_scsi_init() 51 qvirtio_set_features(dev, feat); in qvirtio_scsi_init()
|
/openbmc/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()
|
/openbmc/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; \
|
/openbmc/linux/drivers/thermal/qcom/ |
H A D | tsens.c | 343 if (priv->feat->adc) in tsens_hw_to_mC() 365 if (priv->feat->adc) in tsens_mC_to_hw() 374 return priv->feat->ver_major; in tsens_version() 476 if (priv->feat->crit_int) { in tsens_threshold_violated() 574 if (priv->feat->has_watchdog) { in tsens_critical_irq_thread() 708 cl_high = clamp_val(high, priv->feat->trip_min_temp, priv->feat->trip_max_temp); in tsens_set_trips() 709 cl_low = clamp_val(low, priv->feat->trip_min_temp, priv->feat->trip_max_temp); in tsens_set_trips() 818 priv->feat->max_sensors, priv->num_sensors); in dbg_sensors_show() 848 seq_printf(s, "0.%d.0\n", priv->feat->ver_major); in dbg_version_show() 1011 for (i = 0; i < priv->feat->max_sensors; i++) { in init_common() [all …]
|