Searched refs:ch_rate (Results 1 – 1 of 1) sorted by relevance
322 int speed, ch_rate; in cpsw_need_resplit() local332 ch_rate = cpdma_chan_get_rate(cpsw->txv[i].ch); in cpsw_need_resplit()333 if (!ch_rate) in cpsw_need_resplit()352 u32 ch_rate, max_rate; in cpsw_split_res() local356 ch_rate = cpdma_chan_get_rate(txv[i].ch); in cpsw_split_res()357 if (!ch_rate) in cpsw_split_res()361 consumed_rate += ch_rate; in cpsw_split_res()392 ch_rate = cpdma_chan_get_rate(txv[i].ch); in cpsw_split_res()393 if (ch_rate) { in cpsw_split_res()394 txv[i].budget = (ch_rate * CPSW_POLL_WEIGHT) / max_rate; in cpsw_split_res()[all …]