logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

device_set_flags, device_get_flags — manipulate driver flags

Authors

       This manual page was written by Doug Rabson.

Debian                                          September 6, 1999                            DEVICE_GET_FLAGS(9)

Description

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

Name

       device_set_flags, device_get_flags — manipulate driver flags

See Also

device(9)

Synopsis

#include<sys/param.h>#include<sys/bus.h>voiddevice_set_flags(device_tdev, uint32_tflags);

       uint32_tdevice_get_flags(device_tdev);

See Also