Home
last modified time | relevance | path

Searched refs:tx_ch_num (Results 1 – 8 of 8) sorted by relevance

/drivers/net/ethernet/ti/
Dcpsw_ethtool.c227 (cpsw->rx_ch_num + cpsw->tx_ch_num) * in cpsw_get_sset_count()
266 cpsw_add_ch_strings(&p, cpsw->tx_ch_num, 0); in cpsw_get_strings()
293 for (ch = 0; ch < cpsw->tx_ch_num; ch++) { in cpsw_get_ethtool_stats()
392 ch->tx_count = cpsw->tx_ch_num; in cpsw_get_channels()
546 ch = &cpsw->tx_ch_num; in cpsw_update_channels_res()
625 ret = netif_set_real_num_tx_queues(sl_ndev, cpsw->tx_ch_num); in cpsw_set_channels_common()
Dcpsw_priv.c298 for (ch = 0; ch < cpsw->tx_ch_num; ch++) { in cpsw_ndo_tx_timeout()
331 for (i = 0, rlim_ch_num = 0; i < cpsw->tx_ch_num; i++) { in cpsw_need_resplit()
340 if (!rlim_ch_num || rlim_ch_num == cpsw->tx_ch_num) in cpsw_need_resplit()
355 for (i = 0; i < cpsw->tx_ch_num; i++) { in cpsw_split_res()
364 if (cpsw->tx_ch_num == rlim_ch_num) { in cpsw_split_res()
367 ch_budget = CPSW_POLL_WEIGHT / cpsw->tx_ch_num; in cpsw_split_res()
384 (cpsw->tx_ch_num - rlim_ch_num); in cpsw_split_res()
386 (cpsw->tx_ch_num - rlim_ch_num); in cpsw_split_res()
391 for (i = 0; i < cpsw->tx_ch_num; i++) { in cpsw_split_res()
446 cpsw->tx_ch_num = 1; in cpsw_init_common()
Dam65-cpsw-nuss.c490 for (i = 0; i < common->tx_ch_num; i++) { in am65_cpsw_nuss_common_open()
517 atomic_set(&common->tdown_cnt, common->tx_ch_num); in am65_cpsw_nuss_common_stop()
522 for (i = 0; i < common->tx_ch_num; i++) in am65_cpsw_nuss_common_stop()
529 for (i = 0; i < common->tx_ch_num; i++) in am65_cpsw_nuss_common_stop()
532 for (i = 0; i < common->tx_ch_num; i++) { in am65_cpsw_nuss_common_stop()
607 ret = netif_set_real_num_tx_queues(ndev, common->tx_ch_num); in am65_cpsw_nuss_ndo_slave_open()
619 for (i = 0; i < common->tx_ch_num; i++) in am65_cpsw_nuss_ndo_slave_open()
1405 for (i = 0; i < common->tx_ch_num; i++) { in am65_cpsw_nuss_free_tx_chns()
1425 for (i = 0; i < common->tx_ch_num; i++) { in am65_cpsw_nuss_remove_tx_chns()
1465 for (i = 0; i < common->tx_ch_num; i++) { in am65_cpsw_nuss_init_tx_chns()
[all …]
Dam65-cpsw-nuss.h97 int tx_ch_num; member
Dcpsw_priv.h355 int rx_ch_num, tx_ch_num; member
Dcpsw.c776 ret = netif_set_real_num_tx_queues(ndev, cpsw->tx_ch_num); in cpsw_ndo_open()
929 if (q_idx >= cpsw->tx_ch_num) in cpsw_ndo_start_xmit()
930 q_idx = q_idx % cpsw->tx_ch_num; in cpsw_ndo_start_xmit()
Dcpsw_new.c846 ret = netif_set_real_num_tx_queues(ndev, cpsw->tx_ch_num); in cpsw_ndo_open()
942 if (q_idx >= cpsw->tx_ch_num) in cpsw_ndo_start_xmit()
943 q_idx = q_idx % cpsw->tx_ch_num; in cpsw_ndo_start_xmit()
Dam65-cpsw-ethtool.c434 ch->tx_count = common->tx_ch_num; in am65_cpsw_get_channels()