Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/acpi/acpica/
Drsdump.c63 void acpi_rs_dump_resource_list(struct acpi_resource *resource_list) in acpi_rs_dump_resource_list() argument
84 type = resource_list->type; in acpi_rs_dump_resource_list()
88 resource_list->type); in acpi_rs_dump_resource_list()
90 } else if (!resource_list->type) { in acpi_rs_dump_resource_list()
97 if (!resource_list->length) { in acpi_rs_dump_resource_list()
106 acpi_rs_dump_descriptor(&resource_list->data, in acpi_rs_dump_resource_list()
108 [resource_list->data. in acpi_rs_dump_resource_list()
111 acpi_rs_dump_descriptor(&resource_list->data, in acpi_rs_dump_resource_list()
118 resource_list = ACPI_NEXT_RESOURCE(resource_list); in acpi_rs_dump_resource_list()
Drscreate.c404 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()
Dacresrc.h158 acpi_rs_create_aml_resources(struct acpi_buffer *resource_list,
201 acpi_rs_get_aml_length(struct acpi_resource *resource_list,
/linux-6.1.9/drivers/acpi/
Dacpi_amba.c55 struct list_head resource_list; in amba_handler_attach() local
71 INIT_LIST_HEAD(&resource_list); in amba_handler_attach()
72 ret = acpi_dev_get_resources(adev, &resource_list, NULL, NULL); in amba_handler_attach()
76 list_for_each_entry(rentry, &resource_list, node) { in amba_handler_attach()
95 acpi_dev_free_resource_list(&resource_list); in amba_handler_attach()
Dacpi_platform.c104 struct list_head resource_list; in acpi_create_platform_device() local
115 INIT_LIST_HEAD(&resource_list); in acpi_create_platform_device()
116 count = acpi_dev_get_resources(adev, &resource_list, NULL, NULL); in acpi_create_platform_device()
122 acpi_dev_free_resource_list(&resource_list); in acpi_create_platform_device()
126 list_for_each_entry(rentry, &resource_list, node) in acpi_create_platform_device()
130 acpi_dev_free_resource_list(&resource_list); in acpi_create_platform_device()
Dacpi_watchdog.c106 struct list_head resource_list; in acpi_watchdog_init() local
128 INIT_LIST_HEAD(&resource_list); in acpi_watchdog_init()
152 resource_list_for_each_entry(rentry, &resource_list) { in acpi_watchdog_init()
166 resource_list_add_tail(rentry, &resource_list); in acpi_watchdog_init()
176 resource_list_for_each_entry(rentry, &resource_list) in acpi_watchdog_init()
187 resource_list_free(&resource_list); in acpi_watchdog_init()
Dacpi_apd.c71 struct list_head resource_list; in fch_misc_setup() local
78 INIT_LIST_HEAD(&resource_list); in fch_misc_setup()
79 ret = acpi_dev_get_memory_resources(adev, &resource_list); in fch_misc_setup()
93 list_for_each_entry(rentry, &resource_list, node) { in fch_misc_setup()
101 acpi_dev_free_resource_list(&resource_list); in fch_misc_setup()
Dresource.c887 struct list_head resource_list; in acpi_dev_consumes_res() local
891 INIT_LIST_HEAD(&resource_list); in acpi_dev_consumes_res()
892 ret = acpi_dev_get_resources(adev, &resource_list, NULL, NULL); in acpi_dev_consumes_res()
896 list_for_each_entry(rentry, &resource_list, node) { in acpi_dev_consumes_res()
904 acpi_dev_free_resource_list(&resource_list); in acpi_dev_consumes_res()
Dacpi_lpss.c640 struct list_head resource_list; in acpi_lpss_create_device() local
653 INIT_LIST_HEAD(&resource_list); in acpi_lpss_create_device()
654 ret = acpi_dev_get_memory_resources(adev, &resource_list); in acpi_lpss_create_device()
658 rentry = list_first_entry_or_null(&resource_list, struct resource_entry, node); in acpi_lpss_create_device()
667 acpi_dev_free_resource_list(&resource_list); in acpi_lpss_create_device()
/linux-6.1.9/drivers/dma/
Dacpi-dma.c45 struct list_head resource_list; in acpi_dma_parse_resource_group() local
53 INIT_LIST_HEAD(&resource_list); in acpi_dma_parse_resource_group()
54 ret = acpi_dev_get_resources(adev, &resource_list, NULL, NULL); in acpi_dma_parse_resource_group()
58 list_for_each_entry(rentry, &resource_list, node) { in acpi_dma_parse_resource_group()
65 acpi_dev_free_resource_list(&resource_list); in acpi_dma_parse_resource_group()
376 struct list_head resource_list; in acpi_dma_request_slave_chan_by_index() local
389 INIT_LIST_HEAD(&resource_list); in acpi_dma_request_slave_chan_by_index()
390 ret = acpi_dev_get_resources(adev, &resource_list, in acpi_dma_request_slave_chan_by_index()
392 acpi_dev_free_resource_list(&resource_list); in acpi_dma_request_slave_chan_by_index()
/linux-6.1.9/drivers/gpu/drm/vmwgfx/
Dvmwgfx_validation.c245 list_for_each_entry(entry, &ctx->resource_list, head) { in vmw_validation_find_res_dup()
347 list_add_tail(&node->head, &ctx->resource_list); in vmw_validation_add_resource()
358 list_add_tail(&node->head, &ctx->resource_list); in vmw_validation_add_resource()
443 list_splice_init(&ctx->resource_ctx_list, &ctx->resource_list); in vmw_validation_res_reserve()
445 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_reserve()
496 list_splice_init(&ctx->resource_ctx_list, &ctx->resource_list); in vmw_validation_res_unreserve()
498 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_unreserve()
505 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_unreserve()
640 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_validate()
689 list_for_each_entry(val, &ctx->resource_list, head) in vmw_validation_drop_ht()
[all …]
Dvmwgfx_validation.h62 struct list_head resource_list; member
94 .resource_list = LIST_HEAD_INIT((_name).resource_list), \
Dvmwgfx_cotable.c57 struct list_head resource_list; member
261 &vcotbl->resource_list, in vmw_cotable_scrub()
586 INIT_LIST_HEAD(&vcotbl->resource_list); in vmw_cotable_alloc()
648 list_add_tail(head, &vcotbl->resource_list); in vmw_cotable_add_resource()
/linux-6.1.9/drivers/i2c/
Di2c-core-acpi.c149 struct list_head resource_list; in i2c_acpi_do_lookup() local
165 INIT_LIST_HEAD(&resource_list); in i2c_acpi_do_lookup()
166 ret = acpi_dev_get_resources(adev, &resource_list, in i2c_acpi_do_lookup()
168 acpi_dev_free_resource_list(&resource_list); in i2c_acpi_do_lookup()
205 struct list_head resource_list; in i2c_acpi_get_irq() local
211 INIT_LIST_HEAD(&resource_list); in i2c_acpi_get_irq()
213 ret = acpi_dev_get_resources(adev, &resource_list, in i2c_acpi_get_irq()
218 acpi_dev_free_resource_list(&resource_list); in i2c_acpi_get_irq()
525 LIST_HEAD(resource_list); in i2c_acpi_new_device_by_fwnode()
537 ret = acpi_dev_get_resources(adev, &resource_list, in i2c_acpi_new_device_by_fwnode()
[all …]
/linux-6.1.9/drivers/bus/
Dhisi_lpc.c399 LIST_HEAD(resource_list); in hisi_lpc_acpi_set_io_res()
419 count = acpi_dev_get_resources(adev, &resource_list, NULL, NULL); in hisi_lpc_acpi_set_io_res()
430 acpi_dev_free_resource_list(&resource_list); in hisi_lpc_acpi_set_io_res()
434 list_for_each_entry(rentry, &resource_list, node) { in hisi_lpc_acpi_set_io_res()
440 acpi_dev_free_resource_list(&resource_list); in hisi_lpc_acpi_set_io_res()
/linux-6.1.9/drivers/platform/x86/intel/int3472/
Ddiscrete.c300 LIST_HEAD(resource_list); in skl_int3472_parse_crs()
309 ret = acpi_dev_get_resources(int3472->adev, &resource_list, in skl_int3472_parse_crs()
315 acpi_dev_free_resource_list(&resource_list); in skl_int3472_parse_crs()
/linux-6.1.9/drivers/usb/typec/mux/
Dintel_pmc_mux.c598 struct list_head resource_list; in pmc_usb_probe_iom() local
615 INIT_LIST_HEAD(&resource_list); in pmc_usb_probe_iom()
616 ret = acpi_dev_get_memory_resources(adev, &resource_list); in pmc_usb_probe_iom()
620 rentry = list_first_entry_or_null(&resource_list, struct resource_entry, node); in pmc_usb_probe_iom()
624 acpi_dev_free_resource_list(&resource_list); in pmc_usb_probe_iom()
/linux-6.1.9/drivers/mfd/
Dkempld-core.c432 struct list_head resource_list; in kempld_get_acpi_data() local
447 INIT_LIST_HEAD(&resource_list); in kempld_get_acpi_data()
448 ret = acpi_dev_get_resources(acpi_dev, &resource_list, NULL, NULL); in kempld_get_acpi_data()
467 list_for_each_entry(rentry, &resource_list, node) { in kempld_get_acpi_data()
475 acpi_dev_free_resource_list(&resource_list); in kempld_get_acpi_data()
/linux-6.1.9/drivers/tty/serdev/
Dcore.c621 struct list_head resource_list; in acpi_serdev_do_lookup() local
628 INIT_LIST_HEAD(&resource_list); in acpi_serdev_do_lookup()
629 ret = acpi_dev_get_resources(adev, &resource_list, in acpi_serdev_do_lookup()
631 acpi_dev_free_resource_list(&resource_list); in acpi_serdev_do_lookup()
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_cppcore.c69 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-6.1.9/drivers/gpio/
Dgpiolib-acpi.c1458 struct list_head resource_list; in acpi_gpio_count() local
1464 INIT_LIST_HEAD(&resource_list); in acpi_gpio_count()
1465 acpi_dev_get_resources(adev, &resource_list, in acpi_gpio_count()
1467 acpi_dev_free_resource_list(&resource_list); in acpi_gpio_count()
/linux-6.1.9/net/core/
Ddevlink.c48 struct list_head resource_list; member
119 struct list_head resource_list; member
4058 struct list_head *resource_list; in devlink_resource_find() local
4061 resource_list = &resource->resource_list; in devlink_resource_find()
4063 resource_list = &devlink->resource_list; in devlink_resource_find()
4065 list_for_each_entry(resource, resource_list, list) { in devlink_resource_find()
4086 if (list_empty(&resource->resource_list)) in devlink_resource_validate_children()
4089 list_for_each_entry(child_resource, &resource->resource_list, list) in devlink_resource_validate_children()
4206 if (list_empty(&resource->resource_list)) in devlink_resource_put()
4218 list_for_each_entry(child_resource, &resource->resource_list, list) { in devlink_resource_put()
[all …]
/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_dsi_vbt.c543 LIST_HEAD(resource_list); in i2c_acpi_find_adapter()
545 acpi_dev_get_resources(adev, &resource_list, i2c_adapter_lookup, &lookup); in i2c_acpi_find_adapter()
546 acpi_dev_free_resource_list(&resource_list); in i2c_acpi_find_adapter()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dcore_acl_flex_actions.c374 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()
/linux-6.1.9/drivers/perf/
Dxgene_pmu.c1457 struct list_head resource_list; in acpi_get_pmu_hw_inf() local
1471 INIT_LIST_HEAD(&resource_list); in acpi_get_pmu_hw_inf()
1472 rc = acpi_dev_get_resources(adev, &resource_list, NULL, NULL); in acpi_get_pmu_hw_inf()
1478 list_for_each_entry(rentry, &resource_list, node) { in acpi_get_pmu_hw_inf()
1485 acpi_dev_free_resource_list(&resource_list); in acpi_get_pmu_hw_inf()

12