Lines Matching refs:dep
1757 struct acpi_dep_data *dep; in acpi_scan_dep_init() local
1759 list_for_each_entry(dep, &acpi_dep_list, node) { in acpi_scan_dep_init()
1760 if (dep->consumer == adev->handle) in acpi_scan_dep_init()
1964 struct acpi_dep_data *dep; in acpi_scan_check_dep() local
1979 dep = kzalloc(sizeof(*dep), GFP_KERNEL); in acpi_scan_check_dep()
1980 if (!dep) in acpi_scan_check_dep()
1985 dep->supplier = dep_devices.handles[i]; in acpi_scan_check_dep()
1986 dep->consumer = handle; in acpi_scan_check_dep()
1989 list_add_tail(&dep->node , &acpi_dep_list); in acpi_scan_check_dep()
2201 static int acpi_dev_get_first_consumer_dev_cb(struct acpi_dep_data *dep, void *data) in acpi_dev_get_first_consumer_dev_cb() argument
2205 adev = acpi_bus_get_acpi_device(dep->consumer); in acpi_dev_get_first_consumer_dev_cb()
2256 static int acpi_scan_clear_dep(struct acpi_dep_data *dep, void *data) in acpi_scan_clear_dep() argument
2258 struct acpi_device *adev = acpi_bus_get_acpi_device(dep->consumer); in acpi_scan_clear_dep()
2266 list_del(&dep->node); in acpi_scan_clear_dep()
2267 kfree(dep); in acpi_scan_clear_dep()
2288 struct acpi_dep_data *dep, *tmp; in acpi_walk_dep_device_list() local
2292 list_for_each_entry_safe(dep, tmp, &acpi_dep_list, node) { in acpi_walk_dep_device_list()
2293 if (dep->supplier == handle) { in acpi_walk_dep_device_list()
2294 ret = callback(dep, data); in acpi_walk_dep_device_list()