Home
last modified time | relevance | path

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

123

/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_ethtool_fdir.c275 ice_fdir_remap_entries(struct ice_fd_hw_prof *prof, int tun, int idx) in ice_fdir_remap_entries() argument
277 if (idx != prof->cnt && tun < ICE_FD_HW_SEG_MAX) { in ice_fdir_remap_entries()
280 for (i = idx; i < (prof->cnt - 1); i++) { in ice_fdir_remap_entries()
283 old_entry_h = prof->entry_h[i + 1][tun]; in ice_fdir_remap_entries()
284 prof->entry_h[i][tun] = old_entry_h; in ice_fdir_remap_entries()
285 prof->vsi_h[i] = prof->vsi_h[i + 1]; in ice_fdir_remap_entries()
288 prof->entry_h[i][tun] = 0; in ice_fdir_remap_entries()
289 prof->vsi_h[i] = 0; in ice_fdir_remap_entries()
306 struct ice_fd_hw_prof *prof = hw->fdir_prof[flow]; in ice_fdir_rem_adq_chnl() local
309 if (!prof || !prof->cnt) in ice_fdir_rem_adq_chnl()
[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
2371 memset(prof, 0, sizeof(*prof)); in ice_parser_profile_init()
2372 set_bit(rslt->ptype, prof->ptypes); in ice_parser_profile_init()
2374 prof->flags = rslt->flags_sw; in ice_parser_profile_init()
2375 prof->flags_msk = ICE_KEYBUILD_FLAG_MASK_DEFAULT_SW; in ice_parser_profile_init()
2377 prof->flags = rslt->flags_acl; in ice_parser_profile_init()
2378 prof->flags_msk = ICE_KEYBUILD_FLAG_MASK_DEFAULT_ACL; in ice_parser_profile_init()
2380 prof->flags = rslt->flags_fd; in ice_parser_profile_init()
2381 prof->flags_msk = ICE_KEYBUILD_FLAG_MASK_DEFAULT_FD; in ice_parser_profile_init()
2383 prof->flags = rslt->flags_rss; in ice_parser_profile_init()
[all …]
H A Dice_flow.h460 struct ice_flow_prof *prof; member
488 struct ice_parser_profile prof; member
503 bool symm, struct ice_flow_prof **prof);
507 struct ice_parser_profile *prof, enum ice_block blk);
/linux/drivers/s390/block/
H A Ddasd_proc.c195 struct dasd_profile_info *prof; in dasd_stats_proc_show() local
199 prof = dasd_global_profile.data; in dasd_stats_proc_show()
200 if (!prof) { in dasd_stats_proc_show()
209 for (factor = 1; (prof->dasd_io_reqs / factor) > 9999999; in dasd_stats_proc_show()
212 seq_printf(m, "%d dasd I/O requests\n", prof->dasd_io_reqs); in dasd_stats_proc_show()
214 prof->dasd_io_sects); in dasd_stats_proc_show()
226 dasd_statistics_array(m, prof->dasd_io_secs, factor); in dasd_stats_proc_show()
228 dasd_statistics_array(m, prof->dasd_io_times, factor); in dasd_stats_proc_show()
230 dasd_statistics_array(m, prof->dasd_io_timps, factor); in dasd_stats_proc_show()
232 dasd_statistics_array(m, prof->dasd_io_time1, factor); in dasd_stats_proc_show()
[all …]
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dcn10k.c411 aq->prof.icolor = 0x03; in cn10k_set_ipolicer_rate()
415 aq->prof.cir_exponent = rate_exp; in cn10k_set_ipolicer_rate()
418 aq->prof.cir_mantissa = rate_mantissa; in cn10k_set_ipolicer_rate()
421 aq->prof.cbs_exponent = burst_exp; in cn10k_set_ipolicer_rate()
424 aq->prof.cbs_mantissa = burst_mantissa; in cn10k_set_ipolicer_rate()
427 aq->prof.rdiv = rdiv; in cn10k_set_ipolicer_rate()
444 aq->prof.adjust_exponent = 1; in cn10k_set_ipolicer_rate()
447 aq->prof.adjust_mantissa = 384; in cn10k_set_ipolicer_rate()
450 aq->prof.lmode = 0x1; in cn10k_set_ipolicer_rate()
457 aq->prof.meter_algo = 2; in cn10k_set_ipolicer_rate()
[all …]
/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 …]
/linux/drivers/s390/net/
H A Dctcm_sysfs.c95 priv->channel[WRITE]->prof.maxmulti); in ctcm_print_statistics()
97 priv->channel[WRITE]->prof.maxcqueue); in ctcm_print_statistics()
99 priv->channel[WRITE]->prof.doios_single); in ctcm_print_statistics()
101 priv->channel[WRITE]->prof.doios_multi); in ctcm_print_statistics()
103 priv->channel[WRITE]->prof.txlen); in ctcm_print_statistics()
105 jiffies_to_usecs(priv->channel[WRITE]->prof.tx_time)); in ctcm_print_statistics()
132 memset(&priv->channel[WRITE]->prof, 0, in stats_write()
133 sizeof(priv->channel[CTCM_WRITE]->prof)); in stats_write()
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()
1243 duration = done_stamp - ch->prof.send_stamp; in ctcmpc_chx_txdone()
[all …]
/linux/include/linux/
H A Dieee80211-eht.h966 const struct ieee80211_mle_per_sta_profile *prof = (const void *)data; in ieee80211_mle_basic_sta_prof_size_ok() local
968 u8 fixed = sizeof(*prof); in ieee80211_mle_basic_sta_prof_size_ok()
974 control = le16_to_cpu(prof->control); in ieee80211_mle_basic_sta_prof_size_ok()
994 return prof->sta_info_len >= info_len && in ieee80211_mle_basic_sta_prof_size_ok()
995 fixed + prof->sta_info_len - 1 <= len; in ieee80211_mle_basic_sta_prof_size_ok()
1007 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
1009 u16 control = le16_to_cpu(prof->control); in ieee80211_mle_basic_sta_prof_bss_param_ch_cnt()
1010 const u8 *pos = prof->variable; in ieee80211_mle_basic_sta_prof_bss_param_ch_cnt()
1056 const struct ieee80211_mle_per_sta_profile *prof = (const void *)data; in ieee80211_mle_reconf_sta_prof_size_ok() local
1058 u8 fixed = sizeof(*prof); in ieee80211_mle_reconf_sta_prof_size_ok()
[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()
/linux/net/mac80211/
H A Dparse.c871 struct ieee80211_mle_per_sta_profile *prof = (void *)sub->data; in ieee80211_mle_get_sta_prof() local
882 control = le16_to_cpu(prof->control); in ieee80211_mle_get_sta_prof()
904 elems->prof = (void *)elems_parse->scratch_pos; in ieee80211_mle_get_sta_prof()
918 struct ieee80211_mle_per_sta_profile *prof; in ieee80211_prep_mle_link_parse() local
962 prof = elems->prof; in ieee80211_prep_mle_link_parse()
964 if (!prof) in ieee80211_prep_mle_link_parse()
968 if (elems->sta_prof_len < sizeof(*prof) + prof->sta_info_len - 1 + 4) { in ieee80211_prep_mle_link_parse()
969 elems->prof = NULL; in ieee80211_prep_mle_link_parse()
980 sub->start = prof->variable + prof->sta_info_len - 1 + 4; in ieee80211_prep_mle_link_parse()
981 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/ethernet/marvell/octeontx2/af/
H A Drvu_debugfs.c2598 struct nix_bandprof_s *prof) in print_band_prof_ctx() argument
2602 switch (prof->pc_mode) { in print_band_prof_ctx()
2617 str = (prof->icolor == 3) ? "Color blind" : in print_band_prof_ctx()
2618 (prof->icolor == 0) ? "Green" : in print_band_prof_ctx()
2619 (prof->icolor == 1) ? "Yellow" : "Red"; in print_band_prof_ctx()
2621 seq_printf(m, "W0: tnl_ena\t\t%d\n", prof->tnl_ena); in print_band_prof_ctx()
2622 seq_printf(m, "W0: peir_exponent\t%d\n", prof->peir_exponent); in print_band_prof_ctx()
2623 seq_printf(m, "W0: pebs_exponent\t%d\n", prof->pebs_exponent); in print_band_prof_ctx()
2624 seq_printf(m, "W0: cir_exponent\t%d\n", prof->cir_exponent); in print_band_prof_ctx()
2625 seq_printf(m, "W0: cbs_exponent\t%d\n", prof->cbs_exponent); in print_band_prof_ctx()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/fw/
H A Dregulatory.c245 struct iwl_sar_profile *prof; in iwl_sar_fill_table() local
256 prof = &fwrt->sar_profiles[profs[i] - 1]; in iwl_sar_fill_table()
259 if (!prof->enabled) { in iwl_sar_fill_table()
276 cpu_to_le16(prof->chains[i].subbands[j]); in iwl_sar_fill_table()
278 j, prof->chains[i].subbands[j]); in iwl_sar_fill_table()
/linux/tools/perf/
H A Dbuiltin-ftrace.c1230 struct ftrace_profile_data *prof = NULL; in add_func_duration() local
1232 if (!hashmap__find(ftrace->profile_hash, func, &prof)) { in add_func_duration()
1238 prof = zalloc(sizeof(*prof)); in add_func_duration()
1239 if (prof == NULL) { in add_func_duration()
1244 init_stats(&prof->st); in add_func_duration()
1245 hashmap__add(ftrace->profile_hash, key, prof); in add_func_duration()
1248 update_stats(&prof->st, time_ns); in add_func_duration()
/linux/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
H A Dipoib.c776 const struct mlx5e_profile *prof = mlx5_get_profile(mdev); in mlx5_rdma_setup_rn() local
799 err = mlx5e_priv_init(epriv, prof, netdev, mdev); in mlx5_rdma_setup_rn()
803 epriv->profile = prof; in mlx5_rdma_setup_rn()
806 prof->init(mdev, netdev); in mlx5_rdma_setup_rn()
827 prof->cleanup(epriv); in mlx5_rdma_setup_rn()

123