Searched refs:tx_ch_num (Results 1 – 14 of 14) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/ti/icssg/ |
D | icssg_prueth_sr1.c | 98 tx_chn = &emac->tx_chns[emac->tx_ch_num - 1]; in emac_send_command_sr1() 463 int num_data_chn = emac->tx_ch_num - 1; in emac_ndo_open() 569 for (i = 0; i < emac->tx_ch_num; i++) { in emac_ndo_open() 576 for (i = 0; i < emac->tx_ch_num; i++) in emac_ndo_open() 610 prueth_ndev_del_tx_napi(emac, emac->tx_ch_num); in emac_ndo_open() 649 atomic_set(&emac->tdown_cnt, emac->tx_ch_num); in emac_ndo_stop() 654 for (i = 0; i < emac->tx_ch_num; i++) in emac_ndo_stop() 662 prueth_reset_tx_chan(emac, emac->tx_ch_num, true); in emac_ndo_stop() 663 for (i = 0; i < emac->tx_ch_num; i++) in emac_ndo_stop() 686 prueth_ndev_del_tx_napi(emac, emac->tx_ch_num); in emac_ndo_stop() [all …]
|
D | icssg_ethtool.c | 149 emac->tx_ch_num = ch->tx_count; in emac_set_channels() 152 emac->tx_ch_num++; in emac_set_channels() 171 ch->tx_count = emac->tx_ch_num; in emac_get_channels()
|
D | icssg_prueth.c | 545 int ret, i, num_data_chn = emac->tx_ch_num; in emac_ndo_open() 626 for (i = 0; i < emac->tx_ch_num; i++) { in emac_ndo_open() 633 for (i = 0; i < emac->tx_ch_num; i++) in emac_ndo_open() 660 prueth_ndev_del_tx_napi(emac, emac->tx_ch_num); in emac_ndo_open() 699 atomic_set(&emac->tdown_cnt, emac->tx_ch_num); in emac_ndo_stop() 704 for (i = 0; i < emac->tx_ch_num; i++) in emac_ndo_stop() 712 prueth_reset_tx_chan(emac, emac->tx_ch_num, true); in emac_ndo_stop() 713 for (i = 0; i < emac->tx_ch_num; i++) { in emac_ndo_stop() 740 prueth_ndev_del_tx_napi(emac, emac->tx_ch_num); in emac_ndo_stop() 879 emac->tx_ch_num = 1; in prueth_netdev_init()
|
D | icssg_common.c | 60 for (i = 0; i < emac->tx_ch_num; i++) { in prueth_cleanup_tx_chns() 248 for (i = 0; i < emac->tx_ch_num; i++) { in prueth_ndev_add_tx_napi() 300 for (i = 0; i < emac->tx_ch_num; i++) { in prueth_init_tx_chns()
|
D | icssg_prueth.h | 169 int tx_ch_num; member
|
/linux-6.12.1/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 | 728 for (tx = 0; tx < common->tx_ch_num; tx++) { in am65_cpsw_nuss_common_open() 783 atomic_set(&common->tdown_cnt, common->tx_ch_num); in am65_cpsw_nuss_common_stop() 788 for (i = 0; i < common->tx_ch_num; i++) in am65_cpsw_nuss_common_stop() 795 for (i = 0; i < common->tx_ch_num; i++) { in am65_cpsw_nuss_common_stop() 800 for (i = 0; i < common->tx_ch_num; i++) { in am65_cpsw_nuss_common_stop() 893 ret = netif_set_real_num_tx_queues(ndev, common->tx_ch_num); in am65_cpsw_nuss_ndo_slave_open() 905 for (i = 0; i < common->tx_ch_num; i++) { in am65_cpsw_nuss_ndo_slave_open() 1962 tx_chn = &common->tx_chns[cpu % common->tx_ch_num]; in am65_cpsw_ndo_xdp_xmit() 2186 for (i = 0; i < common->tx_ch_num; i++) { in am65_cpsw_nuss_free_tx_chns() 2207 for (i = 0; i < common->tx_ch_num; i++) { in am65_cpsw_nuss_remove_tx_chns() [all …]
|
D | am65-cpsw-nuss.h | 157 int tx_ch_num; member
|
D | cpsw_priv.h | 357 int rx_ch_num, tx_ch_num; member
|
D | cpsw.c | 768 ret = netif_set_real_num_tx_queues(ndev, cpsw->tx_ch_num); in cpsw_ndo_open() 921 if (q_idx >= cpsw->tx_ch_num) in cpsw_ndo_start_xmit() 922 q_idx = q_idx % cpsw->tx_ch_num; in cpsw_ndo_start_xmit()
|
D | am65-cpsw-qos.c | 1232 ch_msk = GENMASK(common->tx_ch_num - 1, queue); in am65_cpsw_qos_ndo_tx_p0_set_maxrate() 1267 for (tx_ch = 0; tx_ch < common->tx_ch_num; tx_ch++) { in am65_cpsw_qos_tx_p0_rate_init()
|
D | cpsw_new.c | 841 ret = netif_set_real_num_tx_queues(ndev, cpsw->tx_ch_num); in cpsw_ndo_open() 937 if (q_idx >= cpsw->tx_ch_num) in cpsw_ndo_start_xmit() 938 q_idx = q_idx % cpsw->tx_ch_num; in cpsw_ndo_start_xmit()
|
D | am65-cpsw-ethtool.c | 433 ch->tx_count = common->tx_ch_num; in am65_cpsw_get_channels()
|