Lines Matching refs:dep

1793 	struct acpi_dep_data *dep;  in acpi_scan_dep_init()  local
1795 list_for_each_entry(dep, &acpi_dep_list, node) { in acpi_scan_dep_init()
1796 if (dep->consumer == adev->handle) { in acpi_scan_dep_init()
1797 if (dep->honor_dep) in acpi_scan_dep_init()
2004 struct acpi_dep_data *dep; in acpi_scan_check_dep() local
2020 dep = kzalloc(sizeof(*dep), GFP_KERNEL); in acpi_scan_check_dep()
2021 if (!dep) in acpi_scan_check_dep()
2026 dep->supplier = dep_devices.handles[i]; in acpi_scan_check_dep()
2027 dep->consumer = handle; in acpi_scan_check_dep()
2028 dep->honor_dep = honor_dep; in acpi_scan_check_dep()
2031 list_add_tail(&dep->node , &acpi_dep_list); in acpi_scan_check_dep()
2238 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
2249 if (dep->consumer == adev->handle) in acpi_dev_get_next_consumer_dev_cb()
2255 adev = acpi_get_acpi_dev(dep->consumer); in acpi_dev_get_next_consumer_dev_cb()
2306 static void acpi_scan_delete_dep_data(struct acpi_dep_data *dep) in acpi_scan_delete_dep_data() argument
2308 list_del(&dep->node); in acpi_scan_delete_dep_data()
2309 kfree(dep); in acpi_scan_delete_dep_data()
2312 static int acpi_scan_clear_dep(struct acpi_dep_data *dep, void *data) in acpi_scan_clear_dep() argument
2314 struct acpi_device *adev = acpi_get_acpi_dev(dep->consumer); in acpi_scan_clear_dep()
2322 if (dep->free_when_met) in acpi_scan_clear_dep()
2323 acpi_scan_delete_dep_data(dep); in acpi_scan_clear_dep()
2325 dep->met = true; in acpi_scan_clear_dep()
2346 struct acpi_dep_data *dep, *tmp; in acpi_walk_dep_device_list() local
2350 list_for_each_entry_safe(dep, tmp, &acpi_dep_list, node) { in acpi_walk_dep_device_list()
2351 if (dep->supplier == handle) { in acpi_walk_dep_device_list()
2352 ret = callback(dep, data); in acpi_walk_dep_device_list()
2433 struct acpi_dep_data *dep, *tmp; in acpi_scan_postponed() local
2437 list_for_each_entry_safe(dep, tmp, &acpi_dep_list, node) { in acpi_scan_postponed()
2438 acpi_handle handle = dep->consumer; in acpi_scan_postponed()
2459 if (dep->met) in acpi_scan_postponed()
2460 acpi_scan_delete_dep_data(dep); in acpi_scan_postponed()
2462 dep->free_when_met = true; in acpi_scan_postponed()