函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:pnp_mem_flags

函数原型:static inline unsigned long pnp_mem_flags(struct pnp_dev *dev, unsigned int bar)

返回类型:unsigned long

参数:

类型参数名称
struct pnp_dev *dev
unsigned intbar
127  res等于pnp_get_resource(dev, IORESOURCE_MEM, bar)
129  如果pnp_resource_valid(res)则返回:flags
131  返回:IORESOURCE_MEM按位或IORESOURCE_AUTO