Lines Matching defs:dev
76 static inline int device_is_not_partition(struct device *dev) in device_is_not_partition()
81 static inline int device_is_not_partition(struct device *dev) in device_is_not_partition()
96 const char *dev_driver_string(const struct device *dev) in dev_driver_string()
117 struct device *dev = kobj_to_dev(kobj); in dev_attr_show() local
133 struct device *dev = kobj_to_dev(kobj); in dev_attr_store() local
148 ssize_t device_store_ulong(struct device *dev, in device_store_ulong()
163 ssize_t device_show_ulong(struct device *dev, in device_show_ulong()
172 ssize_t device_store_int(struct device *dev, in device_store_int()
187 ssize_t device_show_int(struct device *dev, in device_show_int()
197 ssize_t device_store_bool(struct device *dev, struct device_attribute *attr, in device_store_bool()
209 ssize_t device_show_bool(struct device *dev, struct device_attribute *attr, in device_show_bool()
228 struct device *dev = kobj_to_dev(kobj); in device_release() local
257 struct device *dev = kobj_to_dev(kobj); in device_namespace() local
278 struct device *dev = kobj_to_dev(kobj); in dev_uevent_filter() local
289 struct device *dev = kobj_to_dev(kobj); in dev_uevent_name() local
301 struct device *dev = kobj_to_dev(kobj); in dev_uevent() local
371 static ssize_t uevent_show(struct device *dev, struct device_attribute *attr, in uevent_show()
414 static ssize_t uevent_store(struct device *dev, struct device_attribute *attr, in uevent_store()
427 static ssize_t online_show(struct device *dev, struct device_attribute *attr, in online_show()
438 static ssize_t online_store(struct device *dev, struct device_attribute *attr, in online_store()
458 int device_add_groups(struct device *dev, const struct attribute_group **groups) in device_add_groups()
463 void device_remove_groups(struct device *dev, in device_remove_groups()
469 static int device_add_attrs(struct device *dev) in device_add_attrs()
511 static void device_remove_attrs(struct device *dev) in device_remove_attrs()
526 static ssize_t dev_show(struct device *dev, struct device_attribute *attr, in dev_show()
572 void devices_kset_move_last(struct device *dev) in devices_kset_move_last()
587 int device_create_file(struct device *dev, in device_create_file()
611 void device_remove_file(struct device *dev, in device_remove_file()
626 bool device_remove_file_self(struct device *dev, in device_remove_file_self()
641 int device_create_bin_file(struct device *dev, in device_create_bin_file()
656 void device_remove_bin_file(struct device *dev, in device_remove_bin_file()
667 struct device *dev = p->device; in klist_children_get() local
675 struct device *dev = p->device; in klist_children_put() local
700 void device_initialize(struct device *dev) in device_initialize()
717 struct kobject *virtual_device_parent(struct device *dev) in virtual_device_parent()
779 static struct kobject *get_device_parent(struct device *dev, in get_device_parent()
839 static void cleanup_glue_dir(struct device *dev, struct kobject *glue_dir) in cleanup_glue_dir()
851 static void cleanup_device_parent(struct device *dev) in cleanup_device_parent()
856 static int device_add_class_symlinks(struct device *dev) in device_add_class_symlinks()
908 static void device_remove_class_symlinks(struct device *dev) in device_remove_class_symlinks()
931 int dev_set_name(struct device *dev, const char *fmt, ...) in dev_set_name()
954 static struct kobject *device_to_dev_kobj(struct device *dev) in device_to_dev_kobj()
966 static int device_create_sys_dev_entry(struct device *dev) in device_create_sys_dev_entry()
980 static void device_remove_sys_dev_entry(struct device *dev) in device_remove_sys_dev_entry()
991 int device_private_init(struct device *dev) in device_private_init()
1025 int device_add(struct device *dev) in device_add()
1186 int device_register(struct device *dev) in device_register()
1201 struct device *get_device(struct device *dev) in get_device()
1211 void put_device(struct device *dev) in put_device()
1232 void device_del(struct device *dev) in device_del()
1296 void device_unregister(struct device *dev) in device_unregister()
1307 struct device *dev = NULL; in prev_device() local
1320 struct device *dev = NULL; in next_device() local
1343 const char *device_get_devnode(struct device *dev, in device_get_devnode()
1388 int (*fn)(struct device *dev, void *data)) in device_for_each_child()
1418 int (*fn)(struct device *dev, void *data)) in device_for_each_child_reverse()
1453 int (*match)(struct device *dev, void *data)) in device_find_child()
1496 static int device_check_offline(struct device *dev, void *not_used) in device_check_offline()
1518 int device_offline(struct device *dev) in device_offline()
1556 int device_online(struct device *dev) in device_online()
1578 struct device dev; member
1587 static void root_device_release(struct device *dev) in root_device_release()
1661 void root_device_unregister(struct device *dev) in root_device_unregister()
1673 static void device_create_release(struct device *dev) in device_create_release()
1685 struct device *dev = NULL; in device_create_groups_vargs() local
1782 struct device *dev; in device_create() local
1825 struct device *dev; in device_create_with_groups() local
1835 static int __match_devt(struct device *dev, const void *data) in __match_devt()
1852 struct device *dev; in device_destroy() local
1901 int device_rename(struct device *dev, const char *new_name) in device_rename()
1940 static int device_move_class_links(struct device *dev, in device_move_class_links()
1960 int device_move(struct device *dev, struct device *new_parent, in device_move()
2043 struct device *dev, *parent; in device_shutdown() local
2106 create_syslog_header(const struct device *dev, char *hdr, size_t hdrlen) in create_syslog_header()
2162 int dev_vprintk_emit(int level, const struct device *dev, in dev_vprintk_emit()
2174 int dev_printk_emit(int level, const struct device *dev, const char *fmt, ...) in dev_printk_emit()
2189 static void __dev_printk(const char *level, const struct device *dev, in __dev_printk()
2199 void dev_printk(const char *level, const struct device *dev, in dev_printk()
2256 void set_primary_fwnode(struct device *dev, struct fwnode_handle *fwnode) in set_primary_fwnode()
2282 void set_secondary_fwnode(struct device *dev, struct fwnode_handle *fwnode) in set_secondary_fwnode()