Home
last modified time | relevance | path

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

12

/Linux-v4.19/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 …]
Ddasd.c961 struct dasd_profile *prof = m->private; in dasd_stats_write() local
972 dasd_profile_reset(prof); in dasd_stats_write()
974 rc = dasd_profile_on(prof); in dasd_stats_write()
978 if (prof == &dasd_global_profile) { in dasd_stats_write()
979 dasd_profile_reset(prof); in dasd_stats_write()
983 if (prof == &dasd_global_profile) in dasd_stats_write()
985 dasd_profile_off(prof); in dasd_stats_write()
/Linux-v4.19/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()
170 params->prof[i].tx_ring_size = MLX4_EN_DEF_TX_RING_SIZE; in mlx4_en_get_profile()
171 params->prof[i].rx_ring_size = MLX4_EN_DEF_RX_RING_SIZE; in mlx4_en_get_profile()
172 params->prof[i].num_up = MLX4_EN_NUM_UP_LOW; in mlx4_en_get_profile()
173 params->prof[i].num_tx_rings_p_up = params->max_num_tx_rings_p_up; in mlx4_en_get_profile()
174 params->prof[i].tx_ring_num[TX] = params->max_num_tx_rings_p_up * in mlx4_en_get_profile()
175 params->prof[i].num_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()
1755 priv->prof->tx_pause, in mlx4_en_start_port()
1756 priv->prof->tx_ppp, in mlx4_en_start_port()
1757 priv->prof->rx_pause, in mlx4_en_start_port()
1758 priv->prof->rx_ppp); in mlx4_en_start_port()
2124 priv->prof->rx_ring_size, priv->stride); in mlx4_en_free_resources()
2133 struct mlx4_en_port_profile *prof = priv->prof; in mlx4_en_alloc_resources() local
2142 prof->tx_ring_size, i, t, node)) in mlx4_en_alloc_resources()
2146 prof->tx_ring_size, in mlx4_en_alloc_resources()
2156 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 = priv->prof->rx_ppp && !(tx_pause || rx_pause); in mlx4_en_set_pauseparam()
1088 tx_ppp = priv->prof->tx_ppp && !(tx_pause || rx_pause); 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.h411 struct mlx4_en_port_profile prof[MLX4_MAX_PORTS + 1]; member
536 struct mlx4_en_port_profile *prof; member
674 struct mlx4_en_port_profile *prof);
686 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()
1182 if (!priv->prof->rss_rings || priv->prof->rss_rings > priv->rx_ring_num) in mlx4_en_config_rss_steer()
1185 rss_rings = priv->prof->rss_rings; in mlx4_en_config_rss_steer()
/Linux-v4.19/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()
312 ch->prof.doios_multi++; in chx_txdone()
1236 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()
576 ch->prof.doios_single++; in ctcm_transmit_skb()
770 ch->prof.txlen += skb->len - PDU_HEADER_LENGTH; in ctcmpc_transmit_skb()
835 ch->prof.send_stamp = jiffies; in ctcmpc_transmit_skb()
840 ch->prof.doios_single++; in ctcmpc_transmit_skb()
/Linux-v4.19/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);
Dmona_dsp.c34 static int set_professional_spdif(struct echoaudio *chip, char prof);
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/mvm/
Dfw.c791 struct iwl_mvm_sar_profile *prof; in iwl_mvm_sar_select_profile() local
802 prof = &mvm->sar_profiles[profs[i] - 1]; in iwl_mvm_sar_select_profile()
805 if (!prof->enabled) { in iwl_mvm_sar_select_profile()
816 cpu_to_le16(prof->table[idx]); in iwl_mvm_sar_select_profile()
818 j, prof->table[idx]); in iwl_mvm_sar_select_profile()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Dmain.c509 struct mlx5_profile *prof = dev->profile; in handle_hca_cap() local
541 if (prof->mask & MLX5_PROF_MASK_QP_SIZE) in handle_hca_cap()
543 prof->log_max_qp); in handle_hca_cap()

12