Lines Matching defs:_device
134 struct _device { struct
146 device_t parent; /**< parent of this device */
147 device_list_t children; /**< list of child devices */
152 driver_t *driver; /**< current driver */
153 devclass_t devclass; /**< current device class */
154 int unit; /**< current unit number */
155 char* nameunit; /**< name+unit e.g. foodev0 */
156 char* desc; /**< driver specific description */
157 u_int busy; /**< count of calls to device_busy() */
158 device_state_t state; /**< current device state */
159 uint32_t devflags; /**< api level flags for device_get_flags() */
160 u_int flags; /**< internal device flags */
161 u_int order; /**< order from device_add_child_ordered() */
162 void *ivars; /**< instance variables */
163 void *softc; /**< current driver's variables */
166 struct sysctl_ctx_list sysctl_ctx; /**< state for sysctl variables */
167 struct sysctl_oid *sysctl_tree; /**< state for sysctl variables */