Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/s390/block/
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()
214 for (factor = 1; (prof->dasd_io_reqs / factor) > 9999999; in dasd_stats_proc_show()
217 seq_printf(m, "%d dasd I/O requests\n", prof->dasd_io_reqs); 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()
[all …]
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/
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 …]
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 …]
Den_netdev.c103 memcpy(&new_prof, priv->prof, sizeof(struct mlx4_en_port_profile)); in mlx4_en_alloc_tx_queue_per_tc()
1763 priv->prof->tx_pause, in mlx4_en_start_port()
1764 priv->prof->tx_ppp, in mlx4_en_start_port()
1765 priv->prof->rx_pause, in mlx4_en_start_port()
1766 priv->prof->rx_ppp); in mlx4_en_start_port()
2132 priv->prof->rx_ring_size, priv->stride); in mlx4_en_free_resources()
2141 struct mlx4_en_port_profile *prof = priv->prof; in mlx4_en_alloc_resources() local
2150 prof->tx_ring_size, i, t, node)) in mlx4_en_alloc_resources()
2154 prof->tx_ring_size, in mlx4_en_alloc_resources()
2164 prof->rx_ring_size, i, RX, node)) in mlx4_en_alloc_resources()
[all …]
Den_ethtool.c792 if (priv->prof->tx_pause) in ethtool_get_ptys_link_ksettings()
795 if (priv->prof->tx_pause ^ priv->prof->rx_pause) in ethtool_get_ptys_link_ksettings()
1087 rx_ppp = (tx_pause || rx_pause) ? 0 : priv->prof->rx_ppp; in mlx4_en_set_pauseparam()
1088 tx_ppp = (tx_pause || rx_pause) ? 0 : priv->prof->tx_ppp; in mlx4_en_set_pauseparam()
1101 priv->prof->tx_pause = tx_pause; in mlx4_en_set_pauseparam()
1102 priv->prof->rx_pause = rx_pause; in mlx4_en_set_pauseparam()
1103 priv->prof->tx_ppp = tx_ppp; in mlx4_en_set_pauseparam()
1104 priv->prof->rx_ppp = rx_ppp; in mlx4_en_set_pauseparam()
1114 pause->tx_pause = priv->prof->tx_pause; in mlx4_en_get_pauseparam()
1115 pause->rx_pause = priv->prof->rx_pause; in mlx4_en_get_pauseparam()
[all …]
Dmlx4_en.h410 struct mlx4_en_port_profile prof[MLX4_MAX_PORTS + 1]; member
535 struct mlx4_en_port_profile *prof; member
673 struct mlx4_en_port_profile *prof);
685 struct mlx4_en_port_profile *prof,
Den_resources.c67 if (user_prio >= 0 && priv->prof->num_up == MLX4_EN_NUM_UP_HIGH) { in mlx4_en_fill_qp_context()
Den_rx.c190 for (buf_ind = 0; buf_ind < priv->prof->rx_ring_size; buf_ind++) { in mlx4_en_fill_rx_buffers()
258 mdev->profile.prof[i].rx_ring_num = in mlx4_en_set_num_rx_rings()
1197 if (!priv->prof->rss_rings || priv->prof->rss_rings > priv->rx_ring_num) in mlx4_en_config_rss_steer()
1200 rss_rings = priv->prof->rss_rings; in mlx4_en_config_rss_steer()
/Linux-v5.4/drivers/s390/net/
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()
Dnetiucv.c187 struct connection_profile prof; member
729 conn->prof.tx_pending--; in conn_action_txdone()
758 if (conn->collect_len > conn->prof.maxmulti) in conn_action_txdone()
759 conn->prof.maxmulti = conn->collect_len; in conn_action_txdone()
769 conn->prof.send_stamp = jiffies; in conn_action_txdone()
774 conn->prof.doios_multi++; in conn_action_txdone()
775 conn->prof.txlen += conn->tx_buff->len; in conn_action_txdone()
776 conn->prof.tx_pending++; in conn_action_txdone()
777 if (conn->prof.tx_pending > conn->prof.tx_max_pending) in conn_action_txdone()
778 conn->prof.tx_max_pending = conn->prof.tx_pending; in conn_action_txdone()
[all …]
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()
290 if (ch->prof.maxmulti < (ch->collect_len + 2)) in chx_txdone()
291 ch->prof.maxmulti = ch->collect_len + 2; in chx_txdone()
292 if (ch->prof.maxcqueue < skb_queue_len(&ch->collect_queue)) in chx_txdone()
293 ch->prof.maxcqueue = skb_queue_len(&ch->collect_queue); in chx_txdone()
309 ch->prof.send_stamp = jiffies; in chx_txdone()
311 ch->prof.doios_multi++; in chx_txdone()
1230 duration = done_stamp - ch->prof.send_stamp; in ctcmpc_chx_txdone()
[all …]
Dctcm_main.h196 struct ctcm_profile prof; member
Dctcm_main.c505 ch->prof.txlen += skb->len; in ctcm_transmit_skb()
571 ch->prof.send_stamp = jiffies; in ctcm_transmit_skb()
575 ch->prof.doios_single++; in ctcm_transmit_skb()
769 ch->prof.txlen += skb->len - PDU_HEADER_LENGTH; in ctcmpc_transmit_skb()
834 ch->prof.send_stamp = jiffies; in ctcmpc_transmit_skb()
838 ch->prof.doios_single++; in ctcmpc_transmit_skb()
/Linux-v5.4/sound/pci/echoaudio/
Dmia_dsp.c33 static int set_professional_spdif(struct echoaudio *chip, char prof);
213 static int set_professional_spdif(struct echoaudio *chip, char prof) in set_professional_spdif() argument
215 dev_dbg(chip->card->dev, "set_professional_spdif %d\n", prof); in set_professional_spdif()
216 if (prof) in set_professional_spdif()
222 chip->professional_spdif = prof; in set_professional_spdif()
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()
199 chip->professional_spdif = prof; in set_professional_spdif()
201 prof ? "Professional" : "Consumer"); in set_professional_spdif()
Dgina20_dsp.c32 static int set_professional_spdif(struct echoaudio *chip, char prof);
205 static int set_professional_spdif(struct echoaudio *chip, char prof) in set_professional_spdif() argument
207 if (prof) in set_professional_spdif()
213 chip->professional_spdif = prof; in set_professional_spdif()
Dlayla20_dsp.c33 static int set_professional_spdif(struct echoaudio *chip, char prof);
279 static int set_professional_spdif(struct echoaudio *chip, char prof) in set_professional_spdif() argument
281 if (prof) in set_professional_spdif()
287 chip->professional_spdif = prof; in set_professional_spdif()
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()
Decho3g_dsp.c37 static int set_professional_spdif(struct echoaudio *chip, char prof);
Dgina24_dsp.c34 static int set_professional_spdif(struct echoaudio *chip, char prof);
Dlayla24_dsp.c33 static int set_professional_spdif(struct echoaudio *chip, char prof);
/Linux-v5.4/drivers/net/ethernet/intel/ice/
Dice_flex_pipe.c1294 sizeof(*hw->blk[block_id].prof.t); in ice_fill_tbl()
1295 dst = (u8 *)hw->blk[block_id].prof.t; in ice_fill_tbl()
1296 dst_len = hw->blk[block_id].prof.count * in ice_fill_tbl()
1297 sizeof(*hw->blk[block_id].prof.t); in ice_fill_tbl()
1368 ice_fill_tbl(hw, blk_id, hw->blk[blk_id].prof.sid); in ice_fill_blk_tbls()
1393 devm_kfree(ice_hw_to_dev(hw), hw->blk[i].prof.t); in ice_free_hw_tbls()
1413 struct ice_prof_tcam *prof = &hw->blk[i].prof; in ice_clear_hw_tbls() local
1428 memset(prof->t, 0, prof->count * sizeof(*prof->t)); in ice_clear_hw_tbls()
1448 struct ice_prof_tcam *prof = &hw->blk[i].prof; in ice_init_hw_tbls() local
1506 prof->sid = ice_blk_sids[i][ICE_SID_PR_OFF]; in ice_init_hw_tbls()
[all …]
Dice_flex_type.h367 struct ice_prof_tcam prof; member
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
Dipoib.c688 const struct mlx5e_profile *prof = mlx5_get_profile(mdev); in mlx5_rdma_setup_rn() local
711 prof->init(mdev, netdev, prof, ipriv); in mlx5_rdma_setup_rn()
732 prof->cleanup(epriv); in mlx5_rdma_setup_rn()
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/mvm/
Dfw.c856 struct iwl_mvm_sar_profile *prof; in iwl_mvm_sar_select_profile() local
867 prof = &mvm->sar_profiles[profs[i] - 1]; in iwl_mvm_sar_select_profile()
870 if (!prof->enabled) { in iwl_mvm_sar_select_profile()
884 cpu_to_le16(prof->table[idx]); in iwl_mvm_sar_select_profile()
886 j, prof->table[idx]); in iwl_mvm_sar_select_profile()

12