DOKK / manpages / debian 10 / freebsd-manpages / device_get_parent.9freebsd.en
DEVICE_GET_PARENT(9) Kernel Developer's Manual DEVICE_GET_PARENT(9)

device_get_parentreturn the device's parent

#include <sys/param.h>
#include <sys/bus.h>

device_t
device_get_parent(device_t dev);

The () function returns the name of the device's parent device.

device(9)

This manual page was written by Warner Losh.

April 21, 2003 Debian