函数逻辑报告

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_get_drvdata

函数原型:static inline void *dev_get_drvdata(const struct device *dev)

返回类型:void

参数:

类型参数名称
const struct device *dev
1419  返回: Driver data, set and get with dev_set_drvdata/dev_get_drvdata
调用者
名称描述
dev_to_misc_dev
pseudo_lock_devnode
nr_addr_filters_showLet userspace know that this PMU supports address range filtering:
type_show
perf_event_mux_interval_ms_show
perf_event_mux_interval_ms_store
read_ahead_kb_store
read_ahead_kb_show
min_ratio_store
min_ratio_show
max_ratio_store
max_ratio_show
stable_pages_required_show
pci_get_drvdataSimilar to the helpers above, these manipulate per-pci_dev* driver-specific data. They are really just a wrapper around* the generic device structure functions of these calls.
platform_get_drvdata
pnp_get_drvdata
eisa_get_drvdataMimics pci.h...
i2c_get_clientdata
i2c_get_adapdata
bl_get_data
usb_get_intfdata