| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_flow.c | 698 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 in ice_flow_calc_seg_sz() 809 struct ice_flow_prof *prof; ice_flow_proc_seg_hdrs() local 1286 struct ice_flow_prof *prof = params->prof; ice_flow_create_xtrct_seq() local 1362 struct ice_flow_prof *p, *prof = NULL; ice_flow_find_prof_conds() local 1455 ice_flow_add_prof_sync(struct ice_hw * hw,enum ice_block blk,enum ice_flow_dir dir,struct ice_flow_seg_info * segs,u8 segs_cnt,bool symm,struct ice_flow_prof ** prof) ice_flow_add_prof_sync() argument 1539 ice_flow_rem_prof_sync(struct ice_hw * hw,enum ice_block blk,struct ice_flow_prof * prof) ice_flow_rem_prof_sync() argument 1582 ice_flow_assoc_prof(struct ice_hw * hw,enum ice_block blk,struct ice_flow_prof * prof,u16 vsi_handle) ice_flow_assoc_prof() argument 1613 ice_flow_disassoc_prof(struct ice_hw * hw,enum ice_block blk,struct ice_flow_prof * prof,u16 vsi_handle) ice_flow_disassoc_prof() argument 1656 ice_flow_set_parser_prof(struct ice_hw * hw,u16 dest_vsi,u16 fdir_vsi,struct ice_parser_profile * prof,enum ice_block blk) ice_flow_set_parser_prof() argument 1729 ice_flow_add_prof(struct ice_hw * hw,enum ice_block blk,enum ice_flow_dir dir,struct ice_flow_seg_info * segs,u8 segs_cnt,bool symm,struct ice_flow_prof ** prof) ice_flow_add_prof() argument 1766 struct ice_flow_prof *prof; ice_flow_rem_prof() local 1803 struct ice_flow_prof *prof; ice_flow_add_entry() local 1869 struct ice_flow_prof *prof; ice_flow_rem_entry() local 2008 struct ice_flow_prof *prof; ice_flow_rem_vsi_prof() local 2182 ice_get_rss_hdr_type(struct ice_flow_prof * prof) ice_get_rss_hdr_type() argument 2202 ice_rss_match_prof(struct ice_rss_cfg * r,struct ice_flow_prof * prof,enum ice_rss_cfg_hdr_type hdr_type) ice_rss_match_prof() argument 2219 ice_rem_rss_list(struct ice_hw * hw,u16 vsi_handle,struct ice_flow_prof * prof) ice_rem_rss_list() argument 2249 ice_add_rss_list(struct ice_hw * hw,u16 vsi_handle,struct ice_flow_prof * prof) ice_add_rss_list() argument 2340 ice_rss_set_symm(struct ice_hw * hw,struct ice_flow_prof * prof) ice_rss_set_symm() argument 2427 ice_rss_cfg_raw_symm(struct ice_hw * hw,const struct ice_parser_profile * prof,u64 prof_id) ice_rss_cfg_raw_symm() argument 2547 struct ice_flow_prof *prof = NULL; ice_add_rss_cfg_sync() local 2696 struct ice_flow_prof *prof; ice_rem_rss_cfg_sync() local [all...] |
| H A D | ice_flex_pipe.c | 617 * ice_find_prot_off - find prot ID and offset pair, based on prof and FV index 620 * @prof: profile ID 626 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() 1151 * @prof: profile to check 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() 1195 * @prof: profile to check 1199 ice_prof_has_mask(struct ice_hw *hw, enum ice_block blk, u8 prof, u1 argument 2161 struct ice_prof_tcam *prof = &hw->blk[i].prof; ice_clear_hw_tbls() local 2211 struct ice_prof_tcam *prof = &hw->blk[i].prof; ice_init_hw_tbls() local 2955 ice_add_prof_attrib(struct ice_prof_map * prof,u8 ptg,u16 ptype,const struct ice_ptype_attributes * attr,u16 attr_cnt) ice_add_prof_attrib() argument 3048 struct ice_prof_map *prof; ice_add_prof() local 3217 ice_rem_prof_id(struct ice_hw * hw,enum ice_block blk,struct ice_vsig_prof * prof) ice_rem_prof_id() argument [all...] |
| H A D | ice_parser.c | 2358 * @prof: input/output parameter to save the profile 2365 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 in ice_parser_profile_init() 2416 ice_parser_profile_dump(struct ice_hw * hw,struct ice_parser_profile * prof) ice_parser_profile_dump() argument [all...] |
| H A D | ice_vf_lib.h | 98 struct ice_parser_profile prof; member 111 struct ice_parser_profile prof; member
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| H 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() 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 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() 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 D | en_netdev.c | 107 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 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() 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 D | en_resources.c | 67 if (user_prio >= 0 && priv->prof->num_up == MLX4_EN_NUM_UP_HIGH) { in mlx4_en_fill_qp_context()
|
| /linux/include/linux/ |
| H A D | ieee80211-eht.h | 1036 const struct ieee80211_mle_per_sta_profile *prof = (const void *)data; in ieee80211_mle_basic_sta_prof_size_ok() 1038 u8 fixed = sizeof(*prof); in ieee80211_mle_basic_sta_prof_size_ok() 1044 control = le16_to_cpu(prof->control); in ieee80211_mle_basic_sta_prof_size_ok() 1073 return prof->sta_info_len >= info_len && in ieee80211_mle_basic_sta_prof_bss_param_ch_cnt() 1074 fixed + prof->sta_info_len - 1 <= len; in ieee80211_mle_basic_sta_prof_bss_param_ch_cnt() 1080 * @prof: the per-STA profile, having been checked with in ieee80211_mle_basic_sta_prof_bss_param_ch_cnt() 1086 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() 1088 u16 control = le16_to_cpu(prof->control); in ieee80211_mle_basic_sta_prof_bss_param_ch_cnt() 1089 const u8 *pos = prof->variable; in ieee80211_mle_basic_sta_prof_bss_param_ch_cnt() 1116 * @prof in ieee80211_mle_basic_sta_prof_enh_crit_upd() 1023 const struct ieee80211_mle_per_sta_profile *prof = (const void *)data; ieee80211_mle_basic_sta_prof_size_ok() local 1070 ieee80211_mle_basic_sta_prof_bss_param_ch_cnt(const struct ieee80211_mle_per_sta_profile * prof) ieee80211_mle_basic_sta_prof_bss_param_ch_cnt() argument 1106 ieee80211_mle_basic_sta_prof_enh_crit_upd(const struct ieee80211_mle_per_sta_profile * prof) ieee80211_mle_basic_sta_prof_enh_crit_upd() argument 1161 const struct ieee80211_mle_per_sta_profile *prof = (const void *)data; ieee80211_mle_reconf_sta_prof_size_ok() local [all...] |
| /linux/sound/pci/echoaudio/ |
| H A D | mia_dsp.c | 18 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 D | echoaudio_gml.c | 141 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 D | gina20_dsp.c | 17 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 D | layla20_dsp.c | 18 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 D | echoaudio_3g.c | 161 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/drivers/net/ethernet/intel/ice/virt/ |
| H A D | rss.c | 1378 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 D | fdir.c | 46 struct ice_parser_profile *prof; member 639 struct ice_flow_prof *prof = NULL; in ice_vc_fdir_write_flow_prof() 680 tun + 1, false, &prof); in ice_vc_fdir_write_flow_prof() 687 ret = ice_flow_add_entry(hw, ICE_BLK_FD, prof->id, vf_vsi->idx, in ice_vc_fdir_write_flow_prof() 696 ret = ice_flow_add_entry(hw, ICE_BLK_FD, prof->id, vf_vsi->idx, in ice_vc_fdir_write_flow_prof() 720 vf_prof->prof_id[tun] = prof->id; in ice_vc_fdir_write_flow_prof() 726 ice_get_hw_vsi_num(hw, vf_vsi->idx), prof->id); in ice_vc_fdir_write_flow_prof() 729 ice_flow_rem_prof(hw, ICE_BLK_FD, prof->id); in ice_vc_fdir_write_flow_prof() 765 dev_dbg(dev, "Alloc flow prof for VF %d failed\n", vf->vf_id); in ice_vc_fdir_config_input_set() 876 conf->prof in ice_vc_fdir_parse_raw() 641 struct ice_flow_prof *prof = NULL; ice_vc_fdir_write_flow_prof() local [all...] |
| /linux/net/mac80211/ |
| H A D | parse.c | 906 struct ieee80211_mle_per_sta_profile *prof = (void *)sub->data; in ieee80211_mle_get_sta_prof() 917 control = le16_to_cpu(prof->control); in ieee80211_mle_get_sta_prof() 939 elems->prof = (void *)elems_parse->scratch_pos; in ieee80211_mle_get_sta_prof() 953 struct ieee80211_mle_per_sta_profile *prof; in ieee80211_prep_mle_link_parse() 997 prof = elems->prof; in ieee80211_prep_mle_link_parse() 999 if (!prof) in ieee80211_prep_mle_link_parse() 1003 if (elems->sta_prof_len < sizeof(*prof) + prof->sta_info_len - 1 + 4) { in ieee80211_prep_mle_link_parse() 1004 elems->prof in ieee80211_prep_mle_link_parse() 900 struct ieee80211_mle_per_sta_profile *prof = (void *)sub->data; ieee80211_mle_get_sta_prof() local 947 struct ieee80211_mle_per_sta_profile *prof; ieee80211_prep_mle_link_parse() local [all...] |
| /linux/drivers/net/wireless/intel/iwlwifi/fw/ |
| H A D | regulatory.c | 276 const struct iwl_sar_profile *prof; in iwl_sar_fill_table() 287 prof = &profiles[profs[i] - 1]; in iwl_sar_fill_table() 290 if (!prof->enabled) { in iwl_sar_fill_table() 309 cpu_to_le16(prof->chains[i].subbands[j]); in iwl_sar_fill_profile() 311 j, prof->chains[i].subbands[j]); 254 struct iwl_sar_profile *prof; iwl_sar_fill_table() local
|
| H A D | acpi.c | 1067 struct iwl_geo_profile *prof = &fwrt->geo_profiles[i]; in iwl_acpi_get_ppag_table() 1069 for (j = 0; j < ARRAY_SIZE(prof->bands); j++) { in iwl_acpi_get_ppag_table() 1078 prof->bands[j].max = prof->bands[1].max; in iwl_acpi_get_ppag_table() 1088 prof->bands[j].max = in iwl_acpi_get_ppag_table() 1093 k < ARRAY_SIZE(prof->bands[0].chains); in iwl_acpi_get_ppag_table() 1097 prof->bands[j].chains[k] = in iwl_acpi_get_ppag_table() 1098 prof->bands[1].chains[k]; 1108 prof->bands[j].chains[k] = in iwl_acpi_get_phy_filters() 933 struct iwl_geo_profile *prof = &fwrt->geo_profiles[i]; iwl_acpi_get_wgds_table() local
|
| H A D | uefi.c | 879 for (int prof = 0; prof < data->num_profiles; prof++) { in iwl_uefi_get_wbem() 880 const u8 *val = &data->vals[profile_size * prof]; in iwl_uefi_get_wbem() 881 struct iwl_geo_profile *geo_prof = &fwrt->geo_profiles[prof]; in iwl_uefi_get_wbem() 655 for (int prof = 0; prof < data->num_profiles; prof++) { iwl_uefi_get_wgds_table() local
|
| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu_debugfs.c | 2557 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 in print_band_prof_ctx() [all...] |
| /linux/drivers/s390/net/ |
| H A D | ctcm_fsms.c | 258 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 D | builtin-ftrace.c | 1232 struct ftrace_profile_data *prof = NULL; in add_func_duration() 1234 if (!hashmap__find(ftrace->profile_hash, func, &prof)) { in add_func_duration() 1240 prof = zalloc(sizeof(*prof)); in add_func_duration() 1241 if (prof == NULL) { in add_func_duration() 1246 init_stats(&prof->st); in add_func_duration() 1247 hashmap__add(ftrace->profile_hash, key, prof); in add_func_duration() 1250 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 D | ipoib.c | 777 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()
|