clk_is_match(9)

clk_is_match9

Check if two clk's point to the same hardware clock

Usage

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

Arguments

p

clk compared against q

q

clk compared against p

Overview

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.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.