Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:pnp_port_len

Proto:static inline resource_size_t pnp_port_len(struct pnp_dev *dev, unsigned int bar)

Type:resource_size_t

Parameter:

TypeParameterName
struct pnp_dev *dev
unsigned intbar
97  res = pnp_get_resource(dev, PCI/ISA I/O ports , bar)
99  If pnp_resource_valid(res) Then Return pnp_resource_len(res)
101  Return 0