Searched refs:tx_ch_num (Results 1 – 8 of 8) sorted by relevance
231 (cpsw->rx_ch_num + cpsw->tx_ch_num) * in cpsw_get_sset_count()270 cpsw_add_ch_strings(&p, cpsw->tx_ch_num, 0); in cpsw_get_strings()297 for (ch = 0; ch < cpsw->tx_ch_num; ch++) { in cpsw_get_ethtool_stats()396 ch->tx_count = cpsw->tx_ch_num; in cpsw_get_channels()550 ch = &cpsw->tx_ch_num; in cpsw_update_channels_res()629 ret = netif_set_real_num_tx_queues(sl_ndev, cpsw->tx_ch_num); in cpsw_set_channels_common()
298 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()
514 for (i = 0; i < common->tx_ch_num; i++) { in am65_cpsw_nuss_common_open()545 atomic_set(&common->tdown_cnt, common->tx_ch_num); in am65_cpsw_nuss_common_stop()550 for (i = 0; i < common->tx_ch_num; i++) in am65_cpsw_nuss_common_stop()557 for (i = 0; i < common->tx_ch_num; i++) in am65_cpsw_nuss_common_stop()560 for (i = 0; i < common->tx_ch_num; i++) { in am65_cpsw_nuss_common_stop()634 ret = netif_set_real_num_tx_queues(ndev, common->tx_ch_num); in am65_cpsw_nuss_ndo_slave_open()646 for (i = 0; i < common->tx_ch_num; i++) in am65_cpsw_nuss_ndo_slave_open()1516 for (i = 0; i < common->tx_ch_num; i++) { in am65_cpsw_nuss_free_tx_chns()1536 for (i = 0; i < common->tx_ch_num; i++) { in am65_cpsw_nuss_remove_tx_chns()1576 for (i = 0; i < common->tx_ch_num; i++) { in am65_cpsw_nuss_init_tx_chns()[all …]
119 int tx_ch_num; member
355 int rx_ch_num, tx_ch_num; member
768 ret = netif_set_real_num_tx_queues(ndev, cpsw->tx_ch_num); in cpsw_ndo_open()919 if (q_idx >= cpsw->tx_ch_num) in cpsw_ndo_start_xmit()920 q_idx = q_idx % cpsw->tx_ch_num; in cpsw_ndo_start_xmit()
839 ret = netif_set_real_num_tx_queues(ndev, cpsw->tx_ch_num); in cpsw_ndo_open()935 if (q_idx >= cpsw->tx_ch_num) in cpsw_ndo_start_xmit()936 q_idx = q_idx % cpsw->tx_ch_num; in cpsw_ndo_start_xmit()
434 ch->tx_count = common->tx_ch_num; in am65_cpsw_get_channels()