dmi_find_device — find onboard device by type/name
|const char * name,|
|const struct dmi_device * from|
device type or
DMI_DEV_TYPE_ANY to match all device types
const char * name
device name string or
NULL to match all
const struct dmi_device * from
previous device found in search, or
NULL for new search.
Iterates through the list of known onboard devices. If a device is
found with a matching
name, a pointer to its device
structure is returned. Otherwise,
NULL is returned.
A new search is initiated by passing
NULL as the
from is not
NULL, searches continue from next device.