Scroll to navigation

CLK_IS_MATCH(9) Clock Framework CLK_IS_MATCH(9)

NAME

clk_is_match - check if two clk's point to the same hardware clock

SYNOPSIS

bool clk_is_match(const struct clk * p, const struct clk * q);

ARGUMENTS

p

clk compared against q

q

clk compared against p

DESCRIPTION

Returns true if the two struct clk pointers both point to the same hardware clock node. Put differently, returns true if struct clk *p and struct clk *q share the same struct clk_core object.

Returns false otherwise. Note that two NULL clks are treated as matching.

COPYRIGHT

March 2017 Kernel Hackers Manual 4.10