函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\platform_device.h Create Date:2022-07-27 07:53:47
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:platform_device_register_simple - add a platform-level device and its resources*@name: base name of the device we're adding*@id: instance id*@res: set of resources that needs to be allocated for the device*@num: number of resources* This function creates

函数原型:static inline struct platform_device *platform_device_register_simple(const char *name, int id, const struct resource *res, unsigned int num)

返回类型:struct platform_device

参数:

类型参数名称
const char *name
intid
const struct resource *res
unsigned intnum
156  返回:platform_device_register_resndata - add a platform-level device with* resources and platform-specific data*@parent: parent device for the device we're adding*@name: base name of the device we're adding*@id: instance id*@res: set of resources that needs to
调用者
名称描述
microcode_init
add_pcspkr