Home
last modified time | relevance | path

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

/linux-4.1.27/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.h470 int dccp_feat_signal_nn_change(struct sock *sk, u8 feat, u64 nn_val);
/linux-4.1.27/tools/build/
DMakefile.feature81 $(foreach feat,$(FEATURE_TESTS),$(call set_test_all_flags,$(feat)))
96 $(foreach feat,$(FEATURE_TESTS),$(call feature_set,$(feat)))
99 $(foreach feat,$(FEATURE_TESTS),$(call feature_check,$(feat)))
120 FEATURE_DUMP := $(foreach feat,$(FEATURE_DISPLAY),feature-$(feat)($(feature-$(feat))))
146 $(foreach feat,$(FEATURE_DISPLAY),$(call feature_display_check,$(feat)))
156 $(foreach feat,$(FEATURE_DISPLAY),$(call feature_print_status,$(feat),))
169 $(foreach feat,$(TMP),$(call feature_print_status,$(feat),))
/linux-4.1.27/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.1.27/drivers/video/fbdev/omap2/dss/
Ddss.c100 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()
930 dss.feat = dst; in dss_init_features()
[all …]
Ddispc.c120 const struct dispc_features *feat; member
544 if (channel == OMAP_DSS_CHANNEL_DIGIT && dispc.feat->no_framedone_tv) in dispc_mgr_get_framedone_irq()
1129 val = FLD_VAL(height - 1, dispc.feat->mgr_height_start, 16) | in dispc_mgr_set_size()
1130 FLD_VAL(width - 1, dispc.feat->mgr_width_start, 0); in dispc_mgr_set_size()
1147 for (fifo = 0; fifo < dispc.feat->num_fifos; ++fifo) { in dispc_init_fifos()
1166 if (dispc.feat->gfx_fifo_workaround) { in dispc_init_fifos()
1202 for (fifo = 0; fifo < dispc.feat->num_fifos; ++fifo) { in dispc_ovl_get_fifo_size()
1243 if (dss_has_feature(FEAT_PRELOAD) && dispc.feat->set_max_preload && in dispc_ovl_set_fifo_threshold()
2254 *core_clk = dispc.feat->calc_core_clk(pclk, in_width, in dispc_ovl_calc_scaling_24xx()
2305 *core_clk = dispc.feat->calc_core_clk(pclk, in_width, in dispc_ovl_calc_scaling_34xx()
[all …]
/linux-4.1.27/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.1.27/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.1.27/tools/perf/util/
Dheader.h111 void perf_header__set_feat(struct perf_header *header, int feat);
112 void perf_header__clear_feat(struct perf_header *header, int feat);
113 bool perf_header__has_feat(const struct perf_header *header, int feat);
121 int feat, int fd, void *data));
Dheader.c50 void perf_header__set_feat(struct perf_header *header, int feat) in perf_header__set_feat() argument
52 set_bit(feat, header->adds_features); in perf_header__set_feat()
55 void perf_header__clear_feat(struct perf_header *header, int feat) in perf_header__clear_feat() argument
57 clear_bit(feat, header->adds_features); in perf_header__clear_feat()
60 bool perf_header__has_feat(const struct perf_header *header, int feat) in perf_header__has_feat() argument
62 return test_bit(feat, header->adds_features); in perf_header__has_feat()
1873 int feat, int fd, void *data) in perf_file_section__fprintf_info() argument
1879 "%d, continuing...\n", section->offset, feat); in perf_file_section__fprintf_info()
1882 if (feat >= HEADER_LAST_FEATURE) { in perf_file_section__fprintf_info()
1883 pr_warning("unknown feature %d\n", feat); in perf_file_section__fprintf_info()
[all …]
/linux-4.1.27/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.h508 #define OMAP3_HAS_FEATURE(feat,flag) \ argument
509 static inline unsigned int omap3_has_ ##feat(void) \
527 #define OMAP4_HAS_FEATURE(feat, flag) \ argument
528 static inline unsigned int omap4_has_ ##feat(void) \
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Ddt_object.c854 const struct dt_index_features *feat; in dt_index_read() local
882 feat = dt_index_feat_select(fid_seq(&ii->ii_fid), in dt_index_read()
884 if (IS_ERR(feat)) { in dt_index_read()
885 rc = PTR_ERR(feat); in dt_index_read()
891 rc = obj->do_ops->do_index_try(env, obj, feat); in dt_index_read()
899 ii->ii_keysize = feat->dif_keysize_max; in dt_index_read()
900 if ((feat->dif_flags & DT_IND_VARKEY) != 0) { in dt_index_read()
908 ii->ii_recsize = feat->dif_recsize_max; in dt_index_read()
909 if ((feat->dif_flags & DT_IND_VARREC) != 0) { in dt_index_read()
917 if ((feat->dif_flags & DT_IND_NONUNQ) != 0) in dt_index_read()
/linux-4.1.27/tools/perf/
Dbuiltin-record.c295 int feat; in record__init_features() local
297 for (feat = HEADER_FIRST_FEATURE; feat < HEADER_LAST_FEATURE; feat++) in record__init_features()
298 perf_header__set_feat(&session->header, feat); in record__init_features()
Dbuiltin-timechart.c1507 int feat, in process_header() argument
1513 switch (feat) { in process_header()
/linux-4.1.27/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.1.27/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.1.27/arch/x86/kvm/
Dlapic.c276 struct kvm_cpuid_entry2 *feat; in kvm_apic_set_version() local
282 feat = kvm_find_cpuid_entry(apic->vcpu, 0x1, 0); in kvm_apic_set_version()
283 if (feat && (feat->ecx & (1 << (X86_FEATURE_X2APIC & 31)))) in kvm_apic_set_version()
Dx86.c961 struct kvm_cpuid_entry2 *feat; in kvm_valid_efer() local
963 feat = kvm_find_cpuid_entry(vcpu, 0x80000001, 0); in kvm_valid_efer()
964 if (!feat || !(feat->edx & bit(X86_FEATURE_FXSR_OPT))) in kvm_valid_efer()
969 struct kvm_cpuid_entry2 *feat; in kvm_valid_efer() local
971 feat = kvm_find_cpuid_entry(vcpu, 0x80000001, 0); in kvm_valid_efer()
972 if (!feat || !(feat->ecx & bit(X86_FEATURE_SVM))) in kvm_valid_efer()
/linux-4.1.27/net/dcb/
Ddcbnl.c1306 struct nlattr *feat = nla_nest_start(skb, DCB_ATTR_CEE_FEAT); in dcbnl_cee_fill() local
1307 if (!feat) in dcbnl_cee_fill()
1316 nla_nest_end(skb, feat); in dcbnl_cee_fill()
/linux-4.1.27/fs/ocfs2/
Dnamei.c510 u16 feat; in __ocfs2_mknod_locked() local
570 feat = le16_to_cpu(fe->i_dyn_features); in __ocfs2_mknod_locked()
572 fe->i_dyn_features = cpu_to_le16(feat | OCFS2_INLINE_DATA_FL); in __ocfs2_mknod_locked()
/linux-4.1.27/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()
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Ddt_object.h422 const struct dt_index_features *feat);