Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\probe_roms.c Create Date:2022-07-28 07:41:40
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:does this oprom support the given pci device, or any of the devices* that the driver supports?

Proto:static bool match_id(struct pci_dev *pdev, unsigned short vendor, unsigned short device)

Type:bool

Parameter:

TypeParameterName
struct pci_dev *pdev
unsigned shortvendor
unsigned shortdevice
83  drv = driver
86  If vendor == vendor && device == device Then Return true
89  When id && vendor cycle If vendor == vendor && Vendor and device ID or PCI_ANY_ID == device Then
91  Break
93  Return id && vendor
Caller
NameDescribe
probe_list
find_oprom