Searched refs:tx_ch_num (Results 1 – 12 of 12) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/ti/ |
D | cpsw_ethtool.c | 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() 394 ch->tx_count = cpsw->tx_ch_num; in cpsw_get_channels() 548 ch = &cpsw->tx_ch_num; in cpsw_update_channels_res() 627 ret = netif_set_real_num_tx_queues(sl_ndev, cpsw->tx_ch_num); in cpsw_set_channels_common()
|
D | cpsw_priv.c | 299 for (ch = 0; ch < cpsw->tx_ch_num; ch++) { in cpsw_ndo_tx_timeout() 332 for (i = 0, rlim_ch_num = 0; i < cpsw->tx_ch_num; i++) { in cpsw_need_resplit() 341 if (!rlim_ch_num || rlim_ch_num == cpsw->tx_ch_num) in cpsw_need_resplit() 356 for (i = 0; i < cpsw->tx_ch_num; i++) { in cpsw_split_res() 365 if (cpsw->tx_ch_num == rlim_ch_num) { in cpsw_split_res() 368 ch_budget = NAPI_POLL_WEIGHT / cpsw->tx_ch_num; in cpsw_split_res() 385 (cpsw->tx_ch_num - rlim_ch_num); in cpsw_split_res() 387 (cpsw->tx_ch_num - rlim_ch_num); in cpsw_split_res() 392 for (i = 0; i < cpsw->tx_ch_num; i++) { in cpsw_split_res() 447 cpsw->tx_ch_num = 1; in cpsw_init_common()
|
D | am65-cpsw-nuss.c | 456 for (i = 0; i < common->tx_ch_num; i++) { in am65_cpsw_nuss_common_open() 487 atomic_set(&common->tdown_cnt, common->tx_ch_num); in am65_cpsw_nuss_common_stop() 492 for (i = 0; i < common->tx_ch_num; i++) in am65_cpsw_nuss_common_stop() 499 for (i = 0; i < common->tx_ch_num; i++) in am65_cpsw_nuss_common_stop() 502 for (i = 0; i < common->tx_ch_num; i++) { in am65_cpsw_nuss_common_stop() 594 ret = netif_set_real_num_tx_queues(ndev, common->tx_ch_num); in am65_cpsw_nuss_ndo_slave_open() 606 for (i = 0; i < common->tx_ch_num; i++) { in am65_cpsw_nuss_ndo_slave_open() 1630 for (i = 0; i < common->tx_ch_num; i++) { in am65_cpsw_nuss_free_tx_chns() 1651 for (i = 0; i < common->tx_ch_num; i++) { in am65_cpsw_nuss_remove_tx_chns() 1674 for (i = 0; i < common->tx_ch_num; i++) { in am65_cpsw_nuss_ndev_add_tx_napi() [all …]
|
D | am65-cpsw-nuss.h | 129 int tx_ch_num; member
|
D | am65-cpsw-qos.c | 892 ch_msk = GENMASK(common->tx_ch_num - 1, queue); in am65_cpsw_qos_ndo_tx_p0_set_maxrate() 927 for (tx_ch = 0; tx_ch < common->tx_ch_num; tx_ch++) { in am65_cpsw_qos_tx_p0_rate_init()
|
D | cpsw_priv.h | 357 int rx_ch_num, tx_ch_num; member
|
D | cpsw.c | 766 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()
|
D | cpsw_new.c | 838 ret = netif_set_real_num_tx_queues(ndev, cpsw->tx_ch_num); in cpsw_ndo_open() 934 if (q_idx >= cpsw->tx_ch_num) in cpsw_ndo_start_xmit() 935 q_idx = q_idx % cpsw->tx_ch_num; in cpsw_ndo_start_xmit()
|
D | am65-cpsw-ethtool.c | 432 ch->tx_count = common->tx_ch_num; in am65_cpsw_get_channels()
|
/Linux-v6.6/drivers/net/ethernet/ti/icssg/ |
D | icssg_ethtool.c | 143 emac->tx_ch_num = ch->tx_count; in emac_set_channels() 156 ch->tx_count = emac->tx_ch_num; in emac_get_channels()
|
D | icssg_prueth.c | 76 for (i = 0; i < emac->tx_ch_num; i++) { in prueth_cleanup_tx_chns() 236 for (i = 0; i < emac->tx_ch_num; i++) { in prueth_ndev_add_tx_napi() 284 for (i = 0; i < emac->tx_ch_num; i++) { in prueth_init_tx_chns() 1307 int ret, i, num_data_chn = emac->tx_ch_num; in emac_ndo_open() 1389 for (i = 0; i < emac->tx_ch_num; i++) { in emac_ndo_open() 1396 for (i = 0; i < emac->tx_ch_num; i++) in emac_ndo_open() 1423 prueth_ndev_del_tx_napi(emac, emac->tx_ch_num); in emac_ndo_open() 1457 atomic_set(&emac->tdown_cnt, emac->tx_ch_num); in emac_ndo_stop() 1462 for (i = 0; i < emac->tx_ch_num; i++) in emac_ndo_stop() 1470 prueth_reset_tx_chan(emac, emac->tx_ch_num, true); in emac_ndo_stop() [all …]
|
D | icssg_prueth.h | 155 int tx_ch_num; member
|