1DMI_FIND_DEVICE(9)            Firmware Interfaces           DMI_FIND_DEVICE(9)
2
3
4

NAME

6       dmi_find_device - find onboard device by type/name
7

SYNOPSIS

9       const struct dmi_device * dmi_find_device(int type, const char * name,
10                                                 const struct dmi_device * from);
11

ARGUMENTS

13       type
14           device type or DMI_DEV_TYPE_ANY to match all device types
15
16       name
17           device name string or NULL to match all
18
19       from
20           previous device found in search, or NULL for new search.
21

DESCRIPTION

23       Iterates through the list of known onboard devices. If a device is
24       found with a matching vendor and device, a pointer to its device
25       structure is returned. Otherwise, NULL is returned. A new search is
26       initiated by passing NULL as the from argument. If from is not NULL,
27       searches continue from next device.
28
30Kernel Hackers Manual 3.10         June 2019                DMI_FIND_DEVICE(9)
Impressum