Searched refs:tx_ch_num (Results 1 – 4 of 4) sorted by relevance
227 (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()391 ch->tx_count = cpsw->tx_ch_num; in cpsw_get_channels()545 ch = &cpsw->tx_ch_num; in cpsw_update_channels_res()624 ret = netif_set_real_num_tx_queues(sl_ndev, cpsw->tx_ch_num); in cpsw_set_channels_common()
797 for (i = 0; i < cpsw->tx_ch_num; i++) { in cpsw_split_res()806 if (cpsw->tx_ch_num == rlim_ch_num) { in cpsw_split_res()809 ch_budget = CPSW_POLL_WEIGHT / cpsw->tx_ch_num; in cpsw_split_res()826 (cpsw->tx_ch_num - rlim_ch_num); in cpsw_split_res()828 (cpsw->tx_ch_num - rlim_ch_num); in cpsw_split_res()833 for (i = 0; i < cpsw->tx_ch_num; i++) { in cpsw_split_res()1144 for (i = 0, rlim_ch_num = 0; i < cpsw->tx_ch_num; i++) { in cpsw_need_resplit()1153 if (!rlim_ch_num || rlim_ch_num == cpsw->tx_ch_num) in cpsw_need_resplit()1668 ret = netif_set_real_num_tx_queues(ndev, cpsw->tx_ch_num); in cpsw_ndo_open()1816 if (q_idx >= cpsw->tx_ch_num) in cpsw_ndo_start_xmit()[all …]
36 cpsw->tx_ch_num = 1; in cpsw_init_common()
347 int rx_ch_num, tx_ch_num; member