Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/ti/
Dcpsw_ethtool.c231 (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()
Dcpsw_priv.c299 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()
Dam65-cpsw-nuss.c456 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 …]
Dam65-cpsw-nuss.h129 int tx_ch_num; member
Dam65-cpsw-qos.c892 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()
Dcpsw_priv.h357 int rx_ch_num, tx_ch_num; member
Dcpsw.c766 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()
Dcpsw_new.c838 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()
Dam65-cpsw-ethtool.c432 ch->tx_count = common->tx_ch_num; in am65_cpsw_get_channels()
/Linux-v6.6/drivers/net/ethernet/ti/icssg/
Dicssg_ethtool.c143 emac->tx_ch_num = ch->tx_count; in emac_set_channels()
156 ch->tx_count = emac->tx_ch_num; in emac_get_channels()
Dicssg_prueth.c76 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 …]
Dicssg_prueth.h155 int tx_ch_num; member