Searched refs:rate_rounded (Results 1 – 1 of 1) sorted by relevance
468 long ferr, rate, rate_rounded; in macb_set_tx_clk() local491 rate_rounded = clk_round_rate(bp->tx_clk, rate); in macb_set_tx_clk()492 if (rate_rounded < 0) in macb_set_tx_clk()498 ferr = abs(rate_rounded - rate); in macb_set_tx_clk()505 if (clk_set_rate(bp->tx_clk, rate_rounded)) in macb_set_tx_clk()