Changeset View
Changeset View
Standalone View
Standalone View
sys/compat/linuxkpi/common/include/linux/device.h
Show First 20 Lines • Show All 104 Lines • ▼ Show 20 Lines | struct device { | ||||
dev_t devt; | dev_t devt; | ||||
struct class *class; | struct class *class; | ||||
void (*release)(struct device *dev); | void (*release)(struct device *dev); | ||||
struct kobject kobj; | struct kobject kobj; | ||||
void *dma_priv; | void *dma_priv; | ||||
void *driver_data; | void *driver_data; | ||||
unsigned int irq; | unsigned int irq; | ||||
#define LINUX_IRQ_INVALID 65535 | #define LINUX_IRQ_INVALID 65535 | ||||
unsigned int msix; | unsigned int irq_start; | ||||
unsigned int msix_max; | unsigned int irq_end; | ||||
const struct attribute_group **groups; | const struct attribute_group **groups; | ||||
struct fwnode_handle *fwnode; | struct fwnode_handle *fwnode; | ||||
spinlock_t devres_lock; | spinlock_t devres_lock; | ||||
struct list_head devres_head; | struct list_head devres_head; | ||||
}; | }; | ||||
extern struct device linux_root_device; | extern struct device linux_root_device; | ||||
▲ Show 20 Lines • Show All 432 Lines • Show Last 20 Lines |