Scroll to navigation

CLK_ROUND_RATE(9) Clock Framework CLK_ROUND_RATE(9)

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

May 2024 Kernel Hackers Manual 2.6.