device_get_parent - return the device’s parent
#include <sys/param.h> #include <sys/bus.h> device_t device_get_parent(device_t dev);
The device_get_parent() function returns the name of the device’s parent device.
device(9)
This manual page was written by Warner Losh.