Home
last modified time | relevance | path

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

123

/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_flow.c708 prof = params->prof; in ice_flow_proc_seg_hdrs()
1180 struct ice_flow_prof *prof = params->prof; in ice_flow_create_xtrct_seq() local
1349 if (!prof) in ice_flow_add_prof_sync()
1397 *prof = params->prof; in ice_flow_add_prof_sync()
1543 prof); in ice_flow_add_prof()
1629 e->prof = prof; in ice_flow_add_entry()
1674 prof = entry->prof; in ice_flow_rem_entry()
1676 if (prof) { in ice_flow_rem_entry()
2084 if (prof) in ice_add_rss_cfg_sync()
2094 if (prof) { in ice_add_rss_cfg_sync()
[all …]
H A Dice_ethtool_fdir.c277 prof->vsi_h[i] = prof->vsi_h[i + 1]; in ice_fdir_remap_entries()
281 prof->vsi_h[i] = 0; in ice_fdir_remap_entries()
301 if (!prof || !prof->cnt) in ice_fdir_rem_adq_chnl()
330 prof->cnt--; in ice_fdir_rem_adq_chnl()
361 if (!prof) in ice_fdir_erase_flow_from_hw()
372 if (!prof->entry_h[j][tun] || !prof->vsi_h[j]) in ice_fdir_erase_flow_from_hw()
398 if (!prof) in ice_fdir_rem_flow()
403 prof->vsi_h[i] = 0; in ice_fdir_rem_flow()
410 prof->cnt = 0; in ice_fdir_rem_flow()
608 if (idx == prof->cnt) in ice_fdir_prof_vsi_idx()
[all …]
H A Dice_flex_pipe.c2153 struct ice_prof_tcam *prof = &hw->blk[i].prof; in ice_clear_hw_tbls() local
2175 memset(prof->t, 0, prof->count * sizeof(*prof->t)); in ice_clear_hw_tbls()
2199 struct ice_prof_tcam *prof = &hw->blk[i].prof; in ice_init_hw_tbls() local
2264 prof->t = devm_kcalloc(ice_hw_to_dev(hw), prof->count, in ice_init_hw_tbls()
2267 if (!prof->t) in ice_init_hw_tbls()
2942 prof->ptg[prof->ptg_cnt] = ptg; in ice_add_prof_attrib()
2944 &prof->attr[prof->ptg_cnt]); in ice_add_prof_attrib()
3019 if (!prof) { in ice_add_prof()
3069 prof->ptg[prof->ptg_cnt] = ptg; in ice_add_prof()
3070 prof->attr[prof->ptg_cnt].flags = 0; in ice_add_prof()
[all …]
H A Dice_flow.h352 struct ice_flow_prof *prof; member
391 struct ice_flow_prof **prof);
H A Dice_flex_pipe.h13 ice_find_prot_off(struct ice_hw *hw, enum ice_block blk, u8 prof, u16 fv_idx,
/openbmc/linux/drivers/s390/block/
H A Ddasd_proc.c200 struct dasd_profile_info *prof; in dasd_stats_proc_show() local
204 prof = dasd_global_profile.data; in dasd_stats_proc_show()
205 if (!prof) { in dasd_stats_proc_show()
219 prof->dasd_io_sects); in dasd_stats_proc_show()
231 dasd_statistics_array(m, prof->dasd_io_secs, factor); in dasd_stats_proc_show()
233 dasd_statistics_array(m, prof->dasd_io_times, factor); in dasd_stats_proc_show()
235 dasd_statistics_array(m, prof->dasd_io_timps, factor); in dasd_stats_proc_show()
237 dasd_statistics_array(m, prof->dasd_io_time1, factor); in dasd_stats_proc_show()
239 dasd_statistics_array(m, prof->dasd_io_time2, factor); in dasd_stats_proc_show()
244 dasd_statistics_array(m, prof->dasd_io_time3, factor); in dasd_stats_proc_show()
[all …]
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dcn10k.c378 aq->prof.icolor = 0x03; in cn10k_set_ipolicer_rate()
394 aq->prof.rdiv = rdiv; in cn10k_set_ipolicer_rate()
411 aq->prof.adjust_exponent = 1; in cn10k_set_ipolicer_rate()
414 aq->prof.adjust_mantissa = 384; in cn10k_set_ipolicer_rate()
417 aq->prof.lmode = 0x1; in cn10k_set_ipolicer_rate()
424 aq->prof.meter_algo = 2; in cn10k_set_ipolicer_rate()
441 aq->prof.peir_exponent = 24; in cn10k_set_ipolicer_rate()
444 aq->prof.peir_mantissa = 0; in cn10k_set_ipolicer_rate()
447 aq->prof.pebs_exponent = 24; in cn10k_set_ipolicer_rate()
450 aq->prof.pebs_mantissa = 0; in cn10k_set_ipolicer_rate()
[all …]
/openbmc/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()
177 params->prof[i].num_up = MLX4_EN_NUM_UP_LOW; in mlx4_en_get_profile()
180 params->prof[i].num_up; in mlx4_en_get_profile()
181 params->prof[i].rss_rings = 0; 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()
200 rx_pause = prof->rx_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()
214 prof->rx_pause = rx_pause; in mlx4_en_dcbnl_set_all()
415 struct mlx4_en_port_profile *prof = priv->prof; in mlx4_en_dcbnl_ieee_setpfc() local
442 prof->tx_ppp = tx_ppp; in mlx4_en_dcbnl_ieee_setpfc()
[all …]
H A Den_netdev.c1775 priv->prof->tx_ppp, in mlx4_en_start_port()
1777 priv->prof->rx_ppp); in mlx4_en_start_port()
2154 struct mlx4_en_port_profile *prof = priv->prof; in mlx4_en_alloc_resources() local
2198 prof->rx_ring_size, in mlx4_en_alloc_resources()
2226 dst->flags = prof->flags; in mlx4_en_copy_priv()
2230 dst->prof = prof; in mlx4_en_copy_priv()
2281 memcpy(dst->prof, src->prof, sizeof(struct mlx4_en_port_profile)); in mlx4_en_update_priv()
3140 priv->prof = prof; in mlx4_en_init_netdev()
3143 priv->flags = prof->flags; in mlx4_en_init_netdev()
3383 prof->tx_pause, prof->tx_ppp, in mlx4_en_init_netdev()
[all …]
H A Den_ethtool.c795 if (priv->prof->tx_pause) in ethtool_get_ptys_link_ksettings()
798 if (priv->prof->tx_pause ^ priv->prof->rx_pause) in ethtool_get_ptys_link_ksettings()
1108 priv->prof->tx_pause = tx_pause; in mlx4_en_set_pauseparam()
1109 priv->prof->rx_pause = rx_pause; in mlx4_en_set_pauseparam()
1110 priv->prof->tx_ppp = tx_ppp; in mlx4_en_set_pauseparam()
1111 priv->prof->rx_ppp = rx_ppp; in mlx4_en_set_pauseparam()
1139 pause->tx_pause = priv->prof->tx_pause; in mlx4_en_get_pauseparam()
1327 priv->prof->rss_rings = rss_rings; in mlx4_en_set_rxfh()
1832 priv->prof->num_up; in mlx4_en_get_channels()
1886 0 : priv->prof->num_up; in mlx4_en_set_channels()
[all …]
H A Dmlx4_en.h408 struct mlx4_en_port_profile prof[MLX4_MAX_PORTS + 1]; member
538 struct mlx4_en_port_profile *prof; member
673 struct mlx4_en_port_profile *prof);
685 struct mlx4_en_port_profile *prof,
/openbmc/linux/drivers/s390/net/
H A Dctcm_sysfs.c96 priv->channel[WRITE]->prof.maxmulti); in ctcm_print_statistics()
98 priv->channel[WRITE]->prof.maxcqueue); in ctcm_print_statistics()
100 priv->channel[WRITE]->prof.doios_single); in ctcm_print_statistics()
102 priv->channel[WRITE]->prof.doios_multi); in ctcm_print_statistics()
104 priv->channel[WRITE]->prof.txlen); in ctcm_print_statistics()
106 jiffies_to_usecs(priv->channel[WRITE]->prof.tx_time)); in ctcm_print_statistics()
133 memset(&priv->channel[WRITE]->prof, 0, in stats_write()
134 sizeof(priv->channel[CTCM_WRITE]->prof)); in stats_write()
H A Dnetiucv.c689 conn->prof.tx_pending--; in conn_action_txdone()
734 conn->prof.doios_multi++; in conn_action_txdone()
736 conn->prof.tx_pending++; in conn_action_txdone()
737 if (conn->prof.tx_pending > conn->prof.tx_max_pending) in conn_action_txdone()
738 conn->prof.tx_max_pending = conn->prof.tx_pending; in conn_action_txdone()
740 conn->prof.tx_pending--; in conn_action_txdone()
1178 conn->prof.doios_single++; in netiucv_transmit_skb()
1180 conn->prof.tx_pending++; in netiucv_transmit_skb()
1181 if (conn->prof.tx_pending > conn->prof.tx_max_pending) in netiucv_transmit_skb()
1182 conn->prof.tx_max_pending = conn->prof.tx_pending; in netiucv_transmit_skb()
[all …]
H A Dctcm_fsms.c259 duration = done_stamp - ch->prof.send_stamp; in chx_txdone()
260 if (duration > ch->prof.tx_time) in chx_txdone()
261 ch->prof.tx_time = duration; in chx_txdone()
291 ch->prof.maxmulti = ch->collect_len + 2; in chx_txdone()
309 ch->prof.send_stamp = jiffies; in chx_txdone()
311 ch->prof.doios_multi++; in chx_txdone()
1231 if (duration > ch->prof.tx_time) in ctcmpc_chx_txdone()
1232 ch->prof.tx_time = duration; in ctcmpc_chx_txdone()
1348 ch->prof.send_stamp = jiffies; in ctcmpc_chx_txdone()
1352 ch->prof.doios_multi++; in ctcmpc_chx_txdone()
[all …]
/openbmc/linux/sound/pci/echoaudio/
H A Dmia_dsp.c33 static int set_professional_spdif(struct echoaudio *chip, char prof);
215 static int set_professional_spdif(struct echoaudio *chip, char prof) in set_professional_spdif() argument
217 dev_dbg(chip->card->dev, "set_professional_spdif %d\n", prof); in set_professional_spdif()
218 if (prof) in set_professional_spdif()
224 chip->professional_spdif = prof; in set_professional_spdif()
H A Dechoaudio_gml.c156 static int set_professional_spdif(struct echoaudio *chip, char prof) in set_professional_spdif() argument
168 if (prof) { in set_professional_spdif()
200 chip->professional_spdif = prof; in set_professional_spdif()
202 prof ? "Professional" : "Consumer"); in set_professional_spdif()
H A Dgina20_dsp.c32 static int set_professional_spdif(struct echoaudio *chip, char prof);
207 static int set_professional_spdif(struct echoaudio *chip, char prof) in set_professional_spdif() argument
209 if (prof) in set_professional_spdif()
215 chip->professional_spdif = prof; in set_professional_spdif()
H A Dlayla20_dsp.c33 static int set_professional_spdif(struct echoaudio *chip, char prof);
281 static int set_professional_spdif(struct echoaudio *chip, char prof) in set_professional_spdif() argument
283 if (prof) in set_professional_spdif()
289 chip->professional_spdif = prof; in set_professional_spdif()
H A Dechoaudio_3g.c177 static int set_professional_spdif(struct echoaudio *chip, char prof) in set_professional_spdif() argument
182 chip->professional_spdif = prof; in set_professional_spdif()
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_debugfs.c2153 struct nix_bandprof_s *prof) in print_band_prof_ctx() argument
2157 switch (prof->pc_mode) { in print_band_prof_ctx()
2173 (prof->icolor == 0) ? "Green" : in print_band_prof_ctx()
2209 (u64)prof->green_pkt_pass); in print_band_prof_ctx()
2211 (u64)prof->yellow_pkt_pass); in print_band_prof_ctx()
2214 (u64)prof->green_octs_pass); in print_band_prof_ctx()
2216 (u64)prof->yellow_octs_pass); in print_band_prof_ctx()
2219 (u64)prof->green_pkt_drop); in print_band_prof_ctx()
2221 (u64)prof->yellow_pkt_drop); in print_band_prof_ctx()
2224 (u64)prof->green_octs_drop); in print_band_prof_ctx()
[all …]
/openbmc/openbmc/poky/bitbake/bin/
H A Dbitbake-worker330 prof = profile.Profile()
332 ret = profile.Profile.runcall(prof, child)
334 prof.dump_stats(profname)
564 prof = profile.Profile() variable
566 profile.Profile.runcall(prof, worker.serve)
568 prof.dump_stats(profname)
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
H A Dipoib.c763 const struct mlx5e_profile *prof = mlx5_get_profile(mdev); in mlx5_rdma_setup_rn() local
786 err = mlx5e_priv_init(epriv, prof, netdev, mdev); in mlx5_rdma_setup_rn()
790 epriv->profile = prof; in mlx5_rdma_setup_rn()
793 prof->init(mdev, netdev); in mlx5_rdma_setup_rn()
814 prof->cleanup(epriv); in mlx5_rdma_setup_rn()
/openbmc/linux/include/linux/
H A Dieee80211.h5062 const struct ieee80211_mle_per_sta_profile *prof = (const void *)data; in ieee80211_mle_basic_sta_prof_size_ok() local
5064 u8 fixed = sizeof(*prof); in ieee80211_mle_basic_sta_prof_size_ok()
5070 control = le16_to_cpu(prof->control); in ieee80211_mle_basic_sta_prof_size_ok()
5090 return prof->sta_info_len >= info_len && in ieee80211_mle_basic_sta_prof_size_ok()
5091 fixed + prof->sta_info_len - 1 <= len; in ieee80211_mle_basic_sta_prof_size_ok()
5105 u16 control = le16_to_cpu(prof->control); in ieee80211_mle_basic_sta_prof_bss_param_ch_cnt()
5106 const u8 *pos = prof->variable; in ieee80211_mle_basic_sta_prof_bss_param_ch_cnt()
5148 u8 fixed = sizeof(*prof); in ieee80211_mle_reconf_sta_prof_size_ok()
5154 control = le16_to_cpu(prof->control); in ieee80211_mle_reconf_sta_prof_size_ok()
5163 return prof->sta_info_len >= info_len && in ieee80211_mle_reconf_sta_prof_size_ok()
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/server/
H A Dprocess.py148 prof = profile.Profile()
150 ret = profile.Profile.runcall(prof, self.main)
152 prof.dump_stats("profile.log")
410 prof = profile.Profile()
412 ret = profile.Profile.runcall(prof, self.idle_thread_internal)
414 prof.dump_stats("profile-mainloop.log")

123