Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\clk.h Create Date:2022-07-28 05:47:37
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:lk_get_optional - lookup and obtain a reference to an optional clock* producer.*@dev: device for clock "consumer"*@id: clock consumer ID* Behaves the same as clk_get() except where there is no clock producer. In

Proto:static inline struct clk *clk_get_optional(struct device *dev, const char *id)

Type:struct clk

Parameter:

TypeParameterName
struct device *dev
const char *id
957  clk = clk_get(dev, id)
959  If clk == ERR_PTR( - ENOENT) Then Return NULL
962  Return clk