Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/net/dccp/
Dfeat.c213 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 …]
Dfeat.h109 int dccp_feat_register_sp(struct sock *sk, u8 feat, u8 is_local,
112 u8 mand, u8 opt, u8 feat, u8 *val, u8 len);
129 u64 dccp_feat_nn_get(struct sock *sk, u8 feat);
132 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()
DMakefile4 dccp-y := ccid.o feat.o input.o minisocks.o options.o output.o proto.o timer.o \
/kernel/linux/linux-5.10/tools/build/
DMakefile.feature141 $(foreach feat,$(FEATURE_TESTS),$(call set_test_all_flags,$(feat)))
156 $(foreach feat,$(FEATURE_TESTS),$(call feature_set,$(feat)))
166 $(foreach feat,$(FEATURE_TESTS),$(call feature_check,$(feat)))
206 $(foreach feat,$(FEATURE_DISPLAY),$(call feature_dump_check,$(call feature_assign,$(feat)),feature_…
211 $(foreach feat,$(FEATURE_TESTS),$(call feature_dump_check,$(call feature_assign,$(feat)),feature_du…
222 …$(foreach feat,$(FEATURE_TESTS),$(shell echo "$(call feature_assign,$(feat))" >> $(FEATURE_DUMP_FI…
232 $(foreach feat,$(FEATURE_DISPLAY),$(call feature_display_check,$(feat)))
242 $(foreach feat,$(FEATURE_DISPLAY),$(call feature_print_status,$(feat),))
250 $(foreach feat,$(TMP),$(call feature_print_status,$(feat),))
/kernel/linux/linux-5.10/drivers/misc/
Dad525x_dpot.c90 unsigned int feat; member
133 if (dpot->feat & F_RDACS_WONLY) in dpot_read_spi()
166 if (dpot->feat & F_SPI_16BIT) in dpot_read_spi()
168 else if (dpot->feat & F_SPI_24BIT) in dpot_read_spi()
230 if (dpot->feat & F_SPI) in dpot_read()
241 if (dpot->feat & F_RDACS_WONLY) in dpot_write_spi()
244 if (dpot->feat & F_AD_APPDATA) { in dpot_write_spi()
245 if (dpot->feat & F_SPI_8BIT) { in dpot_write_spi()
250 } else if (dpot->feat & F_SPI_16BIT) { in dpot_write_spi()
317 if (dpot->feat & F_SPI_16BIT) in dpot_write_spi()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/tidss/
Dtidss_dispc.c294 const struct dispc_features *feat; member
681 for (i = 0; i < dispc->feat->num_vps; ++i) { in dispc_k3_clear_irqstatus()
687 for (i = 0; i < dispc->feat->num_planes; ++i) { in dispc_k3_clear_irqstatus()
693 if (dispc->feat->subrev == DISPC_K2G) in dispc_k3_clear_irqstatus()
708 for (i = 0; i < dispc->feat->num_vps; ++i) in dispc_k3_read_and_clear_irqstatus()
711 for (i = 0; i < dispc->feat->num_planes; ++i) in dispc_k3_read_and_clear_irqstatus()
724 for (i = 0; i < dispc->feat->num_vps; ++i) in dispc_k3_read_irqenable()
727 for (i = 0; i < dispc->feat->num_planes; ++i) in dispc_k3_read_irqenable()
745 for (i = 0; i < dispc->feat->num_vps; ++i) { in dispc_k3_set_irqenable()
753 for (i = 0; i < dispc->feat->num_planes; ++i) { in dispc_k3_set_irqenable()
[all …]
Dtidss_kms.c119 const struct dispc_features *feat = tidss->feat; in tidss_dispc_modeset_init() local
120 u32 max_vps = feat->num_vps; in tidss_dispc_modeset_init()
121 u32 max_planes = feat->num_planes; in tidss_dispc_modeset_init()
150 switch (feat->vp_bus_type[i]) { in tidss_dispc_modeset_init()
196 u32 hw_plane_id = feat->vid_order[tidss->num_planes]; in tidss_dispc_modeset_init()
236 u32 hw_plane_id = feat->vid_order[tidss->num_planes]; in tidss_dispc_modeset_init()
Dtidss_drv.h21 const struct dispc_features *feat; member
Dtidss_crtc.c134 for (layer = 0; layer < tidss->feat->num_planes; layer++) { in tidss_crtc_position_planes()
407 bool has_ctm = tidss->feat->vp_feat.color.has_ctm; in tidss_crtc_create()
433 if (tidss->feat->vp_feat.color.gamma_size) in tidss_crtc_create()
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/
Ddss.c116 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 …]
Ddispc.c182 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()
679 if (channel == OMAP_DSS_CHANNEL_DIGIT && dispc->feat->no_framedone_tv) in dispc_mgr_get_framedone_irq()
919 if (dispc->feat->has_writeback) in dispc_setup_color_conv_coef()
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/
Ddss.c91 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()
931 if (dss.feat->num_ports == 0) in dss_init_ports()
[all …]
Ddispc.c118 const struct dispc_features *feat; member
550 if (channel == OMAP_DSS_CHANNEL_DIGIT && dispc.feat->no_framedone_tv) in dispc_mgr_get_framedone_irq()
695 if (dispc.feat->has_writeback) in dispc_setup_color_conv_coef()
1023 if (dispc.feat->has_writeback) in dispc_configure_burst_sizes()
1105 val = FLD_VAL(height - 1, dispc.feat->mgr_height_start, 16) | in dispc_mgr_set_size()
1106 FLD_VAL(width - 1, dispc.feat->mgr_width_start, 0); in dispc_mgr_set_size()
1123 for (fifo = 0; fifo < dispc.feat->num_fifos; ++fifo) { in dispc_init_fifos()
1142 if (dispc.feat->gfx_fifo_workaround) { in dispc_init_fifos()
1172 if (dispc.feat->has_writeback) { in dispc_init_fifos()
1189 for (fifo = 0; fifo < dispc.feat->num_fifos; ++fifo) { in dispc_ovl_get_fifo_size()
[all …]
/kernel/linux/linux-5.10/tools/perf/util/
Dheader.h122 void perf_header__set_feat(struct perf_header *header, int feat);
123 void perf_header__clear_feat(struct perf_header *header, int feat);
124 bool perf_header__has_feat(const struct perf_header *header, int feat);
132 int feat, int fd, void *data));
Dheader.c76 void perf_header__set_feat(struct perf_header *header, int feat) in perf_header__set_feat() argument
78 set_bit(feat, header->adds_features); in perf_header__set_feat()
81 void perf_header__clear_feat(struct perf_header *header, int feat) in perf_header__clear_feat() argument
83 clear_bit(feat, header->adds_features); in perf_header__clear_feat()
86 bool perf_header__has_feat(const struct perf_header *header, int feat) in perf_header__has_feat() argument
88 return test_bit(feat, header->adds_features); in perf_header__has_feat()
3137 int feat, int fd, void *data) in perf_file_section__fprintf_info() argument
3144 "%d, continuing...\n", section->offset, feat); in perf_file_section__fprintf_info()
3147 if (feat >= HEADER_LAST_FEATURE) { in perf_file_section__fprintf_info()
3148 pr_warning("unknown feature %d\n", feat); in perf_file_section__fprintf_info()
[all …]
/kernel/linux/linux-5.10/arch/arm/mm/
Dcache-tauros2.c216 u32 feat; in tauros2_internal_init() local
222 feat = read_extra_features(); in tauros2_internal_init()
223 if (!(feat & 0x00400000)) { in tauros2_internal_init()
225 write_extra_features(feat | 0x00400000); in tauros2_internal_init()
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dcpufeature.h26 #define cpu_feature(feat) ilog2(HWCAP_S390_ ## feat) argument
/kernel/linux/linux-5.10/arch/arm/mach-omap2/
Did.c203 #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; \
Dsoc.h437 #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) \
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
Dfirmware.c130 unsigned int index, feat; in fw_vec5_feature_init() local
137 feat = OV5_FEAT(vec5_fw_features_table[i].feature); in fw_vec5_feature_init()
139 if (index < len && (vec5[index] & feat)) in fw_vec5_feature_init()
/kernel/linux/linux-5.10/drivers/net/ethernet/google/gve/
Dgve_rx.c282 netdev_features_t feat, u32 idx) in gve_rx() argument
364 if (likely(feat & NETIF_F_RXCSUM)) { in gve_rx()
374 if (likely(feat & NETIF_F_RXHASH) && in gve_rx()
403 netdev_features_t feat) in gve_clean_rx_done() argument
423 if (!gve_rx(rx, desc, feat, idx)) in gve_clean_rx_done()
449 netdev_features_t feat; in gve_rx_poll() local
452 feat = block->napi.dev->features; in gve_rx_poll()
459 repoll |= gve_clean_rx_done(rx, budget, feat); in gve_rx_poll()
/kernel/linux/linux-5.10/drivers/thermal/qcom/
Dtsens.c161 if (priv->feat->adc) in tsens_hw_to_mC()
183 if (priv->feat->adc) in tsens_mC_to_hw()
192 return priv->feat->ver_major; in tsens_version()
294 if (priv->feat->crit_int) { in tsens_threshold_violated()
392 if (priv->feat->has_watchdog) { in tsens_critical_irq_thread()
630 priv->feat->max_sensors, priv->num_sensors); in dbg_sensors_show()
798 for (i = 0; i < priv->feat->max_sensors; i++) { in init_common()
811 if (priv->feat->crit_int) { in init_common()
814 for (i = 0; i < priv->feat->max_sensors; i++) { in init_common()
831 priv->feat->has_watchdog = 1; in init_common()
[all …]
Dtsens-v2.c100 .feat = &tsens_v2_feat,
108 .feat = &tsens_v2_feat,
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/aspeed-vhub/
Dhub.c627 u8 port, u16 feat) in ast_vhub_set_port_feature() argument
637 switch(feat) { in ast_vhub_set_port_feature()
670 u8 port, u16 feat) in ast_vhub_clr_port_feature() argument
680 switch(feat) { in ast_vhub_clr_port_feature()
708 p->change &= ~(1u << (feat - 16)); in ast_vhub_clr_port_feature()

123