Home
last modified time | relevance | path

Searched refs:ch_rate (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/ti/
Dcpsw_priv.c323 int speed, ch_rate; in cpsw_need_resplit() local
333 ch_rate = cpdma_chan_get_rate(cpsw->txv[i].ch); in cpsw_need_resplit()
334 if (!ch_rate) in cpsw_need_resplit()
353 u32 ch_rate, max_rate; in cpsw_split_res() local
357 ch_rate = cpdma_chan_get_rate(txv[i].ch); in cpsw_split_res()
358 if (!ch_rate) in cpsw_split_res()
362 consumed_rate += ch_rate; in cpsw_split_res()
393 ch_rate = cpdma_chan_get_rate(txv[i].ch); in cpsw_split_res()
394 if (ch_rate) { in cpsw_split_res()
395 txv[i].budget = (ch_rate * NAPI_POLL_WEIGHT) / max_rate; in cpsw_split_res()
[all …]
Dam65-cpsw-qos.c1206 u32 ch_rate, tx_ch_rate_msk_new; in am65_cpsw_qos_ndo_tx_p0_set_maxrate() local
1218 ch_rate = netdev_get_tx_queue(ndev, queue)->tx_maxrate; in am65_cpsw_qos_ndo_tx_p0_set_maxrate()
1219 if (ch_rate == rate_mbps) in am65_cpsw_qos_ndo_tx_p0_set_maxrate()