函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:dev_set_drvdata

函数原型:static inline void dev_set_drvdata(struct device *dev, void *data)

返回类型:void

参数:

类型参数名称
struct device *dev
void *data
1424  Driver data, set and get with dev_set_drvdata/dev_get_drvdata 等于data
调用者
名称描述
pmu_dev_alloc
pci_set_drvdata
platform_set_drvdata
pnp_set_drvdata
eisa_set_drvdata
i2c_set_clientdata
i2c_set_adapdata
usb_set_intfdata