Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/ti/
H A Ddavinci_cpdma.c453 u64 divident, divisor; in cpdma_chan_set_factors() local
469 divident = ch->rate * send_cnt; in cpdma_chan_set_factors()
471 idle_cnt = DIV_ROUND_CLOSEST_ULL(divident, divisor); in cpdma_chan_set_factors()
473 divident = freq * idle_cnt; in cpdma_chan_set_factors()
475 new_rate = DIV_ROUND_CLOSEST_ULL(divident, divisor); in cpdma_chan_set_factors()
495 divident = freq * idle_cnt; in cpdma_chan_set_factors()
496 send_cnt = DIV_ROUND_CLOSEST_ULL(divident, ch->rate); in cpdma_chan_set_factors()
812 unsigned int divident, divisor; in cpdma_chan_get_min_rate() local
814 divident = ctlr->params.bus_freq_mhz * 32 * 1000; in cpdma_chan_get_min_rate()
817 return DIV_ROUND_UP(divident, divisor); in cpdma_chan_get_min_rate()