CLK_ROUND_RATE

Section: Clock Framework (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

clk_round_rate - adjust a rate to the exact rate a clock can provide  

SYNOPSIS

long clk_round_rate(struct clk * clk, unsigned long rate);
 

ARGUMENTS

clk

clock source

rate

desired clock rate in Hz
 

DESCRIPTION

Returns rounded clock rate in Hz, or negative errno.  

COPYRIGHT