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

device_set_flags, device_get_flagsmanipulate driver flags

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

void
device_set_flags(device_t dev, uint32_t flags);

uint32_t
device_get_flags(device_t dev);

Each device supports a set of driver-dependent flags which are often used to control device behaviour. These flags are read by calling () and written by calling ().

device(9)

This manual page was written by Doug Rabson.

September 6, 1999 Debian