Searched refs:rate_rounded (Results 1 – 1 of 1) sorted by relevance
524 long ferr, rate, rate_rounded; in macb_set_tx_clk() local547 rate_rounded = clk_round_rate(bp->tx_clk, rate); in macb_set_tx_clk()548 if (rate_rounded < 0) in macb_set_tx_clk()554 ferr = abs(rate_rounded - rate); in macb_set_tx_clk()561 if (clk_set_rate(bp->tx_clk, rate_rounded)) in macb_set_tx_clk()