The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/sys/device_if.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /*      $NetBSD: device_if.h,v 1.7 2022/09/13 08:30:57 riastradh Exp $  */
    2 
    3 #ifndef _SYS_DEVICE_IF_H
    4 #define _SYS_DEVICE_IF_H
    5 
    6 #include <sys/stdint.h>
    7 
    8 struct device;
    9 typedef struct device *device_t;
   10 
   11 #if defined(_KERNEL) || defined(_KMEMUSER)
   12 typedef enum devact_level {
   13           DEVACT_LEVEL_CLASS    = 0
   14         , DEVACT_LEVEL_DRIVER   = 1
   15         , DEVACT_LEVEL_BUS      = 2
   16 } devact_level_t;
   17 
   18 #define DEVACT_LEVEL_FULL       DEVACT_LEVEL_CLASS
   19 
   20 struct device_lock;
   21 struct device_suspensor;
   22 
   23 typedef uint64_t devgen_t;
   24 
   25 typedef struct device_lock *device_lock_t;
   26 typedef struct device_suspensor device_suspensor_t;
   27 #endif
   28 
   29 #endif  /* _SYS_DEVICE_IF_H */

Cache object: ecacedd96137122045a72a686941d7e7


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.