Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/acpi/
Dacpi_amba.c53 struct list_head resource_list; in amba_handler_attach() local
69 INIT_LIST_HEAD(&resource_list); in amba_handler_attach()
70 ret = acpi_dev_get_resources(adev, &resource_list, NULL, NULL); in amba_handler_attach()
74 list_for_each_entry(rentry, &resource_list, node) { in amba_handler_attach()
93 acpi_dev_free_resource_list(&resource_list); in amba_handler_attach()
Dacpi_platform.c103 struct list_head resource_list; in acpi_create_platform_device() local
114 INIT_LIST_HEAD(&resource_list); in acpi_create_platform_device()
115 count = acpi_dev_get_resources(adev, &resource_list, NULL, NULL); in acpi_create_platform_device()
123 acpi_dev_free_resource_list(&resource_list); in acpi_create_platform_device()
127 list_for_each_entry(rentry, &resource_list, node) in acpi_create_platform_device()
131 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()
170 resource_list_add_tail(rentry, &resource_list); in acpi_watchdog_init()
180 resource_list_for_each_entry(rentry, &resource_list) in acpi_watchdog_init()
191 resource_list_free(&resource_list); in acpi_watchdog_init()
Dacpi_apd.c77 struct list_head resource_list; in fch_misc_setup() local
84 INIT_LIST_HEAD(&resource_list); in fch_misc_setup()
85 ret = acpi_dev_get_resources(adev, &resource_list, misc_check_res, in fch_misc_setup()
93 list_for_each_entry(rentry, &resource_list, node) { in fch_misc_setup()
99 acpi_dev_free_resource_list(&resource_list); in fch_misc_setup()
Dresource.c723 struct list_head resource_list; in acpi_dev_consumes_res() local
727 INIT_LIST_HEAD(&resource_list); in acpi_dev_consumes_res()
728 ret = acpi_dev_get_resources(adev, &resource_list, NULL, NULL); in acpi_dev_consumes_res()
732 list_for_each_entry(rentry, &resource_list, node) { in acpi_dev_consumes_res()
740 acpi_dev_free_resource_list(&resource_list); in acpi_dev_consumes_res()
Dacpi_lpss.c627 struct list_head resource_list; in acpi_lpss_create_device() local
640 INIT_LIST_HEAD(&resource_list); in acpi_lpss_create_device()
641 ret = acpi_dev_get_resources(adev, &resource_list, is_memory, NULL); in acpi_lpss_create_device()
645 list_for_each_entry(rentry, &resource_list, node) in acpi_lpss_create_device()
656 acpi_dev_free_resource_list(&resource_list); in acpi_lpss_create_device()
/kernel/linux/linux-5.10/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()
94 if (!resource_list->length) { in acpi_rs_dump_resource_list()
103 acpi_rs_dump_descriptor(&resource_list->data, in acpi_rs_dump_resource_list()
105 [resource_list->data. in acpi_rs_dump_resource_list()
108 acpi_rs_dump_descriptor(&resource_list->data, in acpi_rs_dump_resource_list()
115 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.h156 acpi_rs_create_aml_resources(struct acpi_buffer *resource_list,
199 acpi_rs_get_aml_length(struct acpi_resource *resource_list,
/kernel/linux/linux-5.10/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()
368 struct list_head resource_list; in acpi_dma_request_slave_chan_by_index() local
381 INIT_LIST_HEAD(&resource_list); in acpi_dma_request_slave_chan_by_index()
382 ret = acpi_dev_get_resources(adev, &resource_list, in acpi_dma_request_slave_chan_by_index()
384 acpi_dev_free_resource_list(&resource_list); in acpi_dma_request_slave_chan_by_index()
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_validation.c237 list_for_each_entry(entry, &ctx->resource_list, head) { in vmw_validation_find_res_dup()
350 list_add_tail(&node->head, &ctx->resource_list); in vmw_validation_add_resource()
361 list_add_tail(&node->head, &ctx->resource_list); in vmw_validation_add_resource()
446 list_splice_init(&ctx->resource_ctx_list, &ctx->resource_list); in vmw_validation_res_reserve()
448 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_reserve()
499 list_splice_init(&ctx->resource_ctx_list, &ctx->resource_list); in vmw_validation_res_unreserve()
501 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_unreserve()
508 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_unreserve()
643 list_for_each_entry(val, &ctx->resource_list, head) { in vmw_validation_res_validate()
692 list_for_each_entry(val, &ctx->resource_list, head) in vmw_validation_drop_ht()
[all …]
Dvmwgfx_validation.h77 struct list_head resource_list; member
109 .resource_list = LIST_HEAD_INIT((_name).resource_list), \
203 INIT_LIST_HEAD(&ctx->resource_list); in vmw_validation_context_init()
Dvmwgfx_cotable.c57 struct list_head resource_list; member
260 &vcotbl->resource_list, in vmw_cotable_scrub()
598 INIT_LIST_HEAD(&vcotbl->resource_list); in vmw_cotable_alloc()
662 list_add_tail(head, &vcotbl->resource_list); in vmw_cotable_add_resource()
/kernel/linux/linux-5.10/drivers/i2c/
Di2c-core-acpi.c112 struct list_head resource_list; in i2c_acpi_do_lookup() local
125 INIT_LIST_HEAD(&resource_list); in i2c_acpi_do_lookup()
126 ret = acpi_dev_get_resources(adev, &resource_list, in i2c_acpi_do_lookup()
128 acpi_dev_free_resource_list(&resource_list); in i2c_acpi_do_lookup()
158 struct list_head resource_list; in i2c_acpi_get_irq() local
162 INIT_LIST_HEAD(&resource_list); in i2c_acpi_get_irq()
164 ret = acpi_dev_get_resources(adev, &resource_list, in i2c_acpi_get_irq()
169 acpi_dev_free_resource_list(&resource_list); in i2c_acpi_get_irq()
475 LIST_HEAD(resource_list); in i2c_acpi_new_device()
483 ret = acpi_dev_get_resources(adev, &resource_list, in i2c_acpi_new_device()
[all …]
/kernel/linux/linux-5.10/drivers/platform/x86/
Dintel_cht_int33fe_common.c33 LIST_HEAD(resource_list); in cht_int33fe_count_i2c_clients()
37 ret = acpi_dev_get_resources(adev, &resource_list, in cht_int33fe_count_i2c_clients()
39 acpi_dev_free_resource_list(&resource_list); in cht_int33fe_count_i2c_clients()
/kernel/linux/linux-5.10/drivers/bus/
Dhisi_lpc.c400 LIST_HEAD(resource_list); in hisi_lpc_acpi_set_io_res()
426 count = acpi_dev_get_resources(adev, &resource_list, NULL, NULL); in hisi_lpc_acpi_set_io_res()
437 acpi_dev_free_resource_list(&resource_list); in hisi_lpc_acpi_set_io_res()
441 list_for_each_entry(rentry, &resource_list, node) { in hisi_lpc_acpi_set_io_res()
447 acpi_dev_free_resource_list(&resource_list); in hisi_lpc_acpi_set_io_res()
/kernel/linux/linux-5.10/drivers/usb/typec/mux/
Dintel_pmc_mux.c577 struct list_head resource_list; in pmc_usb_probe_iom() local
594 INIT_LIST_HEAD(&resource_list); in pmc_usb_probe_iom()
595 ret = acpi_dev_get_resources(adev, &resource_list, is_memory, NULL); in pmc_usb_probe_iom()
599 rentry = list_first_entry_or_null(&resource_list, struct resource_entry, node); in pmc_usb_probe_iom()
603 acpi_dev_free_resource_list(&resource_list); in pmc_usb_probe_iom()
/kernel/linux/linux-5.10/drivers/mfd/
Dkempld-core.c434 struct list_head resource_list; in kempld_get_acpi_data() local
449 INIT_LIST_HEAD(&resource_list); in kempld_get_acpi_data()
450 ret = acpi_dev_get_resources(acpi_dev, &resource_list, NULL, NULL); in kempld_get_acpi_data()
469 list_for_each_entry(rentry, &resource_list, node) { in kempld_get_acpi_data()
477 acpi_dev_free_resource_list(&resource_list); in kempld_get_acpi_data()
/kernel/linux/linux-5.10/drivers/tty/serdev/
Dcore.c601 struct list_head resource_list; in acpi_serdev_do_lookup() local
608 INIT_LIST_HEAD(&resource_list); in acpi_serdev_do_lookup()
609 ret = acpi_dev_get_resources(adev, &resource_list, in acpi_serdev_do_lookup()
611 acpi_dev_free_resource_list(&resource_list); in acpi_serdev_do_lookup()
/kernel/linux/linux-5.10/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()
1198 INIT_LIST_HEAD(&cpp->resource_list); in nfp_cpp_from_operations()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_dsi_vbt.c441 struct list_head resource_list; in i2c_acpi_find_adapter() local
451 INIT_LIST_HEAD(&resource_list); in i2c_acpi_find_adapter()
452 acpi_dev_get_resources(acpi_dev, &resource_list, in i2c_acpi_find_adapter()
455 acpi_dev_free_resource_list(&resource_list); in i2c_acpi_find_adapter()
/kernel/linux/linux-5.10/net/core/
Ddevlink.c2760 struct list_head *resource_list; in devlink_resource_find() local
2763 resource_list = &resource->resource_list; in devlink_resource_find()
2765 resource_list = &devlink->resource_list; in devlink_resource_find()
2767 list_for_each_entry(resource, resource_list, list) { in devlink_resource_find()
2788 if (list_empty(&resource->resource_list)) in devlink_resource_validate_children()
2791 list_for_each_entry(child_resource, &resource->resource_list, list) in devlink_resource_validate_children()
2908 if (list_empty(&resource->resource_list)) in devlink_resource_put()
2920 list_for_each_entry(child_resource, &resource->resource_list, list) { in devlink_resource_put()
2950 resource = list_first_entry(&devlink->resource_list, in devlink_resource_fill()
2974 list_for_each_entry_from(resource, &devlink->resource_list, list) { in devlink_resource_fill()
[all …]
/kernel/linux/linux-5.10/drivers/gpio/
Dgpiolib-acpi.c1352 struct list_head resource_list; in acpi_gpio_count() local
1358 INIT_LIST_HEAD(&resource_list); in acpi_gpio_count()
1359 acpi_dev_get_resources(adev, &resource_list, in acpi_gpio_count()
1361 acpi_dev_free_resource_list(&resource_list); in acpi_gpio_count()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/perf/
Dxgene_pmu.c1461 struct list_head resource_list; in acpi_get_pmu_hw_inf() local
1475 INIT_LIST_HEAD(&resource_list); in acpi_get_pmu_hw_inf()
1476 rc = acpi_dev_get_resources(adev, &resource_list, NULL, NULL); in acpi_get_pmu_hw_inf()
1482 list_for_each_entry(rentry, &resource_list, node) { in acpi_get_pmu_hw_inf()
1489 acpi_dev_free_resource_list(&resource_list); in acpi_get_pmu_hw_inf()

12