'\" t .\" Title: clk_is_match .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Clock Framework .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "CLK_IS_MATCH" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Clock Framework" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" clk_is_match \- check if two clk\*(Aqs point to the same hardware clock .SH "SYNOPSIS" .HP \w'bool\ clk_is_match('u .BI "bool clk_is_match(const\ struct\ clk\ *\ " "p" ", const\ struct\ clk\ *\ " "q" ");" .SH "ARGUMENTS" .PP \fIp\fR .RS 4 clk compared against q .RE .PP \fIq\fR .RS 4 clk compared against p .RE .SH "DESCRIPTION" .PP 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\&. .PP Returns false otherwise\&. Note that two NULL clks are treated as matching\&. .SH "COPYRIGHT" .br