clk_has_parent(9)

clk_has_parent9

Check if a clock is a possible parent for another

Usage

bool clk_has_parent(struct clk * clk, struct clk * parent);

Arguments

clk

clock source

parent

parent clock source

Overview

This function can be used in drivers that need to check that a clock can be the parent of another without actually changing the parent.

Returns true if parent is a possible parent for clk, false otherwise.

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