| /linux/drivers/acpi/arm64/ |
| H A D | amba.c | 42 struct list_head resource_list; in amba_handler_attach() local 58 INIT_LIST_HEAD(&resource_list); in amba_handler_attach() 59 ret = acpi_dev_get_resources(adev, &resource_list, NULL, NULL); in amba_handler_attach() 63 list_for_each_entry(rentry, &resource_list, node) { in amba_handler_attach() 82 acpi_dev_free_resource_list(&resource_list); in amba_handler_attach()
|
| /linux/drivers/acpi/acpica/ |
| H A D | rsdump.c | 64 void acpi_rs_dump_resource_list(struct acpi_resource *resource_list) in acpi_rs_dump_resource_list() argument 85 type = resource_list->type; in acpi_rs_dump_resource_list() 89 resource_list->type); in acpi_rs_dump_resource_list() 91 } else if (!resource_list->type) { in acpi_rs_dump_resource_list() 98 if (!resource_list->length) { in acpi_rs_dump_resource_list() 107 acpi_rs_dump_descriptor(&resource_list->data, in acpi_rs_dump_resource_list() 109 [resource_list->data. in acpi_rs_dump_resource_list() 112 acpi_rs_dump_descriptor(&resource_list->data, in acpi_rs_dump_resource_list() 119 resource_list = ACPI_NEXT_RESOURCE(resource_list); in acpi_rs_dump_resource_list()
|
| H A D | rscreate.c | 404 acpi_rs_create_aml_resources(struct acpi_buffer *resource_list, in acpi_rs_create_aml_resources() argument 415 resource_list->pointer)); in acpi_rs_create_aml_resources() 420 acpi_rs_get_aml_length(resource_list->pointer, in acpi_rs_create_aml_resources() 421 resource_list->length, &aml_size_needed); in acpi_rs_create_aml_resources() 438 status = acpi_rs_convert_resources_to_aml(resource_list->pointer, in acpi_rs_create_aml_resources()
|
| /linux/drivers/dma/ |
| H A D | acpi-dma.c | 48 struct list_head resource_list; in acpi_dma_parse_resource_group() local 56 INIT_LIST_HEAD(&resource_list); in acpi_dma_parse_resource_group() 57 ret = acpi_dev_get_resources(adev, &resource_list, NULL, NULL); in acpi_dma_parse_resource_group() 61 list_for_each_entry(rentry, &resource_list, node) { in acpi_dma_parse_resource_group() 68 acpi_dev_free_resource_list(&resource_list); in acpi_dma_parse_resource_group() 357 struct list_head resource_list; in acpi_dma_request_slave_chan_by_index() local 370 INIT_LIST_HEAD(&resource_list); in acpi_dma_request_slave_chan_by_index() 371 ret = acpi_dev_get_resources(adev, &resource_list, in acpi_dma_request_slave_chan_by_index() 373 acpi_dev_free_resource_list(&resource_list); in acpi_dma_request_slave_chan_by_index()
|
| /linux/drivers/acpi/ |
| H A D | acpi_watchdog.c | 106 LIST_HEAD(resource_list); in acpi_watchdog_init() 150 resource_list_for_each_entry(rentry, &resource_list) { in acpi_watchdog_init() 164 resource_list_add_tail(rentry, &resource_list); in acpi_watchdog_init() 174 resource_list_for_each_entry(rentry, &resource_list) in acpi_watchdog_init() 185 resource_list_free(&resource_list); in acpi_watchdog_init()
|
| H A D | acpi_platform.c | 139 LIST_HEAD(resource_list); in acpi_create_platform_device() 141 count = acpi_dev_get_resources(adev, &resource_list, NULL, NULL); in acpi_create_platform_device() 150 acpi_dev_free_resource_list(&resource_list); in acpi_create_platform_device() 154 list_for_each_entry(rentry, &resource_list, node) in acpi_create_platform_device() 158 acpi_dev_free_resource_list(&resource_list); in acpi_create_platform_device()
|
| /linux/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_validation.c | 227 list_for_each_entry(entry, &ctx->resource_list, head) { in vmw_validation_find_res_dup() 318 list_add_tail(&node->head, &ctx->resource_list); in vmw_validation_add_resource() 329 list_add_tail(&node->head, &ctx->resource_list); in vmw_validation_add_resource() 414 list_splice_init(&ctx->resource_ctx_list, &ctx->resource_list); in vmw_validation_res_reserve() 416 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_reserve() 468 list_splice_init(&ctx->resource_ctx_list, &ctx->resource_list); in vmw_validation_res_unreserve() 470 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_unreserve() 477 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_unreserve() 588 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_validate() 637 list_for_each_entry(val, &ctx->resource_list, head) in vmw_validation_drop_ht() [all …]
|
| H A D | vmwgfx_validation.h | 58 struct list_head resource_list; member 87 .resource_list = LIST_HEAD_INIT((_name).resource_list), \
|
| H A D | vmwgfx_cotable.c | 59 struct list_head resource_list; member 276 &vcotbl->resource_list, in vmw_cotable_scrub() 618 INIT_LIST_HEAD(&vcotbl->resource_list); in vmw_cotable_alloc() 680 list_add_tail(head, &vcotbl->resource_list); in vmw_cotable_add_resource()
|
| /linux/drivers/platform/x86/intel/int3472/ |
| H A D | discrete.c | 409 LIST_HEAD(resource_list); in int3472_discrete_parse_crs() 414 ret = acpi_dev_get_resources(int3472->adev, &resource_list, in int3472_discrete_parse_crs() 420 acpi_dev_free_resource_list(&resource_list); in int3472_discrete_parse_crs()
|
| /linux/drivers/net/ethernet/netronome/nfp/nfpcore/ |
| H A D | nfp_cppcore.c | 69 struct list_head resource_list; member 176 WARN_ON(!list_empty(&cpp->resource_list)); in nfp_cpp_free() 179 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() 1197 INIT_LIST_HEAD(&cpp->resource_list); in nfp_cpp_from_operations()
|
| /linux/drivers/acpi/x86/ |
| H A D | lpss.c | 618 struct list_head resource_list; in acpi_lpss_create_device() local 630 INIT_LIST_HEAD(&resource_list); in acpi_lpss_create_device() 631 ret = acpi_dev_get_memory_resources(adev, &resource_list); in acpi_lpss_create_device() 635 rentry = list_first_entry_or_null(&resource_list, struct resource_entry, node); in acpi_lpss_create_device() 644 acpi_dev_free_resource_list(&resource_list); in acpi_lpss_create_device()
|
| /linux/net/devlink/ |
| H A D | core.c | 470 INIT_LIST_HEAD(&devlink->resource_list); in __devlink_alloc() 528 WARN_ON(!list_empty(&devlink->resource_list)); in devlink_free()
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | core_acl_flex_actions.c | 374 struct list_head resource_list; /* List of resources held by actions member 388 list_add(&resource->list, &block->resource_list); in mlxsw_afa_resource_add() 400 list_for_each_entry_safe(resource, tmp, &block->resource_list, list) { in mlxsw_afa_resources_destroy() 412 INIT_LIST_HEAD(&block->resource_list); in mlxsw_afa_block_create()
|