Go to the documentation of this file.
44 #define to_subsys_private(obj) container_of(obj, struct subsys_private, subsys.kobj)
53 #define to_driver(obj) container_of(obj, struct driver_private, kobj)
82 #define to_device_private_parent(obj) \
83 container_of(obj, struct device_private, knode_parent)
84 #define to_device_private_driver(obj) \
85 container_of(obj, struct device_private, knode_driver)
86 #define to_device_private_bus(obj) \
87 container_of(obj, struct device_private, knode_bus)
96 #ifdef CONFIG_SYS_HYPERVISOR
114 static inline int driver_match_device(
struct device_driver *drv,
117 return drv->
bus->match ? drv->
bus->match(dev, drv) : 1;
127 #if defined(CONFIG_MODULES) && defined(CONFIG_SYSFS)
136 #ifdef CONFIG_DEVTMPFS