Lines Matching defs:device
30 * @dev_root: Default device to use as the parent.
32 * @glue_dirs - "glue" directory to put in-between the parent device to
54 struct device *dev_root;
88 * struct device_private - structure to hold the private to the driver core portions of the device structure.
90 * @klist_children - klist containing all children of this device
97 * the device; typically because it depends on another driver getting
99 * @async_driver - pointer to device driver awaiting probe via async_probe
100 * @device - pointer back to the struct device that this structure is
102 * @dead - This device is currently either in the process of or has been
104 * device should exit without taking any action.
117 struct device *device;
148 struct kobject *virtual_device_parent(struct device *dev);
150 int bus_add_device(struct device *dev);
151 void bus_probe_device(struct device *dev);
152 void bus_remove_device(struct device *dev);
153 void bus_notify(struct device *dev, enum bus_notifier_event value);
158 void device_release_driver_internal(struct device *dev, struct device_driver *drv,
159 struct device *parent);
162 void driver_deferred_probe_del(struct device *dev);
163 void device_set_deferred_probe_reason(const struct device *dev, struct va_format *vaf);
165 struct device *dev)
170 static inline void dev_sync_state(struct device *dev)
180 void device_driver_detach(struct device *dev);
182 int devres_release_all(struct device *dev);
187 const char *device_get_devnode(const struct device *dev, umode_t *mode,
192 void devices_kset_move_last(struct device *dev);
211 static inline bool is_blockdev(struct device *dev)
216 static inline bool is_blockdev(struct device *dev) { return false; }
223 int device_links_check_suppliers(struct device *dev);
224 void device_links_force_bind(struct device *dev);
225 void device_links_driver_bound(struct device *dev);
226 void device_links_driver_cleanup(struct device *dev);
227 void device_links_no_driver(struct device *dev);
228 bool device_links_busy(struct device *dev);
229 void device_links_unbind_consumers(struct device *dev);
233 /* device pm support */
234 void device_pm_move_to_tail(struct device *dev);
237 int devtmpfs_create_node(struct device *dev);
238 int devtmpfs_delete_node(struct device *dev);
240 static inline int devtmpfs_create_node(struct device *dev) { return 0; }
241 static inline int devtmpfs_delete_node(struct device *dev) { return 0; }
244 void software_node_notify(struct device *dev);
245 void software_node_notify_remove(struct device *dev);