|
CardSight 0.1.0
C API reference for the CardSight firmware and application
|
Reference-counted object shared between the driver and its users. More...
#include <device.h>
Data Fields | |
| char | name [DEVICE_NAME_MAX] |
| struct device * | parent |
| void(* | release )(struct device *dev) |
| int | refcount |
Reference-counted object shared between the driver and its users.
| char device::name[DEVICE_NAME_MAX] |
Name the object is known by.
| struct device* device::parent |
Parent object, when there is one.
| int device::refcount |
Number of live references.
| void(* device::release) (struct device *dev) |
Called when the last reference goes.