Lines Matching refs:links
131 list_for_each_entry(link, &dev->links.consumers, s_node) { in device_is_dependent()
146 switch (supplier->links.status) { in device_link_init_status()
148 switch (consumer->links.status) { in device_link_init_status()
165 switch (consumer->links.status) { in device_link_init_status()
201 list_for_each_entry(link, &dev->links.consumers, s_node) in device_reorder_to_tail()
334 list_for_each_entry(link, &supplier->links.consumers, s_node) { in device_link_add()
420 list_add_tail_rcu(&link->s_node, &supplier->links.consumers); in device_link_add()
421 list_add_tail_rcu(&link->c_node, &consumer->links.suppliers); in device_link_add()
528 list_for_each_entry(link, &supplier->links.consumers, s_node) { in device_link_remove()
544 list_for_each_entry(link, &dev->links.suppliers, c_node) in device_links_missing_supplier()
572 list_for_each_entry(link, &dev->links.suppliers, c_node) { in device_links_check_suppliers()
583 dev->links.status = DL_DEV_PROBING; in device_links_check_suppliers()
606 list_for_each_entry(link, &dev->links.consumers, s_node) { in device_links_driver_bound()
627 list_for_each_entry(link, &dev->links.suppliers, c_node) { in device_links_driver_bound()
635 dev->links.status = DL_DEV_DRIVER_BOUND; in device_links_driver_bound()
663 list_for_each_entry_safe_reverse(link, ln, &dev->links.suppliers, c_node) { in __device_links_no_driver()
674 dev->links.status = DL_DEV_NO_DRIVER; in __device_links_no_driver()
693 list_for_each_entry(link, &dev->links.consumers, s_node) { in device_links_no_driver()
730 list_for_each_entry_safe(link, ln, &dev->links.consumers, s_node) { in device_links_driver_cleanup()
775 list_for_each_entry(link, &dev->links.consumers, s_node) { in device_links_busy()
787 dev->links.status = DL_DEV_UNBINDING; in device_links_busy()
815 list_for_each_entry(link, &dev->links.consumers, s_node) { in device_links_unbind_consumers()
860 list_for_each_entry_safe_reverse(link, ln, &dev->links.suppliers, c_node) { in device_links_purge()
865 list_for_each_entry_safe_reverse(link, ln, &dev->links.consumers, s_node) { in device_links_purge()
1688 INIT_LIST_HEAD(&dev->links.consumers); in device_initialize()
1689 INIT_LIST_HEAD(&dev->links.suppliers); in device_initialize()
1690 dev->links.status = DL_DEV_NO_DRIVER; in device_initialize()