Home
last modified time | relevance | path

Searched refs:feat (Results 1 – 26 of 26) sorted by relevance

/linux-4.4.14/net/dccp/
Dfeat.c216 static const char *dccp_feat_fname(const u8 feat) in dccp_feat_fname() argument
230 if (feat > DCCPF_DATA_CHECKSUM && feat < DCCPF_MIN_CCID_SPECIFIC) in dccp_feat_fname()
233 if (feat == DCCPF_SEND_LEV_RATE) in dccp_feat_fname()
235 if (feat >= DCCPF_MIN_CCID_SPECIFIC) in dccp_feat_fname()
238 return feature_names[feat]; in dccp_feat_fname()
291 #define dccp_feat_print_opt(opt, feat, val, len, mandatory) do { \ argument
292 dccp_pr_debug("%s(%s, ", dccp_feat_oname(opt), dccp_feat_fname(feat));\
293 dccp_feat_printvals(feat, val, len); \
304 #define dccp_feat_print_opt(opt, feat, val, len, mandatory) argument
454 dccp_feat_entry_new(struct list_head *head, u8 feat, bool local) in dccp_feat_entry_new() argument
[all …]
Dfeat.h112 int dccp_feat_register_sp(struct sock *sk, u8 feat, u8 is_local,
115 u8 mand, u8 opt, u8 feat, u8 *val, u8 len);
132 u64 dccp_feat_nn_get(struct sock *sk, u8 feat);
135 int dccp_insert_fn_opt(struct sk_buff *skb, u8 type, u8 feat, u8 *val, u8 len,
Doptions.c504 int dccp_insert_fn_opt(struct sk_buff *skb, u8 type, u8 feat, in dccp_insert_fn_opt() argument
511 DCCP_WARN("length %u for feature %u too large\n", len, feat); in dccp_insert_fn_opt()
520 DCCP_WARN("packet too small for feature %d option!\n", feat); in dccp_insert_fn_opt()
528 *to++ = feat; in dccp_insert_fn_opt()
DMakefile3 dccp-y := ccid.o feat.o input.o minisocks.o options.o output.o proto.o timer.o \
Ddccp.h472 int dccp_feat_signal_nn_change(struct sock *sk, u8 feat, u64 nn_val);
/linux-4.4.14/tools/build/
DMakefile.feature87 $(foreach feat,$(FEATURE_TESTS),$(call set_test_all_flags,$(feat)))
102 $(foreach feat,$(FEATURE_TESTS),$(call feature_set,$(feat)))
105 $(foreach feat,$(FEATURE_TESTS),$(call feature_check,$(feat)))
127 FEATURE_DUMP := $(foreach feat,$(FEATURE_DISPLAY),feature-$(feat)($(feature-$(feat))))
153 $(foreach feat,$(FEATURE_DISPLAY),$(call feature_display_check,$(feat)))
163 $(foreach feat,$(FEATURE_DISPLAY),$(call feature_print_status,$(feat),))
176 $(foreach feat,$(TMP),$(call feature_print_status,$(feat),))
/linux-4.4.14/drivers/misc/
Dad525x_dpot.c91 unsigned feat; member
134 if (dpot->feat & F_RDACS_WONLY) in dpot_read_spi()
167 if (dpot->feat & F_SPI_16BIT) in dpot_read_spi()
169 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 …]
/linux-4.4.14/tools/perf/util/
Dheader.h88 void perf_header__set_feat(struct perf_header *header, int feat);
89 void perf_header__clear_feat(struct perf_header *header, int feat);
90 bool perf_header__has_feat(const struct perf_header *header, int feat);
98 int feat, int fd, void *data));
Dheader.c47 void perf_header__set_feat(struct perf_header *header, int feat) in perf_header__set_feat() argument
49 set_bit(feat, header->adds_features); in perf_header__set_feat()
52 void perf_header__clear_feat(struct perf_header *header, int feat) in perf_header__clear_feat() argument
54 clear_bit(feat, header->adds_features); in perf_header__clear_feat()
57 bool perf_header__has_feat(const struct perf_header *header, int feat) in perf_header__has_feat() argument
59 return test_bit(feat, header->adds_features); in perf_header__has_feat()
1960 int feat, int fd, void *data) in perf_file_section__fprintf_info() argument
1966 "%d, continuing...\n", section->offset, feat); in perf_file_section__fprintf_info()
1969 if (feat >= HEADER_LAST_FEATURE) { in perf_file_section__fprintf_info()
1970 pr_warning("unknown feature %d\n", feat); in perf_file_section__fprintf_info()
[all …]
/linux-4.4.14/arch/arm/mm/
Dcache-tauros2.c211 u32 feat; in tauros2_internal_init() local
217 feat = read_extra_features(); in tauros2_internal_init()
218 if (!(feat & 0x00400000)) { in tauros2_internal_init()
220 write_extra_features(feat | 0x00400000); in tauros2_internal_init()
/linux-4.4.14/drivers/video/fbdev/omap2/dss/
Ddss.c101 const struct dss_features *feat; member
544 fckd_hw_max = dss.feat->fck_div_max; in dss_div_calc()
546 m = dss.feat->dss_fck_multiplier; in dss_div_calc()
602 fck_div = DIV_ROUND_UP(prate * dss.feat->dss_fck_multiplier, in dss_setup_default_clock()
604 fck = DIV_ROUND_UP(prate, fck_div) * dss.feat->dss_fck_multiplier; in dss_setup_default_clock()
738 return dss.feat->dpi_select_source(port, channel); in dss_dpi_select_source()
753 if (dss.feat->parent_clk_name) { in dss_get_clocks()
754 clk = clk_get(NULL, dss.feat->parent_clk_name); in dss_get_clocks()
756 DSSERR("Failed to get %s\n", dss.feat->parent_clk_name); in dss_get_clocks()
939 dss.feat = dst; in dss_init_features()
[all …]
Ddispc.c124 const struct dispc_features *feat; member
548 if (channel == OMAP_DSS_CHANNEL_DIGIT && dispc.feat->no_framedone_tv) in dispc_mgr_get_framedone_irq()
1133 val = FLD_VAL(height - 1, dispc.feat->mgr_height_start, 16) | in dispc_mgr_set_size()
1134 FLD_VAL(width - 1, dispc.feat->mgr_width_start, 0); in dispc_mgr_set_size()
1151 for (fifo = 0; fifo < dispc.feat->num_fifos; ++fifo) { in dispc_init_fifos()
1170 if (dispc.feat->gfx_fifo_workaround) { in dispc_init_fifos()
1206 for (fifo = 0; fifo < dispc.feat->num_fifos; ++fifo) { in dispc_ovl_get_fifo_size()
1247 if (dss_has_feature(FEAT_PRELOAD) && dispc.feat->set_max_preload && in dispc_ovl_set_fifo_threshold()
2267 *core_clk = dispc.feat->calc_core_clk(pclk, in_width, in dispc_ovl_calc_scaling_24xx()
2322 *core_clk = dispc.feat->calc_core_clk(pclk, in_width, in dispc_ovl_calc_scaling_34xx()
[all …]
/linux-4.4.14/arch/powerpc/platforms/pseries/
Dfirmware.c118 unsigned int index, feat; in fw_vec5_feature_init() local
125 feat = OV5_FEAT(vec5_fw_features_table[i].feature); in fw_vec5_feature_init()
127 if (vec5[index] & feat) in fw_vec5_feature_init()
/linux-4.4.14/arch/s390/include/asm/
Dcpufeature.h25 #define cpu_feature(feat) ilog2(HWCAP_S390_ ## feat) argument
/linux-4.4.14/arch/arm/mach-omap2/
Did.c206 #define OMAP3_SHOW_FEATURE(feat) \ argument
207 if (omap3_has_ ##feat()) \
208 printk(#feat" ");
259 #define OMAP3_CHECK_FEATURE(status,feat) \ argument
260 if (((status & OMAP3_ ##feat## _MASK) \
261 >> OMAP3_ ##feat## _SHIFT) != FEAT_ ##feat## _NONE) { \
262 omap_features |= OMAP3_HAS_ ##feat; \
Dsoc.h510 #define OMAP3_HAS_FEATURE(feat,flag) \ argument
511 static inline unsigned int omap3_has_ ##feat(void) \
529 #define OMAP4_HAS_FEATURE(feat, flag) \ argument
530 static inline unsigned int omap4_has_ ##feat(void) \
/linux-4.4.14/drivers/media/usb/em28xx/
Dem28xx-core.c506 int vid1, vid2, feat, cfg; in em28xx_audio_setup() local
576 feat = em28xx_read_ac97(dev, AC97_RESET); in em28xx_audio_setup()
577 if (feat < 0) in em28xx_audio_setup()
580 em28xx_warn("AC97 features = 0x%04x\n", feat); in em28xx_audio_setup()
583 if (((vid == 0xffffffff) || (vid == 0x83847650)) && (feat == 0x6a90)) in em28xx_audio_setup()
/linux-4.4.14/tools/perf/
Dbuiltin-record.c439 int feat; in record__init_features() local
441 for (feat = HEADER_FIRST_FEATURE; feat < HEADER_LAST_FEATURE; feat++) in record__init_features()
442 perf_header__set_feat(&session->header, feat); in record__init_features()
Dbuiltin-timechart.c1508 int feat, in process_header() argument
1514 switch (feat) { in process_header()
/linux-4.4.14/drivers/net/wireless/ath/carl9170/
Dfw.c252 #define SUPP(feat) \ in carl9170_fw() argument
253 (carl9170fw_supports(otus_desc->feature_set, feat)) in carl9170_fw()
/linux-4.4.14/drivers/net/wireless/ath/ath10k/
Dcore.c218 enum ath10k_fw_features feat) in ath10k_core_get_fw_feature_str() argument
224 if (feat >= ARRAY_SIZE(ath10k_core_fw_feature_str) || in ath10k_core_get_fw_feature_str()
225 WARN_ON(!ath10k_core_fw_feature_str[feat])) { in ath10k_core_get_fw_feature_str()
226 return scnprintf(buf, buf_len, "bit%d", feat); in ath10k_core_get_fw_feature_str()
229 return scnprintf(buf, buf_len, "%s", ath10k_core_fw_feature_str[feat]); in ath10k_core_get_fw_feature_str()
/linux-4.4.14/arch/x86/kvm/
Dlapic.c285 struct kvm_cpuid_entry2 *feat; in kvm_apic_set_version() local
291 feat = kvm_find_cpuid_entry(apic->vcpu, 0x1, 0); in kvm_apic_set_version()
292 if (feat && (feat->ecx & (1 << (X86_FEATURE_X2APIC & 31)))) in kvm_apic_set_version()
Dx86.c987 struct kvm_cpuid_entry2 *feat; in kvm_valid_efer() local
989 feat = kvm_find_cpuid_entry(vcpu, 0x80000001, 0); in kvm_valid_efer()
990 if (!feat || !(feat->edx & bit(X86_FEATURE_FXSR_OPT))) in kvm_valid_efer()
995 struct kvm_cpuid_entry2 *feat; in kvm_valid_efer() local
997 feat = kvm_find_cpuid_entry(vcpu, 0x80000001, 0); in kvm_valid_efer()
998 if (!feat || !(feat->ecx & bit(X86_FEATURE_SVM))) in kvm_valid_efer()
/linux-4.4.14/net/dcb/
Ddcbnl.c1303 struct nlattr *feat = nla_nest_start(skb, DCB_ATTR_CEE_FEAT); in dcbnl_cee_fill() local
1304 if (!feat) in dcbnl_cee_fill()
1313 nla_nest_end(skb, feat); in dcbnl_cee_fill()
/linux-4.4.14/fs/ocfs2/
Dnamei.c517 u16 feat; in __ocfs2_mknod_locked() local
577 feat = le16_to_cpu(fe->i_dyn_features); in __ocfs2_mknod_locked()
579 fe->i_dyn_features = cpu_to_le16(feat | OCFS2_INLINE_DATA_FL); in __ocfs2_mknod_locked()
/linux-4.4.14/drivers/s390/scsi/
Dzfcp_fsf.c980 u32 feat = adapter->adapter_features; in zfcp_fsf_setup_ct_els_sbals() local
1002 if (!(feat & FSF_FEATURE_ELS_CT_CHAINED_SBALS)) in zfcp_fsf_setup_ct_els_sbals()