VSF Documented
|
#include <linux/kobject.h>
#include <linux/types.h>
#include <linux/mutex.h>
#include <linux/slab.h>
#include <linux/sysfs.h>
#include <linux/device/bus.h>
#include <linux/device/class.h>
#include <linux/device/driver.h>
#include <linux/gfp.h>
Go to the source code of this file.
Data Structures | |
struct | device_type |
struct | device_attribute |
struct | device |
Macros | |
#define | dev_dbg(__dev, __fmt, ...) pr_debug(__fmt, ##__VA_ARGS__) |
#define | dev_emerg(__dev, __fmt, ...) pr_emerg(__fmt, ##__VA_ARGS__) |
#define | dev_crit(__dev, __fmt, ...) pr_crit(__fmt, ##__VA_ARGS__) |
#define | dev_alert(__dev, __fmt, ...) pr_alert(__fmt, ##__VA_ARGS__) |
#define | dev_err(__dev, __fmt, ...) pr_err(__fmt, ##__VA_ARGS__) |
#define | dev_warn(__dev, __fmt, ...) pr_warn(__fmt, ##__VA_ARGS__) |
#define | dev_notice(__dev, __fmt, ...) pr_notice(__fmt, ##__VA_ARGS__) |
#define | dev_info(__dev, __fmt, ...) pr_info(__fmt, ##__VA_ARGS__) |
#define | dev_level_once(__level, __dev, __fmt, ...) |
#define | dev_dbg_once(__dev, __fmt, ...) dev_level_once(dev_dbg, __dev, __fmt, ##__VA_ARGS__) |
#define | dev_emerg_once(__dev, __fmt, ...) dev_level_once(dev_emerg, __dev, __fmt, ##__VA_ARGS__) |
#define | dev_crit_once(__dev, __fmt, ...) dev_level_once(dev_crit, __dev, __fmt, ##__VA_ARGS__) |
#define | dev_alert_once(__dev, __fmt, ...) dev_level_once(dev_alert, __dev, __fmt, ##__VA_ARGS__) |
#define | dev_err_once(__dev, __fmt, ...) dev_level_once(dev_err, __dev, __fmt, ##__VA_ARGS__) |
#define | dev_warn_once(__dev, __fmt, ...) dev_level_once(dev_warn, __dev, __fmt, ##__VA_ARGS__) |
#define | dev_notice_once(__dev, __fmt, ...) dev_level_once(dev_notice, __dev, __fmt, ##__VA_ARGS__) |
#define | dev_info_once(__dev, __fmt, ...) dev_level_once(dev_info, __dev, __fmt, ##__VA_ARGS__) |
#define | device_wakeup_enable(__dev) |
#define | device_wakeup_disable(__dev) |
Functions | |
struct device * | get_device (struct device *dev) |
void | put_device (struct device *dev) |
bool | kill_device (struct device *dev) |
int | dev_set_name (struct device *dev, const char *fmt,...) |
int | device_register (struct device *dev) |
void | device_unregister (struct device *dev) |
void | device_initialize (struct device *dev) |
int | device_add (struct device *dev) |
void | device_del (struct device *dev) |
char * | devm_kvasprintf (struct device *dev, gfp_t gfp, const char *fmt, va_list ap) |
char * | devm_kasprintf (struct device *dev, gfp_t gfp, const char *fmt,...) |
#define dev_dbg | ( | __dev, | |
__fmt, | |||
... | |||
) | pr_debug(__fmt, ##__VA_ARGS__) |
#define dev_emerg | ( | __dev, | |
__fmt, | |||
... | |||
) | pr_emerg(__fmt, ##__VA_ARGS__) |
#define dev_crit | ( | __dev, | |
__fmt, | |||
... | |||
) | pr_crit(__fmt, ##__VA_ARGS__) |
#define dev_alert | ( | __dev, | |
__fmt, | |||
... | |||
) | pr_alert(__fmt, ##__VA_ARGS__) |
#define dev_err | ( | __dev, | |
__fmt, | |||
... | |||
) | pr_err(__fmt, ##__VA_ARGS__) |
#define dev_warn | ( | __dev, | |
__fmt, | |||
... | |||
) | pr_warn(__fmt, ##__VA_ARGS__) |
#define dev_notice | ( | __dev, | |
__fmt, | |||
... | |||
) | pr_notice(__fmt, ##__VA_ARGS__) |
#define dev_info | ( | __dev, | |
__fmt, | |||
... | |||
) | pr_info(__fmt, ##__VA_ARGS__) |
#define dev_level_once | ( | __level, | |
__dev, | |||
__fmt, | |||
... | |||
) |
#define dev_dbg_once | ( | __dev, | |
__fmt, | |||
... | |||
) | dev_level_once(dev_dbg, __dev, __fmt, ##__VA_ARGS__) |
#define dev_emerg_once | ( | __dev, | |
__fmt, | |||
... | |||
) | dev_level_once(dev_emerg, __dev, __fmt, ##__VA_ARGS__) |
#define dev_crit_once | ( | __dev, | |
__fmt, | |||
... | |||
) | dev_level_once(dev_crit, __dev, __fmt, ##__VA_ARGS__) |
#define dev_alert_once | ( | __dev, | |
__fmt, | |||
... | |||
) | dev_level_once(dev_alert, __dev, __fmt, ##__VA_ARGS__) |
#define dev_err_once | ( | __dev, | |
__fmt, | |||
... | |||
) | dev_level_once(dev_err, __dev, __fmt, ##__VA_ARGS__) |
#define dev_warn_once | ( | __dev, | |
__fmt, | |||
... | |||
) | dev_level_once(dev_warn, __dev, __fmt, ##__VA_ARGS__) |
#define dev_notice_once | ( | __dev, | |
__fmt, | |||
... | |||
) | dev_level_once(dev_notice, __dev, __fmt, ##__VA_ARGS__) |
#define dev_info_once | ( | __dev, | |
__fmt, | |||
... | |||
) | dev_level_once(dev_info, __dev, __fmt, ##__VA_ARGS__) |
#define device_wakeup_enable | ( | __dev | ) |
#define device_wakeup_disable | ( | __dev | ) |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |