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:41
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:probe_list

Proto:static bool probe_list(struct pci_dev *pdev, unsigned short vendor, const unsigned char *rom_list)

Type:bool

Parameter:

TypeParameterName
struct pci_dev *pdev
unsigned shortvendor
const unsigned char *rom_list
101  Do
102  If probe_kernel_address(): safely attempt to read from a location*@addr: address to read from*@retval: read into this variable* Returns 0 on success, or -EFAULT.(rom_list, device) != 0 Then device = 0
105  If device && does this oprom support the given pci device, or any of the devices* that the driver supports? Then Break
108  rom_list += 2
109  When device cycle
111  Return Not Not device
Caller
NameDescribe
find_oprom