Lines Matching refs:dep

1833 	struct acpi_dep_data *dep;  in acpi_scan_dep_init()  local
1835 list_for_each_entry(dep, &acpi_dep_list, node) { in acpi_scan_dep_init()
1836 if (dep->consumer == adev->handle) { in acpi_scan_dep_init()
1837 if (dep->honor_dep) in acpi_scan_dep_init()
1840 if (!dep->met) in acpi_scan_dep_init()
2013 struct acpi_dep_data *dep; in acpi_scan_add_dep() local
2030 dep = kzalloc_obj(*dep); in acpi_scan_add_dep()
2031 if (!dep) in acpi_scan_add_dep()
2036 dep->supplier = dep_devices->handles[i]; in acpi_scan_add_dep()
2037 dep->consumer = handle; in acpi_scan_add_dep()
2038 dep->honor_dep = honor_dep; in acpi_scan_add_dep()
2041 list_add_tail(&dep->node, &acpi_dep_list); in acpi_scan_add_dep()
2356 static int acpi_dev_get_next_consumer_dev_cb(struct acpi_dep_data *dep, void *data) in acpi_dev_get_next_consumer_dev_cb() argument
2367 if (dep->consumer == adev->handle) in acpi_dev_get_next_consumer_dev_cb()
2373 adev = acpi_get_acpi_dev(dep->consumer); in acpi_dev_get_next_consumer_dev_cb()
2412 static void acpi_scan_delete_dep_data(struct acpi_dep_data *dep) in acpi_scan_delete_dep_data() argument
2414 list_del(&dep->node); in acpi_scan_delete_dep_data()
2415 kfree(dep); in acpi_scan_delete_dep_data()
2418 static int acpi_scan_clear_dep(struct acpi_dep_data *dep, void *data) in acpi_scan_clear_dep() argument
2420 struct acpi_device *adev = acpi_get_acpi_dev(dep->consumer); in acpi_scan_clear_dep()
2428 if (dep->free_when_met) in acpi_scan_clear_dep()
2429 acpi_scan_delete_dep_data(dep); in acpi_scan_clear_dep()
2431 dep->met = true; in acpi_scan_clear_dep()
2452 struct acpi_dep_data *dep, *tmp; in acpi_walk_dep_device_list() local
2456 list_for_each_entry_safe(dep, tmp, &acpi_dep_list, node) { in acpi_walk_dep_device_list()
2457 if (dep->supplier == handle) { in acpi_walk_dep_device_list()
2458 ret = callback(dep, data); in acpi_walk_dep_device_list()
2546 struct acpi_dep_data *dep, *tmp; in acpi_scan_postponed() local
2550 list_for_each_entry_safe(dep, tmp, &acpi_dep_list, node) { in acpi_scan_postponed()
2551 acpi_handle handle = dep->consumer; in acpi_scan_postponed()
2572 if (dep->met) in acpi_scan_postponed()
2573 acpi_scan_delete_dep_data(dep); in acpi_scan_postponed()
2575 dep->free_when_met = true; in acpi_scan_postponed()