Home
last modified time | relevance | path

Searched refs:resource_list (Results 1 – 18 of 18) sorted by relevance

/drivers/acpi/
Dacpi_platform.c70 struct list_head resource_list; in acpi_create_platform_device() local
81 INIT_LIST_HEAD(&resource_list); in acpi_create_platform_device()
82 count = acpi_dev_get_resources(adev, &resource_list, NULL, NULL); in acpi_create_platform_device()
90 acpi_dev_free_resource_list(&resource_list); in acpi_create_platform_device()
94 list_for_each_entry(rentry, &resource_list, node) in acpi_create_platform_device()
98 acpi_dev_free_resource_list(&resource_list); in acpi_create_platform_device()
Dacpi_amba.c47 struct list_head resource_list; in amba_handler_attach() local
63 INIT_LIST_HEAD(&resource_list); in amba_handler_attach()
64 ret = acpi_dev_get_resources(adev, &resource_list, NULL, NULL); in amba_handler_attach()
68 list_for_each_entry(rentry, &resource_list, node) { in amba_handler_attach()
86 acpi_dev_free_resource_list(&resource_list); in amba_handler_attach()
Dacpi_watchdog.c108 struct list_head resource_list; in acpi_watchdog_init() local
130 INIT_LIST_HEAD(&resource_list); in acpi_watchdog_init()
154 resource_list_for_each_entry(rentry, &resource_list) { in acpi_watchdog_init()
172 resource_list_add_tail(rentry, &resource_list); in acpi_watchdog_init()
182 resource_list_for_each_entry(rentry, &resource_list) in acpi_watchdog_init()
193 resource_list_free(&resource_list); in acpi_watchdog_init()
Dresource.c730 struct list_head resource_list; in acpi_dev_consumes_res() local
734 INIT_LIST_HEAD(&resource_list); in acpi_dev_consumes_res()
735 ret = acpi_dev_get_resources(adev, &resource_list, NULL, NULL); in acpi_dev_consumes_res()
739 list_for_each_entry(rentry, &resource_list, node) { in acpi_dev_consumes_res()
747 acpi_dev_free_resource_list(&resource_list); in acpi_dev_consumes_res()
Dacpi_lpss.c462 struct list_head resource_list; in acpi_lpss_create_device() local
475 INIT_LIST_HEAD(&resource_list); in acpi_lpss_create_device()
476 ret = acpi_dev_get_resources(adev, &resource_list, is_memory, NULL); in acpi_lpss_create_device()
480 list_for_each_entry(rentry, &resource_list, node) in acpi_lpss_create_device()
491 acpi_dev_free_resource_list(&resource_list); in acpi_lpss_create_device()
Dscan.c1534 struct list_head resource_list; in acpi_is_spi_i2c_slave() local
1543 INIT_LIST_HEAD(&resource_list); in acpi_is_spi_i2c_slave()
1544 acpi_dev_get_resources(device, &resource_list, acpi_check_spi_i2c_slave, in acpi_is_spi_i2c_slave()
1546 acpi_dev_free_resource_list(&resource_list); in acpi_is_spi_i2c_slave()
/drivers/acpi/acpica/
Drsdump.c99 void acpi_rs_dump_resource_list(struct acpi_resource *resource_list) in acpi_rs_dump_resource_list() argument
120 type = resource_list->type; in acpi_rs_dump_resource_list()
124 resource_list->type); in acpi_rs_dump_resource_list()
130 if (!resource_list->length) { in acpi_rs_dump_resource_list()
139 acpi_rs_dump_descriptor(&resource_list->data, in acpi_rs_dump_resource_list()
141 [resource_list->data. in acpi_rs_dump_resource_list()
144 acpi_rs_dump_descriptor(&resource_list->data, in acpi_rs_dump_resource_list()
151 resource_list = ACPI_NEXT_RESOURCE(resource_list); in acpi_rs_dump_resource_list()
Drscreate.c437 acpi_rs_create_aml_resources(struct acpi_buffer *resource_list, in acpi_rs_create_aml_resources() argument
448 resource_list->pointer)); in acpi_rs_create_aml_resources()
453 acpi_rs_get_aml_length(resource_list->pointer, in acpi_rs_create_aml_resources()
454 resource_list->length, &aml_size_needed); in acpi_rs_create_aml_resources()
471 status = acpi_rs_convert_resources_to_aml(resource_list->pointer, in acpi_rs_create_aml_resources()
Dacresrc.h190 acpi_rs_create_aml_resources(struct acpi_buffer *resource_list,
233 acpi_rs_get_aml_length(struct acpi_resource *resource_list,
/drivers/dma/
Dacpi-dma.c47 struct list_head resource_list; in acpi_dma_parse_resource_group() local
55 INIT_LIST_HEAD(&resource_list); in acpi_dma_parse_resource_group()
56 ret = acpi_dev_get_resources(adev, &resource_list, NULL, NULL); in acpi_dma_parse_resource_group()
60 list_for_each_entry(rentry, &resource_list, node) { in acpi_dma_parse_resource_group()
67 acpi_dev_free_resource_list(&resource_list); in acpi_dma_parse_resource_group()
356 struct list_head resource_list; in acpi_dma_request_slave_chan_by_index() local
377 INIT_LIST_HEAD(&resource_list); in acpi_dma_request_slave_chan_by_index()
378 acpi_dev_get_resources(adev, &resource_list, in acpi_dma_request_slave_chan_by_index()
380 acpi_dev_free_resource_list(&resource_list); in acpi_dma_request_slave_chan_by_index()
/drivers/i2c/
Di2c-core-acpi.c93 struct list_head resource_list; in i2c_acpi_do_lookup() local
107 INIT_LIST_HEAD(&resource_list); in i2c_acpi_do_lookup()
108 ret = acpi_dev_get_resources(adev, &resource_list, in i2c_acpi_do_lookup()
110 acpi_dev_free_resource_list(&resource_list); in i2c_acpi_do_lookup()
123 struct list_head resource_list; in i2c_acpi_get_info() local
156 INIT_LIST_HEAD(&resource_list); in i2c_acpi_get_info()
157 ret = acpi_dev_get_resources(adev, &resource_list, NULL, NULL); in i2c_acpi_get_info()
161 resource_list_for_each_entry(entry, &resource_list) { in i2c_acpi_get_info()
168 acpi_dev_free_resource_list(&resource_list); in i2c_acpi_get_info()
431 LIST_HEAD(resource_list); in i2c_acpi_new_device()
[all …]
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_cotable.c57 struct list_head resource_list; member
259 &vcotbl->resource_list, in vmw_cotable_scrub()
597 INIT_LIST_HEAD(&vcotbl->resource_list); in vmw_cotable_alloc()
661 list_add_tail(head, &vcotbl->resource_list); in vmw_cotable_add_resource()
Dvmwgfx_execbuf.c158 struct list_head *list = &sw_context->resource_list; in vmw_resources_unreserve()
289 list_add_tail(&node->head, &sw_context->resource_list); in vmw_resource_val_add()
303 list_add_tail(&node->head, &sw_context->resource_list); in vmw_resource_val_add()
611 list_for_each_entry(val, &sw_context->resource_list, head) { in vmw_resources_reserve()
658 list_for_each_entry(val, &sw_context->resource_list, head) { in vmw_resources_validate()
867 list_for_each_entry(val, &sw_context->resource_list, head) { in vmw_rebind_contexts()
3700 list_for_each_entry(val, &sw_context->resource_list, head) in vmw_clear_validations()
4081 struct list_head resource_list; in vmw_execbuf_process() local
4142 INIT_LIST_HEAD(&sw_context->resource_list); in vmw_execbuf_process()
4163 INIT_LIST_HEAD(&resource_list); in vmw_execbuf_process()
[all …]
Dvmwgfx_drv.h303 struct list_head resource_list; member
/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_cppcore.c98 struct list_head resource_list; member
204 WARN_ON(!list_empty(&cpp->resource_list)); in nfp_cpp_free()
207 list_for_each_entry_safe(res, rtmp, &cpp->resource_list, list) { in nfp_cpp_free()
333 __resource_add(&cpp->resource_list, &area->resource); in nfp_cpp_area_alloc_with_name()
1169 INIT_LIST_HEAD(&cpp->resource_list); in nfp_cpp_from_operations()
/drivers/gpio/
Dgpiolib-acpi.c1333 struct list_head resource_list; in acpi_gpio_count() local
1339 INIT_LIST_HEAD(&resource_list); in acpi_gpio_count()
1340 acpi_dev_get_resources(adev, &resource_list, in acpi_gpio_count()
1342 acpi_dev_free_resource_list(&resource_list); in acpi_gpio_count()
/drivers/perf/
Dxgene_pmu.c1493 struct list_head resource_list; in acpi_get_pmu_hw_inf() local
1506 INIT_LIST_HEAD(&resource_list); in acpi_get_pmu_hw_inf()
1507 rc = acpi_dev_get_resources(adev, &resource_list, in acpi_get_pmu_hw_inf()
1509 acpi_dev_free_resource_list(&resource_list); in acpi_get_pmu_hw_inf()
/drivers/spi/
Dspi.c1783 struct list_head resource_list; in acpi_register_spi_device() local
1801 INIT_LIST_HEAD(&resource_list); in acpi_register_spi_device()
1802 ret = acpi_dev_get_resources(adev, &resource_list, in acpi_register_spi_device()
1804 acpi_dev_free_resource_list(&resource_list); in acpi_register_spi_device()