Searched refs:ch_rate (Results 1 – 2 of 2) sorted by relevance
323 int speed, ch_rate; in cpsw_need_resplit() local333 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() local357 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 …]
1206 u32 ch_rate, tx_ch_rate_msk_new; in am65_cpsw_qos_ndo_tx_p0_set_maxrate() local1218 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()