| /linux/drivers/net/ethernet/intel/ice/ |
| A D | ice_flow.c | 731 prof = params->prof; in ice_flow_proc_seg_hdrs() 1203 struct ice_flow_prof *prof = params->prof; in ice_flow_create_xtrct_seq() local 1380 if (!prof) in ice_flow_add_prof_sync() 1435 *prof = params->prof; in ice_flow_add_prof_sync() 1752 e->prof = prof; in ice_flow_add_entry() 1795 prof = entry->prof; in ice_flow_rem_entry() 1797 if (prof) { in ice_flow_rem_entry() 2283 seg = &prof->segs[prof->segs_cnt - 1]; in ice_rss_set_symm() 2366 if (prof) in ice_add_rss_cfg_sync() 2377 if (prof) { in ice_add_rss_cfg_sync() [all …]
|
| A D | ice_ethtool_fdir.c | 285 prof->vsi_h[i] = prof->vsi_h[i + 1]; in ice_fdir_remap_entries() 289 prof->vsi_h[i] = 0; in ice_fdir_remap_entries() 309 if (!prof || !prof->cnt) in ice_fdir_rem_adq_chnl() 336 prof->cnt--; in ice_fdir_rem_adq_chnl() 367 if (!prof) in ice_fdir_erase_flow_from_hw() 377 if (!prof->entry_h[j][tun] || !prof->vsi_h[j]) in ice_fdir_erase_flow_from_hw() 403 if (!prof) in ice_fdir_rem_flow() 408 prof->vsi_h[i] = 0; in ice_fdir_rem_flow() 415 prof->cnt = 0; in ice_fdir_rem_flow() 619 if (idx == prof->cnt) in ice_fdir_prof_vsi_idx() [all …]
|
| A D | ice_flex_pipe.c | 2165 struct ice_prof_tcam *prof = &hw->blk[i].prof; in ice_clear_hw_tbls() local 2187 memset(prof->t, 0, prof->count * sizeof(*prof->t)); in ice_clear_hw_tbls() 2215 struct ice_prof_tcam *prof = &hw->blk[i].prof; in ice_init_hw_tbls() local 2280 prof->t = devm_kcalloc(ice_hw_to_dev(hw), prof->count, in ice_init_hw_tbls() 2283 if (!prof->t) in ice_init_hw_tbls() 2969 prof->ptg[prof->ptg_cnt] = ptg; in ice_add_prof_attrib() 2971 &prof->attr[prof->ptg_cnt]); in ice_add_prof_attrib() 3094 if (!prof) { in ice_add_prof() 3144 prof->ptg[prof->ptg_cnt] = ptg; in ice_add_prof() 3145 prof->attr[prof->ptg_cnt].flags = 0; in ice_add_prof() [all …]
|
| A D | ice_parser.c | 2371 memset(prof, 0, sizeof(*prof)); in ice_parser_profile_init() 2374 prof->flags = rslt->flags_sw; in ice_parser_profile_init() 2377 prof->flags = rslt->flags_acl; in ice_parser_profile_init() 2380 prof->flags = rslt->flags_fd; in ice_parser_profile_init() 2397 prof->fv[prof->fv_num].proto_id = proto_id; in ice_parser_profile_init() 2398 prof->fv[prof->fv_num].offset = proto_off; in ice_parser_profile_init() 2399 prof->fv[prof->fv_num].spec = *(const u16 *)&pkt_buf[off]; in ice_parser_profile_init() 2400 prof->fv[prof->fv_num].msk = *(const u16 *)&msk_buf[off]; in ice_parser_profile_init() 2401 prof->fv_num++; in ice_parser_profile_init() 2425 prof->fv[i].proto_id, prof->fv[i].offset, in ice_parser_profile_dump() [all …]
|
| A D | ice_virtchnl_fdir.c | 46 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() 722 vf_prof->prof_id[tun] = prof->id; in ice_vc_fdir_write_flow_prof() 872 conf->prof = kzalloc(sizeof(*conf->prof), GFP_KERNEL); in ice_vc_fdir_parse_raw() 873 if (!conf->prof) { in ice_vc_fdir_parse_raw() 880 conf->prof); in ice_vc_fdir_parse_raw() 896 kfree(conf->prof); in ice_vc_fdir_parse_raw() 2008 &conf->prof->fv[i])) in ice_vc_add_fdir_raw() 2057 &conf->prof->fv[i]); in ice_vc_add_fdir_raw() [all …]
|
| A D | ice_flow.h | 410 struct ice_flow_prof *prof; member 447 bool symm, struct ice_flow_prof **prof); 451 struct ice_parser_profile *prof, enum ice_block blk);
|
| /linux/drivers/s390/block/ |
| A D | dasd_proc.c | 195 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() 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() 234 dasd_statistics_array(m, prof->dasd_io_time2, factor); in dasd_stats_proc_show() 239 dasd_statistics_array(m, prof->dasd_io_time3, factor); in dasd_stats_proc_show() [all …]
|
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| A D | cn10k.c | 378 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 …]
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| A D | en_main.c | 166 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 …]
|
| A D | en_dcb_nl.c | 159 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 …]
|
| A D | en_netdev.c | 1778 priv->prof->tx_ppp, in mlx4_en_start_port() 1780 priv->prof->rx_ppp); in mlx4_en_start_port() 2158 struct mlx4_en_port_profile *prof = priv->prof; in mlx4_en_alloc_resources() local 2202 prof->rx_ring_size, in mlx4_en_alloc_resources() 2230 dst->flags = prof->flags; in mlx4_en_copy_priv() 2234 dst->prof = prof; in mlx4_en_copy_priv() 2285 memcpy(dst->prof, src->prof, sizeof(struct mlx4_en_port_profile)); in mlx4_en_update_priv() 3215 priv->prof = prof; in mlx4_en_init_netdev() 3218 priv->flags = prof->flags; in mlx4_en_init_netdev() 3459 prof->tx_pause, prof->tx_ppp, in mlx4_en_init_netdev() [all …]
|
| A D | en_ethtool.c | 776 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() 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() 1308 priv->prof->rss_rings = rss_rings; in mlx4_en_set_rxfh() 1813 priv->prof->num_up; in mlx4_en_get_channels() 1867 0 : priv->prof->num_up; in mlx4_en_set_channels() [all …]
|
| A D | mlx4_en.h | 410 struct mlx4_en_port_profile prof[MLX4_MAX_PORTS + 1]; member 540 struct mlx4_en_port_profile *prof; member 675 struct mlx4_en_port_profile *prof); 687 struct mlx4_en_port_profile *prof,
|
| /linux/drivers/s390/net/ |
| A D | ctcm_sysfs.c | 96 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()
|
| A D | netiucv.c | 689 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 …]
|
| A D | ctcm_fsms.c | 259 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 …]
|
| /linux/sound/pci/echoaudio/ |
| A D | mia_dsp.c | 33 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()
|
| A D | echoaudio_gml.c | 156 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()
|
| A D | gina20_dsp.c | 32 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()
|
| A D | layla20_dsp.c | 33 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()
|
| /linux/net/mac80211/ |
| A D | parse.c | 822 struct ieee80211_mle_per_sta_profile *prof = (void *)sub->data; in ieee80211_mle_get_sta_prof() local 833 control = le16_to_cpu(prof->control); in ieee80211_mle_get_sta_prof() 855 elems->prof = (void *)elems_parse->scratch_pos; in ieee80211_mle_get_sta_prof() 867 struct ieee80211_mle_per_sta_profile *prof; in ieee80211_mle_parse_link() local 898 prof = elems->prof; in ieee80211_mle_parse_link() 900 if (!prof) in ieee80211_mle_parse_link() 904 if (elems->sta_prof_len < sizeof(*prof) + prof->sta_info_len - 1 + 4) { in ieee80211_mle_parse_link() 905 elems->prof = NULL; in ieee80211_mle_parse_link() 916 sub.start = prof->variable + prof->sta_info_len - 1 + 4; in ieee80211_mle_parse_link() 917 end = (const u8 *)prof + elems->sta_prof_len; in ieee80211_mle_parse_link()
|
| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| A D | rvu_debugfs.c | 2534 struct nix_bandprof_s *prof) in print_band_prof_ctx() argument 2538 switch (prof->pc_mode) { in print_band_prof_ctx() 2554 (prof->icolor == 0) ? "Green" : in print_band_prof_ctx() 2590 (u64)prof->green_pkt_pass); in print_band_prof_ctx() 2592 (u64)prof->yellow_pkt_pass); in print_band_prof_ctx() 2595 (u64)prof->green_octs_pass); in print_band_prof_ctx() 2597 (u64)prof->yellow_octs_pass); in print_band_prof_ctx() 2600 (u64)prof->green_pkt_drop); in print_band_prof_ctx() 2602 (u64)prof->yellow_pkt_drop); in print_band_prof_ctx() 2605 (u64)prof->green_octs_drop); in print_band_prof_ctx() [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/fw/ |
| A D | regulatory.c | 228 struct iwl_sar_profile *prof; in iwl_sar_fill_table() local 239 prof = &fwrt->sar_profiles[profs[i] - 1]; in iwl_sar_fill_table() 242 if (!prof->enabled) { in iwl_sar_fill_table() 259 cpu_to_le16(prof->chains[i].subbands[j]); in iwl_sar_fill_table() 261 j, prof->chains[i].subbands[j]); in iwl_sar_fill_table()
|
| /linux/tools/perf/ |
| A D | builtin-ftrace.c | 1014 struct ftrace_profile_data *prof = NULL; in add_func_duration() local 1016 if (!hashmap__find(ftrace->profile_hash, func, &prof)) { in add_func_duration() 1022 prof = zalloc(sizeof(*prof)); in add_func_duration() 1023 if (prof == NULL) { in add_func_duration() 1028 init_stats(&prof->st); in add_func_duration() 1029 hashmap__add(ftrace->profile_hash, key, prof); in add_func_duration() 1032 update_stats(&prof->st, time_ns); in add_func_duration()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
| A D | ipoib.c | 766 const struct mlx5e_profile *prof = mlx5_get_profile(mdev); in mlx5_rdma_setup_rn() local 789 err = mlx5e_priv_init(epriv, prof, netdev, mdev); in mlx5_rdma_setup_rn() 793 epriv->profile = prof; in mlx5_rdma_setup_rn() 796 prof->init(mdev, netdev); in mlx5_rdma_setup_rn() 817 prof->cleanup(epriv); in mlx5_rdma_setup_rn()
|