Home
last modified time | relevance | path

Searched refs:prof (Results 1 – 25 of 46) sorted by relevance

12

/linux/drivers/net/ethernet/intel/ice/
H A Dice_flow.c698 struct ice_flow_prof *prof; member
773 sz = (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDR_VLAN) ? in ice_flow_calc_seg_sz()
777 if (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDR_IPV4) in ice_flow_calc_seg_sz()
779 else if (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDR_IPV6) in ice_flow_calc_seg_sz()
781 else if (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDR_ARP) in ice_flow_calc_seg_sz()
783 else if (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDRS_L4_MASK) in ice_flow_calc_seg_sz()
788 if (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDR_ICMP) in ice_flow_calc_seg_sz()
790 else if (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDR_TCP) in ice_flow_calc_seg_sz()
792 else if (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDR_UDP) in ice_flow_calc_seg_sz()
794 else if (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDR_SCTP) in ice_flow_calc_seg_sz()
[all …]
H A Dice_flex_pipe.c626 ice_find_prot_off(struct ice_hw *hw, enum ice_block blk, u8 prof, u16 fv_idx, in ice_find_prot_off() argument
631 if (prof >= hw->blk[blk].es.count) in ice_find_prot_off()
637 fv_ext = hw->blk[blk].es.t + (prof * hw->blk[blk].es.fvw); in ice_find_prot_off()
1156 ice_prof_has_mask_idx(struct ice_hw *hw, enum ice_block blk, u8 prof, u16 idx, in ice_prof_has_mask_idx() argument
1171 if (hw->blk[blk].es.mask_ena[prof] & BIT(i)) in ice_prof_has_mask_idx()
1199 ice_prof_has_mask(struct ice_hw *hw, enum ice_block blk, u8 prof, u16 *masks) in ice_prof_has_mask() argument
1205 if (!ice_prof_has_mask_idx(hw, blk, prof, i, masks[i])) in ice_prof_has_mask()
1944 sizeof(*hw->blk[block_id].prof.t); in ice_fill_tbl()
1945 dst = (u8 *)hw->blk[block_id].prof.t; in ice_fill_tbl()
1946 dst_len = hw->blk[block_id].prof.count * in ice_fill_tbl()
[all …]
H A Dice_parser.c2365 struct ice_parser_profile *prof) in ice_parser_profile_init() argument
2374 memset(prof, 0, sizeof(*prof)); in ice_parser_profile_init()
2375 set_bit(rslt->ptype, prof->ptypes); in ice_parser_profile_init()
2377 prof->flags = rslt->flags_sw; in ice_parser_profile_init()
2378 prof->flags_msk = ICE_KEYBUILD_FLAG_MASK_DEFAULT_SW; in ice_parser_profile_init()
2380 prof->flags = rslt->flags_acl; in ice_parser_profile_init()
2381 prof->flags_msk = ICE_KEYBUILD_FLAG_MASK_DEFAULT_ACL; in ice_parser_profile_init()
2383 prof->flags = rslt->flags_fd; in ice_parser_profile_init()
2384 prof->flags_msk = ICE_KEYBUILD_FLAG_MASK_DEFAULT_FD; in ice_parser_profile_init()
2386 prof->flags = rslt->flags_rss; in ice_parser_profile_init()
[all …]
H A Dice_vf_lib.h98 struct ice_parser_profile prof; member
111 struct ice_parser_profile prof; member
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_main.c166 params->prof[i].rx_pause = !(pfcrx || pfctx); in mlx4_en_get_profile()
167 params->prof[i].rx_ppp = pfcrx; in mlx4_en_get_profile()
168 params->prof[i].tx_pause = !(pfcrx || pfctx); in mlx4_en_get_profile()
169 params->prof[i].tx_ppp = pfctx; in mlx4_en_get_profile()
171 params->prof[i].tx_ring_size = MLX4_EN_MIN_TX_SIZE; in mlx4_en_get_profile()
172 params->prof[i].rx_ring_size = MLX4_EN_MIN_RX_SIZE; in mlx4_en_get_profile()
174 params->prof[i].tx_ring_size = MLX4_EN_DEF_TX_RING_SIZE; in mlx4_en_get_profile()
175 params->prof[i].rx_ring_size = MLX4_EN_DEF_RX_RING_SIZE; in mlx4_en_get_profile()
177 params->prof[i].num_up = MLX4_EN_NUM_UP_LOW; in mlx4_en_get_profile()
178 params->prof[i].num_tx_rings_p_up = params->max_num_tx_rings_p_up; in mlx4_en_get_profile()
[all …]
H A Den_dcb_nl.c159 struct mlx4_en_port_profile *prof = priv->prof; in mlx4_en_dcbnl_set_all() local
168 rx_ppp = prof->rx_ppp; in mlx4_en_dcbnl_set_all()
169 tx_ppp = prof->tx_ppp; in mlx4_en_dcbnl_set_all()
195 rx_pause = !!(rx_ppp || tx_ppp) ? 0 : prof->rx_pause; in mlx4_en_dcbnl_set_all()
196 tx_pause = !!(rx_ppp || tx_ppp) ? 0 : prof->tx_pause; in mlx4_en_dcbnl_set_all()
200 rx_pause = prof->rx_pause; in mlx4_en_dcbnl_set_all()
201 tx_pause = prof->tx_pause; in mlx4_en_dcbnl_set_all()
211 prof->tx_ppp = tx_ppp; in mlx4_en_dcbnl_set_all()
212 prof->rx_ppp = rx_ppp; in mlx4_en_dcbnl_set_all()
213 prof->tx_pause = tx_pause; in mlx4_en_dcbnl_set_all()
[all …]
H A Den_netdev.c107 memcpy(&new_prof, priv->prof, sizeof(struct mlx4_en_port_profile)); in mlx4_en_alloc_tx_queue_per_tc()
1777 priv->prof->tx_pause, in mlx4_en_start_port()
1778 priv->prof->tx_ppp, in mlx4_en_start_port()
1779 priv->prof->rx_pause, in mlx4_en_start_port()
1780 priv->prof->rx_ppp); in mlx4_en_start_port()
2149 priv->prof->rx_ring_size, priv->stride); in mlx4_en_free_resources()
2158 struct mlx4_en_port_profile *prof = priv->prof; in mlx4_en_alloc_resources() local
2167 prof->tx_ring_size, i, t, node)) in mlx4_en_alloc_resources()
2171 prof->tx_ring_size, in mlx4_en_alloc_resources()
2181 prof->rx_ring_size, i, RX, node)) in mlx4_en_alloc_resources()
[all …]
H A Den_ethtool.c776 if (priv->prof->tx_pause) in ethtool_get_ptys_link_ksettings()
779 if (priv->prof->tx_pause ^ priv->prof->rx_pause) in ethtool_get_ptys_link_ksettings()
1075 rx_ppp = (tx_pause || rx_pause) ? 0 : priv->prof->rx_ppp; in mlx4_en_set_pauseparam()
1076 tx_ppp = (tx_pause || rx_pause) ? 0 : priv->prof->tx_ppp; in mlx4_en_set_pauseparam()
1089 priv->prof->tx_pause = tx_pause; in mlx4_en_set_pauseparam()
1090 priv->prof->rx_pause = rx_pause; in mlx4_en_set_pauseparam()
1091 priv->prof->tx_ppp = tx_ppp; in mlx4_en_set_pauseparam()
1092 priv->prof->rx_ppp = rx_ppp; in mlx4_en_set_pauseparam()
1120 pause->tx_pause = priv->prof->tx_pause; in mlx4_en_get_pauseparam()
1121 pause->rx_pause = priv->prof->rx_pause; in mlx4_en_get_pauseparam()
[all …]
H A Den_resources.c67 if (user_prio >= 0 && priv->prof->num_up == MLX4_EN_NUM_UP_HIGH) { in mlx4_en_fill_qp_context()
/linux/include/linux/
H A Dieee80211-eht.h1023 const struct ieee80211_mle_per_sta_profile *prof = (const void *)data; in ieee80211_mle_basic_sta_prof_size_ok() local
1025 u8 fixed = sizeof(*prof); in ieee80211_mle_basic_sta_prof_size_ok()
1031 control = le16_to_cpu(prof->control); in ieee80211_mle_basic_sta_prof_size_ok()
1057 return prof->sta_info_len >= info_len && in ieee80211_mle_basic_sta_prof_size_ok()
1058 fixed + prof->sta_info_len - 1 <= len; in ieee80211_mle_basic_sta_prof_size_ok()
1070 ieee80211_mle_basic_sta_prof_bss_param_ch_cnt(const struct ieee80211_mle_per_sta_profile *prof) in ieee80211_mle_basic_sta_prof_bss_param_ch_cnt() argument
1072 u16 control = le16_to_cpu(prof->control); in ieee80211_mle_basic_sta_prof_bss_param_ch_cnt()
1073 const u8 *pos = prof->variable; in ieee80211_mle_basic_sta_prof_bss_param_ch_cnt()
1106 ieee80211_mle_basic_sta_prof_enh_crit_upd(const struct ieee80211_mle_per_sta_profile *prof) in ieee80211_mle_basic_sta_prof_enh_crit_upd() argument
1108 u16 control = le16_to_cpu(prof->control); in ieee80211_mle_basic_sta_prof_enh_crit_upd()
[all …]
/linux/sound/pci/echoaudio/
H A Dmia_dsp.c18 static int set_professional_spdif(struct echoaudio *chip, char prof);
200 static int set_professional_spdif(struct echoaudio *chip, char prof) in set_professional_spdif() argument
202 dev_dbg(chip->card->dev, "set_professional_spdif %d\n", prof); in set_professional_spdif()
203 if (prof) in set_professional_spdif()
209 chip->professional_spdif = prof; in set_professional_spdif()
H A Dechoaudio_gml.c141 static int set_professional_spdif(struct echoaudio *chip, char prof) in set_professional_spdif() argument
153 if (prof) { in set_professional_spdif()
185 chip->professional_spdif = prof; in set_professional_spdif()
187 prof ? "Professional" : "Consumer"); in set_professional_spdif()
H A Dgina20_dsp.c17 static int set_professional_spdif(struct echoaudio *chip, char prof);
192 static int set_professional_spdif(struct echoaudio *chip, char prof) in set_professional_spdif() argument
194 if (prof) in set_professional_spdif()
200 chip->professional_spdif = prof; in set_professional_spdif()
H A Dlayla20_dsp.c18 static int set_professional_spdif(struct echoaudio *chip, char prof);
266 static int set_professional_spdif(struct echoaudio *chip, char prof) in set_professional_spdif() argument
268 if (prof) in set_professional_spdif()
274 chip->professional_spdif = prof; in set_professional_spdif()
H A Dechoaudio_3g.c161 static int set_professional_spdif(struct echoaudio *chip, char prof) in set_professional_spdif() argument
166 chip->professional_spdif = prof; in set_professional_spdif()
/linux/net/mac80211/
H A Dparse.c900 struct ieee80211_mle_per_sta_profile *prof = (void *)sub->data; in ieee80211_mle_get_sta_prof() local
911 control = le16_to_cpu(prof->control); in ieee80211_mle_get_sta_prof()
933 elems->prof = (void *)elems_parse->scratch_pos; in ieee80211_mle_get_sta_prof()
947 struct ieee80211_mle_per_sta_profile *prof; in ieee80211_prep_mle_link_parse() local
991 prof = elems->prof; in ieee80211_prep_mle_link_parse()
993 if (!prof) in ieee80211_prep_mle_link_parse()
997 if (elems->sta_prof_len < sizeof(*prof) + prof->sta_info_len - 1 + 4) { in ieee80211_prep_mle_link_parse()
998 elems->prof = NULL; in ieee80211_prep_mle_link_parse()
1009 sub->start = prof->variable + prof->sta_info_len - 1 + 4; in ieee80211_prep_mle_link_parse()
1010 end = (const u8 *)prof + elems->sta_prof_len; in ieee80211_prep_mle_link_parse()
/linux/drivers/net/ethernet/intel/ice/virt/
H A Drss.c1378 struct ice_parser_profile prof; in ice_parse_raw_rss_pattern() local
1411 pkt_len, ICE_BLK_RSS, &prof); in ice_parse_raw_rss_pattern()
1415 memcpy(&raw_cfg->prof, &prof, sizeof(prof)); in ice_parse_raw_rss_pattern()
1440 struct ice_parser_profile *prof = &cfg->prof; in ice_add_raw_rss_cfg() local
1449 id = find_first_bit(prof->ptypes, ICE_FLOW_PTYPE_MAX); in ice_add_raw_rss_cfg()
1455 if (rss_prof->prof.fv_num) { in ice_add_raw_rss_cfg()
1457 if (rss_prof->prof.fv[i].proto_id != in ice_add_raw_rss_cfg()
1458 prof->fv[i].proto_id || in ice_add_raw_rss_cfg()
1459 rss_prof->prof.fv[i].offset != in ice_add_raw_rss_cfg()
1460 prof->fv[i].offset) in ice_add_raw_rss_cfg()
[all …]
H A Dfdir.c46 struct ice_parser_profile *prof; member
641 struct ice_flow_prof *prof = NULL; in ice_vc_fdir_write_flow_prof() local
682 tun + 1, false, &prof); in ice_vc_fdir_write_flow_prof()
689 ret = ice_flow_add_entry(hw, ICE_BLK_FD, prof->id, vf_vsi->idx, in ice_vc_fdir_write_flow_prof()
698 ret = ice_flow_add_entry(hw, ICE_BLK_FD, prof->id, vf_vsi->idx, in ice_vc_fdir_write_flow_prof()
722 vf_prof->prof_id[tun] = prof->id; in ice_vc_fdir_write_flow_prof()
728 ice_get_hw_vsi_num(hw, vf_vsi->idx), prof->id); in ice_vc_fdir_write_flow_prof()
731 ice_flow_rem_prof(hw, ICE_BLK_FD, prof->id); in ice_vc_fdir_write_flow_prof()
878 conf->prof = kzalloc_obj(*conf->prof); in ice_vc_fdir_parse_raw()
879 if (!conf->prof) { in ice_vc_fdir_parse_raw()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/fw/
H A Dregulatory.c254 struct iwl_sar_profile *prof; in iwl_sar_fill_table() local
265 prof = &fwrt->sar_profiles[profs[i] - 1]; in iwl_sar_fill_table()
268 if (!prof->enabled) { in iwl_sar_fill_table()
285 cpu_to_le16(prof->chains[i].subbands[j]); in iwl_sar_fill_table()
287 j, prof->chains[i].subbands[j]); in iwl_sar_fill_table()
H A Dacpi.c933 struct iwl_geo_profile *prof = &fwrt->geo_profiles[i]; in iwl_acpi_get_wgds_table() local
935 for (j = 0; j < ARRAY_SIZE(prof->bands); j++) { in iwl_acpi_get_wgds_table()
944 prof->bands[j].max = prof->bands[1].max; in iwl_acpi_get_wgds_table()
954 prof->bands[j].max = in iwl_acpi_get_wgds_table()
959 k < ARRAY_SIZE(prof->bands[0].chains); in iwl_acpi_get_wgds_table()
963 prof->bands[j].chains[k] = in iwl_acpi_get_wgds_table()
964 prof->bands[1].chains[k]; in iwl_acpi_get_wgds_table()
974 prof->bands[j].chains[k] = in iwl_acpi_get_wgds_table()
H A Duefi.c655 for (int prof = 0; prof < data->num_profiles; prof++) { in iwl_uefi_get_wgds_table() local
656 const u8 *val = &data->vals[profile_size * prof]; in iwl_uefi_get_wgds_table()
657 struct iwl_geo_profile *geo_prof = &fwrt->geo_profiles[prof]; in iwl_uefi_get_wgds_table()
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_debugfs.c2557 struct nix_bandprof_s *prof) in print_band_prof_ctx() argument
2561 switch (prof->pc_mode) { in print_band_prof_ctx()
2576 str = (prof->icolor == 3) ? "Color blind" : in print_band_prof_ctx()
2577 (prof->icolor == 0) ? "Green" : in print_band_prof_ctx()
2578 (prof->icolor == 1) ? "Yellow" : "Red"; in print_band_prof_ctx()
2580 seq_printf(m, "W0: tnl_ena\t\t%d\n", prof->tnl_ena); in print_band_prof_ctx()
2581 seq_printf(m, "W0: peir_exponent\t%d\n", prof->peir_exponent); in print_band_prof_ctx()
2582 seq_printf(m, "W0: pebs_exponent\t%d\n", prof->pebs_exponent); in print_band_prof_ctx()
2583 seq_printf(m, "W0: cir_exponent\t%d\n", prof->cir_exponent); in print_band_prof_ctx()
2584 seq_printf(m, "W0: cbs_exponent\t%d\n", prof->cbs_exponent); in print_band_prof_ctx()
[all …]
/linux/drivers/s390/net/
H A Dctcm_fsms.c258 duration = done_stamp - ch->prof.send_stamp; in chx_txdone()
259 if (duration > ch->prof.tx_time) in chx_txdone()
260 ch->prof.tx_time = duration; in chx_txdone()
289 if (ch->prof.maxmulti < (ch->collect_len + 2)) in chx_txdone()
290 ch->prof.maxmulti = ch->collect_len + 2; in chx_txdone()
291 if (ch->prof.maxcqueue < skb_queue_len(&ch->collect_queue)) in chx_txdone()
292 ch->prof.maxcqueue = skb_queue_len(&ch->collect_queue); in chx_txdone()
308 ch->prof.send_stamp = jiffies; in chx_txdone()
310 ch->prof.doios_multi++; in chx_txdone()
1236 duration = done_stamp - ch->prof.send_stamp; in ctcmpc_chx_txdone()
[all …]
/linux/tools/perf/
H A Dbuiltin-ftrace.c1224 struct ftrace_profile_data *prof = NULL;
1226 if (!hashmap__find(ftrace->profile_hash, func, &prof)) {
1232 prof = zalloc(sizeof(*prof)); in add_func_duration()
1233 if (prof == NULL) { in add_func_duration()
1238 init_stats(&prof->st); in add_func_duration()
1239 hashmap__add(ftrace->profile_hash, key, prof); in add_func_duration()
1242 update_stats(&prof->st, time_ns); in add_func_duration()
1231 struct ftrace_profile_data *prof = NULL; add_func_duration() local
/linux/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
H A Dipoib.c777 const struct mlx5e_profile *prof = mlx5_get_profile(mdev); in mlx5_rdma_setup_rn() local
800 err = mlx5e_priv_init(epriv, prof, netdev, mdev); in mlx5_rdma_setup_rn()
804 epriv->profile = prof; in mlx5_rdma_setup_rn()
807 prof->init(mdev, netdev); in mlx5_rdma_setup_rn()
828 prof->cleanup(epriv); in mlx5_rdma_setup_rn()

12