Lines Matching defs:dev

276 static bool device_is_ancestor(struct device *dev, struct device *target)  in device_is_ancestor()
302 int device_is_dependent(struct device *dev, void *target) in device_is_dependent()
377 static int device_reorder_to_tail(struct device *dev, void *not_used) in device_reorder_to_tail()
410 void device_pm_move_to_tail(struct device *dev) in device_pm_move_to_tail()
421 #define to_devlink(dev) container_of((dev), struct device_link, link_dev) argument
423 static ssize_t status_show(struct device *dev, in status_show()
456 static ssize_t auto_remove_on_show(struct device *dev, in auto_remove_on_show()
473 static ssize_t runtime_pm_show(struct device *dev, in runtime_pm_show()
482 static ssize_t sync_state_only_show(struct device *dev, in sync_state_only_show()
526 static void devlink_dev_release(struct device *dev) in devlink_dev_release()
546 static int devlink_add_symlinks(struct device *dev) in devlink_add_symlinks()
595 static void devlink_remove_symlinks(struct device *dev) in devlink_remove_symlinks()
981 static void device_links_missing_supplier(struct device *dev) in device_links_missing_supplier()
998 static bool dev_is_best_effort(struct device *dev) in dev_is_best_effort()
1035 int device_links_check_suppliers(struct device *dev) in device_links_check_suppliers()
1110 static void __device_links_queue_sync_state(struct device *dev, in __device_links_queue_sync_state()
1154 struct device *dev, *tmp; in device_links_flush_sync_list() local
1180 struct device *dev, *tmp; in device_links_supplier_sync_state_resume() local
1226 static ssize_t waiting_for_supplier_show(struct device *dev, in waiting_for_supplier_show()
1255 void device_links_force_bind(struct device *dev) in device_links_force_bind()
1287 void device_links_driver_bound(struct device *dev) in device_links_driver_bound()
1408 static void __device_links_no_driver(struct device *dev) in __device_links_no_driver()
1446 void device_links_no_driver(struct device *dev) in device_links_no_driver()
1483 void device_links_driver_cleanup(struct device *dev) in device_links_driver_cleanup()
1528 bool device_links_busy(struct device *dev) in device_links_busy()
1568 void device_links_unbind_consumers(struct device *dev) in device_links_unbind_consumers()
1611 static void device_links_purge(struct device *dev) in device_links_purge()
1747 static int fw_devlink_no_driver(struct device *dev, void *data) in fw_devlink_no_driver()
1766 static int fw_devlink_dev_sync_state(struct device *dev, void *data) in fw_devlink_dev_sync_state()
1860 static void fw_devlink_unblock_consumers(struct device *dev) in fw_devlink_unblock_consumers()
1876 struct device *dev; in fwnode_init_without_drv() local
2142 static void __fw_devlink_link_to_consumers(struct device *dev) in __fw_devlink_link_to_consumers()
2215 static void __fw_devlink_link_to_suppliers(struct device *dev, in __fw_devlink_link_to_suppliers()
2243 static void fw_devlink_link_device(struct device *dev) in fw_devlink_link_device()
2293 static inline int device_is_not_partition(struct device *dev) in device_is_not_partition()
2298 static inline int device_is_not_partition(struct device *dev) in device_is_not_partition()
2304 static void device_platform_notify(struct device *dev) in device_platform_notify()
2314 static void device_platform_notify_remove(struct device *dev) in device_platform_notify_remove()
2333 const char *dev_driver_string(const struct device *dev) in dev_driver_string()
2352 struct device *dev = kobj_to_dev(kobj); in dev_attr_show() local
2368 struct device *dev = kobj_to_dev(kobj); in dev_attr_store() local
2383 ssize_t device_store_ulong(struct device *dev, in device_store_ulong()
2400 ssize_t device_show_ulong(struct device *dev, in device_show_ulong()
2409 ssize_t device_store_int(struct device *dev, in device_store_int()
2429 ssize_t device_show_int(struct device *dev, in device_show_int()
2439 ssize_t device_store_bool(struct device *dev, struct device_attribute *attr, in device_store_bool()
2451 ssize_t device_show_bool(struct device *dev, struct device_attribute *attr, in device_show_bool()
2470 struct device *dev = kobj_to_dev(kobj); in device_release() local
2500 const struct device *dev = kobj_to_dev(kobj); in device_namespace() local
2511 const struct device *dev = kobj_to_dev(kobj); in device_get_ownership() local
2530 const struct device *dev = kobj_to_dev(kobj); in dev_uevent_filter() local
2541 const struct device *dev = kobj_to_dev(kobj); in dev_uevent_name() local
2552 const struct device *dev = kobj_to_dev(kobj); in dev_uevent() local
2622 static ssize_t uevent_show(struct device *dev, struct device_attribute *attr, in uevent_show()
2665 static ssize_t uevent_store(struct device *dev, struct device_attribute *attr, in uevent_store()
2681 static ssize_t online_show(struct device *dev, struct device_attribute *attr, in online_show()
2692 static ssize_t online_store(struct device *dev, struct device_attribute *attr, in online_store()
2712 static ssize_t removable_show(struct device *dev, struct device_attribute *attr, in removable_show()
2731 int device_add_groups(struct device *dev, const struct attribute_group **groups) in device_add_groups()
2737 void device_remove_groups(struct device *dev, in device_remove_groups()
2749 static void devm_attr_group_remove(struct device *dev, void *res) in devm_attr_group_remove()
2758 static void devm_attr_groups_remove(struct device *dev, void *res) in devm_attr_groups_remove()
2777 int devm_device_add_group(struct device *dev, const struct attribute_group *grp) in devm_device_add_group()
2812 int devm_device_add_groups(struct device *dev, in devm_device_add_groups()
2835 static int device_add_attrs(struct device *dev) in device_add_attrs()
2902 static void device_remove_attrs(struct device *dev) in device_remove_attrs()
2924 static ssize_t dev_show(struct device *dev, struct device_attribute *attr, in dev_show()
2970 void devices_kset_move_last(struct device *dev) in devices_kset_move_last()
2985 int device_create_file(struct device *dev, in device_create_file()
3009 void device_remove_file(struct device *dev, in device_remove_file()
3024 bool device_remove_file_self(struct device *dev, in device_remove_file_self()
3039 int device_create_bin_file(struct device *dev, in device_create_bin_file()
3054 void device_remove_bin_file(struct device *dev, in device_remove_bin_file()
3065 struct device *dev = p->device; in klist_children_get() local
3073 struct device *dev = p->device; in klist_children_put() local
3098 void device_initialize(struct device *dev) in device_initialize()
3122 struct kobject *virtual_device_parent(struct device *dev) in virtual_device_parent()
3184 static struct kobject *get_device_parent(struct device *dev, in get_device_parent()
3249 struct device *dev) in live_in_glue_dir()
3270 static inline struct kobject *get_glue_dir(struct device *dev) in get_glue_dir()
3297 static void cleanup_glue_dir(struct device *dev, struct kobject *glue_dir) in cleanup_glue_dir()
3361 static int device_add_class_symlinks(struct device *dev) in device_add_class_symlinks()
3406 static void device_remove_class_symlinks(struct device *dev) in device_remove_class_symlinks()
3428 int dev_set_name(struct device *dev, const char *fmt, ...) in dev_set_name()
3441 static struct kobject *device_to_dev_kobj(struct device *dev) in device_to_dev_kobj()
3449 static int device_create_sys_dev_entry(struct device *dev) in device_create_sys_dev_entry()
3463 static void device_remove_sys_dev_entry(struct device *dev) in device_remove_sys_dev_entry()
3474 static int device_private_init(struct device *dev) in device_private_init()
3513 int device_add(struct device *dev) in device_add()
3710 int device_register(struct device *dev) in device_register()
3725 struct device *get_device(struct device *dev) in get_device()
3735 void put_device(struct device *dev) in put_device()
3743 bool kill_device(struct device *dev) in kill_device()
3774 void device_del(struct device *dev) in device_del()
3858 void device_unregister(struct device *dev) in device_unregister()
3869 struct device *dev = NULL; in prev_device() local
3882 struct device *dev = NULL; in next_device() local
3905 const char *device_get_devnode(const struct device *dev, in device_get_devnode()
3949 int (*fn)(struct device *dev, void *data)) in device_for_each_child()
3979 int (*fn)(struct device *dev, void *data)) in device_for_each_child_reverse()
4014 int (*match)(struct device *dev, void *data)) in device_find_child()
4059 static int match_any(struct device *dev, void *unused) in match_any()
4105 static int device_check_offline(struct device *dev, void *not_used) in device_check_offline()
4127 int device_offline(struct device *dev) in device_offline()
4165 int device_online(struct device *dev) in device_online()
4187 struct device dev; member
4196 static void root_device_release(struct device *dev) in root_device_release()
4270 void root_device_unregister(struct device *dev) in root_device_unregister()
4282 static void device_create_release(struct device *dev) in device_create_release()
4294 struct device *dev = NULL; in device_create_groups_vargs() local
4354 struct device *dev; in device_create() local
4395 struct device *dev; in device_create_with_groups() local
4415 struct device *dev; in device_destroy() local
4460 int device_rename(struct device *dev, const char *new_name) in device_rename()
4506 static int device_move_class_links(struct device *dev, in device_move_class_links()
4526 int device_move(struct device *dev, struct device *new_parent, in device_move()
4609 static int device_attrs_change_owner(struct device *dev, kuid_t kuid, in device_attrs_change_owner()
4667 int device_change_owner(struct device *dev, kuid_t kuid, kgid_t kgid) in device_change_owner()
4733 struct device *dev, *parent; in device_shutdown() local
4806 set_dev_info(const struct device *dev, struct dev_printk_info *dev_info) in set_dev_info()
4849 int dev_vprintk_emit(int level, const struct device *dev, in dev_vprintk_emit()
4860 int dev_printk_emit(int level, const struct device *dev, const char *fmt, ...) in dev_printk_emit()
4875 static void __dev_printk(const char *level, const struct device *dev, in __dev_printk()
4885 void _dev_printk(const char *level, const struct device *dev, in _dev_printk()
4961 int dev_err_probe(const struct device *dev, int err, const char *fmt, ...) in dev_err_probe()
5002 void set_primary_fwnode(struct device *dev, struct fwnode_handle *fwnode) in set_primary_fwnode()
5042 void set_secondary_fwnode(struct device *dev, struct fwnode_handle *fwnode) in set_secondary_fwnode()
5062 void device_set_of_node_from_dev(struct device *dev, const struct device *dev2) in device_set_of_node_from_dev()
5070 void device_set_node(struct device *dev, struct fwnode_handle *fwnode) in device_set_node()
5077 int device_match_name(struct device *dev, const void *name) in device_match_name()
5083 int device_match_of_node(struct device *dev, const void *np) in device_match_of_node()
5089 int device_match_fwnode(struct device *dev, const void *fwnode) in device_match_fwnode()
5095 int device_match_devt(struct device *dev, const void *pdevt) in device_match_devt()
5101 int device_match_acpi_dev(struct device *dev, const void *adev) in device_match_acpi_dev()
5107 int device_match_acpi_handle(struct device *dev, const void *handle) in device_match_acpi_handle()
5113 int device_match_any(struct device *dev, const void *unused) in device_match_any()