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

12

/linux-master/drivers/s390/block/
H A Ddasd_proc.c195 struct dasd_profile_info *prof; local
199 prof = dasd_global_profile.data;
200 if (!prof) {
209 for (factor = 1; (prof->dasd_io_reqs / factor) > 9999999;
212 seq_printf(m, "%d dasd I/O requests\n", prof->dasd_io_reqs);
214 prof->dasd_io_sects);
226 dasd_statistics_array(m, prof->dasd_io_secs, factor);
228 dasd_statistics_array(m, prof->dasd_io_times, factor);
230 dasd_statistics_array(m, prof->dasd_io_timps, factor);
232 dasd_statistics_array(m, prof
[all...]
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_flow.c592 struct ice_flow_prof *prof; member in struct:ice_flow_prof_params
667 sz = (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDR_VLAN) ?
671 if (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDR_IPV4)
673 else if (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDR_IPV6)
675 else if (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDR_ARP)
677 else if (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDRS_L4_MASK)
682 if (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDR_ICMP)
684 else if (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDR_TCP)
686 else if (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDR_UDP)
688 else if (params->prof
703 struct ice_flow_prof *prof; local
1180 struct ice_flow_prof *prof = params->prof; local
1256 struct ice_flow_prof *p, *prof = NULL; local
1346 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) argument
1432 ice_flow_rem_prof_sync(struct ice_hw *hw, enum ice_block blk, struct ice_flow_prof *prof) argument
1458 devm_kfree(ice_hw_to_dev(hw), prof); local
1475 ice_flow_assoc_prof(struct ice_hw *hw, enum ice_block blk, struct ice_flow_prof *prof, u16 vsi_handle) argument
1506 ice_flow_disassoc_prof(struct ice_hw *hw, enum ice_block blk, struct ice_flow_prof *prof, u16 vsi_handle) argument
1537 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) argument
1576 struct ice_flow_prof *prof; local
1613 struct ice_flow_prof *prof; local
1679 struct ice_flow_prof *prof; local
1818 struct ice_flow_prof *prof; local
1992 ice_get_rss_hdr_type(struct ice_flow_prof *prof) argument
2012 ice_rss_match_prof(struct ice_rss_cfg *r, struct ice_flow_prof *prof, enum ice_rss_cfg_hdr_type hdr_type) argument
2029 ice_rem_rss_list(struct ice_hw *hw, u16 vsi_handle, struct ice_flow_prof *prof) argument
2059 ice_add_rss_list(struct ice_hw *hw, u16 vsi_handle, struct ice_flow_prof *prof) argument
2150 ice_rss_set_symm(struct ice_hw *hw, struct ice_flow_prof *prof) argument
2233 struct ice_flow_prof *prof = NULL; local
2382 struct ice_flow_prof *prof; local
[all...]
H A Dice_ethtool_fdir.c262 * @prof: FDir structure pointer
267 ice_fdir_remap_entries(struct ice_fd_hw_prof *prof, int tun, int idx) argument
269 if (idx != prof->cnt && tun < ICE_FD_HW_SEG_MAX) {
272 for (i = idx; i < (prof->cnt - 1); i++) {
275 old_entry_h = prof->entry_h[i + 1][tun];
276 prof->entry_h[i][tun] = old_entry_h;
277 prof->vsi_h[i] = prof->vsi_h[i + 1];
280 prof->entry_h[i][tun] = 0;
281 prof
298 struct ice_fd_hw_prof *prof = hw->fdir_prof[flow]; local
356 struct ice_fd_hw_prof *prof = ice_fdir_get_hw_prof(hw, blk, flow); local
391 struct ice_fd_hw_prof *prof; local
438 struct ice_fd_hw_prof *prof; local
603 ice_fdir_prof_vsi_idx(struct ice_fd_hw_prof *prof, int vsi_idx) argument
630 struct ice_flow_prof *prof = NULL; local
[all...]
H A Dice_flex_pipe.c621 * ice_find_prot_off - find prot ID and offset pair, based on prof and FV index
624 * @prof: profile ID
630 ice_find_prot_off(struct ice_hw *hw, enum ice_block blk, u8 prof, u16 fv_idx, argument
635 if (prof >= hw->blk[blk].es.count)
641 fv_ext = hw->blk[blk].es.t + (prof * hw->blk[blk].es.fvw);
1155 * @prof: profile to check
1160 ice_prof_has_mask_idx(struct ice_hw *hw, enum ice_block blk, u8 prof, u16 idx, argument
1175 if (hw->blk[blk].es.mask_ena[prof] & BIT(i))
1199 * @prof: profile to check
1203 ice_prof_has_mask(struct ice_hw *hw, enum ice_block blk, u8 prof, u1 argument
2165 struct ice_prof_tcam *prof = &hw->blk[i].prof; local
2215 struct ice_prof_tcam *prof = &hw->blk[i].prof; local
2959 ice_add_prof_attrib(struct ice_prof_map *prof, u8 ptg, u16 ptype, const struct ice_ptype_attributes *attr, u16 attr_cnt) argument
3007 struct ice_prof_map *prof; local
3195 ice_rem_prof_id(struct ice_hw *hw, enum ice_block blk, struct ice_vsig_prof *prof) argument
[all...]
H A Dice_flex_pipe.h13 ice_find_prot_off(struct ice_hw *hw, enum ice_block blk, u8 prof, u16 fv_idx,
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dcn10k.c378 aq->prof.icolor = 0x03;
382 aq->prof.cir_exponent = rate_exp;
385 aq->prof.cir_mantissa = rate_mantissa;
388 aq->prof.cbs_exponent = burst_exp;
391 aq->prof.cbs_mantissa = burst_mantissa;
394 aq->prof.rdiv = rdiv;
411 aq->prof.adjust_exponent = 1;
414 aq->prof.adjust_mantissa = 384;
417 aq->prof.lmode = 0x1;
424 aq->prof
[all...]
/linux-master/sound/pci/echoaudio/
H A Dechoaudio_gml.c156 static int set_professional_spdif(struct echoaudio *chip, char prof) argument
168 if (prof) {
200 chip->professional_spdif = prof;
202 prof ? "Professional" : "Consumer");
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) argument
217 dev_dbg(chip->card->dev, "set_professional_spdif %d\n", prof);
218 if (prof)
224 chip->professional_spdif = prof;
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) argument
209 if (prof)
215 chip->professional_spdif = prof;
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) argument
283 if (prof)
289 chip->professional_spdif = prof;
H A Decho3g_dsp.c37 static int set_professional_spdif(struct echoaudio *chip, char prof);
/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Den_main.c166 params->prof[i].rx_pause = !(pfcrx || pfctx);
167 params->prof[i].rx_ppp = pfcrx;
168 params->prof[i].tx_pause = !(pfcrx || pfctx);
169 params->prof[i].tx_ppp = pfctx;
171 params->prof[i].tx_ring_size = MLX4_EN_MIN_TX_SIZE;
172 params->prof[i].rx_ring_size = MLX4_EN_MIN_RX_SIZE;
174 params->prof[i].tx_ring_size = MLX4_EN_DEF_TX_RING_SIZE;
175 params->prof[i].rx_ring_size = MLX4_EN_DEF_RX_RING_SIZE;
177 params->prof[i].num_up = MLX4_EN_NUM_UP_LOW;
178 params->prof[
[all...]
H A Den_dcb_nl.c159 struct mlx4_en_port_profile *prof = priv->prof; local
168 rx_ppp = prof->rx_ppp;
169 tx_ppp = prof->tx_ppp;
195 rx_pause = !!(rx_ppp || tx_ppp) ? 0 : prof->rx_pause;
196 tx_pause = !!(rx_ppp || tx_ppp) ? 0 : prof->tx_pause;
200 rx_pause = prof->rx_pause;
201 tx_pause = prof->tx_pause;
211 prof->tx_ppp = tx_ppp;
212 prof
415 struct mlx4_en_port_profile *prof = priv->prof; local
[all...]
H A Den_netdev.c106 memcpy(&new_prof, priv->prof, sizeof(struct mlx4_en_port_profile));
1776 priv->prof->tx_pause,
1777 priv->prof->tx_ppp,
1778 priv->prof->rx_pause,
1779 priv->prof->rx_ppp);
2147 priv->prof->rx_ring_size, priv->stride);
2156 struct mlx4_en_port_profile *prof = priv->prof; local
2165 prof->tx_ring_size, i, t, node))
2169 prof
2218 mlx4_en_copy_priv(struct mlx4_en_priv *dst, struct mlx4_en_priv *src, struct mlx4_en_port_profile *prof) argument
2286 mlx4_en_try_alloc_resources(struct mlx4_en_priv *priv, struct mlx4_en_priv *tmp, struct mlx4_en_port_profile *prof, bool carry_xdp_prog) argument
3102 mlx4_en_init_netdev(struct mlx4_en_dev *mdev, int port, struct mlx4_en_port_profile *prof) argument
[all...]
H A Den_resources.c67 if (user_prio >= 0 && priv->prof->num_up == MLX4_EN_NUM_UP_HIGH) {
H A Den_ethtool.c795 if (priv->prof->tx_pause)
798 if (priv->prof->tx_pause ^ priv->prof->rx_pause)
1094 rx_ppp = (tx_pause || rx_pause) ? 0 : priv->prof->rx_ppp;
1095 tx_ppp = (tx_pause || rx_pause) ? 0 : priv->prof->tx_ppp;
1108 priv->prof->tx_pause = tx_pause;
1109 priv->prof->rx_pause = rx_pause;
1110 priv->prof->tx_ppp = tx_ppp;
1111 priv->prof->rx_ppp = rx_ppp;
1139 pause->tx_pause = priv->prof
[all...]
H A Dmlx4_en.h408 struct mlx4_en_port_profile prof[MLX4_MAX_PORTS + 1]; member in struct:mlx4_en_profile
538 struct mlx4_en_port_profile *prof; member in struct:mlx4_en_priv
673 struct mlx4_en_port_profile *prof);
685 struct mlx4_en_port_profile *prof,
/linux-master/drivers/s390/net/
H A Dctcm_sysfs.c96 priv->channel[WRITE]->prof.maxmulti);
98 priv->channel[WRITE]->prof.maxcqueue);
100 priv->channel[WRITE]->prof.doios_single);
102 priv->channel[WRITE]->prof.doios_multi);
104 priv->channel[WRITE]->prof.txlen);
106 jiffies_to_usecs(priv->channel[WRITE]->prof.tx_time));
133 memset(&priv->channel[WRITE]->prof, 0,
134 sizeof(priv->channel[CTCM_WRITE]->prof));
H A Dnetiucv.c152 struct connection_profile prof; member in struct:iucv_connection
689 conn->prof.tx_pending--;
718 if (conn->collect_len > conn->prof.maxmulti)
719 conn->prof.maxmulti = conn->collect_len;
729 conn->prof.send_stamp = jiffies;
734 conn->prof.doios_multi++;
735 conn->prof.txlen += conn->tx_buff->len;
736 conn->prof.tx_pending++;
737 if (conn->prof.tx_pending > conn->prof
[all...]
H A Dctcm_fsms.c259 duration = done_stamp - ch->prof.send_stamp;
260 if (duration > ch->prof.tx_time)
261 ch->prof.tx_time = duration;
290 if (ch->prof.maxmulti < (ch->collect_len + 2))
291 ch->prof.maxmulti = ch->collect_len + 2;
292 if (ch->prof.maxcqueue < skb_queue_len(&ch->collect_queue))
293 ch->prof.maxcqueue = skb_queue_len(&ch->collect_queue);
309 ch->prof.send_stamp = jiffies;
311 ch->prof.doios_multi++;
1230 duration = done_stamp - ch->prof
[all...]
H A Dctcm_main.h197 struct ctcm_profile prof; member in struct:channel
/linux-master/drivers/net/wireless/intel/iwlwifi/fw/
H A Dregulatory.c227 struct iwl_sar_profile *prof; local
238 prof = &fwrt->sar_profiles[profs[i] - 1];
241 if (!prof->enabled) {
258 cpu_to_le16(prof->chains[i].subbands[j]);
260 j, prof->chains[i].subbands[j]);
/linux-master/net/mac80211/
H A Dparse.c744 struct ieee80211_mle_per_sta_profile *prof = (void *)sub->data; local
755 control = le16_to_cpu(prof->control);
777 elems->prof = (void *)elems_parse->scratch_pos;
789 struct ieee80211_mle_per_sta_profile *prof; local
820 prof = elems->prof;
822 if (!prof)
826 if (elems->sta_prof_len < sizeof(*prof) + prof->sta_info_len - 1 + 4) {
827 elems->prof
[all...]
/linux-master/net/mac80211/tests/
H A Delems.c81 KUNIT_EXPECT_NOT_NULL(test, parsed->prof);
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_debugfs.c2172 struct nix_bandprof_s *prof)
2176 switch (prof->pc_mode) {
2191 str = (prof->icolor == 3) ? "Color blind" :
2192 (prof->icolor == 0) ? "Green" :
2193 (prof->icolor == 1) ? "Yellow" : "Red";
2195 seq_printf(m, "W0: tnl_ena\t\t%d\n", prof->tnl_ena);
2196 seq_printf(m, "W0: peir_exponent\t%d\n", prof->peir_exponent);
2197 seq_printf(m, "W0: pebs_exponent\t%d\n", prof->pebs_exponent);
2198 seq_printf(m, "W0: cir_exponent\t%d\n", prof->cir_exponent);
2199 seq_printf(m, "W0: cbs_exponent\t%d\n", prof
2171 print_band_prof_ctx(struct seq_file *m, struct nix_bandprof_s *prof) argument
[all...]

Completed in 289 milliseconds

12