Changeset View
Changeset View
Standalone View
Standalone View
sys/compat/linuxkpi/common/include/linux/device.h
Show All 35 Lines | |||||
#include <linux/kobject.h> | #include <linux/kobject.h> | ||||
#include <linux/sysfs.h> | #include <linux/sysfs.h> | ||||
#include <linux/list.h> | #include <linux/list.h> | ||||
#include <linux/compiler.h> | #include <linux/compiler.h> | ||||
#include <linux/types.h> | #include <linux/types.h> | ||||
#include <linux/module.h> | #include <linux/module.h> | ||||
#include <linux/workqueue.h> | #include <linux/workqueue.h> | ||||
#include <linux/kdev_t.h> | #include <linux/kdev_t.h> | ||||
#include <linux/backlight.h> | |||||
#include <asm/atomic.h> | #include <asm/atomic.h> | ||||
#include <sys/bus.h> | #include <sys/bus.h> | ||||
#include <sys/backlight.h> | |||||
struct device; | struct device; | ||||
struct fwnode_handle; | struct fwnode_handle; | ||||
struct class { | struct class { | ||||
const char *name; | const char *name; | ||||
struct module *owner; | struct module *owner; | ||||
struct kobject kobj; | struct kobject kobj; | ||||
▲ Show 20 Lines • Show All 54 Lines • ▼ Show 20 Lines | struct device { | ||||
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 irq_start; | unsigned int irq_start; | ||||
unsigned int irq_end; | unsigned int irq_end; | ||||
const struct attribute_group **groups; | const struct attribute_group **groups; | ||||
struct fwnode_handle *fwnode; | struct fwnode_handle *fwnode; | ||||
struct cdev *backlight_dev; | |||||
struct backlight_device *bd; | |||||
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; | ||||
extern struct kobject linux_class_root; | extern struct kobject linux_class_root; | ||||
extern const struct kobj_type linux_dev_ktype; | extern const struct kobj_type linux_dev_ktype; | ||||
▲ Show 20 Lines • Show All 438 Lines • Show Last 20 Lines |