Lines Matching defs:dev
50 static inline int device_is_not_partition(struct device *dev) in device_is_not_partition()
55 static inline int device_is_not_partition(struct device *dev) in device_is_not_partition()
70 const char *dev_driver_string(const struct device *dev) in dev_driver_string()
92 struct device *dev = to_dev(kobj); in dev_attr_show() local
108 struct device *dev = to_dev(kobj); in dev_attr_store() local
123 ssize_t device_store_ulong(struct device *dev, in device_store_ulong()
138 ssize_t device_show_ulong(struct device *dev, in device_show_ulong()
147 ssize_t device_store_int(struct device *dev, in device_store_int()
162 ssize_t device_show_int(struct device *dev, in device_show_int()
182 struct device *dev = to_dev(kobj); in device_release() local
200 struct device *dev = to_dev(kobj); in device_namespace() local
221 struct device *dev = to_dev(kobj); in dev_uevent_filter() local
232 struct device *dev = to_dev(kobj); in dev_uevent_name() local
244 struct device *dev = to_dev(kobj); in dev_uevent() local
305 static ssize_t show_uevent(struct device *dev, struct device_attribute *attr, in show_uevent()
348 static ssize_t store_uevent(struct device *dev, struct device_attribute *attr, in store_uevent()
363 static int device_add_attributes(struct device *dev, in device_add_attributes()
382 static void device_remove_attributes(struct device *dev, in device_remove_attributes()
392 static int device_add_bin_attributes(struct device *dev, in device_add_bin_attributes()
411 static void device_remove_bin_attributes(struct device *dev, in device_remove_bin_attributes()
421 static int device_add_groups(struct device *dev, in device_add_groups()
441 static void device_remove_groups(struct device *dev, in device_remove_groups()
451 static int device_add_attrs(struct device *dev) in device_add_attrs()
491 static void device_remove_attrs(struct device *dev) in device_remove_attrs()
508 static ssize_t show_dev(struct device *dev, struct device_attribute *attr, in show_dev()
525 int device_create_file(struct device *dev, in device_create_file()
539 void device_remove_file(struct device *dev, in device_remove_file()
551 int device_create_bin_file(struct device *dev, in device_create_bin_file()
566 void device_remove_bin_file(struct device *dev, in device_remove_bin_file()
599 int device_schedule_callback_owner(struct device *dev, in device_schedule_callback_owner()
610 struct device *dev = p->device; in klist_children_get() local
618 struct device *dev = p->device; in klist_children_put() local
643 void device_initialize(struct device *dev) in device_initialize()
656 static struct kobject *virtual_device_parent(struct device *dev) in virtual_device_parent()
717 static struct kobject *get_device_parent(struct device *dev, in get_device_parent()
778 static void cleanup_glue_dir(struct device *dev, struct kobject *glue_dir) in cleanup_glue_dir()
788 static void cleanup_device_parent(struct device *dev) in cleanup_device_parent()
793 static int device_add_class_symlinks(struct device *dev) in device_add_class_symlinks()
836 static void device_remove_class_symlinks(struct device *dev) in device_remove_class_symlinks()
856 int dev_set_name(struct device *dev, const char *fmt, ...) in dev_set_name()
879 static struct kobject *device_to_dev_kobj(struct device *dev) in device_to_dev_kobj()
891 static int device_create_sys_dev_entry(struct device *dev) in device_create_sys_dev_entry()
905 static void device_remove_sys_dev_entry(struct device *dev) in device_remove_sys_dev_entry()
916 int device_private_init(struct device *dev) in device_private_init()
949 int device_add(struct device *dev) in device_add()
1112 int device_register(struct device *dev) in device_register()
1126 struct device *get_device(struct device *dev) in get_device()
1135 void put_device(struct device *dev) in put_device()
1155 void device_del(struct device *dev) in device_del()
1221 void device_unregister(struct device *dev) in device_unregister()
1231 struct device *dev = NULL; in next_device() local
1252 const char *device_get_devnode(struct device *dev, in device_get_devnode()
1297 int (*fn)(struct device *dev, void *data)) in device_for_each_child()
1329 int (*match)(struct device *dev, void *data)) in device_find_child()
1387 struct device dev; member
1396 static void root_device_release(struct device *dev) in root_device_release()
1470 void root_device_unregister(struct device *dev) in root_device_unregister()
1482 static void device_create_release(struct device *dev) in device_create_release()
1517 struct device *dev = NULL; in device_create_vargs() local
1579 struct device *dev; in device_create() local
1588 static int __match_devt(struct device *dev, void *data) in __match_devt()
1605 struct device *dev; in device_destroy() local
1654 int device_rename(struct device *dev, const char *new_name) in device_rename()
1696 static int device_move_class_links(struct device *dev, in device_move_class_links()
1716 int device_move(struct device *dev, struct device *new_parent, in device_move()
1796 struct device *dev; in device_shutdown() local
1840 int __dev_printk(const char *level, const struct device *dev, in __dev_printk()
1851 int dev_printk(const char *level, const struct device *dev, in dev_printk()